/* Young Brain India - Apple-Style Minimalist Theme */
:root {
  --bg-white: #FFFFFF;
  --bg-offwhite: #F5F5F7;
  --royal-blue: #0A2463;
  --royal-blue-light: #1D4ED8;
  --accent-gold: #FFB703;
  --accent-orange: #FF9F1C;
  --text-dark: #1D1D1F;
  --text-muted: #6E6E73;
  --border-light: rgba(0, 0, 0, 0.08);
  --glass-bg: rgba(255, 255, 255, 0.78);
  --shadow-soft: 0 20px 40px rgba(10, 36, 99, 0.06);
  --shadow-hover: 0 30px 60px rgba(10, 36, 99, 0.12);
  --transition-slow: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-med: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text-dark);
  background-color: var(--bg-white);
  overflow-x: hidden;
}

body {
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  opacity: 0;
  transition: opacity 0.9s ease;
}

body.loaded {
  opacity: 1;
}

/* Custom Slow Magnetic Cursor Follower */
.cursor-follower {
  position: fixed;
  top: 0;
  left: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 183, 3, 0.25) 0%, rgba(10, 36, 99, 0.12) 70%, transparent 100%);
  border: 1px solid rgba(10, 36, 99, 0.18);
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width 0.4s ease, height 0.4s ease, background 0.4s ease;
}

.cursor-follower.active {
  width: 64px;
  height: 64px;
  background: radial-gradient(circle, rgba(255, 183, 3, 0.35) 0%, rgba(10, 36, 99, 0.08) 70%, transparent 100%);
}

@media (max-width: 768px) {
  .cursor-follower { display: none; }
}

/* Sticky Frosted-Glass Navigation */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-light);
  transition: var(--transition-med);
}

.nav-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0.9rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--royal-blue);
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.logo-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--royal-blue), var(--royal-blue-light));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-gold);
  box-shadow: 0 6px 16px rgba(10, 36, 99, 0.2);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-dark);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--royal-blue);
  font-weight: 600;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.lang-badge {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--bg-offwhite);
  padding: 0.35rem 0.75rem;
  border-radius: 20px;
  border: 1px solid var(--border-light);
}

/* Magnetic Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, var(--accent-gold), var(--accent-orange));
  color: var(--royal-blue);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.85rem 1.75rem;
  border-radius: 999px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(255, 183, 3, 0.35);
  transition: var(--transition-med);
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 16px 32px rgba(255, 183, 3, 0.45);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--royal-blue);
  font-weight: 600;
  font-size: 0.98rem;
  text-decoration: none;
  padding: 0.85rem 1.4rem;
  border-radius: 999px;
  background: var(--bg-offwhite);
  transition: var(--transition-med);
}

.btn-secondary:hover {
  background: #EAEAEF;
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.55rem 1.2rem;
  font-size: 0.85rem;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: var(--royal-blue);
  cursor: pointer;
}

/* Containers & Sections */
.section {
  padding: 5.5rem 1.5rem;
}

.section-alt {
  background-color: var(--bg-offwhite);
}

.container {
  max-width: 1180px;
  margin: 0 auto;
}

.eyebrow {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--royal-blue);
  background: rgba(10, 36, 99, 0.07);
  padding: 0.45rem 1rem;
  border-radius: 999px;
  margin-bottom: 1.2rem;
}

h1 {
  font-size: clamp(2.3rem, 4.8vw, 3.8rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: var(--royal-blue);
  margin-bottom: 1.2rem;
}

h2 {
  font-size: clamp(1.9rem, 3.6vw, 2.8rem);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.025em;
  color: var(--royal-blue);
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--royal-blue);
  margin-bottom: 0.6rem;
}

.lead-text {
  font-size: 1.18rem;
  color: var(--text-muted);
  max-width: 680px;
  margin-bottom: 2rem;
}

/* Hero Section */
.hero {
  padding: 5rem 1.5rem 6rem;
  background: radial-gradient(circle at 85% 20%, rgba(255, 183, 3, 0.12) 0%, rgba(10, 36, 99, 0.03) 45%, #FFFFFF 80%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

.hero-card {
  background: var(--bg-white);
  border-radius: 28px;
  padding: 2rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border-light);
  text-align: center;
  position: relative;
  transition: var(--transition-slow);
}

.hero-card:hover {
  transform: translateY(-6px) scale(1.015);
  box-shadow: var(--shadow-hover);
}

.coach-avatar {
  width: 210px;
  height: 210px;
  margin: 0 auto 1.2rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--royal-blue), #1E3A8A);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  border: 5px solid var(--accent-gold);
  box-shadow: 0 18px 36px rgba(10, 36, 99, 0.22);
  overflow: hidden;
}

.coach-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.floating-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: #FFFBEB;
  border: 1px solid #FDE68A;
  color: #92400E;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  margin-top: 0.8rem;
}

/* Metrics Bar */
.metrics-bar {
  background: var(--royal-blue);
  color: #FFFFFF;
  padding: 2.8rem 1.5rem;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.metric-num {
  font-size: 2.3rem;
  font-weight: 800;
  color: var(--accent-gold);
  letter-spacing: -0.02em;
}

.metric-label {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.85);
  margin-top: 0.25rem;
}

/* Apple Bento Grid & Cards */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.8rem;
}

.bento-card {
  background: var(--bg-white);
  border-radius: 24px;
  padding: 2.2rem;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-soft);
  transition: var(--transition-slow);
}

.section-alt .bento-card {
  background: var(--bg-white);
}

.bento-card:hover {
  transform: scale(1.02) translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(255, 183, 3, 0.5);
}

.bento-featured {
  background: linear-gradient(145deg, var(--royal-blue), #113285) !important;
  color: #FFFFFF;
}

.bento-featured h3,
.bento-featured p {
  color: #FFFFFF;
}

.card-icon {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: rgba(255, 183, 3, 0.16);
  color: var(--royal-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1.2rem;
}

/* Lead Form */
.form-card {
  max-width: 640px;
  margin: 0 auto;
  background: var(--bg-white);
  border-radius: 28px;
  padding: 2.8rem;
  box-shadow: var(--shadow-hover);
  border: 1px solid var(--border-light);
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--royal-blue);
  margin-bottom: 0.45rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.9rem 1.1rem;
  border-radius: 14px;
  border: 1px solid #D2D2D7;
  font-size: 1rem;
  font-family: inherit;
  background: var(--bg-offwhite);
  transition: border-color 0.3s ease, background 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--royal-blue);
  background: #FFFFFF;
}

/* FAQ Accordion */
.faq-item {
  background: var(--bg-white);
  border-radius: 18px;
  border: 1px solid var(--border-light);
  margin-bottom: 1rem;
  overflow: hidden;
  transition: var(--transition-med);
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 1.35rem 1.6rem;
  background: none;
  border: none;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--royal-blue);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 1.6rem;
  color: var(--text-muted);
  transition: max-height 0.55s cubic-bezier(0.16, 1, 0.3, 1), padding 0.4s ease;
}

.faq-item.open .faq-answer {
  max-height: 260px;
  padding: 0 1.6rem 1.4rem;
}

/* Slow Scroll Reveal Animations */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 1.05s cubic-bezier(0.16, 1, 0.3, 1), transform 1.05s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Floating WhatsApp Button */
.whatsapp-float {
  position: fixed;
  bottom: 26px;
  right: 26px;
  width: 60px;
  height: 60px;
  background-color: #25D366;
  color: #FFFFFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.9rem;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
  z-index: 999;
  text-decoration: none;
  transition: transform 0.4s ease;
}

.whatsapp-float:hover {
  transform: scale(1.1);
}

/* Footer */
footer {
  background: var(--royal-blue);
  color: rgba(255, 255, 255, 0.85);
  padding: 4rem 1.5rem 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

footer h4 {
  color: var(--accent-gold);
  margin-bottom: 1rem;
  font-size: 1.05rem;
}

footer a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  display: block;
  margin-bottom: 0.55rem;
  font-size: 0.92rem;
}

footer a:hover {
  color: var(--accent-gold);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.65);
}

/* Responsive */
@media (max-width: 960px) {
  .hero-grid, .grid-3, .grid-2, .footer-grid {
    grid-template-columns: 1fr;
  }
  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #FFFFFF;
    flex-direction: column;
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-light);
  }
  .nav-links.show {
    display: flex;
  }
  .mobile-toggle {
    display: block;
  }
}
