/* Taleem Desks marketing site */
:root {
  --navy: #041B3D;
  --navy-2: #062B5F;
  --blue: #0A4EA3;
  --blue-2: #1E74E0;
  --green: #7DC83A;
  --green-2: #A5E06A;
  --ink: #0B1B33;
  --muted: #5B6B82;
  --line: #E3E9F2;
  --paper: #F5F8FC;
  --white: #FFFFFF;
  --radius: 22px;
  --shadow: 0 30px 80px rgba(4, 27, 61, .14);
  --font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body { font-family: var(--font); color: var(--ink); background: var(--white); line-height: 1.55; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.wrap { width: min(1200px, 100% - 40px); margin-inline: auto; }
h1, h2, h3 { line-height: 1.08; letter-spacing: -.03em; }
h2 { font-size: clamp(34px, 5vw, 60px); font-weight: 800; }
h3 { font-size: 21px; font-weight: 700; letter-spacing: -.01em; }
.grad { background: linear-gradient(100deg, var(--green) 0%, #4FD1C5 50%, var(--blue-2) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--green-2); margin-bottom: 18px; }
.eyebrow.dark { color: var(--blue); }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(125,200,58,.25); }
.sub { font-size: 19px; color: var(--muted); margin-top: 18px; max-width: 620px; }
.sub.light { color: #A9B8D3; }
.head { margin-bottom: 56px; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-weight: 700; font-size: 15px; padding: 12px 22px; border-radius: 999px; transition: transform .25s ease, box-shadow .25s ease, background .25s ease; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.btn-lg { font-size: 17px; padding: 17px 30px; }
.btn-green { background: var(--green); color: #0B2A06; box-shadow: 0 12px 30px rgba(125,200,58,.35); }
.btn-green:hover { box-shadow: 0 18px 40px rgba(125,200,58,.5); background: var(--green-2); }
.btn-ghost { color: #fff; }
.btn-glass { background: rgba(255,255,255,.08); color: #fff; border: 1px solid rgba(255,255,255,.22); backdrop-filter: blur(10px); }
.btn-outline { border: 2px solid var(--line); color: var(--ink); }
.btn-outline:hover { border-color: var(--blue); color: var(--blue); }

/* ---------- nav ---------- */
.nav { position: fixed; z-index: 50; top: 14px; left: 50%; transform: translateX(-50%); width: min(1200px, 100% - 28px); display: flex; align-items: center; gap: 24px; padding: 10px 12px 10px 20px; border-radius: 999px; color: #fff; transition: background .35s, box-shadow .35s, color .35s, top .35s; }
.nav.scrolled { background: rgba(4, 27, 61, .72); backdrop-filter: blur(16px) saturate(1.4); box-shadow: 0 10px 40px rgba(0,0,0,.25), inset 0 0 0 1px rgba(255,255,255,.08); }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 19px; letter-spacing: -.02em; }
.brand b { color: var(--green); font-weight: 800; }
.brand-mark { width: 46px; height: 23px; color: #fff; }
.nav-links { display: flex; gap: 6px; margin-left: auto; }
.nav-links a { font-size: 15px; font-weight: 600; padding: 8px 14px; border-radius: 999px; opacity: .85; transition: background .2s, opacity .2s; }
.nav-links a:hover { background: rgba(255,255,255,.1); opacity: 1; }
.nav-cta { display: flex; gap: 6px; }
.burger { display: none; margin-left: auto; width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgba(255,255,255,.1); cursor: pointer; }
.burger span { display: block; width: 18px; height: 2px; background: #fff; margin: 5px auto; transition: transform .3s; }
.burger[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
.mobile-menu { position: fixed; z-index: 49; inset: 0; background: rgba(4,27,61,.97); display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 10px; opacity: 0; pointer-events: none; transition: opacity .3s; }
.mobile-menu.open { opacity: 1; pointer-events: auto; }
.mobile-menu a { color: #fff; font-size: 24px; font-weight: 700; padding: 10px; }
.mobile-menu .btn { font-size: 18px; margin-top: 14px; color: #0B2A06; }

/* ---------- 3D hero ---------- */
.hero { position: relative; height: 100vh; background: var(--navy); color: #fff; }
.hero-stage { position: relative; height: 100vh; overflow: hidden;
  background:
    radial-gradient(1000px 700px at 75% 20%, rgba(30,116,224,.35), transparent 60%),
    radial-gradient(800px 600px at 10% 90%, rgba(125,200,58,.18), transparent 60%),
    linear-gradient(180deg, #041B3D 0%, #031430 100%); }
#scene { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hero-fallback { display: none; position: absolute; right: 5%; top: 50%; transform: translateY(-50%) perspective(1600px) rotateY(-14deg); width: 50%; border-radius: 16px; overflow: hidden; box-shadow: 0 40px 120px rgba(0,0,0,.5); }
.no-webgl .hero-fallback { display: block; }
.hero-copy { position: absolute; z-index: 2; left: max(20px, calc((100vw - 1200px) / 2)); top: 50%; transform: translateY(-50%); width: min(640px, 100% - 40px); }
.hero-copy h1 { font-size: clamp(44px, 6.4vw, 92px); font-weight: 800; letter-spacing: -.045em; }
.lead { font-size: clamp(17px, 1.6vw, 21px); color: #C4D1E8; margin-top: 22px; max-width: 520px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-actions.center { justify-content: center; }
.scroll-hint { display: flex; align-items: center; gap: 12px; margin-top: 54px; font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: #8FA3C6; }
.mouse { width: 24px; height: 38px; border: 2px solid #8FA3C6; border-radius: 14px; position: relative; }
.mouse i { position: absolute; left: 50%; top: 7px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--green); animation: wheel 1.6s ease-in-out infinite; }
@keyframes wheel { 0% { opacity: 0; transform: translateY(-3px) } 30% { opacity: 1 } 100% { opacity: 0; transform: translateY(10px) } }
.hero-steps { position: absolute; z-index: 2; left: max(20px, calc((100vw - 1200px) / 2)); top: 50%; transform: translateY(-50%); width: min(400px, 36vw); height: 260px; pointer-events: none; }
.hstep { position: absolute; inset: 0; opacity: 0; transform: translateY(30px); }
.hnum { display: inline-block; font-size: 14px; font-weight: 800; letter-spacing: .2em; color: var(--green); padding: 6px 12px; border: 1px solid rgba(125,200,58,.4); border-radius: 999px; margin-bottom: 20px; }
.hstep h2 { font-size: clamp(30px, 3.4vw, 50px); }
.hstep p { font-size: 18px; color: #C4D1E8; margin-top: 16px; }
.hero-final { position: absolute; z-index: 2; left: 0; right: 0; bottom: 9vh; text-align: center; opacity: 0; transform: translateY(40px); padding: 0 20px; }
.hero-final h2 { font-size: clamp(30px, 4.2vw, 58px); margin-bottom: 28px; }
.hero-progress { position: absolute; z-index: 3; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(255,255,255,.06); }
.hero-progress i { display: block; height: 100%; width: 100%; transform-origin: left; transform: scaleX(0); background: linear-gradient(90deg, var(--green), var(--blue-2)); }

/* ---------- problem ---------- */
.problem { padding: 140px 0 110px; background: var(--white); }
.pains { list-style: none; }
.pains li { font-size: clamp(34px, 5.6vw, 76px); font-weight: 800; letter-spacing: -.04em; line-height: 1.12; color: var(--ink); }
.pains span { position: relative; display: inline; background-image: linear-gradient(var(--green), var(--green)); background-size: 0% 10px; background-repeat: no-repeat; background-position: 0 58%; }
.enough { margin-top: 40px; font-size: clamp(26px, 3vw, 40px); font-weight: 800; color: var(--blue); }

/* ---------- marquee ---------- */
.marquee { overflow: hidden; background: var(--navy-2); color: #fff; padding: 26px 0; transform: rotate(-1.5deg) scale(1.03); }
.marquee-track { display: flex; align-items: center; gap: 36px; padding-right: 36px; width: max-content; will-change: transform; }
.marquee span { font-size: clamp(22px, 2.6vw, 34px); font-weight: 800; letter-spacing: -.02em; white-space: nowrap; }
.marquee i { width: 14px; height: 14px; border-radius: 50%; background: var(--green); flex: none; }

/* ---------- features ---------- */
.features { padding: 150px 0 120px; background: var(--paper); }
.bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.tile { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; overflow: hidden; transform-style: preserve-3d; transition: box-shadow .35s, border-color .35s; will-change: transform; }
.tile:hover { box-shadow: var(--shadow); border-color: #CFDBEC; }
.tile p { color: var(--muted); margin-top: 10px; font-size: 15.5px; }
.tile-icon { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; font-size: 22px; color: var(--blue); background: linear-gradient(135deg, #E6F0FF, #EAF7DD); margin-bottom: 22px; }
.tile-big { grid-column: span 2; grid-row: span 2; }
.tile-wide { grid-column: span 2; grid-row: span 2; }
.tile img { margin-top: 24px; border-radius: 14px; border: 1px solid var(--line); box-shadow: 0 20px 50px rgba(4,27,61,.12); }

/* ---------- tour ---------- */
.tour { background: var(--navy); color: #fff; overflow: hidden; }
.tour-pin { height: 100vh; display: flex; flex-direction: column; justify-content: center; position: relative; }
.tour-head { padding-left: max(20px, calc((100vw - 1200px) / 2)); margin-bottom: 40px; }
.tour-track { display: flex; gap: 36px; padding: 0 max(20px, calc((100vw - 1200px) / 2)); width: max-content; will-change: transform; }
.shot { width: min(640px, 80vw); flex: none; }
.frame { background: #E9EEF7; border-radius: 18px; padding: 10px; box-shadow: 0 40px 100px rgba(0,0,0,.45); transform: perspective(1400px) rotateY(-8deg); transition: transform .5s; }
.shot:hover .frame { transform: perspective(1400px) rotateY(0deg) translateY(-6px); }
.bar { display: flex; gap: 6px; padding: 2px 4px 9px; }
.bar i { width: 10px; height: 10px; border-radius: 50%; background: #FF6159; }
.bar i:nth-child(2) { background: #FFBD2E; } .bar i:nth-child(3) { background: #28C941; }
.frame img { border-radius: 10px; aspect-ratio: 1366 / 768; object-fit: cover; object-position: left top; width: 100%; }
.shot figcaption { margin-top: 22px; color: #A9B8D3; font-size: 16px; }
.shot figcaption b { display: block; color: #fff; font-size: 22px; margin-bottom: 4px; }

/* ---------- bilingual ---------- */
.lang { padding: 140px 0; }
.lang-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; align-items: center; }
.ticks { list-style: none; margin-top: 28px; display: grid; gap: 12px; font-weight: 600; }
.ticks i { color: #fff; background: var(--green); width: 26px; height: 26px; border-radius: 50%; display: inline-grid; place-items: center; font-size: 12px; margin-right: 10px; }
.lang-card { perspective: 1400px; height: 300px; }
.lang-flip { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; animation: flip 7s cubic-bezier(.7,0,.3,1) infinite; }
.face { position: absolute; inset: 0; backface-visibility: hidden; border-radius: 28px; padding: 40px; display: flex; flex-direction: column; justify-content: center; gap: 14px; color: #fff; box-shadow: var(--shadow); }
.face.en { background: linear-gradient(135deg, var(--blue), var(--navy-2)); }
.face.ur { background: linear-gradient(135deg, #2F7A1F, var(--green)); transform: rotateY(180deg); font-family: 'Noto Nastaliq Urdu', serif; }
.face b { font-size: 46px; line-height: 1.6; }
.face em { font-style: normal; font-size: 20px; opacity: .85; }
.face.ur b { font-size: 50px; }
.pill { align-self: flex-start; font-family: var(--font); font-size: 13px; font-weight: 700; letter-spacing: .08em; padding: 6px 14px; border-radius: 999px; background: rgba(255,255,255,.18); }
.face.ur .pill { align-self: flex-start; font-family: 'Noto Nastaliq Urdu', serif; }
@keyframes flip { 0%, 40% { transform: rotateY(0) } 50%, 90% { transform: rotateY(180deg) } 100% { transform: rotateY(360deg) } }

/* ---------- steps ---------- */
.start { padding: 120px 0 140px; background: var(--paper); }
.steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.steps-line { position: absolute; top: 31px; left: 32px; right: 32px; height: 3px; background: var(--line); }
.steps-line i { display: block; height: 100%; background: linear-gradient(90deg, var(--green), var(--blue-2)); transform-origin: left; transform: scaleX(0); }
.step { position: relative; }
.step span { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: #fff; border: 3px solid var(--green); color: var(--blue); font-size: 24px; font-weight: 800; margin-bottom: 24px; box-shadow: 0 10px 30px rgba(125,200,58,.25); }
.step p { color: var(--muted); margin-top: 10px; }

/* ---------- safe ---------- */
.safe { padding: 130px 0; background: linear-gradient(180deg, var(--navy) 0%, #062B5F 100%); color: #fff; }
.safe-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.glass { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); padding: 30px; backdrop-filter: blur(10px); }
.glass i { font-size: 30px; color: var(--green); margin-bottom: 22px; }
.glass p { color: #A9B8D3; margin-top: 10px; }

/* ---------- plans ---------- */
.plans { padding: 140px 0; }
.plans .head, .faq .head { text-align: center; }
.plans .sub { margin-inline: auto; }
.plan-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.plan { position: relative; border: 1px solid var(--line); border-radius: 26px; padding: 36px; display: flex; flex-direction: column; background: #fff; transition: transform .35s, box-shadow .35s; }
.plan:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.plan h3 { font-size: 28px; }
.plan-for { color: var(--muted); margin-top: 6px; }
.plan ul { list-style: none; margin: 28px 0 32px; display: grid; gap: 14px; flex: 1; }
.plan li i { color: var(--green); margin-right: 10px; }
.plan-best { background: linear-gradient(160deg, var(--navy-2), var(--navy)); color: #fff; border-color: transparent; box-shadow: 0 30px 80px rgba(6,43,95,.35); }
.plan-best .plan-for { color: #A9B8D3; }
.badge { position: absolute; top: -14px; left: 36px; background: var(--green); color: #0B2A06; font-size: 13px; font-weight: 800; padding: 6px 14px; border-radius: 999px; }

/* ---------- faq ---------- */
.faq { padding: 120px 0; background: var(--paper); }
.faq-wrap { max-width: 860px; }
.faq-list { display: grid; gap: 14px; }
details { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 0 26px; transition: box-shadow .3s; }
details[open] { box-shadow: 0 20px 50px rgba(4,27,61,.08); }
summary { list-style: none; cursor: pointer; padding: 24px 0; font-size: 18px; font-weight: 700; display: flex; justify-content: space-between; gap: 20px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; font-size: 26px; line-height: 1; color: var(--blue); transition: transform .3s; }
details[open] summary::after { transform: rotate(45deg); }
details p { color: var(--muted); padding-bottom: 24px; margin-top: -6px; }

/* ---------- cta ---------- */
.cta { position: relative; overflow: hidden; padding: 150px 0; background: var(--navy); color: #fff; text-align: center; }
.cta-glow { position: absolute; width: 900px; height: 900px; left: 50%; top: 50%; transform: translate(-50%, -50%); background: radial-gradient(circle, rgba(125,200,58,.28), rgba(30,116,224,.18) 40%, transparent 70%); filter: blur(20px); }
.cta-inner { position: relative; }
.cta-logo { width: 220px; margin: 0 auto 40px; border-radius: 22px; box-shadow: 0 20px 60px rgba(0,0,0,.4); }
.cta .sub { margin-inline: auto; }

/* ---------- footer ---------- */
.footer { background: #021028; color: #8FA3C6; padding: 40px 0; }
.foot { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.foot .brand { color: #fff; }
.foot nav { display: flex; gap: 22px; }
.foot nav a:hover { color: #fff; }
.made-by { margin-top: 28px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.08); display: flex; justify-content: center; }
.made-by a { display: inline-flex; align-items: center; gap: 12px; font-size: 14px; color: #8FA3C6; padding: 8px 16px; border-radius: 999px; transition: background .25s, color .25s; }
.made-by a:hover { color: #fff; background: rgba(255,255,255,.06); }
.made-by img { height: 20px; width: auto; opacity: .9; transition: opacity .25s; }
.made-by a:hover img { opacity: 1; }

/* ---------- reveal base (JS animates) ---------- */
.js .reveal { opacity: 0; transform: translateY(40px); }

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .nav-links, .nav-cta { display: none; }
  .burger { display: block; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .safe-grid { grid-template-columns: repeat(2, 1fr); }
  .plan-grid { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
}
@media (max-width: 760px) {
  .hero-copy { top: auto; bottom: 6vh; transform: none; }
  .hero-copy h1 { font-size: 40px; }
  .hero-copy h1 br { display: none; }
  .hero-copy .eyebrow { font-size: 11px; margin-bottom: 12px; }
  .lead { margin-top: 14px; font-size: 16px; }
  .hero-actions { margin-top: 22px; }
  .hero-actions .btn-lg { padding: 14px 22px; font-size: 16px; }
  .scroll-hint { display: none; }
  .hero-steps { top: auto; bottom: 6vh; transform: none; width: calc(100% - 40px); height: 200px; }
  .hstep h2 { font-size: 30px; }
  .hstep p { font-size: 16px; }
  .bento { grid-template-columns: 1fr; }
  .tile-big, .tile-wide { grid-column: auto; grid-row: auto; }
  .lang-grid { grid-template-columns: 1fr; }
  .lang-card { height: 240px; }
  .face b { font-size: 34px; }
  .steps { grid-template-columns: 1fr; gap: 34px; }
  .steps-line { left: 31px; right: auto; top: 32px; bottom: 32px; width: 3px; height: auto; }
  .steps-line i { transform-origin: top; transform: scaleY(0); height: 100%; width: 100%; }
  .step { padding-left: 90px; }
  .step span { position: absolute; left: 0; top: -6px; }
  .safe-grid { grid-template-columns: 1fr; }
  .problem, .features, .lang, .plans, .safe, .cta { padding: 90px 0; }
  .foot { flex-direction: column; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  .lang-flip, .mouse i { animation: none; }
}
