/* ============================================================
   NEET COUNSELLING HELP — style.css
   Blue + Green theme, modern startup design
   ============================================================ */

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: #1e293b;
  background: #fff;
  line-height: 1.6;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img, svg { max-width: 100%; }

/* ===== TOKENS ===== */
:root {
  --blue: #2563eb;
  --blue-d: #1d4ed8;
  --blue-l: #dbeafe;
  --green: #16a34a;
  --green-d: #15803d;
  --green-l: #dcfce7;
  --teal: #0891b2;
  --purple: #9333ea;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-900: #0f172a;
  --white: #ffffff;
  --shadow: 0 4px 6px -1px rgba(0,0,0,.08), 0 2px 4px -1px rgba(0,0,0,.06);
  --shadow-md: 0 10px 15px -3px rgba(0,0,0,.1), 0 4px 6px -2px rgba(0,0,0,.05);
  --shadow-lg: 0 20px 25px -5px rgba(0,0,0,.1), 0 10px 10px -5px rgba(0,0,0,.04);
  --shadow-xl: 0 25px 50px -12px rgba(0,0,0,.22);
  --r: 12px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-full: 9999px;
  --ease: all .2s ease;
  --ease-md: all .35s ease;
}

/* ===== LAYOUT ===== */
.container { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 24px; }
section { padding: 88px 0; }

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4 { font-weight: 700; line-height: 1.2; }
.gradient-text {
  background: linear-gradient(135deg, #22c55e, #16a34a);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

/* ===== SECTION HEADER ===== */
.section-header { text-align: center; margin-bottom: 56px; }
.section-header h2 { font-size: clamp(26px, 4vw, 40px); margin-bottom: 14px; color: var(--gray-900); }
.section-header p { font-size: 17px; color: var(--gray-500); max-width: 560px; margin: 0 auto; }

.section-tag {
  display: inline-block;
  background: var(--blue-l);
  color: var(--blue);
  border: 1px solid #bfdbfe;
  padding: 4px 14px;
  border-radius: var(--r-full);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.green-tag { background: var(--green-l); color: var(--green); border-color: #bbf7d0; }
.light-tag { background: rgba(255,255,255,.15); color: #fff; border-color: rgba(255,255,255,.3); }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 28px; border-radius: var(--r); font-size: 15px; font-weight: 600;
  cursor: pointer; border: 2px solid transparent; transition: var(--ease); white-space: nowrap;
  text-decoration: none;
}
.btn-green { background: var(--green); color: #fff; border-color: var(--green); }
.btn-green:hover { background: var(--green-d); border-color: var(--green-d); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(22,163,74,.35); }
.btn-blue { background: var(--blue); color: #fff; border-color: var(--blue); }
.btn-blue:hover { background: var(--blue-d); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(37,99,235,.35); }
.btn-purple { background: var(--purple); color: #fff; border-color: var(--purple); }
.btn-purple:hover { background: #7e22ce; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(147,51,234,.35); }
.btn-outline-white { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.btn-outline-white:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.btn-sm { padding: 9px 20px; font-size: 14px; }
.btn-full { width: 100%; }

/* ===== NAVBAR ===== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 18px 0; transition: var(--ease-md);
}
.navbar.scrolled {
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(12px);
  padding: 12px 0;
  box-shadow: 0 2px 24px rgba(0,0,0,.08);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; }
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-size: 18px; font-weight: 800; color: #fff; transition: var(--ease);
}
.navbar.scrolled .nav-logo { color: var(--gray-900); }
.logo-icon { width: 36px; height: 36px; flex-shrink: 0; }
.logo-icon svg { width: 36px; height: 36px; }
.logo-accent { color: #4ade80; }
.navbar.scrolled .logo-accent { color: var(--green); }
/* Logo image – always show, filter for visibility on dark bg */
.nav-logo img { display: block; height: 45px; width: auto; max-height: 45px; object-fit: contain; }
.navbar:not(.scrolled) .nav-logo img { filter: brightness(0) invert(1); }
.navbar.scrolled .nav-logo img { filter: none; }

.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { font-size: 14px; font-weight: 500; color: rgba(255,255,255,.9); transition: var(--ease); position: relative; }
.navbar.scrolled .nav-links a { color: var(--gray-600); }
.nav-links a:hover { color: #fff; }
.navbar.scrolled .nav-links a:hover { color: var(--blue); }
.nav-links a::after { content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 2px; background: #4ade80; border-radius: 2px; transition: var(--ease); }
.navbar.scrolled .nav-links a::after { background: var(--green); }
.nav-links a:hover::after { width: 100%; }
.nav-cta {
  background: var(--green); color: #fff !important; padding: 8px 18px;
  border-radius: var(--r); font-weight: 600 !important;
}
.nav-cta:hover { background: var(--green-d) !important; }
.nav-cta::after { display: none !important; }

.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.hamburger span { display: block; width: 24px; height: 2px; background: #fff; border-radius: 2px; transition: var(--ease); }
.navbar.scrolled .hamburger span { background: var(--gray-700); }
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== HERO ===== */
.hero {
  position: relative; min-height: 100vh;
  background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 45%, #1d4ed8 100%);
  display: flex; flex-direction: column; overflow: hidden;
}
.hero-shapes { position: absolute; inset: 0; pointer-events: none; }
.shape {
  position: absolute; border-radius: 50%;
  background: radial-gradient(circle, rgba(34,197,94,.12), transparent 70%);
}
.s1 { width: 600px; height: 600px; top: -200px; right: -100px; }
.s2 { width: 400px; height: 400px; bottom: 0; left: -100px; background: radial-gradient(circle, rgba(99,102,241,.1), transparent 70%); }
.s3 { width: 300px; height: 300px; top: 40%; left: 35%; background: radial-gradient(circle, rgba(56,189,248,.08), transparent 70%); }

.hero-content {
  display: grid; grid-template-columns: 1fr 1fr;
  align-items: center; gap: 60px;
  padding-top: 100px; padding-bottom: 100px; min-height: 100vh;
  position: relative; z-index: 1;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.1); backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.25); color: #fff;
  padding: 7px 16px; border-radius: var(--r-full);
  font-size: 13px; font-weight: 600; margin-bottom: 24px;
  animation: fadeUp .6s ease both;
}
.badge-dot { width: 8px; height: 8px; background: #4ade80; border-radius: 50%; animation: pulse 2s ease infinite; }
.hero-title {
  font-size: clamp(38px, 6vw, 72px); font-weight: 900; color: #fff;
  line-height: 1.05; margin-bottom: 22px;
  animation: fadeUp .7s ease .1s both;
}
.hero-subtitle {
  font-size: clamp(16px, 2vw, 18px); color: rgba(255,255,255,.8);
  max-width: 500px; margin-bottom: 36px;
  animation: fadeUp .7s ease .2s both;
}
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 44px; animation: fadeUp .7s ease .3s both; }
.hero-trust {
  display: flex; align-items: center; gap: 0;
  background: rgba(255,255,255,.08); backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.15); border-radius: var(--r-lg);
  padding: 16px 28px; width: fit-content;
  animation: fadeUp .7s ease .4s both;
}
.trust-item { text-align: center; padding: 0 20px; }
.trust-item strong { display: block; font-size: 22px; font-weight: 800; color: #fff; }
.trust-item span { font-size: 12px; color: rgba(255,255,255,.65); }
.trust-div { width: 1px; height: 36px; background: rgba(255,255,255,.2); }

/* Phone Mockup */
.hero-right { display: flex; justify-content: center; align-items: center; position: relative; animation: fadeUp .8s ease .2s both; }
.hero-phone { position: relative; }
.phone-mockup {
  width: 260px; background: #0f172a;
  border-radius: 36px; padding: 14px;
  box-shadow: 0 30px 80px rgba(0,0,0,.5), 0 0 0 2px rgba(255,255,255,.1);
  position: relative; z-index: 2;
}
.phone-screen { background: #1e293b; border-radius: 26px; overflow: hidden; min-height: 420px; }
.app-preview { padding: 20px 16px; }
.app-header { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.app-logo-sm { width: 30px; height: 30px; background: var(--green); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 10px; font-weight: 800; color: #fff; }
.app-header span { font-size: 14px; font-weight: 700; color: #fff; }
.app-stat-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 18px; }
.app-stat-box { border-radius: 12px; padding: 12px; text-align: center; }
.app-stat-box.green { background: rgba(34,197,94,.15); border: 1px solid rgba(34,197,94,.3); }
.app-stat-box.blue { background: rgba(59,130,246,.15); border: 1px solid rgba(59,130,246,.3); }
.app-stat-val { display: block; font-size: 20px; font-weight: 800; color: #fff; }
.app-stat-lbl { font-size: 11px; color: rgba(255,255,255,.6); }
.app-list { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.app-list-item { display: flex; align-items: center; gap: 8px; font-size: 12px; color: rgba(255,255,255,.8); background: rgba(255,255,255,.05); padding: 8px 10px; border-radius: 8px; }
.dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.dot.g { background: #4ade80; }
.dot.y { background: #fbbf24; }
.app-bar { height: 4px; background: rgba(255,255,255,.1); border-radius: 4px; overflow: hidden; }
.app-bar-fill { height: 100%; width: 65%; background: linear-gradient(90deg, var(--green), #4ade80); border-radius: 4px; }
.phone-glow { position: absolute; bottom: -30px; left: 50%; transform: translateX(-50%); width: 200px; height: 60px; background: rgba(22,163,74,.4); filter: blur(30px); border-radius: 50%; z-index: 1; }

.hero-wave { position: absolute; bottom: 0; left: 0; right: 0; line-height: 0; }
.hero-wave svg { width: 100%; height: 80px; display: block; }

/* ===== ABOUT STRIP ===== */
.about-strip { background: var(--gray-50); padding: 40px 0; }
.strip-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.strip-item {
  display: flex; align-items: center; gap: 14px;
  background: #fff; border-radius: var(--r); padding: 20px;
  box-shadow: var(--shadow); border: 1px solid var(--gray-100);
  transition: var(--ease-md);
}
.strip-item:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.strip-icon { width: 44px; height: 44px; border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.strip-icon svg { width: 20px; height: 20px; }
.strip-icon.green { background: var(--green-l); color: var(--green); }
.strip-icon.blue { background: var(--blue-l); color: var(--blue); }
.strip-icon.teal { background: #cffafe; color: var(--teal); }
.strip-icon.purple { background: #f3e8ff; color: var(--purple); }
.strip-item h4 { font-size: 14px; font-weight: 700; color: var(--gray-900); margin-bottom: 2px; }
.strip-item p { font-size: 12px; color: var(--gray-500); }

/* ===== FLOWCHART ===== */
.flowchart-section { background: var(--white); }

.flowchart { max-width: 900px; margin: 0 auto; }

/* Row 1 */
.fc-row {
  display: flex; align-items: center; justify-content: center;
  gap: 0; flex-wrap: nowrap; margin-bottom: 0;
}
.fc-node {
  text-align: center; padding: 20px 24px; border-radius: var(--r-lg);
  min-width: 160px; position: relative;
  transition: var(--ease-md);
}
.fc-node:hover { transform: translateY(-4px); }
.fc-node.start {
  background: linear-gradient(135deg, #f0fdf4, #dcfce7);
  border: 2px solid #86efac;
}
.fc-node.primary {
  background: linear-gradient(135deg, var(--blue-l), #bfdbfe);
  border: 2px solid #93c5fd;
}
.fc-node.hub {
  background: linear-gradient(135deg, #1d4ed8, #2563eb);
  border: 2px solid #3b82f6;
  box-shadow: 0 8px 24px rgba(37,99,235,.35);
}
.fc-node.hub .fc-label { color: #fff; }
.fc-node.hub .fc-sub { color: rgba(255,255,255,.8); }
.fc-icon { font-size: 28px; margin-bottom: 8px; }
.fc-label { font-size: 15px; font-weight: 700; color: var(--gray-900); }
.fc-sub { font-size: 12px; color: var(--gray-500); margin-top: 4px; }

.fc-arrow { display: flex; align-items: center; padding: 0 8px; flex-shrink: 0; }
.fc-arrow.right { flex-direction: row; }
.arrow-line { width: 40px; height: 2px; background: linear-gradient(90deg, #93c5fd, #3b82f6); }
.arrow-head { width: 0; height: 0; border-top: 7px solid transparent; border-bottom: 7px solid transparent; border-left: 10px solid #3b82f6; }

/* Branch connector */
.fc-branch-connector { display: flex; flex-direction: column; align-items: center; margin: 16px 0 4px; }
.connector-line { width: 2px; height: 40px; background: linear-gradient(to bottom, #3b82f6, #93c5fd); }
.branch-dots { display: flex; gap: 200px; }
.branch-dot { width: 10px; height: 10px; border-radius: 50%; background: #3b82f6; }

/* Branches */
.fc-branches { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 24px; }
.fc-branch { display: flex; flex-direction: column; align-items: center; }
.branch-arrow-down {
  width: 2px; height: 36px;
  background: linear-gradient(to bottom, #93c5fd, #3b82f6);
  position: relative;
}
.branch-arrow-down::after {
  content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 0; height: 0; border-left: 6px solid transparent; border-right: 6px solid transparent; border-top: 8px solid #3b82f6;
}

.fc-node.branch-node { width: 100%; min-width: unset; border-radius: var(--r-lg); padding: 24px 20px; }
.blue-node { background: linear-gradient(135deg, #eff6ff, #dbeafe); border: 2px solid #93c5fd; }
.green-node { background: linear-gradient(135deg, #f0fdf4, #dcfce7); border: 2px solid #86efac; }
.teal-node { background: linear-gradient(135deg, #f0fdfe, #cffafe); border: 2px solid #67e8f9; }

.branch-icon { font-size: 32px; margin-bottom: 10px; }
.branch-title { font-size: 18px; font-weight: 800; color: var(--gray-900); margin-bottom: 4px; }
.branch-subtitle { font-size: 11px; color: var(--gray-500); margin-bottom: 14px; line-height: 1.4; }
.branch-courses { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin-bottom: 12px; }
.course-tag {
  font-size: 11px; font-weight: 700; padding: 3px 10px;
  border-radius: var(--r-full); background: rgba(255,255,255,.8);
  border: 1px solid rgba(0,0,0,.1); color: var(--gray-700);
}
.branch-note { font-size: 11px; color: var(--gray-500); font-style: italic; }

/* Final node */
.fc-final { display: flex; flex-direction: column; align-items: center; }
.fc-final-arrow {
  width: 2px; height: 36px;
  background: linear-gradient(to bottom, #93c5fd, #16a34a);
}
.fc-node.final-node {
  background: linear-gradient(135deg, #14532d, #16a34a);
  border: 2px solid #4ade80;
  box-shadow: 0 8px 24px rgba(22,163,74,.35);
  min-width: 240px;
}
.fc-node.final-node .fc-label { color: #fff; font-size: 18px; }
.fc-node.final-node .fc-sub { color: rgba(255,255,255,.8); }

/* Quota banner */
.quota-banner {
  display: flex; align-items: center;
  background: var(--gray-50); border: 1px solid var(--gray-200);
  border-radius: var(--r-lg); padding: 24px 32px; margin-top: 40px;
  gap: 0;
}
.quota-item { display: flex; align-items: center; gap: 20px; flex: 1; }
.quota-pct {
  font-size: 36px; font-weight: 900; line-height: 1;
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.blue-pct { background: linear-gradient(135deg, var(--blue), #60a5fa); }
.green-pct { background: linear-gradient(135deg, var(--green), #4ade80); }
.quota-info strong { display: block; font-size: 15px; color: var(--gray-900); margin-bottom: 4px; }
.quota-info span { font-size: 13px; color: var(--gray-500); }
.quota-divider { width: 1px; height: 60px; background: var(--gray-200); margin: 0 32px; }

/* ===== TOOLS ===== */
.tools-section { background: var(--gray-50); }
.tools-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

.tool-card {
  background: #fff; border-radius: var(--r-xl); padding: 28px;
  box-shadow: var(--shadow); border: 1px solid var(--gray-100);
  transition: var(--ease-md); display: flex; flex-direction: column; gap: 0;
}
.tool-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-xl); }
.featured-tool {
  border: 2px solid var(--green); box-shadow: 0 8px 30px rgba(22,163,74,.15);
  position: relative;
}
.featured-tool::before {
  content: ''; position: absolute; top: -1px; left: 50%; transform: translateX(-50%);
  width: 60%; height: 3px; background: linear-gradient(90deg, var(--green), #4ade80);
  border-radius: var(--r-full);
}

.tool-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 16px; }
.tool-icon-wrap { width: 52px; height: 52px; border-radius: var(--r); display: flex; align-items: center; justify-content: center; }
.blue-wrap { background: var(--blue-l); color: var(--blue); }
.green-wrap { background: var(--green-l); color: var(--green); }
.purple-wrap { background: #f3e8ff; color: var(--purple); }

.tool-badge {
  font-size: 11px; font-weight: 700; padding: 4px 10px;
  border-radius: var(--r-full); text-transform: uppercase; letter-spacing: .06em;
}
.new-badge { background: var(--blue-l); color: var(--blue); }
.hot-badge { background: var(--green-l); color: var(--green); }
.info-badge { background: #f3e8ff; color: var(--purple); }

.tool-card h3 { font-size: 19px; color: var(--gray-900); margin-bottom: 10px; }
.tool-card p { font-size: 14px; color: var(--gray-500); line-height: 1.65; margin-bottom: 18px; }

.tool-video { margin-bottom: 16px; }
.video-wrap {
  position: relative; padding-top: 52%;
  background: var(--gray-100); border-radius: var(--r); overflow: hidden;
}
.video-wrap iframe {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  border: none; border-radius: var(--r);
}

.tool-features {
  display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px;
}
.tool-features span { font-size: 12px; color: var(--gray-600); font-weight: 500; }

/* YouTube Shorts – vertical 9:16 */
.video-wrap-shorts {
  width: 100%; max-width: 320px; margin: 0 auto 16px;
  position: relative; border-radius: var(--r); overflow: hidden;
  background: #000;
  aspect-ratio: 9 / 16;
}
.video-wrap-shorts iframe {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: none;
}

/* Tool section App CTA */
.tool-app-cta {
  margin-top: 48px;
  background: linear-gradient(135deg, #0f172a, #1e3a5f);
  border-radius: var(--r-xl); padding: 44px 48px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 36px; flex-wrap: wrap;
  position: relative; overflow: hidden;
}
.tool-app-cta::before {
  content: ''; position: absolute; top: -100px; right: -100px;
  width: 350px; height: 350px;
  background: radial-gradient(circle, rgba(34,197,94,.1), transparent 70%);
  pointer-events: none;
}
.cta-left { flex: 1; min-width: 260px; position: relative; z-index: 1; }
.cta-badge {
  display: inline-block; background: rgba(74,222,128,.15);
  border: 1px solid rgba(74,222,128,.3); color: #4ade80;
  font-size: 12px; font-weight: 700; padding: 4px 14px;
  border-radius: var(--r-full); margin-bottom: 14px;
  text-transform: uppercase; letter-spacing: .06em;
}
.cta-left h3 { font-size: clamp(20px, 2.5vw, 28px); color: #fff; margin-bottom: 8px; }
.cta-left p { font-size: 15px; color: rgba(255,255,255,.7); margin-bottom: 20px; }
.cta-features {
  display: flex; flex-wrap: wrap; gap: 10px;
}
.cta-features span {
  font-size: 13px; font-weight: 600; color: rgba(255,255,255,.8);
  background: rgba(255,255,255,.08); padding: 5px 14px;
  border-radius: var(--r-full); border: 1px solid rgba(255,255,255,.12);
}
.cta-right { display: flex; flex-direction: column; align-items: center; gap: 12px; position: relative; z-index: 1; }
.cta-app-rating { text-align: center; }
.cta-stars { color: #fbbf24; font-size: 18px; margin-bottom: 2px; }
.cta-app-rating span { font-size: 13px; color: rgba(255,255,255,.65); }
.store-btn-big {
  display: flex; align-items: center; gap: 14px;
  background: #fff; color: var(--gray-900);
  padding: 14px 28px; border-radius: var(--r-lg);
  font-weight: 600; transition: var(--ease);
  box-shadow: 0 8px 24px rgba(0,0,0,.3);
  white-space: nowrap;
}
.store-btn-big:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(0,0,0,.4); }
.store-btn-big svg { flex-shrink: 0; color: #34a853; }
.store-small-txt { display: block; font-size: 11px; color: var(--gray-500); text-transform: uppercase; letter-spacing: .06em; }
.store-big-txt { display: block; font-size: 19px; font-weight: 800; }

/* ===== APP SECTION ===== */
.app-section {
  background: linear-gradient(135deg, #0f172a, #1e3a5f);
  overflow: hidden; position: relative;
}
.app-section::before {
  content: ''; position: absolute; top: -200px; right: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(34,197,94,.08), transparent 70%);
}
.app-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; position: relative; z-index: 1; }
.app-left .section-tag { display: inline-block; margin-bottom: 16px; }
.app-left h2 { font-size: clamp(28px, 3.5vw, 44px); color: #fff; margin-bottom: 16px; }
.app-desc { font-size: 16px; color: rgba(255,255,255,.75); margin-bottom: 36px; line-height: 1.7; }

.app-features { display: flex; flex-direction: column; gap: 18px; margin-bottom: 40px; }
.feature-item { display: flex; gap: 16px; align-items: flex-start; }
.feature-check {
  flex-shrink: 0; width: 26px; height: 26px; background: rgba(34,197,94,.2);
  border: 1.5px solid rgba(34,197,94,.5); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700; color: #4ade80; margin-top: 2px;
}
.feature-item strong { font-size: 15px; color: #fff; display: block; margin-bottom: 3px; }
.feature-item p { font-size: 13px; color: rgba(255,255,255,.65); line-height: 1.5; margin: 0; }

.app-download-btns { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.store-btn {
  display: flex; align-items: center; gap: 12px;
  background: #fff; color: var(--gray-900);
  padding: 12px 22px; border-radius: var(--r);
  font-weight: 600; transition: var(--ease);
  box-shadow: var(--shadow-md);
}
.store-btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.store-btn svg { flex-shrink: 0; }
.store-small { display: block; font-size: 11px; color: var(--gray-500); text-transform: uppercase; letter-spacing: .06em; }
.store-large { font-size: 17px; font-weight: 800; }
.app-rating { color: rgba(255,255,255,.7); font-size: 13px; }
.stars { color: #fbbf24; font-size: 16px; margin-bottom: 2px; }

/* App screens */
.app-right { position: relative; display: flex; justify-content: center; }
.app-screens { display: flex; gap: 16px; align-items: flex-start; position: relative; z-index: 2; }
.screen {
  background: #1e293b; border-radius: 24px; overflow: hidden;
  box-shadow: 0 30px 60px rgba(0,0,0,.5);
}
.main-screen { width: 220px; }
.side-screen { width: 160px; margin-top: 40px; }
.screen-inner { padding: 16px; }
.screen-top-bar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.screen-title { font-size: 14px; font-weight: 700; color: #fff; }
.screen-notif { font-size: 16px; }
.screen-score-card {
  background: linear-gradient(135deg, rgba(37,99,235,.4), rgba(22,163,74,.3));
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 14px; padding: 14px; margin-bottom: 14px;
}
.score-label { font-size: 10px; color: rgba(255,255,255,.6); margin-bottom: 4px; }
.score-val { font-size: 20px; font-weight: 800; color: #fff; margin-bottom: 8px; }
.score-bar { height: 4px; background: rgba(255,255,255,.15); border-radius: 4px; overflow: hidden; margin-bottom: 6px; }
.score-fill { height: 100%; width: 80%; background: linear-gradient(90deg, #22c55e, #4ade80); border-radius: 4px; }
.score-rank { font-size: 11px; color: rgba(255,255,255,.7); }
.screen-section-title { font-size: 11px; font-weight: 700; color: rgba(255,255,255,.5); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 10px; }
.screen-college-list { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.sc-item { display: flex; align-items: center; gap: 8px; font-size: 11px; color: rgba(255,255,255,.8); background: rgba(255,255,255,.05); padding: 6px 8px; border-radius: 8px; }
.sc-dot { width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0; }
.sc-dot.high { background: #4ade80; }
.sc-dot.med { background: #fbbf24; }
.sc-pct { margin-left: auto; font-size: 9px; font-weight: 700; padding: 2px 6px; border-radius: var(--r-full); }
.sc-dot.high ~ .sc-pct { background: rgba(74,222,128,.2); color: #4ade80; }
.sc-dot.med ~ .sc-pct { background: rgba(251,191,36,.2); color: #fbbf24; }
.screen-tab-bar { display: flex; justify-content: space-around; padding-top: 10px; border-top: 1px solid rgba(255,255,255,.08); }
.tab { font-size: 9px; color: rgba(255,255,255,.4); font-weight: 600; text-transform: uppercase; padding: 4px; }
.tab.active { color: #4ade80; }
.screen-inner.small { padding: 14px; }
.mini-header { font-size: 12px; font-weight: 700; color: rgba(255,255,255,.8); margin-bottom: 10px; }
.mini-news-list { display: flex; flex-direction: column; gap: 6px; }
.mini-news-item { font-size: 10px; color: rgba(255,255,255,.6); background: rgba(255,255,255,.05); padding: 6px 8px; border-radius: 6px; border-left: 2px solid #4ade80; line-height: 1.4; }
.app-glow-bg { position: absolute; inset: -40px; background: radial-gradient(circle at 50% 50%, rgba(22,163,74,.12), transparent 70%); z-index: 1; pointer-events: none; }

/* ===== NEWS SECTION ===== */
.news-section { background: var(--gray-50); }

/* Pill-style tabs */
.news-tabs {
  display: flex; gap: 10px; margin-bottom: 32px;
  overflow-x: auto; -webkit-overflow-scrolling: touch;
  padding-bottom: 4px; border-bottom: none;
}
.news-tab {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 20px; border: 2px solid var(--gray-200);
  background: #fff; font-size: 14px; font-weight: 600; color: var(--gray-500);
  cursor: pointer; white-space: nowrap;
  border-radius: var(--r-full); transition: var(--ease);
}
.news-tab:hover { border-color: var(--blue); color: var(--blue); background: var(--blue-l); }
.news-tab.active {
  background: var(--blue); color: #fff; border-color: var(--blue);
  box-shadow: 0 4px 14px rgba(37,99,235,.35);
}
.tab-icon { font-size: 16px; }

.news-panels { }
.news-panel { display: none; }
.news-panel.active { display: block; animation: fadeIn .3s ease; }

.news-list { display: flex; flex-direction: column; gap: 8px; margin-bottom: 24px; }
.news-item {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: #fff; border-radius: var(--r-lg); padding: 20px 22px;
  border: 1px solid var(--gray-200);
  border-left: 4px solid var(--gray-200);
  transition: var(--ease-md);
  cursor: pointer; color: var(--gray-900);
  box-shadow: var(--shadow);
}
.news-item:hover {
  border-left-color: var(--blue);
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}
.news-item.new-item { border-left-color: var(--green); }
.news-item.new-item:hover { border-left-color: var(--green-d); }
.news-item-left { flex: 1; }
.news-cat-row { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.news-cat {
  display: inline-block; font-size: 10px; font-weight: 700; padding: 3px 10px;
  border-radius: var(--r-full); text-transform: uppercase; letter-spacing: .06em;
}
.neet-cat { background: #eff6ff; color: #1d4ed8; }
.mcc-cat { background: #fff7ed; color: #c2410c; }
.ayush-cat { background: #f0fdf4; color: #15803d; }
.vcc-cat { background: #f0fdfe; color: #0e7490; }
.new-badge-pill {
  display: inline-block; font-size: 10px; font-weight: 700;
  padding: 2px 8px; border-radius: var(--r-full);
  background: #fef2f2; color: #dc2626;
  border: 1px solid #fecaca;
}
.news-item h4 { font-size: 15px; font-weight: 600; color: var(--gray-800); margin-bottom: 6px; line-height: 1.45; }
.news-meta { font-size: 12px; color: var(--gray-400); }
.news-arrow {
  font-size: 20px; color: var(--gray-300); transition: var(--ease); flex-shrink: 0;
  width: 32px; height: 32px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--gray-100);
}
.news-item:hover .news-arrow { color: #fff; background: var(--blue); transform: translateX(2px); }

.more-posts-btn {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--blue); font-weight: 700; font-size: 14px;
  padding: 12px 24px; border-radius: var(--r-full);
  border: 2px solid var(--blue);
  background: transparent; transition: var(--ease);
}
.more-posts-btn:hover { background: var(--blue); color: #fff; box-shadow: 0 6px 18px rgba(37,99,235,.3); }
.more-posts-btn span { transition: var(--ease); }
.more-posts-btn:hover span { transform: translateX(4px); }

/* Featured news item — first post highlight */
.featured-news {
  background: linear-gradient(135deg, #f0fdf4, #eff6ff) !important;
  border-left-color: #2563eb !important;
  border-color: #bfdbfe !important;
  box-shadow: 0 4px 20px rgba(37,99,235,.12) !important;
}
.featured-news h4 { font-size: 16px !important; color: #0f172a !important; }
.featured-news:hover {
  border-left-color: #1d4ed8 !important;
  box-shadow: 0 8px 30px rgba(37,99,235,.2) !important;
  transform: translateY(-4px) !important;
}

/* ===== TEAM ===== */
.team-section { background: #fff; }
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

.team-card {
  background: #fff; border-radius: var(--r-xl); padding: 28px 24px;
  text-align: center; box-shadow: var(--shadow); border: 1px solid var(--gray-100);
  transition: var(--ease-md);
}
.team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-xl); }
.head-card { border: 2px solid var(--blue-l); box-shadow: 0 8px 30px rgba(37,99,235,.1); }

.team-avatar {
  width: 80px; height: 80px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; font-weight: 800; color: #fff;
  margin: 0 auto 12px; box-shadow: var(--shadow-md);
}
.team-badge-wrap { margin-bottom: 10px; }
.team-badge {
  display: inline-block; font-size: 11px; font-weight: 700; padding: 3px 12px;
  border-radius: var(--r-full); text-transform: uppercase; letter-spacing: .06em;
}
.founder-badge { background: var(--blue-l); color: var(--blue); }
.ceo-badge { background: var(--green-l); color: var(--green); }
.advisor-badge { background: #fef3c7; color: #92400e; }

.team-card h3 { font-size: 17px; font-weight: 700; color: var(--gray-900); margin-bottom: 4px; }
.team-role { font-size: 13px; color: var(--gray-500); margin-bottom: 14px; font-weight: 500; }
.team-bio { font-size: 13px; color: var(--gray-600); line-height: 1.65; }

/* ===== CONTACT ===== */
.contact-section {
  background: linear-gradient(135deg, #0f172a, #1e3a5f);
  overflow: hidden; position: relative;
}
.contact-section::before {
  content: ''; position: absolute; bottom: -200px; left: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(37,99,235,.08), transparent 70%);
}
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 64px; align-items: start; position: relative; z-index: 1; }
.contact-left h2 { font-size: clamp(26px, 3vw, 40px); color: #fff; margin-bottom: 14px; }
.contact-left p { font-size: 15px; color: rgba(255,255,255,.7); margin-bottom: 32px; line-height: 1.7; }
.contact-links { display: flex; flex-direction: column; gap: 14px; }
.contact-link-item {
  display: flex; align-items: center; gap: 12px;
  color: rgba(255,255,255,.8); font-size: 15px; font-weight: 500;
  transition: var(--ease);
}
.contact-link-item:hover { color: #4ade80; }
.cli-icon { font-size: 20px; }

.contact-form {
  background: rgba(255,255,255,.06); backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,.12); border-radius: var(--r-xl); padding: 36px;
}
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.fg { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.fg label { font-size: 13px; font-weight: 600; color: rgba(255,255,255,.75); }
.fg input, .fg select, .fg textarea {
  padding: 11px 14px; border: 1.5px solid rgba(255,255,255,.15);
  border-radius: var(--r); font-size: 14px; font-family: inherit;
  color: #fff; background: rgba(255,255,255,.08); outline: none;
  transition: var(--ease);
}
.fg input::placeholder, .fg textarea::placeholder { color: rgba(255,255,255,.4); }
.fg select { color: rgba(255,255,255,.8); cursor: pointer; appearance: none; }
.fg select option { background: #1e293b; color: #fff; }
.fg input:focus, .fg select:focus, .fg textarea:focus {
  border-color: rgba(74,222,128,.5); box-shadow: 0 0 0 3px rgba(74,222,128,.1);
}
.fg input.has-error, .fg select.has-error, .fg textarea.has-error { border-color: rgba(248,113,113,.6); }
.fg textarea { resize: vertical; min-height: 100px; }
.ferr { font-size: 12px; color: #f87171; min-height: 16px; }

.btn-spin {
  width: 16px; height: 16px; border: 2px solid rgba(255,255,255,.4);
  border-top-color: #fff; border-radius: 50%; animation: spin .7s linear infinite;
}
.form-ok {
  display: none; margin-top: 14px;
  background: rgba(74,222,128,.15); border: 1px solid rgba(74,222,128,.3);
  color: #4ade80; font-size: 14px; font-weight: 500;
  padding: 12px 16px; border-radius: var(--r);
}
.form-ok.show { display: block; animation: fadeIn .3s ease; }

/* ===== FOOTER ===== */
.footer { background: #020617; padding: 64px 0 0; }
.footer-top {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px;
  padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-brand p { font-size: 13px; color: #64748b; line-height: 1.7; max-width: 280px; margin-top: 4px; }
.footer-socials { display: flex; gap: 10px; margin-top: 20px; }
.fsocial {
  width: 34px; height: 34px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; transition: var(--ease);
}
.fsocial.yt { background: #ff0000; }
.fsocial.tg { background: #229ED9; }
.fsocial.ig { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.fsocial:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.footer-col h4 { font-size: 12px; font-weight: 700; color: #94a3b8; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 16px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 14px; color: #475569; transition: var(--ease); }
.footer-col a:hover { color: #4ade80; }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 16px; padding: 24px 0;
}
.fb-left p { font-size: 13px; color: #475569; }
.fb-disc { font-size: 11px !important; color: #334155 !important; margin-top: 4px; }
.fb-right { display: flex; gap: 20px; }
.fb-right a { font-size: 13px; color: #475569; transition: var(--ease); }
.fb-right a:hover { color: #fff; }

/* ===== BACK TO TOP ===== */
.back-to-top {
  position: fixed; bottom: 28px; right: 28px;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--green); color: #fff; border: none;
  font-size: 18px; cursor: pointer; z-index: 999;
  box-shadow: var(--shadow-lg); transition: var(--ease);
  opacity: 0; pointer-events: none; transform: translateY(10px);
}
.back-to-top.show { opacity: 1; pointer-events: auto; transform: translateY(0); }
.back-to-top:hover { background: var(--green-d); transform: translateY(-3px); }

/* ===== ANIMATIONS ===== */
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .5; } }
@keyframes spin { to { transform: rotate(360deg); } }

.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .strip-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .tools-grid { grid-template-columns: 1fr 1fr; }
  .tools-grid .tool-card:last-child { grid-column: 1 / -1; max-width: 420px; margin: 0 auto; }
  .tool-app-cta { padding: 32px; }
}

@media (max-width: 768px) {
  section { padding: 64px 0; }
  .section-header { margin-bottom: 40px; }
  .hamburger { display: flex; }
  .nav-links {
    position: fixed; top: 0; right: -100%; width: 280px; height: 100vh;
    background: #fff; flex-direction: column; justify-content: center; gap: 24px;
    padding: 24px; box-shadow: var(--shadow-xl); transition: right .3s ease; z-index: 999;
  }
  .nav-links.open { right: 0; }
  .nav-links a { color: var(--gray-700) !important; font-size: 17px; }
  .hero-content { grid-template-columns: 1fr; text-align: center; padding-top: 90px; }
  .hero-right { display: none; }
  .hero-btns { justify-content: center; }
  .hero-trust { margin: 0 auto; }
  .strip-grid { grid-template-columns: 1fr; }

  /* ---- Flowchart mobile: full vertical stack ---- */
  .flowchart { display: flex; flex-direction: column; align-items: center; }
  .fc-row {
    flex-direction: column; align-items: center; gap: 0; width: 100%;
  }
  .fc-node { width: 100%; max-width: 340px; }
  .fc-arrow.right {
    transform: rotate(90deg); width: auto; padding: 4px 0;
  }
  .fc-branch-connector { display: none; }
  .fc-branches {
    grid-template-columns: 1fr; width: 100%; gap: 12px;
  }
  .fc-branch { width: 100%; }
  .fc-node.branch-node { width: 100%; }
  .branch-arrow-down { margin: 0 auto; }
  .fc-final { width: 100%; }
  .fc-node.final-node { width: 100%; max-width: 340px; margin: 0 auto; }
  /* ---- end flowchart mobile ---- */

  .quota-banner { flex-direction: column; gap: 20px; }
  .quota-divider { width: 100%; height: 1px; margin: 0; }
  .tools-grid { grid-template-columns: 1fr; }
  .tools-grid .tool-card:last-child { max-width: 100%; }
  .video-wrap-shorts { max-width: 260px; }
  .tool-app-cta { flex-direction: column; text-align: center; padding: 28px 20px; }
  .cta-features { justify-content: center; }
  .cta-right { width: 100%; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .form-row-2 { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 28px; }
  .footer-brand p { max-width: 100%; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .news-tabs { gap: 6px; }
  .news-tab { padding: 8px 14px; font-size: 12px; }
  .contact-form { padding: 24px; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero-trust { padding: 14px 20px; }
  .trust-item strong { font-size: 18px; }
  .team-grid { grid-template-columns: 1fr; }
  .video-wrap-shorts { max-width: 220px; }
  .news-tabs { flex-wrap: wrap; }
}
