/* ============================================================
   Nivantro India — Landing Page Styles
   ============================================================ */

/* ---------- Reset & Variables ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Brand Colors */
  --primary: #1D3557;
  --primary-dark: #152844;
  --primary-light: #2B4A7A;
  --accent: #457B9D;
  --accent-light: #6CA0BD;
  --secondary: #E8972C;
  --surface: #ffffff;
  --surface-alt: #f6f8fb;
  --surface-dark: #0d1b2a;
  --text: #1a1f2e;
  --text-muted: #596275;
  --border: rgba(29,53,87,0.1);
  --danger: #E74C3C;
  --success: #27AE60;
  --warning: #F39C12;

  /* Typography */
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Space Grotesk', 'Inter', sans-serif;

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2.5rem;
  --space-2xl: 4rem;
  --space-3xl: 6rem;

  /* Radius */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 10px 30px rgba(0,0,0,0.1);
  --shadow-xl: 0 20px 50px rgba(0,0,0,0.12);

  /* Transitions */
  --dur-fast: 0.15s;
  --dur-normal: 0.3s;
  --ease-out: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--surface);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* ---------- Container ---------- */
.lp-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

/* ========== NAVBAR ========== */
.lp-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: var(--space-md) 0;
}
.lp-nav .lp-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.lp-logo {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--primary);
  text-decoration: none;
  letter-spacing: -0.5px;
}
.lp-nav-cta {
  display: inline-block;
  padding: 0.6rem 1.4rem;
  background: var(--primary);
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: all var(--dur-normal) var(--ease-out);
}
.lp-nav-cta:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(29,53,87,0.3);
}

/* ========== HERO / EXPLAINER ========== */
.lp-hero {
  padding: calc(80px + var(--space-3xl)) 0 var(--space-3xl);
  background: linear-gradient(175deg, var(--surface) 0%, var(--surface-alt) 50%, rgba(29,53,87,0.04) 100%);
}
.lp-hero-content {
  text-align: center;
  max-width: 850px;
  margin: 0 auto;
}
.lp-badge {
  display: inline-block;
  padding: 0.4rem 1.2rem;
  background: rgba(29,53,87,0.08);
  color: var(--primary);
  font-weight: 600;
  font-size: 0.85rem;
  border-radius: 50px;
  margin-bottom: var(--space-lg);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.lp-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--text);
  margin-bottom: var(--space-lg);
  letter-spacing: -1px;
}
.lp-highlight {
  color: var(--primary);
  position: relative;
}
.lp-highlight::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 0;
  right: 0;
  height: 6px;
  background: rgba(29,53,87,0.15);
  border-radius: 3px;
}
.lp-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 700px;
  margin: 0 auto var(--space-2xl);
  line-height: 1.8;
}

/* Explainer Cards */
.lp-explainer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  margin-bottom: var(--space-2xl);
  text-align: left;
}
.lp-explainer-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--shadow-sm);
  transition: all var(--dur-normal) var(--ease-out);
  position: relative;
  overflow: hidden;
}
.lp-explainer-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0);
  transition: transform var(--dur-normal) var(--ease-out);
  transform-origin: left;
}
.lp-explainer-card:hover::before { transform: scaleX(1); }
.lp-explainer-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.lp-explainer-icon {
  font-size: 2.5rem;
  margin-bottom: var(--space-md);
}
.lp-explainer-card h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: var(--space-sm);
  color: var(--text);
}
.lp-explainer-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.75;
}
.lp-explainer-card strong {
  color: var(--primary);
  font-weight: 600;
}

/* Stats */
.lp-stats {
  display: flex;
  justify-content: center;
  gap: var(--space-2xl);
  margin-bottom: var(--space-2xl);
  padding: var(--space-xl) 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.lp-stat { text-align: center; }
.lp-stat-value {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
}
.lp-stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: var(--space-xs);
}

/* Hero CTA */
.lp-hero-cta {
  display: inline-block;
  padding: 1rem 2.5rem;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  font-weight: 700;
  font-size: 1.1rem;
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: all var(--dur-normal) var(--ease-out);
  box-shadow: 0 6px 20px rgba(29,53,87,0.25);
}
.lp-hero-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(29,53,87,0.35);
}

/* ========== VIDEO SECTION ========== */
.lp-video-section {
  padding: var(--space-3xl) 0;
  background: var(--surface-dark);
  color: #fff;
  text-align: center;
}
.lp-section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  font-weight: 800;
  margin-bottom: var(--space-md);
  letter-spacing: -0.5px;
}
.lp-section-desc {
  font-size: 1.05rem;
  opacity: 0.7;
  max-width: 550px;
  margin: 0 auto var(--space-xl);
}
/* Video Grid */
.lp-video-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  max-width: 1000px;
  margin: 0 auto;
}
.lp-video-col {
  text-align: center;
}
.lp-video-lang {
  display: inline-block;
  padding: 0.4rem 1.2rem;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: var(--space-md);
  letter-spacing: 0.3px;
}
.lp-video-wrapper {
  max-width: 800px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
  border: 2px solid rgba(255,255,255,0.08);
}
.lp-video-container {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(29,53,87,0.2), rgba(69,123,157,0.1));
}
.lp-video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}
.lp-video-thumb {
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
}
.lp-video-thumb img {
  width: 100%;
  display: block;
  transition: transform var(--dur-normal) var(--ease-out);
}
.lp-video-thumb:hover img {
  transform: scale(1.05);
}
.lp-video-thumb .lp-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 70px;
  height: 70px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  box-shadow: 0 10px 40px rgba(0,0,0,0.5);
  transition: all var(--dur-normal) var(--ease-out);
  padding-left: 4px;
}
.lp-video-thumb:hover .lp-play-btn {
  transform: translate(-50%, -50%) scale(1.15);
  background: var(--accent);
  box-shadow: 0 15px 50px rgba(69,123,157,0.5);
}
.lp-video-placeholder {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  text-align: center;
  color: rgba(255,255,255,0.8);
  cursor: pointer;
}
.lp-play-btn {
  width: 90px;
  height: 90px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  margin: 0 auto var(--space-md);
  box-shadow: 0 10px 40px rgba(29,53,87,0.5);
  transition: all var(--dur-normal) var(--ease-out);
  padding-left: 5px;
}
.lp-video-placeholder:hover .lp-play-btn {
  transform: scale(1.1);
  background: var(--accent);
  box-shadow: 0 15px 50px rgba(69,123,157,0.5);
}
.lp-video-placeholder p {
  font-weight: 600;
  font-size: 1rem;
  opacity: 0.7;
}

/* ========== REGISTRATION SECTION ========== */
.lp-register-section {
  padding: var(--space-3xl) 0;
  background: linear-gradient(175deg, var(--surface-alt) 0%, var(--surface) 100%);
  text-align: center;
}
.lp-register-section .lp-section-title {
  color: var(--text);
}
.lp-register-section .lp-section-desc {
  color: var(--text-muted);
  opacity: 1;
}

/* Form Container */
.lp-form {
  max-width: 600px;
  margin: 0 auto;
  text-align: left;
}

/* Role Selector */
.lp-role-selector {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
}
.lp-role-option input[type="radio"] {
  display: none;
}
.lp-role-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-lg) var(--space-md);
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: all var(--dur-normal) var(--ease-out);
  text-align: center;
}
.lp-role-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.lp-role-option input[type="radio"]:checked + .lp-role-card {
  border-color: var(--primary);
  background: rgba(29,53,87,0.06);
  box-shadow: 0 0 0 3px rgba(29,53,87,0.15);
}
.lp-role-icon {
  font-size: 2rem;
}
.lp-role-label {
  font-weight: 700;
  font-size: 1rem;
  color: var(--text);
}

/* Form Fields */
.lp-form-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}
.lp-field label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text);
  margin-bottom: var(--space-sm);
}
.lp-field input[type="text"],
.lp-field input[type="tel"],
.lp-field input[type="email"] {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 2px solid var(--border);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text);
  background: var(--surface);
  transition: all var(--dur-fast) var(--ease-out);
  outline: none;
}
.lp-field input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(29,53,87,0.1);
}
.lp-phone-input {
  display: flex;
  align-items: stretch;
  border: 2px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--dur-fast) var(--ease-out);
}
.lp-phone-input:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(29,53,87,0.1);
}
.lp-phone-prefix {
  display: flex;
  align-items: center;
  padding: 0 0.85rem;
  background: var(--surface-alt);
  border-right: 1px solid var(--border);
  font-weight: 600;
  color: var(--text-muted);
  font-size: 0.95rem;
}
.lp-phone-input input[type="tel"] {
  border: none;
  border-radius: 0;
  padding-left: 0.85rem;
}
.lp-phone-input input[type="tel"]:focus {
  box-shadow: none;
}

/* Submit Button */
.lp-submit-btn {
  display: block;
  width: 100%;
  padding: 1rem;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.1rem;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--dur-normal) var(--ease-out);
  box-shadow: 0 6px 20px rgba(29,53,87,0.25);
}
.lp-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(29,53,87,0.35);
}
.lp-submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* Messages */
.lp-form-msg {
  margin-top: var(--space-md);
  padding: 0.85rem 1rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.95rem;
  text-align: center;
}
.lp-form-msg--success {
  background: rgba(39,174,96,0.1);
  color: var(--success);
  border: 1px solid rgba(39,174,96,0.2);
}
.lp-form-msg--error {
  background: rgba(231,76,60,0.1);
  color: var(--danger);
  border: 1px solid rgba(231,76,60,0.2);
}

/* Checkbox Toggle */
.lp-checkbox-wrap {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  cursor: pointer;
  padding: 1rem 1.2rem;
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-lg);
  transition: all var(--dur-normal) var(--ease-out);
  user-select: none;
}
.lp-checkbox-wrap:hover {
  border-color: var(--primary);
  background: rgba(29,53,87,0.02);
}
.lp-checkbox-wrap input[type="checkbox"] {
  display: none;
}
.lp-checkmark {
  width: 24px;
  height: 24px;
  min-width: 24px;
  border: 2px solid #ccc;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--dur-fast) var(--ease-out);
  background: var(--surface);
}
.lp-checkmark::after {
  content: '✓';
  font-size: 0.9rem;
  font-weight: 800;
  color: #fff;
  opacity: 0;
  transition: opacity var(--dur-fast) var(--ease-out);
}
.lp-checkbox-wrap input:checked + .lp-checkmark {
  background: var(--primary);
  border-color: var(--primary);
}
.lp-checkbox-wrap input:checked + .lp-checkmark::after {
  opacity: 1;
}
.lp-checkbox-wrap input:checked ~ .lp-checkbox-label {
  color: var(--primary);
  font-weight: 600;
}
.lp-checkbox-label {
  font-size: 0.95rem;
  color: var(--text);
  transition: color var(--dur-fast) var(--ease-out);
}

.lp-privacy-note {
  margin-top: var(--space-md);
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: center;
}

/* ========== FOOTER ========== */
.lp-footer {
  padding: var(--space-xl) 0;
  background: var(--surface-dark);
  color: rgba(255,255,255,0.5);
  text-align: center;
  font-size: 0.85rem;
}
.lp-footer-logo {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--primary-light);
  display: block;
  margin-bottom: var(--space-sm);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
  .lp-explainer {
    grid-template-columns: 1fr;
  }
  .lp-video-grid {
    grid-template-columns: 1fr;
  }
  .lp-stats {
    flex-direction: column;
    gap: var(--space-lg);
  }
  .lp-form-fields {
    grid-template-columns: 1fr;
  }
  .lp-role-selector {
    grid-template-columns: 1fr;
  }
  .lp-title {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .lp-nav-cta {
    font-size: 0.8rem;
    padding: 0.5rem 1rem;
  }
  .lp-hero {
    padding-top: calc(70px + var(--space-2xl));
  }
}
