/* =====================================================
   RESET & BASE
   ===================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --primary:        #16A34A;
  --primary-dark:   #15803D;
  --primary-light:  #F0FDF4;
  --primary-mid:    #BBF7D0;
  --navy:           #052E16;
  --dark:           #1E293B;
  --text:           #334155;
  --muted:          #64748B;
  --border:         #E2E8F0;
  --bg:             #F8FAFC;
  --white:          #FFFFFF;
  --grad-from:      #22C55E;
  --grad-to:        #059669;

  --purple:         #7C3AED;
  --purple-light:   #F5F3FF;
  --green:          #059669;
  --green-light:    #ECFDF5;
  --red:            #DC2626;
  --red-light:      #FEF2F2;
  --orange:         #D97706;
  --orange-light:   #FFFBEB;

  --radius-xs:  4px;
  --radius-sm:  8px;
  --radius-md:  14px;
  --radius-lg:  20px;
  --radius-xl:  32px;
  --radius-full: 9999px;

  --shadow-sm:  0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.04);
  --shadow-md:  0 4px 16px rgba(0,0,0,.08), 0 2px 4px rgba(0,0,0,.04);
  --shadow-lg:  0 12px 40px rgba(0,0,0,.10), 0 4px 8px rgba(0,0,0,.06);
  --shadow-xl:  0 24px 64px rgba(0,0,0,.12);

  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --transition: 0.22s cubic-bezier(.4,0,.2,1);
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* =====================================================
   LAYOUT
   ===================================================== */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}
.section-tag {
  display: inline-block;
  padding: 4px 14px;
  background: transparent;
  border: 1px solid var(--primary-mid);
  color: var(--primary);
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.section-header h2 {
  font-size: clamp(1.75rem, 3.2vw, 2.4rem);
  font-weight: 800;
  color: var(--dark);
  letter-spacing: -0.03em;
  margin-bottom: 12px;
  line-height: 1.2;
}
.section-header p {
  font-size: 1.02rem;
  color: var(--muted);
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.7;
}

/* =====================================================
   BUTTONS
   ===================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
  white-space: nowrap;
  line-height: 1;
}
.btn-primary {
  background: var(--primary);
  color: var(--white);
  border-radius: var(--radius-full);
}
.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(34,197,94,.38);
}
.btn-ghost {
  color: var(--dark);
  padding: 10px 16px;
}
.btn-ghost:hover { color: var(--primary); }
.btn-outline {
  border-color: var(--primary);
  color: var(--primary);
  background: transparent;
}
.btn-outline:hover {
  background: var(--primary-light);
  transform: translateY(-1px);
}
.btn-white {
  background: var(--white);
  color: var(--primary);
  border-color: var(--white);
}
.btn-white:hover {
  background: var(--primary-light);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(255,255,255,.25);
}
.btn-outline-white {
  background: transparent;
  color: rgba(255,255,255,.9);
  border-color: rgba(255,255,255,.4);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.7);
}
.btn-lg {
  padding: 14px 32px;
  font-size: 1rem;
  border-radius: var(--radius-full);
}

/* =====================================================
   NAVIGATION
   ===================================================== */
.nav-wrapper {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 64px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}
.logo-img {
  height: 36px;
  width: auto;
  object-fit: contain;
}
.logo-img--sm { height: 28px; width: auto; object-fit: contain; }
.logo-text {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--dark);
  letter-spacing: -0.03em;
}
.logo-text--white { color: var(--white); }

.nav-links {
  display: flex;
  gap: 2px;
  flex: 1;
}
.nav-links a {
  padding: 7px 13px;
  border-radius: var(--radius-xs);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text);
  transition: color var(--transition), background var(--transition);
}
.nav-links a:hover {
  color: var(--primary);
  background: transparent;
}
.nav-cta {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  margin-left: auto;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
}

/* =====================================================
   HERO
   ===================================================== */
.hero {
  position: relative;
  padding: 100px 0 88px;
  text-align: center;
  overflow: hidden;
  background:
    radial-gradient(circle, rgba(22,163,74,.055) 1px, transparent 1px),
    linear-gradient(160deg, #F0FDF4 0%, #F8FAFC 45%, #ECFDF5 100%);
  background-size: 28px 28px, 100% 100%;
}
.hero-bg-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(80px);
  opacity: 0.45;
}
.hero-bg-orb--1 {
  width: 560px; height: 560px;
  background: radial-gradient(circle, #BBF7D0, transparent 70%);
  top: -180px; left: -100px;
}
.hero-bg-orb--2 {
  width: 480px; height: 480px;
  background: radial-gradient(circle, #A7F3D0, transparent 70%);
  bottom: -160px; right: -60px;
}
.hero-inner { position: relative; z-index: 1; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 28px;
  box-shadow: var(--shadow-sm);
}
.hero-badge::before {
  content: '';
  display: inline-block;
  width: 7px; height: 7px;
  background: var(--primary);
  border-radius: 50%;
  flex-shrink: 0;
}

.hero-title {
  font-size: clamp(2.4rem, 5.5vw, 3.8rem);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.1;
  letter-spacing: -0.05em;
  margin-bottom: 22px;
}
.gradient-text {
  background: linear-gradient(135deg, var(--grad-from) 0%, var(--grad-to) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 580px;
  margin: 0 auto 38px;
  line-height: 1.75;
}
.hero-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.hero-note {
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 48px;
}

.hero-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}
.hero-trust-label {
  font-size: 0.8rem;
  color: var(--muted);
}
.hero-trust-logos {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}
.trust-logo-pill {
  padding: 5px 14px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text);
  box-shadow: var(--shadow-sm);
}

/* =====================================================
   STATS
   ===================================================== */
.stats {
  background: var(--navy);
  padding: 52px 0;
}
.stats-grid {
  display: flex;
  align-items: center;
  justify-content: center;
}
.stat-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 32px;
}
.stat-sep {
  width: 1px;
  height: 52px;
  background: rgba(255,255,255,.12);
  flex-shrink: 0;
}
.stat-number {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 8px;
}
.stat-number small {
  font-size: 1.2rem;
  font-weight: 600;
  opacity: 0.9;
}
.stat-label {
  font-size: 0.8rem;
  color: rgba(255,255,255,.5);
  line-height: 1.4;
}

/* =====================================================
   FEATURES
   ===================================================== */
.features {
  padding: 112px 0;
  background: var(--white);
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feature-card {
  padding: 32px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: var(--white);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  position: relative;
  overflow: hidden;
}
.feature-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  opacity: 0;
  transition: opacity var(--transition);
  background: linear-gradient(135deg, rgba(34,197,94,.04), rgba(5,150,105,.04));
}
.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-mid);
}
.feature-card:hover::after { opacity: 1; }

.feature-card--highlight {
  background: #F0FDF4;
  border-color: var(--primary-mid);
  border-left: 3px solid var(--primary);
}

.feature-icon-wrap {
  width: 48px; height: 48px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.feature-icon-wrap--blue   { background: var(--primary-light); color: var(--primary); }
.feature-icon-wrap--purple { background: var(--purple-light);  color: var(--purple); }
.feature-icon-wrap--green  { background: var(--green-light);   color: var(--green); }
.feature-icon-wrap--red    { background: var(--red-light);     color: var(--red); }
.feature-icon-wrap--orange { background: var(--orange-light);  color: var(--orange); }

.feature-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.feature-card p {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 22px;
}
.feature-link {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap var(--transition);
}
.feature-link:hover { gap: 8px; }

/* =====================================================
   HOW IT WORKS
   ===================================================== */
.how {
  padding: 112px 0;
  background: var(--bg);
}
.steps-row {
  display: flex;
  align-items: flex-start;
  gap: 0;
}
.step {
  flex: 1;
  padding: 0 32px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.step-arrow {
  flex-shrink: 0;
  font-size: 1.4rem;
  color: var(--primary-mid);
  margin-top: 10px;
  font-weight: 300;
}
.step-num {
  flex-shrink: 0;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  box-shadow: 0 4px 12px rgba(34,197,94,.3);
}
.step-body h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 10px;
  margin-top: 10px;
  letter-spacing: -0.01em;
}
.step-body p {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.7;
}

/* =====================================================
   USE CASES
   ===================================================== */
.usecases {
  padding: 112px 0;
  background: var(--white);
}
.usecase-tabs { width: 100%; }
.usecase-tab-list {
  display: flex;
  gap: 4px;
  border-bottom: 2px solid var(--border);
  margin-bottom: 40px;
  overflow-x: auto;
  scrollbar-width: none;
}
.usecase-tab-list::-webkit-scrollbar { display: none; }
.tab-btn {
  padding: 10px 20px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted);
  border-radius: var(--radius-xs) var(--radius-xs) 0 0;
  transition: color var(--transition), background var(--transition);
  white-space: nowrap;
  position: relative;
  bottom: -2px;
  border-bottom: 2px solid transparent;
}
.tab-btn:hover { color: var(--primary); background: transparent; }
.tab-btn--active {
  color: var(--primary);
  font-weight: 600;
  border-bottom-color: var(--primary);
  background: transparent;
}

.usecase-pane {
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.usecase-pane.active { display: grid; }

.usecase-text h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 20px;
  letter-spacing: -0.02em;
  line-height: 1.35;
}
.usecase-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}
.usecase-list li {
  font-size: 0.9rem;
  color: var(--text);
  padding-left: 22px;
  position: relative;
  line-height: 1.5;
}
.usecase-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
  font-size: 0.85rem;
}
.usecase-metric {
  padding: 14px 18px;
  background: var(--primary-light);
  border-left: 3px solid var(--primary);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 0.88rem;
  color: var(--text);
  line-height: 1.5;
}
.usecase-metric strong { color: var(--primary); }

/* Mock window */
.mock-window {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
}
.mock-bar {
  display: flex;
  gap: 6px;
  padding: 12px 16px;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}
.mock-bar span {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--border);
}
.mock-bar span:nth-child(1) { background: #FC5F57; }
.mock-bar span:nth-child(2) { background: #FEBC2E; }
.mock-bar span:nth-child(3) { background: #28C840; }

.mock-search {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.88rem;
}
.mock-result { padding: 8px; }
.mock-result-item {
  display: flex;
  gap: 12px;
  padding: 12px;
  border-radius: var(--radius-sm);
  transition: background var(--transition);
  margin-bottom: 4px;
}
.mock-result-item:hover { background: var(--bg); }
.mock-result-icon { font-size: 1.3rem; flex-shrink: 0; }
.mock-result-title {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 4px;
}
.mock-result-desc {
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.5;
}

/* =====================================================
   CONNECTORS
   ===================================================== */
.connectors {
  padding: 112px 0;
  background: var(--bg);
}
.connector-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.connector-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--text);
  background: var(--white);
  transition: border-color var(--transition), color var(--transition), background var(--transition), transform var(--transition);
  cursor: default;
}
.connector-pill:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-light);
  transform: translateY(-1px);
}
.connector-pill--more {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
  font-weight: 600;
}
.connector-pill--more:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  color: var(--white);
}
.connector-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.connector-dot--b    { background: #2563EB; }
.connector-dot--p    { background: #7C3AED; }
.connector-dot--g    { background: #059669; }
.connector-dot--r    { background: #DC2626; }
.connector-dot--o    { background: #D97706; }
.connector-dot--dark { background: #374151; }

/* =====================================================
   TESTIMONIALS
   ===================================================== */
.customers {
  padding: 112px 0;
  background: var(--white);
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.testimonial {
  background: var(--bg);
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid var(--border);
  transition: transform var(--transition), box-shadow var(--transition);
}
.testimonial:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.testimonial--featured {
  background: linear-gradient(145deg, #F0FDF4, #ECFDF5);
  border-color: var(--primary-mid);
}
.testimonial-stars {
  color: #F59E0B;
  font-size: 0.9rem;
  letter-spacing: 2px;
  margin-bottom: 16px;
}
.testimonial-text {
  font-size: 0.92rem;
  color: var(--dark);
  line-height: 1.72;
  margin-bottom: 24px;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.author-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  color: white;
  flex-shrink: 0;
}
.author-avatar--blue   { background: linear-gradient(135deg, #16A34A, #15803D); }
.author-avatar--purple { background: linear-gradient(135deg, #059669, #047857); }
.author-avatar--green  { background: linear-gradient(135deg, #22C55E, #16A34A); }

.testimonial-author strong {
  display: block;
  font-size: 0.88rem;
  color: var(--dark);
  margin-bottom: 2px;
}
.testimonial-author span {
  font-size: 0.78rem;
  color: var(--muted);
}

/* =====================================================
   CTA
   ===================================================== */
.cta-section {
  position: relative;
  padding: 100px 0;
  text-align: center;
  overflow: hidden;
  background: linear-gradient(135deg, #15803D 0%, #059669 100%);
}
.cta-bg-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(60px);
  opacity: 0.3;
}
.cta-bg-orb--1 {
  width: 400px; height: 400px;
  background: #86EFAC;
  top: -120px; left: -80px;
}
.cta-bg-orb--2 {
  width: 360px; height: 360px;
  background: #6EE7B7;
  bottom: -100px; right: -60px;
}
.cta-inner { position: relative; z-index: 1; }
.cta-inner h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.03em;
  margin-bottom: 14px;
}
.cta-inner p {
  font-size: 1.05rem;
  color: rgba(255,255,255,.75);
  margin-bottom: 36px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}
.cta-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.cta-note {
  font-size: 0.8rem;
  color: rgba(255,255,255,.5);
}

/* =====================================================
   FOOTER
   ===================================================== */
.footer {
  background: var(--navy);
  padding: 72px 0 0;
}
.footer-inner {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 72px;
  padding-bottom: 56px;
}
.footer-brand .nav-logo { margin-bottom: 16px; }
.footer-brand .logo-img--sm {
  background: rgba(255,255,255,1);
  border-radius: 10px;
  padding: 5px 10px;
  height: 36px;
}
.footer-brand p {
  font-size: 0.86rem;
  color: rgba(255,255,255,.42);
  line-height: 1.7;
  margin-bottom: 14px;
}
.footer-domain {
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255,255,255,.35);
  letter-spacing: 0.02em;
  transition: color var(--transition);
}
.footer-domain:hover { color: rgba(255,255,255,.7); }

.footer-links {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.footer-col h4 {
  font-size: 0.72rem;
  font-weight: 700;
  color: rgba(255,255,255,.4);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 18px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 11px; }
.footer-col a {
  font-size: 0.86rem;
  color: rgba(255,255,255,.55);
  transition: color var(--transition);
}
.footer-col a:hover { color: var(--white); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 22px 0;
}
.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-bottom-inner span {
  font-size: 0.8rem;
  color: rgba(255,255,255,.28);
}

/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .usecase-pane { grid-template-columns: 1fr; gap: 32px; }
  .usecase-visual { order: -1; }
  .footer-inner { grid-template-columns: 1fr; gap: 40px; }
  .footer-links { grid-template-columns: repeat(2, 1fr); }
}

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

  .stats-grid { flex-direction: column; gap: 0; }
  .stat-item { padding: 24px 0; width: 100%; }
  .stat-sep { width: 100%; height: 1px; }

  .features-grid { grid-template-columns: 1fr; }

  .steps-row { flex-direction: column; gap: 24px; }
  .step-arrow { display: none; }
  .step { padding: 0; }

  .testimonials-grid { grid-template-columns: 1fr; }

  .hero { padding: 72px 0 60px; }
  .footer-links { grid-template-columns: repeat(2, 1fr); }
  .footer-bottom-inner { flex-direction: column; gap: 6px; text-align: center; }
}

@media (max-width: 540px) {
  .hero-title { font-size: 2.2rem; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .cta-actions { flex-direction: column; align-items: center; }
  .footer-links { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
}

/* =====================================================
   SLACK IM MOCK
   ===================================================== */
.slack-window {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  font-size: 0.86rem;
}
.slack-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 16px;
  background: #3F0E40;
  color: rgba(255,255,255,.85);
  font-weight: 600;
  font-size: 0.88rem;
}
.slack-header-hash {
  font-size: 1.1rem;
  opacity: 0.7;
  line-height: 1;
}
.slack-messages {
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.slack-msg {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.slack-avatar {
  width: 34px;
  height: 34px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
  color: white;
}
.slack-avatar--user  { background: linear-gradient(135deg, #36C5F0, #2EB67D); }
.slack-avatar--agent { background: linear-gradient(135deg, #22C55E, #059669); font-size: 0.65rem; }

.slack-msg-body { flex: 1; min-width: 0; }
.slack-msg-meta {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 4px;
  flex-wrap: wrap;
}
.slack-msg-name {
  font-weight: 700;
  color: var(--dark);
  font-size: 0.88rem;
}
.slack-msg-badge {
  display: inline-block;
  padding: 1px 5px;
  background: var(--border);
  color: var(--muted);
  border-radius: 3px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.slack-msg-time {
  font-size: 0.74rem;
  color: var(--muted);
}
.slack-msg-text {
  color: var(--text);
  line-height: 1.55;
}
.slack-msg-text strong { color: var(--dark); }

.slack-source {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 7px;
  padding: 4px 10px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-xs);
  font-size: 0.76rem;
  color: var(--muted);
}
.slack-source::before {
  content: '📎';
  font-size: 0.8rem;
}

/* Typing dots */
.slack-typing {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 2px 0 6px;
  animation: typingFade 0.3s 2.2s forwards;
}
.slack-typing span {
  width: 7px;
  height: 7px;
  background: var(--muted);
  border-radius: 50%;
  animation: typingBounce 0.9s infinite ease-in-out;
}
.slack-typing span:nth-child(2) { animation-delay: 0.18s; }
.slack-typing span:nth-child(3) { animation-delay: 0.36s; }

@keyframes typingBounce {
  0%, 100% { transform: translateY(0);   opacity: 0.5; }
  50%       { transform: translateY(-5px); opacity: 1; }
}
@keyframes typingFade {
  to { opacity: 0; max-height: 0; padding: 0; overflow: hidden; }
}

/* Agent answer fades in after typing */
.slack-answer {
  opacity: 0;
  animation: answerReveal 0.4s 2.5s forwards;
}
@keyframes answerReveal {
  to { opacity: 1; }
}

/* =====================================================
   LANGUAGE SWITCHER
   ===================================================== */
.lang-switcher {
  position: relative;
  flex-shrink: 0;
  margin-left: 8px;
}
.lang-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 7px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text);
  background: transparent;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition), color var(--transition);
  white-space: nowrap;
}
.lang-btn:hover {
  background: var(--primary-light);
  border-color: var(--primary-mid);
  color: var(--primary);
}
.lang-btn svg { flex-shrink: 0; }

.lang-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  min-width: 130px;
  z-index: 200;
  overflow: hidden;
  list-style: none;
  padding: 4px;
}
.lang-switcher.open .lang-dropdown { display: block; }

.lang-option {
  padding: 9px 14px;
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--text);
  border-radius: var(--radius-xs);
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
}
.lang-option:hover {
  background: var(--primary-light);
  color: var(--primary);
}
.lang-option.active {
  color: var(--primary);
  font-weight: 700;
  background: var(--primary-light);
}

@media (max-width: 768px) {
  .lang-switcher { margin-left: 4px; }
  .lang-btn span:first-of-type { display: none; }
}

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

.products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

/* Analyst card spans full row to stand out */
.product-card--featured {
  grid-column: 1 / -1;
}

.product-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
}
.product-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
  border-color: var(--primary-mid);
}

.product-card--featured {
  background: linear-gradient(135deg, #FFFBEB 0%, #FFF7ED 100%);
  border-color: #FDE68A;
  position: relative;
  overflow: hidden;
}
.product-card--featured::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 240px;
  height: 240px;
  background: radial-gradient(circle, rgba(251,191,36,.18), transparent 70%);
  pointer-events: none;
}
.product-card--featured:hover {
  border-color: #F59E0B;
  box-shadow: 0 16px 48px rgba(245,158,11,.18);
}

.product-card__header {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.product-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.product-icon-wrap--blue   { background: var(--primary-light);  color: var(--primary); }
.product-icon-wrap--purple { background: var(--purple-light);   color: var(--purple); }
.product-icon-wrap--orange { background: var(--orange-light);   color: var(--orange); }
.product-icon-wrap--red    { background: var(--red-light);      color: var(--red); }
.product-icon-wrap--green  { background: var(--green-light);    color: var(--green); }

.product-name-block {
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex: 1;
}
.product-label {
  font-size: 0.73rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--muted);
}
.product-name {
  font-size: 1.22rem;
  font-weight: 700;
  color: var(--dark);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.product-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  background: var(--orange);
  color: var(--white);
  border-radius: var(--radius-full);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  flex-shrink: 0;
  align-self: flex-start;
  margin-top: 2px;
}

.product-tagline {
  font-size: 0.93rem;
  color: var(--muted);
  line-height: 1.65;
}

.product-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.product-features li {
  font-size: 0.88rem;
  color: var(--text);
  padding-left: 22px;
  position: relative;
  line-height: 1.55;
}
.product-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--primary);
  flex-shrink: 0;
}
.product-card--featured .product-features li::before {
  background: var(--orange);
}

.product-cta {
  align-self: flex-start;
  font-size: 0.86rem;
  padding: 9px 20px;
}

/* Featured layout: 2-column on wide screens */
@media (min-width: 900px) {
  .product-card--featured {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto 1fr auto;
    column-gap: 40px;
  }
  .product-card--featured .product-card__header {
    grid-column: 1;
    grid-row: 1;
  }
  .product-card--featured .product-tagline {
    grid-column: 1;
    grid-row: 2;
  }
  .product-card--featured .product-features {
    grid-column: 2;
    grid-row: 1 / 4;
    align-self: center;
  }
  .product-card--featured .product-cta {
    grid-column: 1;
    grid-row: 3;
    align-self: end;
  }
}

@media (max-width: 860px) {
  .products-grid {
    grid-template-columns: 1fr;
  }
  .product-card--featured {
    grid-column: auto;
  }
}
