/* =====================================================================
   IQUALIF India - landing page styles
   Theme: "Festival of Colors" - vibrant saffron / green / gold / magenta
   ===================================================================== */

:root {
  --saffron: #ff7a00;
  --saffron-2: #ff9933;
  --marigold: #ffb300;
  --gold: #ffd54a;
  --green: #16a34a;
  --green-2: #138808;
  --magenta: #ff2d8e;
  --pink: #ff5fb0;
  --violet: #7c3aed;
  --indigo: #4f46e5;
  --teal: #00c2a8;
  --sky: #00b8d4;
  --ink: #1b0e2b;
  --ink-soft: #3a2b50;
  --cream: #fff8ee;
  --white: #ffffff;

  --grad-hero: linear-gradient(120deg, #ff7a00 0%, #ff2d8e 38%, #7c3aed 68%, #00b8d4 100%);
  --grad-warm: linear-gradient(100deg, #ff7a00, #ffb300);
  --grad-cta: linear-gradient(100deg, #16a34a, #00c2a8);
  --grad-magenta: linear-gradient(100deg, #ff2d8e, #7c3aed);

  --shadow-sm: 0 6px 18px rgba(27, 14, 43, .10);
  --shadow-md: 0 18px 40px rgba(27, 14, 43, .16);
  --shadow-glow: 0 16px 50px rgba(255, 45, 142, .45);

  --radius: 22px;
  --radius-sm: 14px;
  --maxw: 1180px;

  --font-display: "Baloo 2", "Mukta", system-ui, sans-serif;
  --font-body: "Mukta", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  overflow-x: hidden;
  line-height: 1.6;
}

img, svg { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.12; margin: 0 0 .4em; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 22px; }

.gradient-text {
  background: var(--grad-hero);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--grad-warm);
  display: inline-flex; align-items: center; gap: .6em;
  font-family: var(--font-display); font-weight: 700; font-size: 1.05rem;
  padding: .95em 1.6em; border-radius: 999px; border: 0; cursor: pointer;
  color: #fff; background: var(--bg); box-shadow: var(--shadow-md);
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-3px) scale(1.02); filter: brightness(1.05); }
.btn:active { transform: translateY(0) scale(.99); }
.btn svg { width: 1.15em; height: 1.15em; flex: none; }
.btn--ghost { background: rgba(255,255,255,.16); color: #fff; box-shadow: inset 0 0 0 2px rgba(255,255,255,.55); }
.btn--ghost:hover { background: rgba(255,255,255,.26); }
.btn--cta { background: var(--grad-cta); }
.btn--lg { font-size: 1.18rem; padding: 1.05em 2em; }
.btn--block { width: 100%; justify-content: center; }
.btn .sub { font-weight: 500; font-size: .8em; opacity: .92; }

/* Pulsing download button */
.btn--download { position: relative; background: var(--grad-magenta); box-shadow: var(--shadow-glow); }
.btn--download::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  box-shadow: 0 0 0 0 rgba(255, 45, 142, .55);
  animation: pulse 2.2s infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(255, 45, 142, .55); }
  70%  { box-shadow: 0 0 0 22px rgba(255, 45, 142, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 45, 142, 0); }
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(10px);
  background: rgba(255, 248, 238, .82);
  border-bottom: 1px solid rgba(124, 58, 237, .12);
  transition: box-shadow .2s ease;
}
.site-header.scrolled { box-shadow: var(--shadow-sm); }
.nav { display: flex; align-items: center; gap: 18px; padding: 14px 0; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 800; font-size: 1.4rem; }
.brand .logo-badge {
  width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center;
  background: var(--grad-hero); color: #fff; font-weight: 800; box-shadow: var(--shadow-sm);
}
.brand b { color: var(--saffron); }
.nav-links { display: flex; gap: 22px; margin-inline: auto; font-weight: 600; }
.nav-links a { position: relative; padding: 4px 2px; }
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -3px; height: 3px; width: 0;
  background: var(--grad-magenta); border-radius: 3px; transition: width .2s ease;
}
.nav-links a:hover::after { width: 100%; }
.nav-actions { display: flex; align-items: center; gap: 12px; }

/* Language switcher */
.lang-switch { display: inline-flex; background: rgba(124,58,237,.10); border-radius: 999px; padding: 4px; font-weight: 700; }
.lang-switch a { padding: .35em .8em; border-radius: 999px; font-size: .92rem; color: var(--ink-soft); }
.lang-switch a.active { background: #fff; color: var(--violet); box-shadow: var(--shadow-sm); }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; }

/* ---------- Hero ---------- */
.hero { position: relative; color: #fff; padding: 70px 0 120px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background: var(--grad-hero); background-size: 220% 220%;
  animation: gradientShift 14s ease infinite;
}
@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
.hero::after { /* soft vignette + sparkle dots */
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(circle at 18% 22%, rgba(255,255,255,.18) 0 7px, transparent 8px),
    radial-gradient(circle at 82% 30%, rgba(255,255,255,.14) 0 5px, transparent 6px),
    radial-gradient(circle at 70% 75%, rgba(255,255,255,.12) 0 6px, transparent 7px),
    radial-gradient(circle at 30% 80%, rgba(255,255,255,.12) 0 4px, transparent 5px);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .5em; font-weight: 700;
  background: rgba(255,255,255,.18); padding: .5em 1em; border-radius: 999px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.35); margin-bottom: 18px; font-size: .95rem;
}
.hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.7rem); font-weight: 800; text-shadow: 0 6px 26px rgba(27,14,43,.28); }
.hero h1 .hl { background: linear-gradient(100deg, #fff, var(--gold)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { font-size: clamp(1.05rem, 1.6vw, 1.28rem); max-width: 36ch; opacity: .96; margin-bottom: 26px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px 18px; margin-top: 22px; font-weight: 600; font-size: .95rem; }
.hero-badges span { display: inline-flex; align-items: center; gap: .45em; opacity: .95; }
.hero-badges svg { width: 18px; height: 18px; }

.hero-art { position: relative; }
.hero-art .art-card {
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.35);
  border-radius: 26px; padding: 14px; box-shadow: var(--shadow-md); backdrop-filter: blur(4px);
}
.float { animation: float 6s ease-in-out infinite; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }

/* wave divider */
.wave { position: absolute; left: 0; right: 0; bottom: -1px; line-height: 0; }
.wave svg { width: 100%; height: 90px; }

/* ---------- Trust marquee ---------- */
.marquee { background: #fff; border-bottom: 1px solid rgba(27,14,43,.06); overflow: hidden; padding: 16px 0; }
.marquee-label { text-align: center; font-weight: 700; color: var(--ink-soft); margin-bottom: 10px; letter-spacing: .04em; text-transform: uppercase; font-size: .8rem; }
.marquee-track { display: flex; gap: 42px; width: max-content; animation: scrollx 28s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; color: var(--ink); opacity: .8; display: inline-flex; gap: .4em; align-items: center; }
.marquee-track span::before { content: "•"; color: var(--magenta); }
@keyframes scrollx { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
section { position: relative; }
.section { padding: 84px 0; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 52px; }
.section-head .kicker { font-family: var(--font-display); font-weight: 700; color: var(--magenta); letter-spacing: .08em; text-transform: uppercase; font-size: .85rem; }
.section-head h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); }
.section-head p { font-size: 1.1rem; color: var(--ink-soft); }

/* Stats band */
.stats { background: var(--ink); color: #fff; }
.stats .container { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding-block: 56px; }
.stat { text-align: center; }
.stat .num { font-family: var(--font-display); font-weight: 800; font-size: clamp(2rem, 4vw, 3rem); background: var(--grad-hero); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat .lbl { opacity: .8; font-weight: 600; }

/* Feature cards */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature {
  background: #fff; border-radius: var(--radius); padding: 30px 26px;
  box-shadow: var(--shadow-sm); border: 1px solid rgba(27,14,43,.05);
  transition: transform .2s ease, box-shadow .2s ease;
  position: relative; overflow: hidden;
}
.feature::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 6px; background: var(--grad-hero); }
.feature:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.feature .ic { width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 16px; color: #fff; }
.feature .ic svg { width: 30px; height: 30px; }
.feature h3 { font-size: 1.3rem; }
.feature p { color: var(--ink-soft); margin: 0; }
.ic-1 { background: var(--grad-warm); } .ic-2 { background: var(--grad-magenta); }
.ic-3 { background: var(--grad-cta); } .ic-4 { background: linear-gradient(100deg, var(--sky), var(--indigo)); }
.ic-5 { background: linear-gradient(100deg, var(--violet), var(--magenta)); } .ic-6 { background: linear-gradient(100deg, var(--green), var(--gold)); }

/* How it works */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; counter-reset: step; }
.step { background: #fff; border-radius: var(--radius); padding: 32px 26px; box-shadow: var(--shadow-sm); position: relative; text-align: center; }
.step .step-num {
  width: 56px; height: 56px; margin: 0 auto 14px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; color: #fff; background: var(--grad-hero); box-shadow: var(--shadow-sm);
}
.step h3 { font-size: 1.25rem; }
.step p { color: var(--ink-soft); margin: 0; }
.steps .step:not(:last-child)::after {
  content: "→"; position: absolute; right: -20px; top: 50%; transform: translateY(-50%);
  font-size: 1.8rem; color: var(--magenta); font-weight: 800;
}

/* Coverage */
.coverage { background: linear-gradient(180deg, #fff, #fff6fb); }
.country-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
.country {
  display: flex; align-items: center; gap: 10px; background: #fff; border-radius: var(--radius-sm);
  padding: 14px 16px; box-shadow: var(--shadow-sm); font-weight: 600; border: 1px solid rgba(27,14,43,.05);
  transition: transform .15s ease;
}
.country:hover { transform: translateY(-4px); }
.country.featured { background: var(--grad-hero); color: #fff; box-shadow: var(--shadow-glow); }
.country .flag { font-size: 1.5rem; }

/* Compliance */
.compliance { background: var(--ink); color: #fff; }
.compliance .section-head h2 { color: #fff; }
.compliance .section-head p { color: rgba(255,255,255,.8); }
.compliance-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.comp-card { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius); padding: 28px; }
.comp-card h3 { color: var(--gold); font-size: 1.2rem; display: flex; align-items: center; gap: .5em; }
.comp-card h3 svg { width: 1.15em; height: 1.15em; flex: none; }
.comp-card p { color: rgba(255,255,255,.82); margin: 0; }
.comp-note { text-align: center; margin-top: 30px; color: rgba(255,255,255,.7); font-size: .95rem; max-width: 760px; margin-inline: auto; }

/* Pricing */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.plan { background: #fff; border-radius: var(--radius); padding: 32px 28px; box-shadow: var(--shadow-sm); border: 2px solid transparent; display: flex; flex-direction: column; }
.plan.popular { border-color: var(--magenta); box-shadow: var(--shadow-md); transform: scale(1.03); position: relative; }
.plan.popular .ribbon {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--grad-magenta); color: #fff; font-family: var(--font-display); font-weight: 700;
  padding: .3em 1.1em; border-radius: 999px; font-size: .85rem; box-shadow: var(--shadow-sm);
}
.plan h3 { font-size: 1.4rem; }
.plan .speed { font-family: var(--font-display); font-weight: 800; font-size: 2rem; background: var(--grad-hero); -webkit-background-clip: text; background-clip: text; color: transparent; }
.plan .speed small { font-size: .9rem; font-weight: 600; color: var(--ink-soft); -webkit-text-fill-color: var(--ink-soft); }
.plan ul { list-style: none; padding: 0; margin: 18px 0 24px; display: grid; gap: 10px; }
.plan li { display: flex; gap: .6em; align-items: flex-start; color: var(--ink-soft); }
.plan li svg { width: 20px; height: 20px; color: var(--green); flex: none; margin-top: 3px; }
.plan .btn { margin-top: auto; }

/* Testimonials */
.testimonials { background: linear-gradient(180deg, #fff6fb, #fff); }
.tgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.tcard { background: #fff; border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm); border: 1px solid rgba(27,14,43,.05); }
.tcard .stars { color: var(--marigold); margin-bottom: 10px; letter-spacing: 2px; }
.tcard p { font-size: 1.05rem; }
.tcard .who { display: flex; align-items: center; gap: 12px; margin-top: 16px; }
.tcard .avatar { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-family: var(--font-display); font-weight: 800; }
.tcard .who b { display: block; }
.tcard .who small { color: var(--ink-soft); }
.placeholder-tag { display: inline-block; background: var(--gold); color: var(--ink); font-weight: 700; font-size: .72rem; padding: .2em .6em; border-radius: 6px; margin-bottom: 10px; }

/* FAQ */
.faq-list { max-width: 820px; margin-inline: auto; display: grid; gap: 14px; }
.faq-item { background: #fff; border-radius: var(--radius-sm); box-shadow: var(--shadow-sm); border: 1px solid rgba(27,14,43,.05); overflow: hidden; }
.faq-q { width: 100%; text-align: start; background: none; border: 0; cursor: pointer; padding: 20px 22px; font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; color: var(--ink); display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq-q .chev { transition: transform .25s ease; color: var(--magenta); flex: none; }
.faq-item.open .faq-q .chev { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-a p { padding: 0 22px 20px; margin: 0; color: var(--ink-soft); }

/* Final CTA */
.final-cta { position: relative; color: #fff; text-align: center; padding: 90px 0; overflow: hidden; }
.final-cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--grad-hero); background-size: 200% 200%; animation: gradientShift 12s ease infinite; }
.final-cta h2 { font-size: clamp(2rem, 4vw, 3rem); }
.final-cta p { font-size: 1.2rem; opacity: .95; max-width: 50ch; margin: 0 auto 28px; }
.final-cta .hero-cta { justify-content: center; }

/* Footer */
.site-footer { background: var(--ink); color: rgba(255,255,255,.8); padding: 56px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 30px; }
.footer-grid h4 { color: #fff; font-size: 1.05rem; }
.footer-grid a { display: block; padding: 5px 0; color: rgba(255,255,255,.72); }
.footer-grid a:hover { color: var(--gold); }
.footer-brand .brand { color: #fff; margin-bottom: 12px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 36px; padding-top: 22px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .9rem; color: rgba(255,255,255,.6); }
.footer-legal { max-width: 760px; font-size: .82rem; color: rgba(255,255,255,.5); margin-top: 10px; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 920px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero p.lead { margin-inline: auto; }
  .hero-cta, .hero-badges { justify-content: center; }
  .hero-art { order: -1; max-width: 460px; margin-inline: auto; }
  .features-grid, .steps, .compliance-grid, .pricing-grid, .tgrid { grid-template-columns: 1fr; }
  .steps .step::after { display: none; }
  .stats .container { grid-template-columns: repeat(2, 1fr); }
  .plan.popular { transform: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; position: absolute; top: 66px; left: 0; right: 0; flex-direction: column; background: var(--cream); padding: 18px 22px; box-shadow: var(--shadow-md); gap: 14px; }
  .nav-links.show { display: flex; }
  .nav-toggle { display: inline-grid; place-items: center; }
}
@media (max-width: 520px) {
  .stats .container { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .btn--lg { width: 100%; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto; }
}
