/* ════════════════════════════════════════════════════════════════
   ANASHI — Shared Stylesheet
   Used by index.html, pricing.html, about.html
══════════════════════════════════════════════════════════════════ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Brand colors */
  --cyan: #00C6FF;
  --blue: #0072FF;
  --grad: linear-gradient(135deg, #00C6FF 0%, #0072FF 100%);
  --grad-h: linear-gradient(135deg, #00b0e8 0%, #005fdd 100%);
  --teal: #0369a1;
  --teal-bg: #e0f7ff;

  /* Text */
  --text: #111111;
  --gray: #F5F5F5;
  --white: #ffffff;

  /* UI status */
  --green: #10b981;
  --green-bg: #d1fae5;
  --green-text: #065f46;
  --yellow: #f59e0b;
  --yellow-bg: #fef3c7;
  --yellow-text: #92400e;
  --red: #ef4444;
  --red-bg: #fee2e2;
  --red-text: #991b1b;

  /* Neutrals */
  --g50: #f9fafb;  --g100: #f3f4f6;  --g200: #e5e7eb;
  --g300: #d1d5db; --g400: #9ca3af;  --g500: #6b7280;
  --g600: #4b5563; --g700: #374151;  --g900: #111827;

  /* Shadows */
  --s1: 0 1px 3px rgba(0,0,0,.07), 0 1px 2px rgba(0,0,0,.05);
  --s2: 0 4px 16px rgba(0,0,0,.08), 0 2px 6px rgba(0,0,0,.04);
  --s3: 0 10px 40px rgba(0,0,0,.10), 0 4px 12px rgba(0,0,0,.06);
  --s4: 0 20px 60px rgba(0,0,0,.13), 0 8px 20px rgba(0,0,0,.07);

  /* Radius */
  --r1: 8px; --r2: 12px; --r3: 18px; --r4: 24px; --r5: 32px;
}

html { scroll-behavior: smooth; }
body {
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ── UTILITIES ────────────────────────────────── */
.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.pill {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 3px 10px; border-radius: 100px;
  font-size: 11px; font-weight: 600;
}
.pill-dot { width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.pill-green { background: var(--green-bg); color: var(--green-text); }
.pill-yellow { background: var(--yellow-bg); color: var(--yellow-text); }
.pill-red { background: var(--red-bg); color: var(--red-text); }
.pill-blue { background: #eff6ff; color: #1d4ed8; }
.pill-cyan { background: #e0f7ff; color: #0369a1; }

/* ── LEVEL 3 SCROLL ANIMATIONS ───────────────── */
.reveal {
  opacity: 0;
  transform: translateY(36px) scale(.97);
  transition: opacity .8s cubic-bezier(.16,1,.3,1), transform .8s cubic-bezier(.16,1,.3,1);
}
.reveal.in { opacity: 1; transform: translateY(0) scale(1); }

.reveal-fade { opacity: 0; transition: opacity 1s ease; }
.reveal-fade.in { opacity: 1; }

.reveal-slide-l {
  opacity: 0; transform: translateX(-40px);
  transition: opacity .8s cubic-bezier(.16,1,.3,1), transform .8s cubic-bezier(.16,1,.3,1);
}
.reveal-slide-l.in { opacity: 1; transform: translateX(0); }

.reveal-slide-r {
  opacity: 0; transform: translateX(40px);
  transition: opacity .8s cubic-bezier(.16,1,.3,1), transform .8s cubic-bezier(.16,1,.3,1);
}
.reveal-slide-r.in { opacity: 1; transform: translateX(0); }

.reveal-rotate {
  opacity: 0; transform: rotateX(20deg) translateY(40px);
  transition: opacity .9s cubic-bezier(.16,1,.3,1), transform .9s cubic-bezier(.16,1,.3,1);
  transform-origin: center bottom;
}
.reveal-rotate.in { opacity: 1; transform: rotateX(0) translateY(0); }

.reveal-scale {
  opacity: 0; transform: scale(.85);
  transition: opacity .8s cubic-bezier(.16,1,.3,1), transform .8s cubic-bezier(.16,1,.3,1);
}
.reveal-scale.in { opacity: 1; transform: scale(1); }

.d1 { transition-delay: .08s; }
.d2 { transition-delay: .16s; }
.d3 { transition-delay: .24s; }
.d4 { transition-delay: .32s; }
.d5 { transition-delay: .40s; }
.d6 { transition-delay: .48s; }

/* Parallax helper */
.parallax { will-change: transform; }

/* ── NAV ─────────────────────────────────────── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  height: 68px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 52px;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(0,0,0,.06);
  transition: box-shadow .3s, padding .3s;
}
nav.scrolled {
  box-shadow: 0 2px 24px rgba(0,0,0,.08);
  height: 60px;
}
.nav-logo {
  display: flex; align-items: center;
  text-decoration: none;
  transition: transform .25s;
}
.nav-logo:hover { transform: scale(1.03); }
.nav-logo img { height: 30px; width: auto; display: block; max-width: 150px; }
.nav-links {
  display: flex; align-items: center; gap: 36px;
}
.nav-links a {
  font-size: 14px; font-weight: 500; color: var(--g500);
  text-decoration: none; transition: color .2s;
  position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -6px; left: 0;
  width: 0; height: 2px; background: var(--grad);
  transition: width .25s;
}
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { width: 100%; }
.nav-links a.active { color: var(--text); font-weight: 600; }
.nav-links a.active::after { width: 100%; }

.nav-ctas { display: flex; align-items: center; gap: 12px; }

.btn-nav-primary {
  padding: 10px 22px; font-size: 13px; font-weight: 600;
  color: var(--white); background: var(--grad);
  border: none; border-radius: var(--r1);
  cursor: pointer; transition: opacity .2s, transform .15s, box-shadow .2s;
  box-shadow: 0 2px 12px rgba(0,114,255,.3);
  font-family: 'Poppins', sans-serif;
  text-decoration: none; display: inline-block;
}
.btn-nav-primary:hover {
  opacity: .92; transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(0,114,255,.4);
}

/* Mobile menu */
.mobile-menu-btn {
  display: none;
  width: 40px; height: 40px; border-radius: var(--r1);
  background: var(--g100); border: none; cursor: pointer;
  align-items: center; justify-content: center;
}
.mobile-menu {
  display: none;
  position: fixed; top: 60px; left: 0; right: 0;
  background: var(--white); border-bottom: 1px solid var(--g200);
  box-shadow: var(--s3); z-index: 199;
  padding: 20px 24px;
}
.mobile-menu.open { display: block; }
.mobile-menu a {
  display: block; padding: 14px 0;
  font-size: 15px; font-weight: 500;
  color: var(--text); text-decoration: none;
  border-bottom: 1px solid var(--g100);
}
.mobile-menu a:last-child { border-bottom: none; }
.mobile-menu .btn-nav-primary {
  display: block; text-align: center; margin-top: 16px;
}

/* ── BUTTONS ─────────────────────────────────── */
.btn-hero-a {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 15px 30px; font-size: 15px; font-weight: 600;
  color: var(--white); background: var(--grad);
  border: none; border-radius: var(--r2);
  cursor: pointer; transition: all .25s;
  box-shadow: 0 4px 24px rgba(0,114,255,.35);
  font-family: 'Poppins', sans-serif;
  text-decoration: none;
}
.btn-hero-a:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0,114,255,.45);
}
.btn-hero-b {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 15px 30px; font-size: 15px; font-weight: 600;
  color: var(--g700); background: var(--white);
  border: 1.5px solid var(--g200); border-radius: var(--r2);
  cursor: pointer; transition: all .25s;
  font-family: 'Poppins', sans-serif;
  text-decoration: none;
}
.btn-hero-b:hover {
  border-color: var(--cyan); background: var(--teal-bg);
  color: var(--teal); transform: translateY(-1px);
}

/* ── SECTION SHARED ──────────────────────────── */
.sec-wrap { max-width: 1200px; margin: 0 auto; padding: 0 52px; }
.sec-ey {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1px;
  color: var(--teal); margin-bottom: 14px;
}
.sec-h {
  font-size: clamp(30px, 3.5vw, 48px);
  font-weight: 800; letter-spacing: -1px; line-height: 1.15;
  margin-bottom: 16px;
}
.sec-sub {
  font-size: 17px; line-height: 1.7;
  color: var(--g500); max-width: 580px;
}
.sec-head { margin-bottom: 64px; }
.sec-head.ctr { text-align: center; }
.sec-head.ctr .sec-sub { margin: 0 auto; }

/* ── FOOTER ──────────────────────────────────── */
.footer-outer {
  border-top: 1px solid var(--g100);
  padding: 48px 52px 28px;
  background: var(--white);
}
.footer-grid {
  max-width: 1200px; margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--g100);
}
.foot-brand-logo { display: block; }
.foot-brand-logo img { height: 28px; max-width: 140px; }
.foot-brand-desc {
  font-size: 13px; line-height: 1.65; color: var(--g500);
  margin: 16px 0 18px; max-width: 280px;
}
.foot-brand-meta { font-size: 12px; color: var(--g400); line-height: 1.6; }
.foot-brand-meta a { color: var(--teal); text-decoration: none; }
.foot-brand-meta a:hover { text-decoration: underline; }

.foot-col-title {
  font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .8px;
  color: var(--g900); margin-bottom: 16px;
}
.foot-col-links { display: flex; flex-direction: column; gap: 10px; }
.foot-col-links a {
  font-size: 13px; color: var(--g500);
  text-decoration: none; transition: color .2s;
}
.foot-col-links a:hover { color: var(--blue); }

.footer-bottom {
  max-width: 1200px; margin: 0 auto;
  padding-top: 24px;
  display: flex; justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
  align-items: center;
}
.foot-copy { font-size: 13px; color: var(--g500); }
.foot-copy a {
  color: var(--blue); font-weight: 600; text-decoration: none;
  transition: opacity .2s;
}
.foot-copy a:hover { opacity: .75; }
.foot-bottom-meta { font-size: 12px; color: var(--g400); display: flex; gap: 18px; }

/* ── RESPONSIVE ──────────────────────────────── */
@media (max-width: 960px) {
  nav { padding: 0 24px; }
  .nav-links { display: none; }
  .nav-ctas .btn-nav-primary { display: none; }
  .mobile-menu-btn { display: flex; }
  .sec-wrap { padding: 0 24px; }
  .footer-outer { padding: 36px 24px 20px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ── LEVEL 4 POLISH: PRO EFFECTS ─────────────── */

/* Blur-in upgrade for scroll reveals */
.reveal {
  filter: blur(8px);
  transition: opacity .8s cubic-bezier(.16,1,.3,1), transform .8s cubic-bezier(.16,1,.3,1), filter .8s cubic-bezier(.16,1,.3,1);
}
.reveal.in { filter: blur(0); }
.reveal-slide-l, .reveal-slide-r {
  filter: blur(6px);
  transition: opacity .8s cubic-bezier(.16,1,.3,1), transform .8s cubic-bezier(.16,1,.3,1), filter .8s cubic-bezier(.16,1,.3,1);
}
.reveal-slide-l.in, .reveal-slide-r.in { filter: blur(0); }

/* Scroll progress bar */
.scroll-progress {
  position: fixed; top: 0; left: 0;
  height: 3px; width: 0%;
  background: var(--grad);
  z-index: 500;
  box-shadow: 0 0 10px rgba(0,198,255,.6);
  transition: width .1s linear;
  pointer-events: none;
}

/* Smart nav — hides on scroll down, returns on scroll up */
nav { transition: transform .4s cubic-bezier(.16,1,.3,1), box-shadow .3s ease, background .3s ease; }
nav.nav-hide { transform: translateY(-100%); }

/* Back-to-top button */
.back-top {
  position: fixed; bottom: 28px; right: 28px;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--grad); color: #fff;
  border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 28px rgba(0,114,255,.45);
  opacity: 0; transform: translateY(18px) scale(.85);
  pointer-events: none;
  transition: opacity .4s ease, transform .4s cubic-bezier(.34,1.56,.64,1);
  z-index: 400;
}
.back-top.show { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
.back-top:hover { transform: translateY(-4px) scale(1.05); }

/* Sheen sweep on primary buttons */
.btn-hero-a, .btn-nav-primary, .cta-btn-a, .roi-cta-btn, .found-visual-cta, .btn-import {
  position: relative; overflow: hidden;
}
.btn-hero-a::after, .btn-nav-primary::after, .cta-btn-a::after,
.roi-cta-btn::after, .found-visual-cta::after, .btn-import::after {
  content: ''; position: absolute; top: 0; left: -80%;
  width: 45%; height: 100%;
  background: linear-gradient(105deg, transparent, rgba(255,255,255,.5), transparent);
  transform: skewX(-20deg);
  transition: left .65s ease;
  pointer-events: none;
}
.btn-hero-a:hover::after, .btn-nav-primary:hover::after, .cta-btn-a:hover::after,
.roi-cta-btn:hover::after, .found-visual-cta:hover::after, .btn-import:hover::after { left: 135%; }

/* Animated gradient shimmer for headline accents */
@keyframes gradShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
.shimmer {
  background-size: 220% auto;
  animation: gradShift 5s ease-in-out infinite;
}

/* Gentle float loop for decorative cards */
@keyframes gentleFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* Reduced motion: respect user preference */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .reveal-fade, .reveal-slide-l, .reveal-slide-r, .reveal-rotate, .reveal-scale {
    opacity: 1 !important; transform: none !important; filter: none !important; transition: none !important;
  }
  .shimmer { animation: none; }
  nav.nav-hide { transform: none; }
}
