/* ============================================================
   ERMIS LANDING — main.css
   ============================================================ */

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

/* ── Design Tokens ── */
:root {
  --brand-navy:      #1b2559;
  --brand-blue:      #3d6df2;
  --brand-cyan:      #e0f3ff;
  --brand-gray:      #f5f7fb;
  --background:      #ffffff;
  --foreground:      #1b2559;
  --muted:           #f0f4fb;
  --muted-foreground:#5f6b85;
  --border:          #e8ecf4;
  --card:            #ffffff;
  --primary:         #3d6df2;
  --primary-foreground: #ffffff;
  --accent:          #e8f0fe;
  --accent-foreground:#1b2559;
  --destructive:     #e5484d;
  --destructive-bg:  #fdecec;
  --radius:          14px;

  --gradient-hero: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(224,243,255,0.80) 0%, transparent 60%),
                   radial-gradient(ellipse 60% 50% at 80% 20%, rgba(61,109,242,0.18) 0%, transparent 60%),
                   linear-gradient(180deg, #f5f9ff 0%, #ffffff 100%);
  --gradient-primary: linear-gradient(135deg, #1b2559, #3d6df2);
  --gradient-soft:    linear-gradient(135deg, #f0f6ff, #eef2fc);
  --gradient-text:    linear-gradient(135deg, #1b2559, #3d6df2);

  --shadow-soft:    0 1px 2px rgba(27,37,89,.04), 0 4px 12px rgba(27,37,89,.05);
  --shadow-elegant: 0 8px 24px -8px rgba(61,109,242,.22), 0 2px 8px rgba(27,37,89,.05);
  --shadow-glow:    0 20px 60px -20px rgba(61,109,242,.45);
  --shadow-card:    0 1px 0 rgba(255,255,255,.6) inset, 0 1px 3px rgba(27,37,89,.06), 0 8px 30px -8px rgba(27,37,89,.08);

  --transition-smooth: all .3s cubic-bezier(.4,0,.2,1);
}

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Montserrat', ui-sans-serif, system-ui, sans-serif;
  background: var(--background);
  color: var(--foreground);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.6;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4, h5 {
  font-family: 'Montserrat', sans-serif;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

/* ── Layout ── */
.container {
  width: 100%;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.container--narrow { max-width: 768px; }
.container--md     { max-width: 896px; }

.section { padding-top: 96px; padding-bottom: 96px; }
.section--sm { padding-top: 64px; padding-bottom: 64px; }

/* ── Utility ── */
.text-gradient {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.bg-hero          { background: var(--gradient-hero); }
.bg-gradient-soft { background: var(--gradient-soft); }
.bg-gradient-primary { background: var(--gradient-primary); }

.shadow-soft    { box-shadow: var(--shadow-soft); }
.shadow-elegant { box-shadow: var(--shadow-elegant); }
.shadow-glow    { box-shadow: var(--shadow-glow); }
.shadow-card    { box-shadow: var(--shadow-card); }

/* ── Badge ── */
.badge {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  background: var(--accent);
  color: var(--accent-foreground);
}

.badge--destructive {
  background: var(--destructive-bg);
  color: var(--destructive);
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 999px;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: var(--transition-smooth);
  white-space: nowrap;
  text-decoration: none;
}

.btn-hero {
  background: var(--gradient-primary);
  color: #fff;
  box-shadow: var(--shadow-elegant);
}
.btn-hero:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
  color: #fff;
}

.btn-soft {
  background: var(--accent);
  color: var(--brand-navy);
  border: 1px solid rgba(61,109,242,.2);
}
.btn-soft:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-elegant);
  background: #dde8fe;
  color: var(--brand-navy);
}

.btn-xl { padding: 16px 32px; font-size: 16px; }
.btn-sm { padding: 9px 18px; font-size: 13px; }
.btn-lg { padding: 13px 28px; font-size: 15px; }
.btn-full { width: 100%; justify-content: center; }

/* Arrow SVG inside button */
.btn svg { flex-shrink: 0; }

/* ── Card ── */
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: var(--shadow-soft);
  transition: var(--transition-smooth);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-elegant);
}
.card--glow:hover { box-shadow: var(--shadow-glow); }

/* ── Animations ── */
@keyframes float {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-12px); }
}
.animate-float { animation: float 6s ease-in-out infinite; }

@keyframes blob {
  0%,100% { transform: translate(0,0) scale(1); }
  33%      { transform: translate(30px,-20px) scale(1.05); }
  66%      { transform: translate(-20px,20px) scale(.95); }
}
.animate-blob { animation: blob 14s ease-in-out infinite; }

@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.animate-marquee      { animation: marquee 40s linear infinite; }
.animate-marquee-slow { animation: marquee 60s linear infinite; }
.animate-marquee-rev  { animation: marquee 60s linear infinite reverse; }

@keyframes bounce-dot {
  0%,80%,100% { transform: translateY(0); opacity:.5; }
  40%          { transform: translateY(-6px); opacity:1; }
}

@keyframes pulse-dot {
  0%,100% { transform: scale(1); opacity:.6; }
  50%     { transform: scale(1.3); opacity:1; }
}

/* ── ===========================
   NAVBAR
   =========================== ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
  background: rgba(255,255,255,.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(232,236,244,.6);
  transition: box-shadow .3s;
}
.site-header.scrolled { box-shadow: 0 2px 20px rgba(27,37,89,.08); }

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 24px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 800;
  color: var(--brand-navy);
  letter-spacing: -0.03em;
  flex-shrink: 0;
}
.nav-logo img { width: 32px; height: 32px; object-fit: contain; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted-foreground);
  transition: color .2s;
}
.nav-links a:hover { color: var(--foreground); }

.nav-cta { flex-shrink: 0; }

/* Mobile hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--brand-navy);
  border-radius: 2px;
  transition: var(--transition-smooth);
}

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 8px;
  padding: 16px 24px 20px;
  border-top: 1px solid var(--border);
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(12px);
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-size: 15px;
  font-weight: 500;
  color: var(--foreground);
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
}
.mobile-menu .btn { margin-top: 8px; width: 100%; justify-content: center; }

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

/* ── ===========================
   HERO
   =========================== ── */
.hero-section {
  position: relative;
  overflow: hidden;
  background: var(--gradient-hero);
}

.hero-blob {
  position: absolute;
  top: -160px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 600px;
  border-radius: 50%;
  background: var(--gradient-primary);
  opacity: .12;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: 64px;
  padding-top: 80px;
  padding-bottom: 80px;
  position: relative;
  z-index: 1;
}

@media (min-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr 1fr; padding-top: 112px; padding-bottom: 112px; }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(232,236,244,.7);
  background: rgba(255,255,255,.75);
  backdrop-filter: blur(8px);
  font-size: 12px;
  font-weight: 500;
  color: var(--foreground);
  box-shadow: var(--shadow-soft);
}
.hero-badge svg { color: var(--primary); flex-shrink: 0; }

.hero-h1 {
  margin-top: 20px;
  font-size: clamp(2rem, 5vw, 3.75rem);
  font-weight: 800;
  color: var(--foreground);
}

.hero-p {
  margin-top: 20px;
  font-size: 18px;
  color: var(--muted-foreground);
  max-width: 560px;
  line-height: 1.65;
}

.hero-actions { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }

.hero-trust {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 12px;
  color: var(--muted-foreground);
  font-weight: 500;
}

/* ── WhatsApp Mockup ── */
.mockup-wrap {
  position: relative;
  max-width: 360px;
  margin: 0 auto;
}

.mockup-glow {
  position: absolute;
  inset: -24px;
  border-radius: 40px;
  background: var(--gradient-primary);
  opacity: .15;
  filter: blur(40px);
  z-index: 0;
}

.phone-frame {
  position: relative;
  z-index: 1;
  border-radius: 36px;
  border: 10px solid #1a1a1a;
  background: #1a1a1a;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

/* WA Header */
.wa-header {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #075E54;
  padding: 10px 12px;
  color: #fff;
}
.wa-back-icon { display: flex; align-items: center; }
.wa-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700;
  overflow: hidden; flex-shrink: 0;
}
.wa-avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.wa-info { flex: 1; min-width: 0; }
.wa-name { font-size: 15px; font-weight: 600; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wa-status { font-size: 11px; opacity: .8; line-height: 1.2; }
.wa-badge-live {
  font-size: 9px; font-weight: 700; letter-spacing: .05em;
  background: #25D366; color: #fff;
  padding: 2px 6px; border-radius: 999px;
}
.wa-icons { display: flex; gap: 12px; align-items: center; }
.wa-icons svg { width: 18px; height: 18px; }

/* Chat Area */
.wa-chat {
  background-color: #ECE5DD;
  background-image: radial-gradient(circle at 20% 20%, rgba(0,0,0,.04) 1px, transparent 1px),
                    radial-gradient(circle at 70% 60%, rgba(0,0,0,.04) 1px, transparent 1px);
  background-size: 22px 22px, 30px 30px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13px;
  min-height: 320px;
}

.wa-date-pill {
  text-align: center;
}
.wa-date-pill span {
  display: inline-block;
  background: rgba(255,255,255,.8);
  padding: 2px 10px;
  border-radius: 6px;
  font-size: 10px;
  color: #666;
  box-shadow: 0 1px 2px rgba(0,0,0,.08);
}

.wa-msg-row { display: flex; }
.wa-msg-row.out { justify-content: flex-end; }

.wa-bubble {
  max-width: 80%;
  padding: 8px 10px;
  border-radius: 10px;
  box-shadow: 0 1px 2px rgba(0,0,0,.1);
  color: #222;
  line-height: 1.45;
}
.wa-bubble.in  { background: #fff; border-radius: 10px 10px 10px 2px; }
.wa-bubble.out { background: #DCF8C6; border-radius: 10px 10px 2px 10px; }

.wa-time {
  font-size: 10px;
  color: #888;
  margin-top: 2px;
  text-align: right;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 3px;
}
.wa-check { color: #34B7F1; display: flex; align-items: center; }

/* Typing */
.wa-typing {
  display: flex;
  gap: 4px;
  align-items: center;
  background: #fff;
  padding: 10px 14px;
  border-radius: 10px 10px 10px 2px;
  width: fit-content;
  box-shadow: 0 1px 2px rgba(0,0,0,.08);
}
.wa-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #aaa;
  animation: bounce-dot 1.2s ease-in-out infinite;
}
.wa-dot:nth-child(2) { animation-delay: .15s; }
.wa-dot:nth-child(3) { animation-delay: .3s; }

/* Input bar */
.wa-input-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #ECE5DD;
  padding: 6px 8px 8px;
}
.wa-input-inner {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border-radius: 999px;
  padding: 8px 12px;
  box-shadow: 0 1px 2px rgba(0,0,0,.08);
}
.wa-input-inner span { flex: 1; font-size: 13px; color: #aaa; }
.wa-mic-btn {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: #075E54;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  flex-shrink: 0;
  border: none; cursor: pointer;
}

/* Floating stats */
.float-stat {
  position: absolute;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 12px 16px;
  box-shadow: var(--shadow-card);
}
.float-stat--tr {
  top: -16px;
  right: -16px;
  animation: float 6s ease-in-out infinite;
}
.float-stat--bl {
  bottom: 40px;
  left: -24px;
  animation: float 6s ease-in-out infinite;
  animation-delay: 1.5s;
}
.float-stat-label {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted-foreground);
}
.float-stat-value {
  font-size: 22px;
  font-weight: 800;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1.1;
}

@media (max-width: 640px) {
  .float-stat { display: none; }
}

/* ── ===========================
   SOCIAL PROOF / MARQUEE
   =========================== ── */
.marquee-section {
  border-top: 1px solid rgba(232,236,244,.5);
  border-bottom: 1px solid rgba(232,236,244,.5);
  background: var(--background);
  padding: 56px 0;
}

.marquee-label {
  text-align: center;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted-foreground);
  margin-bottom: 32px;
}

.marquee-row {
  position: relative;
  overflow: hidden;
  margin-bottom: 16px;
}
.marquee-row:last-child { margin-bottom: 0; }

.marquee-row::before,
.marquee-row::after {
  content: '';
  position: absolute;
  inset-y: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}
.marquee-row::before { left: 0; background: linear-gradient(to right, var(--background), transparent); }
.marquee-row::after  { right: 0; background: linear-gradient(to left, var(--background), transparent); }

.marquee-track {
  display: flex;
  align-items: center;
  gap: 16px;
  width: max-content;
}
.marquee-track--fwd  { animation: marquee 40s linear infinite; }
.marquee-track--rev  { animation: marquee 60s linear infinite reverse; }
.marquee-row:hover .marquee-track { animation-play-state: paused; }

.marquee-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  border-radius: 999px;
  border: 1px solid rgba(232,236,244,.7);
  background: #fff;
  box-shadow: var(--shadow-soft);
  white-space: nowrap;
  font-size: 14px;
  font-weight: 600;
  color: var(--foreground);
}
.marquee-chip svg { color: var(--primary); flex-shrink: 0; }

/* ── ===========================
   PROBLEM
   =========================== ── */
.problem-section { background: var(--background); }

.section-header { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.section-header h2 { margin-top: 16px; font-size: clamp(1.6rem,3vw,2.4rem); font-weight: 800; }
.section-header p  { margin-top: 16px; color: var(--muted-foreground); font-size: 16px; line-height: 1.7; }

.cards-grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 768px) { .cards-grid-3 { grid-template-columns: repeat(3, 1fr); } }

.problem-card {
  padding: 28px;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: #fff;
  box-shadow: var(--shadow-soft);
  transition: var(--transition-smooth);
}
.problem-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-elegant); }

.problem-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--destructive-bg);
  color: var(--destructive);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.problem-card h3 { margin-top: 20px; font-size: 17px; font-weight: 700; }
.problem-card p  { margin-top: 8px; font-size: 14px; color: var(--muted-foreground); line-height: 1.65; }

/* ── ===========================
   SOLUTION / HOW IT WORKS (intro)
   =========================== ── */
.solution-section { background: var(--gradient-soft); }

.solution-card {
  padding: 28px;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: #fff;
  box-shadow: var(--shadow-soft);
  transition: var(--transition-smooth);
}
.solution-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-elegant); }

.solution-card-top { display: flex; align-items: center; justify-content: space-between; }

.solution-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--gradient-primary);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-elegant);
}
.solution-step-num { font-size: 30px; font-weight: 800; color: rgba(27,37,89,.15); }
.solution-card h3 { margin-top: 20px; font-size: 17px; font-weight: 700; }
.solution-card p  { margin-top: 8px; font-size: 14px; color: var(--muted-foreground); line-height: 1.65; }

/* ── ===========================
   FEATURES
   =========================== ── */
.features-section { background: var(--background); }

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 768px)  { .features-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .features-grid { grid-template-columns: repeat(3, 1fr); } }

.feature-card {
  padding: 24px;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: #fff;
  box-shadow: var(--shadow-soft);
  transition: var(--transition-smooth);
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-elegant); border-color: rgba(61,109,242,.3); }

.feature-icon {
  width: 40px; height: 40px;
  border-radius: 12px;
  background: rgba(61,109,242,.08);
  color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition-smooth);
}
.feature-card:hover .feature-icon {
  background: var(--gradient-primary);
  color: #fff;
}
.feature-card h3 { margin-top: 16px; font-size: 15px; font-weight: 700; }
.feature-card p  { margin-top: 6px; font-size: 13.5px; color: var(--muted-foreground); line-height: 1.65; }

/* ── ===========================
   HOW IT WORKS FLOW
   =========================== ── */
.how-section { background: var(--gradient-soft); }

.flow-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 56px;
}
@media (min-width: 1024px) {
  .flow-container { flex-direction: row; align-items: center; justify-content: center; }
}

.flow-node-wrap { display: flex; align-items: center; gap: 16px; }
@media (min-width: 1024px) { .flow-node-wrap { gap: 12px; } }

.flow-node {
  flex: 1;
  padding: 20px 24px;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: #fff;
  box-shadow: var(--shadow-card);
  cursor: pointer;
  transition: all .3s;
}
@media (min-width: 1024px) { .flow-node { width: 272px; } }
.flow-node:hover { transform: translateY(-4px) scale(1.03); border-color: rgba(61,109,242,.6); box-shadow: var(--shadow-glow); }

.flow-node-tag { font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--primary); }
.flow-node:hover .flow-node-tag { color: var(--brand-navy); }
.flow-node p    { margin-top: 4px; font-size: 14px; font-weight: 500; }

.flow-arrow { display: none; color: var(--muted-foreground); flex-shrink: 0; }
@media (min-width: 1024px) { .flow-arrow { display: block; } }

.flow-arrow svg { animation: pulse-dot 1.5s ease-in-out infinite; }

/* Stats row */
.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 720px;
  margin: 48px auto 0;
  text-align: center;
}
.stat-card {
  padding: 20px;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: #fff;
  box-shadow: var(--shadow-soft);
}
.stat-value { font-size: clamp(1.4rem,2.5vw,1.9rem); font-weight: 800; background: var(--gradient-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat-label { margin-top: 4px; font-size: 11px; color: var(--muted-foreground); line-height: 1.4; }

/* ── ===========================
   USE CASES
   =========================== ── */
.usecases-section { background: var(--gradient-soft); }

.usecases-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 640px)  { .usecases-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .usecases-grid { grid-template-columns: repeat(3, 1fr); } }

.usecase-card {
  padding: 24px;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: #fff;
  box-shadow: var(--shadow-soft);
  transition: var(--transition-smooth);
}
.usecase-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-elegant); }

.usecase-icon {
  width: 48px; height: 48px;
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
}
.usecase-icon--blue   { background: linear-gradient(135deg,rgba(59,130,246,.12),rgba(6,182,212,.12)); color:#2563eb; }
.usecase-icon--amber  { background: linear-gradient(135deg,rgba(245,158,11,.12),rgba(249,115,22,.12)); color:#d97706; }
.usecase-icon--violet { background: linear-gradient(135deg,rgba(139,92,246,.12),rgba(217,70,239,.12)); color:#7c3aed; }
.usecase-icon--emerald{ background: linear-gradient(135deg,rgba(16,185,129,.12),rgba(20,184,166,.12)); color:#059669; }
.usecase-icon--rose   { background: linear-gradient(135deg,rgba(244,63,94,.12),rgba(236,72,153,.12)); color:#e11d48; }
.usecase-icon--indigo { background: linear-gradient(135deg,rgba(99,102,241,.12),rgba(59,130,246,.12)); color:#4f46e5; }

.usecase-card h3 { margin-top: 20px; font-size: 16px; font-weight: 700; }
.usecase-card p  { margin-top: 8px; font-size: 13.5px; color: var(--muted-foreground); line-height: 1.65; }

/* ── ===========================
   MID CTA
   =========================== ── */
.midcta-section { background: var(--background); }

.midcta-card {
  max-width: 900px;
  margin: 0 auto;
  padding: 56px 48px;
  border-radius: 28px;
  border: 1px solid var(--border);
  background: var(--gradient-soft);
  text-align: center;
  box-shadow: var(--shadow-soft);
}
@media (max-width: 640px) { .midcta-card { padding: 40px 24px; } }

.midcta-card h2 { font-size: clamp(1.4rem,3vw,2rem); font-weight: 800; }
.midcta-card p  { margin-top: 12px; font-size: 15px; color: var(--muted-foreground); max-width: 540px; margin-left: auto; margin-right: auto; }
.midcta-card .btn { margin-top: 24px; }

/* ── ===========================
   PRICING
   =========================== ── */
.pricing-section { background: var(--background); }

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 768px) { .pricing-grid { grid-template-columns: repeat(3, 1fr); } }

.pricing-card {
  position: relative;
  padding: 32px;
  border-radius: 24px;
  border: 1px solid var(--border);
  background: #fff;
  box-shadow: var(--shadow-soft);
  transition: all .3s;
}
.pricing-card:hover { transform: translateY(-4px); }

.pricing-card--popular {
  border: 2px solid rgba(61,109,242,.4);
  box-shadow: var(--shadow-glow);
}

.popular-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 14px;
  border-radius: 999px;
  background: var(--gradient-primary);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  box-shadow: var(--shadow-elegant);
  white-space: nowrap;
}

.pricing-card h3    { font-size: 18px; font-weight: 700; }
.pricing-card .plan-desc { margin-top: 4px; font-size: 13px; color: var(--muted-foreground); }

.price-row { margin-top: 20px; display: flex; align-items: baseline; gap: 4px; }
.price-amount { font-size: 40px; font-weight: 800; letter-spacing: -.03em; }
.price-period { font-size: 13px; color: var(--muted-foreground); }

.pricing-card .btn { margin-top: 24px; }

.features-list { margin-top: 24px; list-style: none; display: flex; flex-direction: column; gap: 12px; }
.features-list li { display: flex; align-items: flex-start; gap: 8px; font-size: 14px; color: rgba(27,37,89,.8); }
.features-list li svg { color: var(--primary); flex-shrink: 0; margin-top: 2px; }

.plan-tagline { margin-top: 24px; padding-top: 16px; border-top: 1px solid var(--border); font-size: 13px; font-style: italic; color: var(--muted-foreground); }

/* Addons */
.addons-card {
  max-width: 720px;
  margin: 40px auto 0;
  padding: 24px;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: #fff;
  box-shadow: var(--shadow-soft);
}
.addons-card h4 { font-size: 14px; font-weight: 700; }
.addons-grid { margin-top: 12px; display: grid; grid-template-columns: 1fr; gap: 12px; }
@media (min-width: 640px) { .addons-grid { grid-template-columns: repeat(2, 1fr); } }

.addon-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(240,244,251,.5);
  cursor: pointer;
  transition: var(--transition-smooth);
}
.addon-item:hover { border-color: rgba(61,109,242,.5); background: #fff; box-shadow: var(--shadow-elegant); transform: translateY(-2px); }

.addon-icon {
  width: 32px; height: 32px;
  border-radius: 8px;
  background: rgba(61,109,242,.1);
  color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition-smooth);
  flex-shrink: 0;
}
.addon-item:hover .addon-icon { background: var(--gradient-primary); color: #fff; transform: rotate(90deg); }
.addon-name  { font-size: 13px; font-weight: 600; }
.addon-price { font-size: 12px; color: var(--muted-foreground); }

/* ── ===========================
   FAQ
   =========================== ── */
.faq-section { background: var(--background); }

.faq-list { margin-top: 40px; display: flex; flex-direction: column; }

.faq-item { border-bottom: 1px solid rgba(232,236,244,.8); }
.faq-item:first-child { border-top: 1px solid rgba(232,236,244,.8); }

.faq-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
  cursor: pointer;
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--foreground);
  transition: color .2s;
}
.faq-trigger:hover { color: var(--primary); }

.faq-chevron {
  flex-shrink: 0;
  width: 20px; height: 20px;
  transition: transform .3s;
  color: var(--muted-foreground);
}
.faq-item.open .faq-chevron { transform: rotate(180deg); }

.faq-content {
  display: none;
  padding-bottom: 20px;
  font-size: 14px;
  color: var(--muted-foreground);
  line-height: 1.7;
}
.faq-item.open .faq-content { display: block; }

/* ── ===========================
   FINAL CTA
   =========================== ── */
.finalcta-section { background: var(--background); }

.finalcta-card {
  position: relative;
  overflow: hidden;
  padding: 80px 48px;
  border-radius: 28px;
  background: var(--gradient-primary);
  text-align: center;
  box-shadow: var(--shadow-glow);
}
@media (max-width: 640px) { .finalcta-card { padding: 56px 24px; } }

.finalcta-blob-1,
.finalcta-blob-2 {
  position: absolute;
  width: 280px; height: 280px;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
  filter: blur(40px);
  pointer-events: none;
}
.finalcta-blob-1 { top: -80px; left: -80px; }
.finalcta-blob-2 { bottom: -96px; right: -40px; }

.finalcta-card h2 {
  position: relative;
  font-size: clamp(1.6rem, 4vw, 3rem);
  font-weight: 800;
  color: #fff;
  max-width: 800px;
  margin: 0 auto;
}
.finalcta-card p {
  position: relative;
  margin-top: 16px;
  font-size: 16px;
  color: rgba(255,255,255,.85);
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}
.finalcta-card .btn { position: relative; margin-top: 40px; background: #fff; color: var(--brand-navy); }
.finalcta-card .btn:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(255,255,255,.3); }

/* ── ===========================
   FOOTER
   =========================== ── */
.site-footer {
  border-top: 1px solid rgba(232,236,244,.6);
  background: var(--background);
  padding-top: 56px;
  padding-bottom: 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}
@media (min-width: 768px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 800;
  color: var(--brand-navy);
  letter-spacing: -.03em;
}
.footer-logo img { width: 32px; height: 32px; object-fit: contain; }

.footer-desc { margin-top: 12px; font-size: 13px; color: var(--muted-foreground); line-height: 1.7; max-width: 320px; }

.footer-socials { margin-top: 20px; display: flex; gap: 10px; }
.social-btn {
  width: 36px; height: 36px;
  border-radius: 10px;
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--muted-foreground);
  transition: var(--transition-smooth);
  text-decoration: none;
}
.social-btn:hover { border-color: var(--primary); color: var(--primary); }
.social-btn svg { width: 16px; height: 16px; }

.footer-col h4 { font-size: 13px; font-weight: 700; margin-bottom: 12px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-col ul li a { font-size: 13px; color: var(--muted-foreground); transition: color .2s; }
.footer-col ul li a:hover { color: var(--foreground); }

.footer-bottom {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--muted-foreground);
}
@media (min-width: 640px) { .footer-bottom { flex-direction: row; } }

/* ── ===========================
   RESPONSIVE TWEAKS
   =========================== ── */
@media (max-width: 767px) {
  .section { padding-top: 64px; padding-bottom: 64px; }
  .stats-row { gap: 10px; }
  .pricing-card { padding: 24px; }
}
