/* ============================================================
   CompanyCard — Design System
   Modern · Minimal · Indigo-Violet
   ============================================================ */

:root {
  /* Brand colors */
  --indigo-700: #4338CA;
  --indigo-600: #4F46E5;
  --indigo-500: #6366F1;
  --violet-500: #8B5CF6;
  --purple-500: #A855F7;
  --purple-400: #C084FC;

  /* Neutrals */
  --ink:       #0B0A1F;
  --ink-soft:  #171533;
  --slate-900: #0F172A;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748B;
  --slate-400: #94A3B8;
  --slate-300: #CBD5E1;
  --slate-200: #E2E8F0;
  --slate-100: #F1F5F9;
  --slate-50:  #F8FAFC;
  --violet-50: #F5F3FF;
  --violet-100:#EDE9FE;
  --indigo-50: #EEF2FF;
  --white:     #FFFFFF;

  /* Brand gradients */
  --grad:        linear-gradient(135deg, #6366F1 0%, #8B5CF6 50%, #A855F7 100%);
  --grad-rev:    linear-gradient(135deg, #A855F7 0%, #8B5CF6 50%, #6366F1 100%);
  --grad-soft:   linear-gradient(160deg, #EEF2FF 0%, #F5F3FF 100%);
  --grad-ink:    linear-gradient(165deg, #14122E 0%, #0B0A1F 70%);

  /* Accent — success / CTA pop (ui-ux-pro-max palette) */
  --accent:     #16A34A;
  --accent-600: #15803D;
  --secondary:  #818CF8;

  /* Typography */
  --font-display: 'Poppins', 'Sora', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body:    'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  /* Radii */
  --r-sm: 10px;
  --r:    16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --r-full: 999px;

  /* Shadows — layered ambient + key light for premium depth (ui-ux-pro-max: elevation-consistent) */
  --shadow-xs: 0 1px 2px rgba(15,23,42,.05), 0 1px 1px rgba(15,23,42,.03);
  --shadow-sm: 0 2px 4px rgba(15,23,42,.04), 0 6px 16px rgba(31,27,75,.07);
  --shadow:    0 4px 10px rgba(15,23,42,.05), 0 16px 40px rgba(31,27,75,.11);
  --shadow-lg: 0 10px 28px rgba(15,23,42,.08), 0 34px 72px rgba(31,27,75,.17);
  --shadow-xl: 0 18px 40px rgba(15,23,42,.10), 0 54px 110px rgba(31,27,75,.22);
  --shadow-glow: 0 18px 50px rgba(99,102,241,.40), 0 4px 14px rgba(139,92,246,.28);
  --shadow-glow-accent: 0 18px 44px rgba(22,163,74,.34), 0 4px 12px rgba(22,163,74,.24);

  /* Focus ring (ui-ux-pro-max: accessibility priority #1) */
  --ring: 0 0 0 3px rgba(99,102,241,.45);
  --ring-offset: 0 0 0 3px #fff, 0 0 0 6px rgba(99,102,241,.45);

  /* Motion (ui-ux-pro-max: spring-physics + motion-consistency) */
  --ease-spring: cubic-bezier(.22, 1, .36, 1);
  --ease-out:    cubic-bezier(.2, .7, .2, 1);
  --t-fast: .18s;
  --t:      .26s;

  /* Layout */
  --maxw: 1180px;
  --nav-h: 72px;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--slate-700);
  background: var(--white);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-weight: 700;
}
h1 { font-size: clamp(2.4rem, 5.2vw, 4rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }

p { color: var(--slate-600); }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 24px; }
.section { padding-block: clamp(64px, 9vw, 120px); }
.section--tight { padding-block: clamp(48px, 6vw, 80px); }
.center { text-align: center; }
.mx-auto { margin-inline: auto; }
.maxw-xs { max-width: 540px; }
.maxw-sm { max-width: 680px; }
.maxw-md { max-width: 820px; }

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

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-body);
  font-weight: 600; font-size: .82rem; letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--indigo-600);
  background: var(--indigo-50);
  border: 1px solid var(--violet-100);
  padding: 6px 14px; border-radius: var(--r-full);
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--grad); }

.lead { font-size: 1.18rem; color: var(--slate-600); }
.section-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.section-head p { margin-top: 16px; font-size: 1.12rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-weight: 600; font-size: .98rem;
  padding: 13px 22px; border-radius: var(--r-full);
  transition: transform .18s ease, box-shadow .25s ease, background .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 10px 24px rgba(124,77,246,.28); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-glow); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { transform: translateY(-2px); background: var(--ink-soft); }
.btn-ghost { background: var(--white); color: var(--ink); border: 1px solid var(--slate-200); box-shadow: var(--shadow-xs); }
.btn-ghost:hover { border-color: var(--indigo-500); color: var(--indigo-600); transform: translateY(-2px); }
.btn-white { background: #fff; color: var(--indigo-600); }
.btn-white:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-outline-white { border: 1px solid rgba(255,255,255,.4); color: #fff; }
.btn-outline-white:hover { background: rgba(255,255,255,.12); }
.btn-lg { padding: 16px 28px; font-size: 1.05rem; }
.btn-block { width: 100%; }

/* ---------- Navbar ---------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  height: var(--nav-h);
  display: flex; align-items: center;
  background: rgba(255,255,255,.72);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid rgba(15,23,42,.06);
}
.nav .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav-brand { display: flex; align-items: center; }
.nav-brand img { height: 30px; width: auto; }
.nav-brand svg.logo-lockup { height: 30px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { font-weight: 500; font-size: .96rem; color: var(--slate-600); transition: color .15s; }
.nav-links a:hover { color: var(--ink); }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-cta .btn { padding: 10px 18px; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.nav-toggle span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: .25s; }

/* ---------- Hero ---------- */
.hero { position: relative; padding-top: clamp(48px, 7vw, 90px); padding-bottom: clamp(48px, 7vw, 90px); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(680px 380px at 78% 8%, rgba(168,85,247,.16), transparent 60%),
    radial-gradient(620px 420px at 12% 18%, rgba(99,102,241,.16), transparent 60%);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero h1 { margin-top: 22px; }
.hero p.lead { margin-top: 22px; max-width: 540px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero-trust { display: flex; align-items: center; gap: 18px; margin-top: 30px; color: var(--slate-500); font-size: .92rem; }
.hero-trust .avatars { display: flex; }
.hero-trust .avatars span {
  width: 34px; height: 34px; border-radius: 50%; margin-left: -10px;
  border: 2px solid #fff; background: var(--grad); display: grid; place-items: center;
  color: #fff; font-weight: 700; font-size: .8rem;
}
.hero-trust .avatars span:first-child { margin-left: 0; }
.stars { color: #F59E0B; letter-spacing: 2px; }

/* ---------- Phone + digital card ---------- */
.phone-stage { position: relative; display: grid; place-items: center; }
.phone-stage::before {
  content: ""; position: absolute; width: 340px; height: 340px; border-radius: 50%;
  background: var(--grad); filter: blur(60px); opacity: .35; z-index: 0;
}
.phone {
  position: relative; z-index: 1;
  width: 300px; padding: 14px;
  background: linear-gradient(160deg,#1b1930,#0b0a1f);
  border-radius: 44px;
  box-shadow: var(--shadow-lg), 0 0 0 2px rgba(255,255,255,.04) inset;
}
.phone-screen {
  background: var(--grad-soft);
  border-radius: 32px; overflow: hidden;
  min-height: 540px;
  display: flex; flex-direction: column;
}
.dcard-cover { height: 132px; background: var(--grad); position: relative; }
.dcard-cover::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(120px 120px at 80% 20%, rgba(255,255,255,.25), transparent 60%);
}
.dcard-avatar {
  width: 92px; height: 92px; border-radius: 26px; margin: -48px auto 0; position: relative; z-index: 2;
  background: linear-gradient(135deg,#fff,#eef);
  border: 4px solid #fff; box-shadow: var(--shadow);
  display: grid; place-items: center; font-family: var(--font-display);
  font-weight: 700; font-size: 2rem; color: var(--indigo-600);
}
.dcard-body { padding: 14px 22px 22px; text-align: center; }
.dcard-name { font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; color: var(--ink); }
.dcard-role { color: var(--slate-500); font-size: .95rem; margin-top: 2px; }
.dcard-company { display:inline-flex; align-items:center; gap:6px; margin-top: 8px; font-weight:600; color: var(--indigo-600); font-size:.9rem; }
.dcard-actions { display: grid; grid-template-columns: repeat(4,1fr); gap: 10px; margin: 18px 0 16px; }
.dcard-actions a {
  aspect-ratio: 1; border-radius: 16px; background: #fff; box-shadow: var(--shadow-sm);
  display: grid; place-items: center; color: var(--indigo-600); transition: transform .15s, box-shadow .2s;
}
.dcard-actions a:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.dcard-actions svg { width: 22px; height: 22px; }
.dcard-save {
  display: flex; align-items: center; justify-content: center; gap: 9px;
  background: var(--ink); color: #fff; border-radius: var(--r-full);
  padding: 13px; font-weight: 600; font-size: .95rem;
}
.dcard-qr {
  margin: 14px auto 0; width: 96px; height: 96px; border-radius: 14px; background: #fff;
  padding: 8px; box-shadow: var(--shadow-sm);
}
.tap-pill {
  position: absolute; z-index: 3; top: 26px; right: -14px;
  background: #fff; border-radius: var(--r-full); padding: 9px 15px;
  box-shadow: var(--shadow); font-weight: 600; font-size: .82rem; color: var(--ink);
  display: flex; align-items: center; gap: 8px;
  animation: floaty 3.4s ease-in-out infinite;
}
.tap-pill .ico { width: 26px; height: 26px; border-radius: 50%; background: var(--grad); display:grid; place-items:center; color:#fff; }
.tap-pill .ico svg { width: 15px; height: 15px; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

/* ---------- Logo cloud ---------- */
.logos { padding-block: 40px; border-block: 1px solid var(--slate-100); }
.logos p { text-align: center; color: var(--slate-400); font-size: .82rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 26px; }
.logos-row { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 44px; }
.logos-row span { font-family: var(--font-display); font-weight: 700; font-size: 1.35rem; color: var(--slate-300); letter-spacing: -.02em; }

/* ---------- Feature grid ---------- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2,1fr); }
.grid-3 { grid-template-columns: repeat(3,1fr); }
.grid-4 { grid-template-columns: repeat(4,1fr); }

.card {
  background: #fff; border: 1px solid var(--slate-100); border-radius: var(--r-lg);
  padding: 30px; box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .25s, border-color .2s;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--violet-100); }
.feature-ico {
  width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center;
  background: var(--grad-soft); color: var(--indigo-600); margin-bottom: 18px;
}
.feature-ico svg { width: 26px; height: 26px; }
.card h3 { margin-bottom: 9px; }
.card p { font-size: .98rem; }

/* Bento variant */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.bento .card.span-2 { grid-column: span 2; }
.bento .card.tall { grid-row: span 2; }
.card.dark { background: var(--grad-ink); border: none; color: #fff; }
.card.dark h3 { color: #fff; }
.card.dark p { color: rgba(255,255,255,.72); }
.card.grad { background: var(--grad); border: none; color: #fff; }
.card.grad h3 { color: #fff; }
.card.grad p { color: rgba(255,255,255,.85); }
.card.grad .feature-ico, .card.dark .feature-ico { background: rgba(255,255,255,.16); color: #fff; }

/* ---------- Split feature rows ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split--rev .split-media { order: -1; }
.split h2 { margin-bottom: 18px; }
.checklist { margin-top: 24px; display: grid; gap: 14px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; color: var(--slate-700); font-size: 1.02rem; }
.checklist .tick {
  flex: 0 0 auto; width: 24px; height: 24px; border-radius: 50%; background: var(--grad);
  display: grid; place-items: center; color: #fff; margin-top: 1px;
}
.checklist .tick svg { width: 14px; height: 14px; }
.media-frame {
  background: var(--grad-soft); border-radius: var(--r-xl); padding: 28px;
  border: 1px solid var(--violet-100); box-shadow: var(--shadow);
}

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; counter-reset: step; }
.step { position: relative; padding-top: 8px; }
.step-num {
  width: 46px; height: 46px; border-radius: 14px; background: var(--ink); color: #fff;
  font-family: var(--font-display); font-weight: 700; font-size: 1.15rem;
  display: grid; place-items: center; margin-bottom: 18px;
}
.step h3 { margin-bottom: 8px; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
.stat { text-align: center; }
.stat .num { font-family: var(--font-display); font-weight: 800; font-size: clamp(2rem,4vw,3rem); }
.stat .lbl { color: var(--slate-500); font-size: .95rem; margin-top: 4px; }

/* ---------- Testimonials ---------- */
.quote { background:#fff; border:1px solid var(--slate-100); border-radius: var(--r-lg); padding: 30px; box-shadow: var(--shadow-sm); }
.quote p { color: var(--slate-700); font-size: 1.04rem; }
.quote .who { display: flex; align-items: center; gap: 12px; margin-top: 20px; }
.quote .who .pf { width: 44px; height: 44px; border-radius: 50%; background: var(--grad); color:#fff; display:grid; place-items:center; font-weight:700; }
.quote .who b { color: var(--ink); display: block; font-size: .98rem; }
.quote .who span { color: var(--slate-500); font-size: .86rem; }

/* ---------- Pricing ---------- */
.toggle-wrap { display: flex; align-items: center; justify-content: center; gap: 14px; margin-bottom: 44px; }
.toggle { width: 56px; height: 30px; border-radius: var(--r-full); background: var(--slate-200); position: relative; transition: background .2s; }
.toggle.on { background: var(--indigo-500); }
.toggle .knob { position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background:#fff; box-shadow: var(--shadow-xs); transition: transform .2s; }
.toggle.on .knob { transform: translateX(26px); }
.save-tag { font-size: .8rem; font-weight: 700; color: var(--indigo-600); background: var(--indigo-50); padding: 3px 9px; border-radius: var(--r-full); }

.price-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 22px; align-items: stretch; }
.plan { background:#fff; border:1px solid var(--slate-200); border-radius: var(--r-lg); padding: 30px 26px; display:flex; flex-direction:column; }
.plan.feat { border: 2px solid var(--indigo-500); box-shadow: var(--shadow-glow); position: relative; }
.plan.feat .badge-pop { position:absolute; top:-13px; left:50%; transform:translateX(-50%); background: var(--grad); color:#fff; font-size:.74rem; font-weight:700; padding:5px 14px; border-radius: var(--r-full); letter-spacing:.03em; }
.plan h3 { font-size: 1.15rem; }
.plan .desc { color: var(--slate-500); font-size: .9rem; margin-top: 6px; min-height: 40px; }
.plan .price { font-family: var(--font-display); font-weight: 800; font-size: 2.6rem; color: var(--ink); margin: 14px 0 2px; }
.plan .price small { font-size: .95rem; font-weight: 500; color: var(--slate-500); }
.plan .per { color: var(--slate-500); font-size: .86rem; }
.plan .btn { margin: 22px 0; }
.plan ul.feats { display: grid; gap: 12px; }
.plan ul.feats li { display: flex; gap: 10px; font-size: .94rem; color: var(--slate-600); }
.plan ul.feats svg { flex: 0 0 auto; width: 18px; height: 18px; color: var(--indigo-500); margin-top: 2px; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; border-radius: var(--r-xl); overflow: hidden; background: var(--grad-ink); padding: clamp(48px,7vw,80px); text-align: center; }
.cta-band::before { content:""; position:absolute; inset:0; background: radial-gradient(500px 300px at 80% 10%, rgba(168,85,247,.4), transparent 60%), radial-gradient(500px 300px at 10% 90%, rgba(99,102,241,.4), transparent 60%); }
.cta-band > * { position: relative; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.8); margin: 16px auto 0; max-width: 560px; font-size: 1.12rem; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 30px; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: rgba(255,255,255,.66); padding-block: 64px 32px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand img { height: 30px; margin-bottom: 16px; }
.footer-brand svg.logo-lockup { height: 30px; width: auto; margin-bottom: 16px; }
.footer-brand p { color: rgba(255,255,255,.55); font-size: .95rem; max-width: 280px; }
.footer h4 { color: #fff; font-family: var(--font-body); font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 16px; }
.footer ul { display: grid; gap: 11px; }
.footer ul a { color: rgba(255,255,255,.62); font-size: .94rem; transition: color .15s; }
.footer ul a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); font-size: .88rem; color: rgba(255,255,255,.5); }
.footer-social { display: flex; gap: 12px; }
.footer-social a { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.08); display: grid; place-items: center; color: #fff; transition: background .2s; }
.footer-social a:hover { background: var(--indigo-500); }
.footer-social svg { width: 17px; height: 17px; }

/* ---------- Page hero (subpages) ---------- */
.page-hero { padding-block: clamp(56px,7vw,90px) clamp(40px,5vw,64px); text-align:center; position: relative; overflow: hidden; }
.page-hero::before { content:""; position:absolute; inset:0; z-index:-1; background: radial-gradient(640px 320px at 50% -10%, rgba(139,92,246,.16), transparent 60%); }
.page-hero p.lead { margin: 20px auto 0; max-width: 620px; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-actions { justify-content: flex-start; }
  .phone-stage { margin-top: 8px; }
  .split, .grid-4, .price-grid { grid-template-columns: 1fr 1fr; }
  .grid-3, .steps, .stats { grid-template-columns: 1fr 1fr; }
  .bento { grid-template-columns: 1fr 1fr; }
  .bento .card.span-2 { grid-column: span 2; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .nav-links, .nav-cta .btn-ghost { display: none; }
  .nav-toggle { display: flex; }
  .nav.open .nav-links {
    display: flex; position: absolute; top: var(--nav-h); left: 0; right: 0;
    flex-direction: column; gap: 4px; align-items: stretch;
    background: #fff; padding: 16px 24px 24px; border-bottom: 1px solid var(--slate-100);
    box-shadow: var(--shadow);
  }
  .nav.open .nav-links a { padding: 12px 8px; border-radius: 10px; }
  .nav.open .nav-links a:hover { background: var(--slate-50); }
  .grid-2, .grid-3, .grid-4, .split, .steps, .stats, .price-grid, .bento, .footer-grid { grid-template-columns: 1fr; }
  .split--rev .split-media { order: 0; }
  .bento .card.span-2 { grid-column: span 1; }
  .section-head { margin-bottom: 40px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* ============================================================
   V2 ELEVATION & POLISH LAYER — ui-ux-pro-max bold upgrade
   Layered on top of the base system. Additive & cascade-safe.
   ============================================================ */

/* --- Accessibility: visible focus rings everywhere (Priority #1) --- */
:where(a, button, input, select, textarea, [tabindex]):focus-visible {
  outline: none;
  box-shadow: var(--ring);
  border-radius: 10px;
}
.btn:focus-visible { box-shadow: var(--ring-offset); }
::selection { background: rgba(139,92,246,.24); color: var(--ink); }

/* --- Buttons: spring motion, inner light, refined depth --- */
.btn { transition: transform var(--t) var(--ease-spring), box-shadow var(--t) ease, background .2s ease, color .2s ease; }
.btn-primary {
  background: var(--grad);
  box-shadow: 0 10px 24px rgba(124,77,246,.30), inset 0 1px 0 rgba(255,255,255,.28);
}
.btn-primary:hover { transform: translateY(-2px) scale(1.015); box-shadow: var(--shadow-glow); }
.btn-primary:active { transform: translateY(0) scale(.99); }
.btn-dark { box-shadow: 0 8px 20px rgba(11,10,31,.26), inset 0 1px 0 rgba(255,255,255,.08); }
.btn-dark:active, .btn-ghost:active, .btn-white:active { transform: translateY(0) scale(.99); }
.btn-ghost:hover { box-shadow: var(--shadow-sm); }

/* Green "free / success" CTA accent (ui-ux-pro-max accent #16A34A,
   deepened to #15803D end so white text clears 4.5:1 AA contrast) */
.btn-accent {
  background: linear-gradient(135deg, #16A34A 0%, #15803D 100%);
  color: #fff;
  box-shadow: 0 10px 24px rgba(22,163,74,.30), inset 0 1px 0 rgba(255,255,255,.25);
}
.btn-accent:hover { transform: translateY(-2px) scale(1.015); box-shadow: var(--shadow-glow-accent); }
.btn-accent:active { transform: translateY(0) scale(.99); }

/* --- Eyebrow: subtle gradient hairline + lift --- */
.eyebrow {
  background: linear-gradient(180deg, #fff, var(--indigo-50));
  box-shadow: var(--shadow-xs), inset 0 1px 0 rgba(255,255,255,.8);
}

/* --- Cards: gradient hairline border + layered hover lift --- */
.card {
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(155deg, rgba(99,102,241,.22), rgba(168,85,247,.08) 42%, rgba(15,23,42,.05)) border-box;
  border: 1px solid transparent;
  transition: transform var(--t) var(--ease-spring), box-shadow var(--t) ease, border-color var(--t) ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.card.dark, .card.grad { background-clip: border-box; border: none; }

/* Bento: tighten the premium grid feel */
.bento .card { border-radius: var(--r-lg); }

/* Feature icon: depth + brand sheen */
.feature-ico { box-shadow: inset 0 1px 0 rgba(255,255,255,.7), var(--shadow-xs); }

/* --- Navbar: deeper glass + scrolled elevation --- */
.nav { transition: box-shadow .3s ease, background .3s ease, border-color .3s ease; }
.nav.scrolled {
  background: rgba(255,255,255,.85);
  box-shadow: 0 6px 24px rgba(31,27,75,.08);
  border-bottom-color: rgba(15,23,42,.08);
}
.nav-links a { position: relative; }
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px;
  background: var(--grad); border-radius: 2px; transform: scaleX(0); transform-origin: left;
  transition: transform var(--t) var(--ease-spring);
}
.nav-links a:hover::after { transform: scaleX(1); }

/* --- Pricing: premium featured plan + hover lift --- */
.plan { transition: transform var(--t) var(--ease-spring), box-shadow var(--t) ease, border-color var(--t) ease; }
.plan:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--violet-100); }
.plan.feat {
  background:
    linear-gradient(#fff, #fff) padding-box,
    var(--grad) border-box;
  border: 2px solid transparent;
  box-shadow: var(--shadow-glow);
}
.plan.feat:hover { transform: translateY(-7px); box-shadow: var(--shadow-glow), var(--shadow-lg); }

/* --- Media frames / quotes: richer depth --- */
.media-frame { box-shadow: var(--shadow-lg); }
.quote { transition: transform var(--t) var(--ease-spring), box-shadow var(--t) ease; }
.quote:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

/* --- Phone card: stronger floating presence --- */
.phone { box-shadow: var(--shadow-xl), 0 0 0 2px rgba(255,255,255,.05) inset; }

/* --- Step number: brand gradient instead of flat ink --- */
.step-num { background: var(--grad); box-shadow: var(--shadow-sm); }

/* --- Stat numbers: gradient ink --- */
.stat .num {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* --- CTA band: subtle top sheen --- */
.cta-band { box-shadow: var(--shadow-xl); }

/* --- Footer social: lift on hover --- */
.footer-social a { transition: background .2s ease, transform var(--t) var(--ease-spring); }
.footer-social a:hover { transform: translateY(-3px); }

/* --- Reduced motion: neutralise the new transforms --- */
@media (prefers-reduced-motion: reduce) {
  .btn, .card, .plan, .quote, .footer-social a, .nav-links a::after { transition: none !important; }
  .btn:hover, .card:hover, .plan:hover, .quote:hover, .footer-social a:hover { transform: none !important; }
}
