
/* ===== styles.css ===== */
/* Rashid Minhas — SEO Expert homepage */
:root {
  --bg: #0a0e12;
  --bg-2: #0f141b;
  --surface: #131922;
  --surface-2: #18202b;
  --line: #232c39;
  --line-2: #2c3745;
  --ink: #eef3f8;
  --ink-2: #9fb0c0;
  --ink-3: #687889;
  --accent: #2dd4a7;
  --accent-deep: #1aa783;
  --accent-soft: rgba(45, 212, 167, 0.12);
  --amber: #f5b94a;
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-pill: 999px;
  --display: "Space Grotesk", system-ui, sans-serif;
  --sans: "Inter", system-ui, -apple-system, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", monospace;
  --maxw: 1180px;
}


* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; color: inherit; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }

h1, h2, h3, h4 { font-family: var(--display); font-weight: 600; letter-spacing: -0.02em; line-height: 1.08; margin: 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 22px; height: 1px; background: var(--accent); }

.accent { color: var(--accent); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 14px 24px; border-radius: var(--r-pill);
  font-size: 15px; font-weight: 600; letter-spacing: -0.01em;
  transition: all 180ms cubic-bezier(.2,.7,.2,1); white-space: nowrap;
}
.btn svg { width: 17px; height: 17px; }
.btn--primary { background: var(--accent); color: #04130d; }
.btn--primary:hover { background: var(--accent-deep); transform: translateY(-2px); box-shadow: 0 10px 30px -10px var(--accent); }
.btn--ghost { border: 1.5px solid var(--line-2); color: var(--ink); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); }

/* ---------- header ---------- */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(10, 14, 18, 0.78); backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent; transition: border-color .3s, background .3s;
}
.header.scrolled { border-bottom-color: var(--line); }
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }
.logo { display: flex; align-items: center; gap: 11px; font-family: var(--display); font-weight: 600; font-size: 18px; letter-spacing: -0.02em; }
.logo__mark {
  width: 34px; height: 34px; border-radius: 9px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  display: grid; place-items: center; color: #04130d; font-weight: 700; font-size: 16px;
  box-shadow: 0 0 20px -4px var(--accent);
}
.nav { display: flex; align-items: center; gap: 30px; font-size: 14.5px; font-weight: 500; }
.nav a { color: var(--ink-2); transition: color 160ms; }
.nav a:hover { color: var(--ink); }
.header__cta { display: flex; align-items: center; gap: 14px; }
.menu-btn { display: none; width: 42px; height: 42px; border-radius: 10px; border: 1px solid var(--line); }
.menu-btn svg { width: 20px; height: 20px; margin: auto; }

/* ---------- hero ---------- */
.hero { position: relative; padding: 88px 0 72px; overflow: hidden; }
.hero__glow {
  position: absolute; top: -200px; left: 50%; transform: translateX(-50%);
  width: 900px; height: 600px; pointer-events: none;
  background: radial-gradient(ellipse at center, rgba(45,212,167,0.16) 0%, transparent 65%);
}
.hero__grid { position: relative; display: grid; grid-template-columns: 1.25fr 0.9fr; gap: 56px; align-items: center; }
.badge-line {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 12.5px; color: var(--ink-2);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-pill);
  padding: 7px 15px 7px 12px; margin-bottom: 26px;
}
.badge-line .pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 var(--accent); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(45,212,167,0.5); } 70% { box-shadow: 0 0 0 8px rgba(45,212,167,0); } 100% { box-shadow: 0 0 0 0 rgba(45,212,167,0); } }
.hero h1 { font-size: clamp(44px, 6vw, 76px); margin-bottom: 24px; }
.hero h1 .grad { background: linear-gradient(100deg, var(--accent) 10%, #6ee7c4 60%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__copy { font-size: 18px; color: var(--ink-2); max-width: 560px; margin-bottom: 34px; }
.hero__copy strong { color: var(--ink); font-weight: 600; }
.hero__ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 0; }

/* hero stat panel */
.hero__panel {
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
  border: 1px solid var(--line); border-radius: var(--r-lg); padding: 30px;
  box-shadow: 0 30px 60px -30px rgba(0,0,0,0.6);
}
.hero__panel-head { display: flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 12px; color: var(--ink-3); letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 22px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.hero__panel-head .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); }
.hero__stats { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 18px; }
.stat__num { font-family: var(--display); font-size: 40px; font-weight: 600; line-height: 1; color: var(--ink); }
.stat__num .accent { color: var(--accent); }
.stat__label { font-size: 13px; color: var(--ink-2); margin-top: 7px; }

/* trust strip */
.trust { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-2); }
.trust__inner { display: flex; flex-wrap: wrap; gap: 14px 36px; padding: 22px 0; align-items: center; justify-content: center; }
.trust__item { display: inline-flex; align-items: center; gap: 9px; font-size: 13.5px; color: var(--ink-2); font-weight: 500; }
.trust__item svg { width: 16px; height: 16px; color: var(--accent); flex-shrink: 0; }

/* ---------- sections ---------- */
section { position: relative; }
.section { padding: 96px 0; }
.section--tint { background: var(--bg-2); }
.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head h2 { font-size: clamp(30px, 3.8vw, 46px); margin-bottom: 18px; }
.section-head p { font-size: 17px; color: var(--ink-2); margin: 0; }

/* intro prose */
.prose { max-width: 820px; margin: 0 auto; }
.prose p { font-size: 17px; color: var(--ink-2); margin: 0 0 22px; }
.prose p:last-child { margin-bottom: 0; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose a { color: var(--accent); border-bottom: 1px solid rgba(45,212,167,0.3); }
.prose a:hover { border-bottom-color: var(--accent); }

/* ---------- problem section ---------- */
.problem__grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center; }
.problem__list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 16px; }
.problem__list li { display: flex; gap: 14px; font-size: 16px; color: var(--ink-2); line-height: 1.5; }
.problem__list li svg { width: 22px; height: 22px; flex-shrink: 0; margin-top: 1px; }
.problem__list li.bad svg { color: #ef6b6b; }
.problem__list li.good svg { color: var(--accent); }
.problem__list li.good { color: var(--ink); font-weight: 500; }

.results-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 32px; }
.results-card h3 { font-size: 19px; margin-bottom: 24px; }
.results-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 20px; }
.result__num { font-family: var(--display); font-size: 36px; font-weight: 600; color: var(--accent); line-height: 1; }
.result__title { font-size: 14.5px; font-weight: 600; color: var(--ink); margin: 8px 0 3px; }
.result__sub { font-size: 12.5px; color: var(--ink-3); line-height: 1.45; }

/* ---------- services ---------- */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.service {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 26px;
  transition: border-color .2s, transform .2s, background .2s; position: relative; overflow: hidden;
}
.service:hover { border-color: var(--line-2); transform: translateY(-3px); background: var(--surface-2); }
.service__icon { width: 46px; height: 46px; border-radius: 11px; background: var(--accent-soft); display: grid; place-items: center; margin-bottom: 18px; }
.service__icon svg { width: 22px; height: 22px; color: var(--accent); }
.service h3 { font-size: 18px; margin-bottom: 10px; letter-spacing: -0.01em; }
.service p { font-size: 14px; color: var(--ink-2); margin: 0; line-height: 1.55; }

/* ---------- why me ---------- */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.why { background: var(--bg); padding: 32px; }
.why__n { font-family: var(--mono); font-size: 13px; color: var(--accent); margin-bottom: 14px; }
.why h3 { font-size: 18px; margin-bottom: 11px; }
.why p { font-size: 14.5px; color: var(--ink-2); margin: 0; line-height: 1.55; }

/* ---------- process ---------- */
.process { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; position: relative; }
.process::before { content: ""; position: absolute; top: 27px; left: 6%; right: 6%; height: 2px; background: linear-gradient(90deg, var(--line), var(--accent), var(--line)); opacity: 0.4; }
.step { position: relative; text-align: center; }
.step__num {
  width: 54px; height: 54px; border-radius: 50%; margin: 0 auto 20px;
  background: var(--surface); border: 2px solid var(--accent); color: var(--accent);
  display: grid; place-items: center; font-family: var(--display); font-weight: 600; font-size: 20px;
  position: relative; z-index: 1;
}
.step h3 { font-size: 16px; margin-bottom: 9px; }
.step p { font-size: 13.5px; color: var(--ink-2); margin: 0; line-height: 1.5; }

/* ---------- case studies ---------- */
.cases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.case { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 28px; display: flex; flex-direction: column; }
.case__tag { font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 16px; }
.case h3 { font-size: 19px; margin-bottom: 20px; line-height: 1.2; }
.case__metric { display: flex; align-items: baseline; gap: 10px; padding: 16px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 18px; }
.case__metric .big { font-family: var(--display); font-size: 30px; font-weight: 700; color: var(--accent); line-height: 1; }
.case__metric .small { font-size: 13px; color: var(--ink-3); }
.case p { font-size: 14px; color: var(--ink-2); margin: 0; line-height: 1.55; }

/* ---------- testimonials ---------- */
.tst-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tst { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 28px; display: flex; flex-direction: column; gap: 22px; }
.tst__quote { font-size: 16px; line-height: 1.6; color: var(--ink); margin: 0; }
.tst__author { display: flex; align-items: center; gap: 13px; margin-top: auto; }
.tst__avatar { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-family: var(--display); font-weight: 600; font-size: 15px; color: #04130d; flex-shrink: 0; }
.tst__name { font-size: 14.5px; font-weight: 600; }
.tst__role { font-size: 12.5px; color: var(--ink-3); }
.tst__stars { display: flex; gap: 3px; color: var(--amber); }
.tst__stars svg { width: 15px; height: 15px; fill: currentColor; }

/* ---------- pricing ---------- */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: start; }
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 32px 28px; position: relative; display: flex; flex-direction: column; }
.plan--featured { border-color: var(--accent); background: linear-gradient(180deg, var(--surface-2), var(--surface)); box-shadow: 0 30px 60px -32px rgba(45,212,167,0.4); }
.plan__ribbon { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--accent); color: #04130d; font-family: var(--mono); font-size: 10.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; padding: 5px 13px; border-radius: var(--r-pill); }
.plan__icon { font-size: 26px; margin-bottom: 14px; }
.plan h3 { font-size: 21px; margin-bottom: 6px; }
.plan__for { font-size: 13.5px; color: var(--ink-3); min-height: 38px; }
.plan__price { font-family: var(--display); font-size: 36px; font-weight: 600; margin: 14px 0 2px; }
.plan__price span { font-size: 15px; color: var(--ink-3); font-family: var(--sans); font-weight: 400; }
.plan__usd { font-size: 13px; color: var(--ink-3); margin-bottom: 24px; }
.plan__list { list-style: none; padding: 0; margin: 0 0 28px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.plan__list li { display: flex; gap: 11px; font-size: 14px; color: var(--ink-2); line-height: 1.4; }
.plan__list li svg { width: 17px; height: 17px; flex-shrink: 0; margin-top: 2px; color: var(--accent); }
.plan__list li.off { color: var(--ink-3); }
.plan__list li.off svg { color: var(--ink-3); }
.plan .btn { justify-content: center; width: 100%; }
.pricing__note { text-align: center; font-size: 13.5px; color: var(--ink-3); margin-top: 28px; }

/* ---------- faq ---------- */
.faq { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq__item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; transition: border-color .2s; }
.faq__item[open] { border-color: var(--line-2); }
.faq__q { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 22px 24px; font-family: var(--display); font-size: 17px; font-weight: 500; list-style: none; cursor: pointer; }
.faq__q::-webkit-details-marker { display: none; }
.faq__icon { width: 26px; height: 26px; flex-shrink: 0; position: relative; }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; background: var(--accent); border-radius: 2px; transition: transform .25s; }
.faq__icon::before { top: 12px; left: 4px; right: 4px; height: 2px; }
.faq__icon::after { left: 12px; top: 4px; bottom: 4px; width: 2px; }
.faq__item[open] .faq__icon::after { transform: rotate(90deg); opacity: 0; }
.faq__a { padding: 0 24px 24px; font-size: 15px; color: var(--ink-2); line-height: 1.65; }

/* ---------- CTA band ---------- */
.cta-band { padding: 88px 0; position: relative; overflow: hidden; }
.cta-band__inner { text-align: center; max-width: 720px; margin: 0 auto; position: relative; z-index: 1; }
.cta-band__glow { position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(45,212,167,0.12), transparent 60%); }
.cta-band h2 { font-size: clamp(32px, 4.5vw, 52px); margin-bottom: 20px; }
.cta-band p { font-size: 18px; color: var(--ink-2); margin: 0 auto 32px; max-width: 560px; }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 48px; }
.contact__info { display: flex; flex-direction: column; gap: 24px; }
.contact__block { display: flex; gap: 15px; }
.contact__block-icon { width: 44px; height: 44px; border-radius: 11px; background: var(--accent-soft); display: grid; place-items: center; flex-shrink: 0; }
.contact__block-icon svg { width: 20px; height: 20px; color: var(--accent); }
.contact__block h4 { font-size: 15px; margin-bottom: 4px; }
.contact__block p, .contact__block a { font-size: 14px; color: var(--ink-2); margin: 0; }
.contact__block a:hover { color: var(--accent); }
.form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 32px; }
.form h3 { font-size: 20px; margin-bottom: 8px; }
.form > p { font-size: 14px; color: var(--ink-2); margin: 0 0 24px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13px; font-weight: 500; color: var(--ink-2); margin-bottom: 7px; }
.field input, .field textarea { width: 100%; background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 12px 14px; color: var(--ink); font-family: inherit; font-size: 14.5px; transition: border-color .2s; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); }
.field input::placeholder, .field textarea::placeholder { color: var(--ink-3); }
.form .btn { width: 100%; justify-content: center; margin-top: 6px; }

/* ---------- footer ---------- */
.footer { background: var(--bg-2); border-top: 1px solid var(--line); padding: 64px 0 32px; }
.footer__top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 44px; border-bottom: 1px solid var(--line); }
.footer__about { font-size: 14px; color: var(--ink-2); line-height: 1.6; margin: 16px 0 20px; max-width: 320px; }
.footer__meta { font-size: 13px; color: var(--ink-3); display: flex; flex-direction: column; gap: 5px; }
.footer__meta a:hover { color: var(--accent); }
.footer__socials { display: flex; gap: 10px; margin-top: 18px; }
.footer__social { width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--line); display: grid; place-items: center; color: var(--ink-2); transition: all .18s; }
.footer__social:hover { border-color: var(--accent); color: var(--accent); }
.footer__social svg { width: 17px; height: 17px; }
.footer__col h4 { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 16px; font-weight: 600; }
.footer__col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer__col a { font-size: 14px; color: var(--ink-2); transition: color .16s; }
.footer__col a:hover { color: var(--ink); }
.footer__cities { padding: 28px 0; border-bottom: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 10px; }
.footer__cities a { font-size: 13px; color: var(--ink-3); border: 1px solid var(--line); border-radius: var(--r-pill); padding: 5px 13px; transition: all .16s; }
.footer__cities a:hover { color: var(--accent); border-color: var(--accent); }
.footer__bar { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 26px; font-size: 13px; color: var(--ink-3); }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .hero__grid { grid-template-columns: 1fr; gap: 40px; }
  .problem__grid, .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .services-grid, .why-grid, .cases, .tst-grid, .pricing { grid-template-columns: 1fr 1fr; }
  .process { grid-template-columns: 1fr 1fr 1fr; gap: 32px 20px; }
  .process::before { display: none; }
  .footer__top { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 680px) {
  .wrap { padding: 0 20px; }
  .nav, .header__cta .btn { display: none; }
  .menu-btn { display: grid; }
  .section { padding: 64px 0; }
  .services-grid, .why-grid, .cases, .tst-grid, .pricing, .process, .hero__stats, .results-grid { grid-template-columns: 1fr; }
  .why-grid { gap: 1px; }
  .footer__top { grid-template-columns: 1fr; }
  .nav.open { display: flex; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--bg-2); border-bottom: 1px solid var(--line); padding: 12px 20px 20px; }
  .nav.open a { padding: 12px 0; border-bottom: 1px solid var(--line); }
}

/* ============================================================
   ADDED SECTIONS — about, tools, cost, edu, areas, blog
   ============================================================ */

/* ---------- About / credentials ---------- */
.about__grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 48px; align-items: start; }
.about__media { position: relative; }
.about__photo {
  aspect-ratio: 4/5; border-radius: var(--r-lg); overflow: hidden; position: relative;
  background: linear-gradient(160deg, var(--surface-2), var(--bg-2));
  border: 1px solid var(--line); display: grid; place-items: center;
}
.about__photo img { width: 100%; height: 100%; object-fit: cover; }
.about__photo-ph { text-align: center; color: var(--ink-3); font-size: 13px; padding: 24px; }
.about__photo-ph svg { width: 46px; height: 46px; margin: 0 auto 12px; color: var(--line-2); }
.about__badge {
  position: absolute; bottom: -16px; right: -16px; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-md); padding: 14px 18px; box-shadow: 0 20px 40px -20px #000; display: flex; gap: 12px; align-items: center;
}
.about__badge .n { font-family: var(--display); font-size: 28px; font-weight: 700; color: var(--accent); line-height: 1; }
.about__badge .l { font-size: 11.5px; color: var(--ink-2); line-height: 1.3; }
.about__lead { font-size: 18px; color: var(--ink); line-height: 1.6; margin: 0 0 16px; }
.about p { font-size: 15.5px; color: var(--ink-2); line-height: 1.65; margin: 0 0 16px; }
.about__skills { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0; }
.about__skills span { font-size: 13px; color: var(--ink-2); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-pill); padding: 7px 14px; }
.creds { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 26px; }
.cred { display: flex; gap: 13px; padding: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); }
.cred__ic { width: 38px; height: 38px; border-radius: 9px; background: var(--accent-soft); display: grid; place-items: center; flex-shrink: 0; }
.cred__ic svg { width: 19px; height: 19px; color: var(--accent); }
.cred h4 { font-size: 14px; margin: 0 0 2px; }
.cred p { font-size: 12.5px; color: var(--ink-3); margin: 0; line-height: 1.4; }

/* ---------- Tools strip ---------- */
.tools__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.tool {
  display: flex; align-items: center; gap: 12px; padding: 18px 20px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); transition: border-color .2s, transform .2s;
}
.tool:hover { border-color: var(--line-2); transform: translateY(-2px); }
.tool__logo { width: 40px; height: 40px; border-radius: 9px; flex-shrink: 0; display: grid; place-items: center; font-family: var(--display); font-weight: 700; font-size: 17px; color: #04130d; }
.tool__name { font-size: 14.5px; font-weight: 600; }
.tool__cat { font-size: 12px; color: var(--ink-3); }

/* ---------- Cost / investment ---------- */
.invest__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.invest__tiers { display: flex; flex-direction: column; gap: 14px; }
.invest__tier { display: flex; align-items: center; gap: 18px; padding: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); }
.invest__bar { flex: 1; height: 8px; border-radius: 4px; background: var(--line); overflow: hidden; }
.invest__bar i { display: block; height: 100%; border-radius: 4px; background: linear-gradient(90deg, var(--accent-deep), var(--accent)); width: 0; transition: width 1.2s cubic-bezier(.2,.8,.2,1) .2s; }
.invest__tier.is-in .invest__bar i, .reveal.is-in .invest__bar i { width: var(--w); }
.invest__tier .lbl { width: 110px; flex-shrink: 0; font-size: 14px; font-weight: 600; }
.invest__tier .price { width: 130px; flex-shrink: 0; text-align: right; font-family: var(--mono); font-size: 13px; color: var(--accent); }
.invest__copy p { font-size: 15.5px; color: var(--ink-2); line-height: 1.65; margin: 0 0 16px; }
.invest__copy strong { color: var(--ink); }

/* ---------- Edu content blocks ---------- */
.edu__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.edu { padding: 30px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); }
.edu__ic { width: 44px; height: 44px; border-radius: 11px; background: var(--accent-soft); display: grid; place-items: center; margin-bottom: 16px; }
.edu__ic svg { width: 22px; height: 22px; color: var(--accent); }
.edu h3 { font-size: 19px; margin-bottom: 11px; }
.edu p { font-size: 14.5px; color: var(--ink-2); line-height: 1.6; margin: 0; }

/* ---------- Service areas ---------- */
.areas__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.area {
  display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 16px 18px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); transition: all .18s; font-size: 14.5px; font-weight: 500;
}
.area:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }
.area svg { width: 16px; height: 16px; opacity: .6; }
.areas__note { font-size: 14px; color: var(--ink-3); margin-top: 22px; text-align: center; }

/* ---------- Blog / insights ---------- */
.blog__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.post { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; display: flex; flex-direction: column; transition: border-color .2s, transform .2s; }
.post:hover { border-color: var(--line-2); transform: translateY(-3px); }
.post__cover { aspect-ratio: 16/9; position: relative; overflow: hidden; }
.post__cover .ph { position: absolute; inset: 0; }
.post__cat { position: absolute; top: 12px; left: 12px; font-family: var(--mono); font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; background: rgba(6,10,14,.7); border: 1px solid var(--line); border-radius: var(--r-pill); padding: 4px 10px; color: var(--accent); backdrop-filter: blur(4px); }
.post__body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.post__meta { font-size: 12px; color: var(--ink-3); margin-bottom: 10px; font-family: var(--mono); }
.post h3 { font-size: 17px; line-height: 1.3; margin-bottom: 12px; }
.post p { font-size: 13.5px; color: var(--ink-2); line-height: 1.55; margin: 0 0 18px; }
.post__more { margin-top: auto; font-size: 13.5px; font-weight: 600; color: var(--accent); display: inline-flex; align-items: center; gap: 6px; }
.post__more svg { width: 15px; height: 15px; transition: transform .18s; }
.post:hover .post__more svg { transform: translateX(3px); }

@media (max-width: 980px) {
  .about__grid, .invest__grid { grid-template-columns: 1fr; gap: 36px; }
  .tools__grid, .areas__grid { grid-template-columns: repeat(2, 1fr); }
  .edu__grid, .blog__grid { grid-template-columns: 1fr 1fr; }
  .about__badge { right: 16px; }
}
@media (max-width: 680px) {
  .creds, .tools__grid, .edu__grid, .areas__grid, .blog__grid { grid-template-columns: 1fr; }
  .invest__tier { flex-wrap: wrap; }
  .invest__tier .lbl, .invest__tier .price { width: auto; }
  .invest__bar { order: 3; width: 100%; flex-basis: 100%; }
}


/* ===== motion.css ===== */
/* ============================================================
   Rashid Minhas — Motion layer
   ============================================================ */

/* scroll progress bar */
.scroll-prog {
  position: fixed; top: 0; left: 0; height: 3px; width: 0%;
  background: linear-gradient(90deg, var(--accent), #6ee7c4);
  z-index: 200; box-shadow: 0 0 12px var(--accent);
  transition: width 80ms linear;
}

/* ---------- scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); will-change: opacity, transform; }
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-anim="left"] { transform: translateX(-32px); }
.reveal[data-anim="right"] { transform: translateX(32px); }
.reveal[data-anim="scale"] { transform: scale(.94); }
.reveal[data-anim="clip"] { opacity: 1; clip-path: inset(0 100% 0 0); transform: none; transition: clip-path .9s cubic-bezier(.6,0,.2,1); }
.reveal[data-anim="clip"].is-in { clip-path: inset(0 0 0 0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; clip-path: none !important; }
}

/* fallback: engine not advancing transitions — show everything immediately */
.no-anim .reveal,
.no-anim [data-stagger] > *,
.no-anim .h-words .word,
.no-anim .process .step { opacity: 1 !important; transform: none !important; clip-path: none !important; transition: none !important; }
.no-anim .process__line::after { width: 100% !important; transition: none !important; }
.no-anim .case__bar i { width: var(--w, 80%) !important; transition: none !important; }
.no-anim .plan--featured { animation: none !important; }

/* headline word stagger */
.h-words .word { display: inline-block; opacity: 0; transform: translateY(110%) rotate(4deg); transition: opacity .6s ease, transform .7s cubic-bezier(.2,.8,.2,1); }
.h-words .word .inner { display: inline-block; }
.h-words.is-in .word { opacity: 1; transform: none; }

/* animated gradient sweep on hero headline accent */
.hero h1 .grad {
  background: linear-gradient(100deg, var(--accent) 0%, #6ee7c4 30%, #aefce0 50%, #6ee7c4 70%, var(--accent) 100%);
  background-size: 250% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: gradslide 6s linear infinite;
}
@keyframes gradslide { to { background-position: 250% 0; } }

/* ---------- hero canvas + chips ---------- */
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; opacity: .9; }
.hero .wrap { position: relative; z-index: 2; }
.hero__chip-float {
  position: absolute; z-index: 1; font-family: var(--mono); font-size: 12px; color: var(--ink-2);
  background: rgba(19,25,34,0.7); border: 1px solid var(--line); border-radius: var(--r-pill);
  padding: 6px 13px; backdrop-filter: blur(6px); white-space: nowrap;
  animation: floaty 7s ease-in-out infinite;
}
.hero__chip-float .up { color: var(--accent); }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }

/* ---------- SERP climb widget ---------- */
.serp {
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
  border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden;
  box-shadow: 0 40px 80px -40px rgba(0,0,0,0.7);
}
.serp__bar { display: flex; align-items: center; gap: 8px; padding: 13px 16px; border-bottom: 1px solid var(--line); background: var(--bg-2); }
.serp__dots { display: flex; gap: 6px; }
.serp__dots i { width: 11px; height: 11px; border-radius: 50%; display: block; }
.serp__dots i:nth-child(1){ background:#ff5f57; } .serp__dots i:nth-child(2){ background:#febc2e; } .serp__dots i:nth-child(3){ background:#28c840; }
.serp__url { font-family: var(--mono); font-size: 11.5px; color: var(--ink-3); margin-left: 8px; display: flex; align-items: center; gap: 7px; }
.serp__url .live { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); animation: blink 1.4s infinite; }
@keyframes blink { 0%,100%{opacity:1;} 50%{opacity:.25;} }

.serp__chart { padding: 16px 16px 6px; }
.serp__chart canvas { width: 100%; height: 78px; display: block; }
.serp__chart-cap { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 10.5px; color: var(--ink-3); padding: 4px 2px 0; }

.serp__list { padding: 8px 10px 12px; position: relative; }
.serp__row {
  display: flex; align-items: center; gap: 12px; padding: 9px 10px; border-radius: 10px;
  transition: transform .7s cubic-bezier(.4,0,.1,1), background .4s, border-color .4s;
  border: 1px solid transparent;
}
.serp__rank { font-family: var(--mono); font-size: 13px; color: var(--ink-3); width: 30px; flex-shrink: 0; display: flex; align-items: center; gap: 3px; font-variant-numeric: tabular-nums; }
.serp__fav { width: 26px; height: 26px; border-radius: 7px; flex-shrink: 0; background: var(--surface-2); }
.serp__lines { flex: 1; display: flex; flex-direction: column; gap: 6px; }
.serp__l1 { height: 8px; border-radius: 4px; background: var(--line-2); width: 70%; }
.serp__l2 { height: 6px; border-radius: 3px; background: var(--line); width: 90%; }
.serp__row.target { background: var(--accent-soft); border-color: rgba(45,212,167,0.35); }
.serp__row.target .serp__fav { background: linear-gradient(135deg, var(--accent), var(--accent-deep)); }
.serp__row.target .serp__l1 { background: rgba(45,212,167,0.55); width: 60%; }
.serp__row.target .serp__l2 { background: rgba(45,212,167,0.3); width: 80%; }
.serp__row.target .serp__rank { color: var(--accent); font-weight: 600; }
.serp__delta { margin-left: auto; font-family: var(--mono); font-size: 11px; color: var(--accent); display: flex; align-items: center; gap: 2px; opacity: 0; transition: opacity .4s; }
.serp__row.target .serp__delta { opacity: 1; }

/* stats under widget */
.serp__stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 1px; background: var(--line); border-top: 1px solid var(--line); }
.serp__stat { background: var(--bg-2); padding: 14px 12px; text-align: center; }
.serp__stat .n { font-family: var(--display); font-size: 22px; font-weight: 600; color: var(--ink); line-height: 1; }
.serp__stat .n .accent { color: var(--accent); }
.serp__stat .l { font-size: 10.5px; color: var(--ink-3); margin-top: 5px; }

/* ---------- marquee trust ---------- */
.trust { overflow: hidden; }
.marquee { display: flex; width: max-content; animation: marquee 32s linear infinite; }
.marquee:hover { animation-play-state: paused; }
.marquee__group { display: flex; flex-wrap: nowrap; gap: 36px; padding-right: 36px; align-items: center; }
@keyframes marquee { to { transform: translateX(-50%); } }
.trust__inner { padding: 20px 0; }

/* ---------- card tilt + spotlight ---------- */
.tilt { transform-style: preserve-3d; transition: transform .25s cubic-bezier(.2,.7,.2,1); position: relative; }
.tilt::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(380px circle at var(--mx,50%) var(--my,50%), rgba(45,212,167,0.14), transparent 45%);
}
.tilt:hover::after { opacity: 1; }
@media (hover: none) { .tilt { transform: none !important; } }

/* count-up sheen on numbers */
.counter { font-variant-numeric: tabular-nums; }

/* magnetic button */
.btn { will-change: transform; }

/* ---------- service icon micro-animation ---------- */
.service:hover .service__icon { animation: pop .4s ease; }
@keyframes pop { 0%{transform:scale(1);} 40%{transform:scale(1.18) rotate(-6deg);} 100%{transform:scale(1);} }
.service::before {
  content: ""; position: absolute; left: 0; top: 0; height: 2px; width: 0; background: linear-gradient(90deg, var(--accent), transparent); transition: width .4s ease;
}
.service:hover::before { width: 100%; }

/* ---------- process timeline draw ---------- */
.process::before { display: none; }
.process__line { position: absolute; top: 27px; left: 6%; right: 6%; height: 2px; background: var(--line); overflow: hidden; }
.process__line::after { content:""; position:absolute; inset:0; width:0; background: linear-gradient(90deg, var(--accent), #6ee7c4); transition: width 1.4s ease .2s; }
.process.is-in .process__line::after { width: 100%; }
.process .step { opacity: 0; transform: translateY(20px); transition: opacity .6s, transform .6s; }
.process.is-in .step { opacity: 1; transform: none; }
.process.is-in .step:nth-child(2){ transition-delay:.12s; }
.process.is-in .step:nth-child(3){ transition-delay:.24s; }
.process.is-in .step:nth-child(4){ transition-delay:.36s; }
.process.is-in .step:nth-child(5){ transition-delay:.48s; }
.process.is-in .step:nth-child(6){ transition-delay:.6s; }
.step__num { transition: transform .3s, box-shadow .3s; }
.step:hover .step__num { transform: scale(1.1); box-shadow: 0 0 24px -4px var(--accent); }

/* case bar grows */
.case__bar { height: 6px; border-radius: 3px; background: var(--line); overflow: hidden; margin-bottom: 18px; }
.case__bar i { display: block; height: 100%; width: 0; border-radius: 3px; background: linear-gradient(90deg, var(--accent-deep), var(--accent)); transition: width 1.3s cubic-bezier(.2,.8,.2,1) .3s; }
.case.is-in .case__bar i { width: var(--w, 80%); }

/* featured plan gentle float */
.plan--featured { animation: floatcard 6s ease-in-out infinite; }
@keyframes floatcard { 0%,100%{ transform: translateY(0); } 50%{ transform: translateY(-8px); } }
.plan--featured:hover { animation-play-state: paused; }

/* stagger children of grids */
[data-stagger] > * { opacity: 0; transform: translateY(26px); transition: opacity .6s cubic-bezier(.2,.7,.2,1), transform .6s cubic-bezier(.2,.7,.2,1); }
[data-stagger].is-in > * { opacity: 1; transform: none; }

/* nav link underline grow */
.nav a { position: relative; }
.nav a::after { content:""; position:absolute; left:0; bottom:-4px; height:2px; width:0; background:var(--accent); transition:width .25s; }
.nav a:hover::after { width:100%; }

