/* ============================================================
   NexPAI — Landing Page Design System
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,400&display=swap');

:root {
  --blue:       #2563EB;
  --blue-dark:  #1D4ED8;
  --blue-light: #EFF6FF;
  --blue-mid:   #BFDBFE;
  --indigo:     #6366F1;
  --green:      #10B981;
  --green-light:#ECFDF5;
  --amber:      #F59E0B;
  --red:        #EF4444;

  --bg:         #FFFFFF;
  --bg-soft:    #F8F9FC;
  --bg-muted:   #F1F3F9;
  --border:     #E5E8EF;
  --border-2:   #D1D5DE;

  --text:       #0F172A;
  --text-2:     #374151;
  --text-3:     #6B7280;
  --text-4:     #9CA3AF;

  --radius:     14px;
  --radius-sm:  9px;
  --radius-lg:  20px;
  --radius-xl:  28px;

  --shadow-sm:  0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
  --shadow:     0 4px 16px rgba(0,0,0,.06), 0 1px 4px rgba(0,0,0,.04);
  --shadow-md:  0 8px 32px rgba(0,0,0,.08), 0 2px 8px rgba(0,0,0,.04);
  --shadow-lg:  0 20px 60px rgba(0,0,0,.10), 0 4px 16px rgba(0,0,0,.06);
  --shadow-blue:0 8px 32px rgba(37,99,235,.25);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; font-family: inherit; }

/* ============================================================
   UTILITIES
   ============================================================ */
.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.container-sm { max-width: 860px; margin: 0 auto; padding: 0 24px; }
.container-lg { max-width: 1280px; margin: 0 auto; padding: 0 24px; }

.text-center { text-align: center; }
.text-blue  { color: var(--blue); }
.text-green { color: var(--green); }
.text-muted { color: var(--text-3); }

.flex { display: flex; align-items: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.gap-8  { gap: 8px; }
.gap-12 { gap: 12px; }
.gap-16 { gap: 16px; }

.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12.5px; font-weight: 600;
  border: 1px solid;
}
.badge-blue  { background: var(--blue-light); color: var(--blue); border-color: var(--blue-mid); }
.badge-green { background: var(--green-light); color: var(--green); border-color: #A7F3D0; }
.badge-amber { background: #FFFBEB; color: #92400E; border-color: #FDE68A; }
.badge-muted { background: var(--bg-muted); color: var(--text-3); border-color: var(--border); }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 22px;
  border-radius: var(--radius-sm);
  font-size: 14.5px; font-weight: 600;
  border: none;
  transition: all .18s;
  white-space: nowrap;
  letter-spacing: -.1px;
}
.btn-primary {
  background: var(--blue); color: #fff;
  box-shadow: var(--shadow-blue);
}
.btn-primary:hover { background: var(--blue-dark); transform: translateY(-1px); box-shadow: 0 12px 40px rgba(37,99,235,.35); }
.btn-primary:active { transform: translateY(0); }

.btn-outline {
  background: transparent; color: var(--text);
  border: 1.5px solid var(--border-2);
}
.btn-outline:hover { background: var(--bg-soft); border-color: var(--blue); color: var(--blue); }

.btn-ghost {
  background: transparent; color: var(--text-3);
  border: none; padding: 11px 16px;
}
.btn-ghost:hover { color: var(--text); background: var(--bg-muted); }

.btn-white {
  background: #fff; color: var(--blue);
  box-shadow: var(--shadow-md);
}
.btn-white:hover { transform: translateY(-1px); box-shadow: var(--shadow-lg); }

.btn-lg { padding: 14px 28px; font-size: 15.5px; border-radius: 11px; }
.btn-sm { padding: 7px 14px; font-size: 13px; }

.btn-icon {
  background: var(--bg-soft); border: 1.5px solid var(--border); color: var(--text-3);
  width: 38px; height: 38px; padding: 0;
  display: flex; align-items: center; justify-content: center;
  border-radius: 10px;
}
.btn-icon:hover { border-color: var(--blue); color: var(--blue); background: var(--blue-light); }

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav-wrap {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(229,232,239,.8);
  transition: box-shadow .2s;
}
.nav-wrap.scrolled { box-shadow: var(--shadow); }

.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
  max-width: 1160px; margin: 0 auto; padding: 0 24px;
}

.nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-weight: 800; font-size: 19px; color: var(--text);
  letter-spacing: -.4px;
}
.nav-logo-icon {
  width: 34px; height: 34px; border-radius: 9px;
  background: linear-gradient(135deg, var(--blue), var(--indigo));
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

.nav-links {
  display: flex; align-items: center; gap: 2px;
}
.nav-links a {
  padding: 7px 14px;
  border-radius: 8px;
  font-size: 14px; font-weight: 500; color: var(--text-3);
  transition: all .15s;
}
.nav-links a:hover { color: var(--text); background: var(--bg-soft); }
.nav-links a.active { color: var(--blue); background: var(--blue-light); }

.nav-cta { display: flex; align-items: center; gap: 8px; }

.nav-hamburger {
  display: none;
  background: none; border: none;
  color: var(--text-3); padding: 6px;
}

.mobile-menu {
  display: none;
  position: fixed; top: 64px; left: 0; right: 0; bottom: 0; z-index: 199;
  background: var(--bg);
  padding: 20px 24px;
  border-top: 1px solid var(--border);
  overflow-y: auto;
}
.mobile-menu.open { display: block; }
.mobile-menu a {
  display: block;
  padding: 13px 0;
  border-bottom: 1px solid var(--border);
  font-size: 16px; font-weight: 500; color: var(--text-2);
}
.mobile-menu a:last-child { border-bottom: none; }

@media (max-width: 860px) {
  .nav-links, .nav-cta .btn-outline { display: none; }
  .nav-hamburger { display: flex; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  padding: 144px 0 100px;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% -10%, rgba(37,99,235,.08) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 85% 30%, rgba(99,102,241,.06) 0%, transparent 60%),
    radial-gradient(ellipse 30% 40% at 15% 60%, rgba(16,185,129,.05) 0%, transparent 60%);
}

.hero-grid {
  position: absolute; inset: 0; z-index: 0;
  background-image:
    linear-gradient(rgba(37,99,235,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37,99,235,.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 100% 100% at 50% 0%, black 30%, transparent 70%);
}

.hero-content { position: relative; z-index: 1; text-align: center; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--blue-light);
  border: 1px solid var(--blue-mid);
  color: var(--blue);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 13px; font-weight: 600;
  margin-bottom: 28px;
  animation: fadeUp .5s ease .1s both;
}

.hero-h1 {
  font-size: clamp(44px, 6vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -2.5px;
  color: var(--text);
  margin-bottom: 20px;
  animation: fadeUp .5s ease .2s both;
}

.hero-h1 .gradient-text {
  background: linear-gradient(135deg, var(--blue) 0%, var(--indigo) 100%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}

.hero-sub {
  font-size: clamp(16px, 2vw, 19px);
  color: var(--text-3);
  max-width: 600px; margin: 0 auto 36px;
  line-height: 1.65;
  font-weight: 400;
  animation: fadeUp .5s ease .3s both;
}

.hero-sub strong { color: var(--text-2); font-weight: 600; }

.hero-actions {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 60px;
  animation: fadeUp .5s ease .4s both;
}

.hero-products {
  display: flex; align-items: center; justify-content: center;
  gap: 12px; flex-wrap: wrap;
  animation: fadeUp .5s ease .5s both;
}

.hero-product-pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 40px;
  padding: 8px 16px;
  font-size: 13.5px; font-weight: 500;
  color: var(--text-2);
  box-shadow: var(--shadow-sm);
  transition: all .15s;
}
.hero-product-pill:hover { border-color: var(--blue); color: var(--blue); box-shadow: var(--shadow); transform: translateY(-2px); }

.hero-product-pill .dot {
  width: 8px; height: 8px; border-radius: 50%;
  flex-shrink: 0;
}

/* ============================================================
   STATS BAR
   ============================================================ */
.stats-bar {
  background: var(--text);
  padding: 28px 0;
  overflow: hidden;
}

.stats-inner {
  display: flex; align-items: center; justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}

.stat-item {
  display: flex; flex-direction: column; align-items: center;
  padding: 8px 40px;
  border-right: 1px solid rgba(255,255,255,.1);
}
.stat-item:last-child { border-right: none; }

.stat-num {
  font-size: 28px; font-weight: 800;
  color: #fff;
  letter-spacing: -1px;
  line-height: 1;
}
.stat-num span { color: var(--blue-mid); }
.stat-label { font-size: 12px; color: rgba(255,255,255,.45); margin-top: 4px; font-weight: 500; letter-spacing: .3px; }

@media (max-width: 700px) {
  .stat-item { padding: 12px 24px; border-right: none; border-bottom: 1px solid rgba(255,255,255,.1); width: 50%; }
  .stat-item:nth-child(odd) { border-right: 1px solid rgba(255,255,255,.1); }
}

/* ============================================================
   SECTION HEADERS
   ============================================================ */
.section-tag {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 700;
  color: var(--blue);
  text-transform: uppercase; letter-spacing: 1.5px;
  margin-bottom: 14px;
}

.section-h2 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1.2px;
  color: var(--text);
  margin-bottom: 14px;
}

.section-sub {
  font-size: 17px;
  color: var(--text-3);
  max-width: 560px;
  line-height: 1.65;
}

/* ============================================================
   PRODUCTS SECTION
   ============================================================ */
.products { padding: 96px 0; background: var(--bg-soft); }

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 56px;
}

.product-card {
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
  overflow: hidden;
  transition: all .2s;
  display: flex; flex-direction: column;
}

.product-card:hover {
  border-color: var(--blue);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.product-card.featured {
  border-color: var(--blue);
  box-shadow: 0 0 0 1px var(--blue), var(--shadow-blue);
}

.product-card-bg {
  position: absolute; top: -60px; right: -60px;
  width: 200px; height: 200px;
  border-radius: 50%;
  opacity: .06;
}

.product-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  flex-shrink: 0;
}

.product-tag {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 11px; font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 14px;
  width: fit-content;
}

.product-card h3 {
  font-size: 22px; font-weight: 800;
  letter-spacing: -.5px;
  margin-bottom: 10px;
}

.product-card p {
  font-size: 14.5px; color: var(--text-3);
  line-height: 1.6;
  margin-bottom: 20px;
  flex: 1;
}

.product-features {
  list-style: none;
  display: flex; flex-direction: column; gap: 8px;
  margin-bottom: 24px;
}

.product-features li {
  display: flex; align-items: flex-start; gap: 8px;
  font-size: 13.5px; color: var(--text-2);
}

.product-features li::before {
  content: '';
  width: 18px; height: 18px; flex-shrink: 0; margin-top: 1px;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='10' cy='10' r='10' fill='%2310B981' fill-opacity='.12'/%3E%3Cpath d='M6 10l3 3 5-5' stroke='%2310B981' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: contain;
}

.product-price {
  display: flex; align-items: baseline; gap: 4px;
  margin-bottom: 20px;
}
.product-price .amount { font-size: 28px; font-weight: 800; color: var(--text); }
.product-price .period { font-size: 13px; color: var(--text-3); }

.product-card .cta {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: auto;
}

.product-featured-badge {
  position: absolute; top: 20px; right: 20px;
  background: var(--blue); color: #fff;
  font-size: 11px; font-weight: 700;
  padding: 4px 10px; border-radius: 20px;
}

@media (max-width: 960px) { .products-grid { grid-template-columns: 1fr; max-width: 480px; margin-left: auto; margin-right: auto; } }

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.how { padding: 96px 0; }

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 56px;
  position: relative;
}

.steps-grid::before {
  content: '';
  position: absolute;
  top: 28px; left: calc(16.66% + 16px); right: calc(16.66% + 16px);
  height: 1.5px;
  background: linear-gradient(90deg, var(--border) 0%, var(--blue) 50%, var(--border) 100%);
}

.step-card { text-align: center; padding: 0 20px; }

.step-num {
  width: 56px; height: 56px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
  font-size: 18px; font-weight: 800;
  position: relative;
  z-index: 1;
}

.step-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; letter-spacing: -.3px; }
.step-card p  { font-size: 14px; color: var(--text-3); line-height: 1.6; }

@media (max-width: 760px) {
  .steps-grid { grid-template-columns: 1fr; }
  .steps-grid::before { display: none; }
}

/* ============================================================
   CASCADE / AI VISION SECTION
   ============================================================ */
.vision {
  padding: 96px 0;
  background: var(--text);
  position: relative; overflow: hidden;
}

.vision-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 80% 50%, rgba(99,102,241,.12) 0%, transparent 60%),
    radial-gradient(ellipse 40% 60% at 0% 30%, rgba(37,99,235,.10) 0%, transparent 50%);
}

.vision-inner { position: relative; z-index: 1; }

.vision h2 {
  font-size: clamp(30px, 4vw, 50px);
  font-weight: 900; letter-spacing: -1.5px;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 20px;
}

.vision h2 .gradient-text {
  background: linear-gradient(135deg, #60A5FA 0%, #A78BFA 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

.vision p { font-size: 16px; color: rgba(255,255,255,.55); line-height: 1.7; max-width: 540px; }

.evolution-path {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius);
  padding: 24px;
  margin-top: 32px;
}

.evolution-step {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.evolution-step:last-child { border-bottom: none; }

.evolution-dot {
  width: 10px; height: 10px; border-radius: 50%;
  flex-shrink: 0; margin-top: 5px;
}

.evolution-label {
  font-size: 11.5px; font-weight: 700;
  color: rgba(255,255,255,.35);
  text-transform: uppercase; letter-spacing: 1px;
  margin-bottom: 2px;
}

.evolution-desc { font-size: 13.5px; color: rgba(255,255,255,.65); }

.vision-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: center;
}

@media (max-width: 860px) { .vision-grid { grid-template-columns: 1fr; gap: 40px; } }

.vision-stats {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 16px; margin-top: 32px;
}

.vision-stat {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-sm);
  padding: 18px;
}

.vision-stat .num { font-size: 26px; font-weight: 800; color: #fff; letter-spacing: -1px; }
.vision-stat .lbl { font-size: 12px; color: rgba(255,255,255,.35); margin-top: 3px; }

/* ============================================================
   TESTIMONIAL / QUOTE
   ============================================================ */
.quote-section { padding: 80px 0; background: var(--bg-soft); }

.quote-card {
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px 52px;
  position: relative;
  box-shadow: var(--shadow);
}

.quote-mark {
  font-size: 96px; font-weight: 900;
  color: var(--blue-mid);
  line-height: .5;
  margin-bottom: 20px;
  font-family: Georgia, serif;
}

.quote-text {
  font-size: clamp(17px, 2vw, 22px);
  font-weight: 500;
  color: var(--text);
  line-height: 1.6;
  letter-spacing: -.2px;
  margin-bottom: 28px;
}

.quote-author { display: flex; align-items: center; gap: 14px; }
.quote-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--indigo));
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; color: #fff; font-size: 15px;
}
.quote-name { font-weight: 700; font-size: 15px; }
.quote-role { font-size: 13px; color: var(--text-3); }

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
  padding: 96px 0;
  background: linear-gradient(135deg, var(--blue) 0%, var(--indigo) 100%);
  position: relative; overflow: hidden;
}

.cta-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 50% 100% at 100% 50%, rgba(255,255,255,.08) 0%, transparent 60%),
    radial-gradient(ellipse 40% 80% at 0% 50%, rgba(0,0,0,.1) 0%, transparent 50%);
}

.cta-inner { position: relative; z-index: 1; text-align: center; }

.cta-inner h2 {
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 900; letter-spacing: -1.5px;
  color: #fff;
  margin-bottom: 16px;
}

.cta-inner p { font-size: 17px; color: rgba(255,255,255,.7); margin-bottom: 36px; }

.cta-actions { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; }

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: var(--text);
  color: rgba(255,255,255,.55);
  padding: 60px 0 32px;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.footer-brand { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 800; font-size: 17px; margin-bottom: 14px; letter-spacing: -.3px; }
.footer-logo-icon { width: 32px; height: 32px; border-radius: 8px; background: linear-gradient(135deg, var(--blue), var(--indigo)); display: flex; align-items: center; justify-content: center; }
.footer-desc { font-size: 13.5px; line-height: 1.65; color: rgba(255,255,255,.4); max-width: 260px; }

.footer-col h4 { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: rgba(255,255,255,.3); margin-bottom: 14px; }
.footer-col a { display: block; font-size: 14px; color: rgba(255,255,255,.5); margin-bottom: 8px; transition: color .15s; }
.footer-col a:hover { color: #fff; }

.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 24px;
  font-size: 13px;
  flex-wrap: wrap; gap: 12px;
}

.footer-links { display: flex; gap: 20px; }
.footer-links a { color: rgba(255,255,255,.4); font-size: 13px; }
.footer-links a:hover { color: rgba(255,255,255,.7); }

@media (max-width: 860px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .footer-top { grid-template-columns: 1fr; }
}

/* ============================================================
   SUBPAGE SPECIFIC
   ============================================================ */
.page-hero {
  padding: 120px 0 72px;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--border);
}

.page-hero-label {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 700; color: var(--blue);
  text-transform: uppercase; letter-spacing: 1.5px;
  margin-bottom: 16px;
}

.page-hero h1 {
  font-size: clamp(32px, 4.5vw, 58px);
  font-weight: 900; letter-spacing: -1.8px;
  line-height: 1.1; margin-bottom: 18px;
}

.page-hero p { font-size: 18px; color: var(--text-3); max-width: 560px; line-height: 1.65; }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 48px;
}

.feature-card {
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: all .18s;
}
.feature-card:hover { border-color: var(--blue); box-shadow: var(--shadow); }

.feature-icon {
  width: 44px; height: 44px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
}

.feature-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; letter-spacing: -.3px; }
.feature-card p  { font-size: 14px; color: var(--text-3); line-height: 1.6; }

@media (max-width: 640px) { .feature-grid { grid-template-columns: 1fr; } }

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .55s ease, transform .55s ease;
}
.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}
.delay-1 { transition-delay: .1s !important; }
.delay-2 { transition-delay: .2s !important; }
.delay-3 { transition-delay: .3s !important; }

/* ============================================================
   MISC
   ============================================================ */
.divider { height: 1px; background: var(--border); margin: 0; }

.tag-strip {
  display: flex; align-items: center; justify-content: center;
  gap: 10px; flex-wrap: wrap;
  margin-top: 24px;
}
.tag { display: inline-flex; align-items: center; gap: 6px; padding: 5px 13px; border-radius: 20px; font-size: 12.5px; font-weight: 500; background: var(--bg-muted); color: var(--text-3); }

.pill-float {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--bg); border: 1px solid var(--border);
  border-radius: 40px; padding: 8px 16px;
  font-size: 13px; font-weight: 500;
  box-shadow: var(--shadow-sm);
}
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 3px rgba(16,185,129,.25); animation: pulse 1.8s ease infinite; }
@keyframes pulse { 0%,100%{box-shadow:0 0 0 3px rgba(16,185,129,.25)} 50%{box-shadow:0 0 0 6px rgba(16,185,129,.1)} }
