/* ==========================================================================
   WABAYAR.ID — Design System & Stylesheet
   Part of Rials Solution / PT TEKNOLOGI ZETENA JUARLIN
   ========================================================================== */

:root {
  /* Color Palette - Crisp High Contrast Modern Minimalist */
  --bg-primary: #FAFAFA;
  --bg-surface: #FFFFFF;
  --bg-surface-elevated: #FFFFFF;
  --bg-subtle: #F1F5F9;
  --bg-dark: #0F172A;
  --bg-dark-card: #1E293B;

  --text-primary: #0F172A;
  --text-secondary: #475569;
  --text-muted: #64748B;
  --text-inverse: #F8FAFC;
  --text-inverse-muted: #94A3B8;

  --brand-primary: #0F172A;
  --brand-accent: #059669; /* Emerald Green - trust & fintech */
  --brand-accent-light: #ECFDF5;
  --brand-accent-border: #A7F3D0;
  
  --wa-brand: #25D366;
  --wa-brand-dark: #128C7E;
  --wa-chat-bg: #EFEAE2;
  --wa-chat-incoming: #FFFFFF;
  --wa-chat-outgoing: #D9FDD3;

  --border-subtle: #E2E8F0;
  --border-strong: #CBD5E1;
  --border-dark: #334155;

  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Raleway', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.04);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.04);

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  --transition-fast: 150ms ease;
  --transition-normal: 250ms cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button, input, select {
  font: inherit;
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 96px 0;
}

.section-title-wrap {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 56px auto;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: var(--brand-accent-light);
  border: 1px solid var(--brand-accent-border);
  color: var(--brand-accent);
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.section-title {
  font-size: 36px;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.section-desc {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Header & Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 250, 250, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
  transition: var(--transition-normal);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-primary);
}

.brand-text {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 21px;
  letter-spacing: -0.04em;
}

.brand-wa {
  color: var(--text-primary);
}

.brand-bayar {
  color: var(--brand-accent);
}

.brand-logo svg {
  width: 32px;
  height: 32px;
}

.brand-badge {
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  background: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  font-family: var(--font-display);
  letter-spacing: 0.02em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
}

.nav-link:hover {
  color: var(--text-primary);
}

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--brand-primary);
  color: var(--text-inverse);
}

.btn-primary:hover {
  background: #1e293b;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background: var(--bg-surface);
  border-color: var(--border-strong);
  color: var(--text-primary);
}

.btn-secondary:hover {
  background: var(--bg-subtle);
  border-color: var(--text-muted);
}

.btn-accent {
  background: var(--brand-accent);
  color: #FFFFFF;
}

.btn-accent:hover {
  background: #047857;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(5, 150, 105, 0.25);
}

.btn-lg {
  padding: 14px 28px;
  font-size: 16px;
  border-radius: var(--radius-lg);
}

/* Hero Section */
.hero {
  padding: 72px 0 96px 0;
  background: radial-gradient(circle at 50% 0%, #F1F5F9 0%, transparent 70%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.hero-tag .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand-accent);
}

.hero-headline {
  font-size: 48px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.04em;
  color: var(--text-primary);
  margin-bottom: 20px;
}

.hero-headline span.highlight {
  color: var(--brand-accent);
  position: relative;
  display: inline-block;
}

.hero-subheadline {
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 32px;
  max-width: 540px;
}

.hero-cta-wrap {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 40px;
}

.hero-trust-row {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
  width: 100%;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
}

.trust-item svg {
  color: var(--brand-accent);
  flex-shrink: 0;
}

/* Phone / WhatsApp Mockup Simulator */
.phone-mockup {
  width: 100%;
  max-width: 380px;
  margin: 0 auto;
  background: #111827;
  border-radius: 36px;
  padding: 12px;
  box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.25), 0 0 0 1px rgba(255, 255, 255, 0.1);
  position: relative;
}

.phone-screen {
  background: var(--wa-chat-bg);
  border-radius: 28px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 580px;
  position: relative;
}

.phone-notch {
  width: 120px;
  height: 18px;
  background: #111827;
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}

.wa-header {
  background: var(--wa-brand-dark);
  color: #FFFFFF;
  padding: 24px 16px 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.wa-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #064E3B;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  color: #FFFFFF;
  border: 1px solid rgba(255,255,255,0.2);
}

.wa-info h4 {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  display: flex;
  align-items: center;
  gap: 4px;
}

.wa-badge-official {
  display: inline-flex;
  width: 14px;
  height: 14px;
  color: #38BDF8;
}

.wa-info p {
  font-size: 11px;
  opacity: 0.85;
}

.wa-chat-body {
  flex: 1;
  padding: 16px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.chat-bubble {
  max-width: 85%;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 13px;
  line-height: 1.45;
  box-shadow: 0 1px 1px rgba(0,0,0,0.08);
  position: relative;
  animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.bubble-outgoing {
  align-self: flex-end;
  background: var(--wa-chat-outgoing);
  border-top-right-radius: 2px;
}

.bubble-incoming {
  align-self: flex-start;
  background: var(--wa-chat-incoming);
  border-top-left-radius: 2px;
}

.chat-time {
  font-size: 10px;
  color: #8696A0;
  float: right;
  margin-top: 4px;
  margin-left: 8px;
}

/* WhatsApp Interactive Flow Card */
.wa-flow-card {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 12px;
  margin-top: 6px;
  box-shadow: var(--shadow-sm);
}

.wa-flow-header {
  font-weight: 700;
  font-size: 13px;
  color: var(--text-primary);
  margin-bottom: 8px;
  border-bottom: 1px dashed var(--border-subtle);
  padding-bottom: 6px;
}

.wa-flow-row {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  margin-bottom: 4px;
  color: var(--text-secondary);
}

.wa-flow-total {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 700;
  color: var(--brand-accent);
  margin-top: 8px;
  padding-top: 6px;
  border-top: 1px solid var(--border-subtle);
}

/* QRIS Box inside Simulator */
.wa-qris-box {
  background: #FFFFFF;
  border-radius: 10px;
  padding: 10px;
  text-align: center;
  border: 1px solid #CBD5E1;
  margin-top: 8px;
}

.qris-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.qris-badge {
  font-size: 10px;
  font-weight: 800;
  padding: 2px 6px;
  background: #EF4444;
  color: #FFFFFF;
  border-radius: 3px;
  letter-spacing: 0.5px;
}

.qris-qr-image {
  width: 140px;
  height: 140px;
  margin: 0 auto 8px auto;
  background: #000000;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
}

.qris-qr-image img, .qris-qr-image svg {
  width: 100%;
  height: 100%;
}

.qris-amount {
  font-size: 14px;
  font-weight: 800;
  color: var(--text-primary);
}

.qris-expiry {
  font-size: 10px;
  color: #64748B;
}

.sim-controls {
  padding: 10px;
  background: #FFFFFF;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  gap: 8px;
}

.sim-btn {
  flex: 1;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  font-size: 11px;
  font-weight: 700;
  border: 1px solid var(--border-strong);
  background: var(--bg-subtle);
  cursor: pointer;
  transition: all var(--transition-fast);
  text-align: center;
}

.sim-btn:hover {
  background: var(--brand-accent);
  color: #FFFFFF;
  border-color: var(--brand-accent);
}

.sim-btn.active {
  background: var(--brand-primary);
  color: #FFFFFF;
  border-color: var(--brand-primary);
}

/* Feature 4-Step Payment Flow Section */
.flow-section {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.flow-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}

.flow-card {
  background: var(--bg-primary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
  position: relative;
}

.flow-card:hover {
  transform: translateY(-4px);
  border-color: var(--brand-accent);
  box-shadow: var(--shadow-lg);
  background: #FFFFFF;
}

.flow-step-num {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  background: var(--brand-primary);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 15px;
  margin-bottom: 20px;
}

.flow-card:hover .flow-step-num {
  background: var(--brand-accent);
}

.flow-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.flow-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 20px;
}

.flow-pill-list {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 12px;
  border-top: 1px dashed var(--border-subtle);
}

.flow-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: #FFFFFF;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 600;
  color: var(--text-primary);
  box-shadow: var(--shadow-sm);
}

.flow-card:hover .flow-pill {
  border-color: var(--brand-accent);
  background: var(--brand-accent-light);
  color: var(--brand-accent);
}

/* Industry Use Cases Section */
.usecase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.usecase-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 36px 28px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
}

.usecase-card:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow-xl);
  transform: translateY(-3px);
}

.usecase-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-lg);
  background: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 20px;
}

.usecase-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}

.usecase-badge {
  font-size: 12px;
  font-weight: 600;
  color: var(--brand-accent);
  margin-bottom: 16px;
}

.usecase-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 16px;
}

.usecase-list li {
  font-size: 14px;
  color: var(--text-secondary);
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.usecase-list li svg {
  color: var(--brand-accent);
  flex-shrink: 0;
  margin-top: 3px;
}

/* Interactive Pricing & Calculator Section */
.pricing-section {
  background: #FFFFFF;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

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

.pricing-card-main {
  background: var(--bg-dark);
  color: #FFFFFF;
  border-radius: var(--radius-xl);
  padding: 48px;
  box-shadow: var(--shadow-xl);
  position: relative;
  overflow: hidden;
}

.pricing-formula-badge {
  display: inline-block;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #34D399;
  font-weight: 700;
  font-size: 13px;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 20px;
}

.pricing-big-num {
  font-size: 56px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  margin-bottom: 8px;
  color: #FFFFFF;
}

.pricing-big-num span {
  font-size: 24px;
  font-weight: 600;
  color: var(--text-inverse-muted);
}

.pricing-breakdown {
  margin: 32px 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.breakdown-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-dark);
  font-size: 15px;
}

.breakdown-row span.label {
  color: var(--text-inverse-muted);
}

.breakdown-row span.val {
  font-weight: 700;
  color: #F8FAFC;
}

/* Calculator Box */
.calc-card {
  background: var(--bg-primary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-md);
}

.calc-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 8px;
}

.calc-desc {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 28px;
}

.calc-input-group {
  margin-bottom: 24px;
}

.calc-label {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 10px;
}

.calc-slider {
  width: 100%;
  height: 8px;
  border-radius: var(--radius-full);
  background: var(--border-strong);
  outline: none;
  -webkit-appearance: none;
  cursor: pointer;
}

.calc-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--brand-accent);
  box-shadow: var(--shadow-md);
  border: 2px solid #FFFFFF;
}

.calc-result-box {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-top: 32px;
}

.calc-result-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  text-align: center;
}

.calc-stat-label {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.calc-stat-val {
  font-size: 18px;
  font-weight: 800;
  color: var(--text-primary);
}

.calc-stat-val.accent {
  color: var(--brand-accent);
}

/* API / Developer Section */
.api-section {
  background: var(--bg-dark);
  color: #FFFFFF;
}

.api-section .section-title {
  color: #FFFFFF;
}

.api-section .section-desc {
  color: var(--text-inverse-muted);
}

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

.api-features {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.api-item {
  display: flex;
  gap: 16px;
}

.api-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: var(--bg-dark-card);
  border: 1px solid var(--border-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #34D399;
  flex-shrink: 0;
}

.api-item h4 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 6px;
}

.api-item p {
  font-size: 14px;
  color: var(--text-inverse-muted);
  line-height: 1.5;
}

.code-window {
  background: #090D16;
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.code-header {
  background: #111827;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-dark);
}

.code-dots {
  display: flex;
  gap: 6px;
}

.code-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dot-red { background: #EF4444; }
.dot-yellow { background: #F59E0B; }
.dot-green { background: #10B981; }

.code-file {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-inverse-muted);
}

.code-content {
  padding: 20px;
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.6;
  color: #E2E8F0;
  overflow-x: auto;
}

.token-keyword { color: #F472B6; }
.token-string { color: #34D399; }
.token-key { color: #38BDF8; }
.token-number { color: #FBBF24; }
.token-comment { color: #64748B; font-style: italic; }

/* Legal & Trust Badge Bar */
.trust-banner {
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-subtle);
  padding: 40px 0;
}

.trust-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}

.legal-entity-box {
  display: flex;
  align-items: center;
  gap: 16px;
}

.legal-icon {
  width: 48px;
  height: 48px;
  background: var(--bg-subtle);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
}

.legal-info h5 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
}

.legal-info p {
  font-size: 13px;
  color: var(--text-muted);
}

.partner-badges {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.partner-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
}

/* FAQ Section */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color var(--transition-fast);
}

.faq-question {
  padding: 20px 24px;
  font-size: 16px;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  user-select: none;
}

.faq-answer {
  padding: 0 24px 20px 24px;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  display: none;
}

.faq-item.active .faq-answer {
  display: block;
}

.faq-toggle {
  transition: transform var(--transition-fast);
}

.faq-item.active .faq-toggle {
  transform: rotate(180deg);
}

/* Footer */
.footer {
  background: #090D16;
  color: #94A3B8;
  padding: 64px 0 32px 0;
  border-top: 1px solid var(--border-dark);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand h4 {
  font-size: 20px;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 12px;
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.6;
  max-width: 320px;
  margin-bottom: 16px;
}

.footer-links h5 {
  font-size: 14px;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 16px;
}

.footer-links ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 13px;
  color: #94A3B8;
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: #FFFFFF;
}

.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid var(--border-dark);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
}

/* Responsive */
@media (max-width: 992px) {
  .hero-grid, .pricing-grid, .api-grid {
    grid-template-columns: 1fr;
  }

  .flow-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

  .hero-headline {
    font-size: 38px;
  }
}

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

  .nav-links {
    display: none;
  }

  .calc-result-grid {
    grid-template-columns: 1fr;
  }

  .hero-headline {
    font-size: 32px;
  }

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

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}
