/* ==========================================================================
   RistoUp PRO - Landing Page Stylesheet
   Modern, High-Converting, Dark Glassmorphism Design
   ========================================================================== */

:root {
  --bg-primary: #090d16;
  --bg-secondary: #0f172a;
  --bg-card: rgba(17, 24, 39, 0.75);
  --bg-card-hover: rgba(30, 41, 59, 0.85);
  --bg-glass: rgba(255, 255, 255, 0.04);
  
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(245, 158, 11, 0.35);
  
  --primary: #f59e0b;
  --primary-hover: #d97706;
  --primary-glow: rgba(245, 158, 11, 0.25);
  
  --accent-orange: #ea580c;
  --accent-emerald: #10b981;
  --accent-emerald-glow: rgba(16, 185, 129, 0.25);
  --accent-blue: #3b82f6;
  --accent-purple: #8b5cf6;
  
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  
  --font-main: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.25);
  --shadow-lg: 0 20px 40px -15px rgba(0, 0, 0, 0.6);
  --shadow-glow: 0 0 35px -5px rgba(245, 158, 11, 0.3);
  --shadow-emerald: 0 0 30px -5px rgba(16, 185, 129, 0.3);
}

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

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

body {
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

/* Background Gradients & Ambient Lights */
.ambient-glow-1 {
  position: absolute;
  top: -150px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 600px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.15) 0%, rgba(234, 88, 12, 0.08) 40%, transparent 70%);
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}

.ambient-glow-2 {
  position: absolute;
  top: 1400px;
  right: -100px;
  width: 700px;
  height: 600px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.12) 0%, rgba(59, 130, 246, 0.05) 50%, transparent 70%);
  filter: blur(90px);
  pointer-events: none;
  z-index: 0;
}

.ambient-glow-3 {
  position: absolute;
  top: 2800px;
  left: -100px;
  width: 800px;
  height: 700px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.1) 0%, rgba(245, 158, 11, 0.06) 50%, transparent 70%);
  filter: blur(100px);
  pointer-events: none;
  z-index: 0;
}

/* Grid overlay background */
.grid-overlay {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  z-index: 0;
}

/* Layout Container */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* Typography Utilities */
.gradient-text {
  background: linear-gradient(135deg, #fef08a 0%, #f59e0b 50%, #ea580c 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-text-emerald {
  background: linear-gradient(135deg, #a7f3d0 0%, #10b981 50%, #059669 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Header & Nav */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: rgba(9, 13, 22, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  transition: all 0.3s ease;
}

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

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-main);
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}

.brand-badge {
  background: linear-gradient(135deg, var(--primary), var(--accent-orange));
  color: #000;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

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

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 12px 22px;
  border-radius: var(--radius-md);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent-orange) 100%);
  color: #0b0f17;
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(245, 158, 11, 0.5);
  background: linear-gradient(135deg, #fbbf24 0%, #f97316 100%);
}

.btn-emerald {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.35);
}

.btn-emerald:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(16, 185, 129, 0.5);
}

.btn-secondary {
  background: var(--bg-glass);
  color: var(--text-main);
  border: 1px solid var(--border-subtle);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 15px 30px;
  font-size: 1.05rem;
  border-radius: var(--radius-lg);
}

/* Mobile Menu Button */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-main);
  cursor: pointer;
  padding: 8px;
}

/* Hero Section */
.hero-section {
  padding: 90px 0 70px;
  text-align: center;
  position: relative;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.25);
  color: var(--primary);
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 28px;
  box-shadow: 0 0 20px rgba(245, 158, 11, 0.15);
}

.hero-pill-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
  animation: pulse-dot 2s infinite;
}

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

.hero-title {
  font-size: clamp(2.3rem, 5vw, 4.2rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  max-width: 950px;
  margin: 0 auto 24px;
}

.hero-subtitle {
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  color: var(--text-muted);
  max-width: 760px;
  margin: 0 auto 40px;
  line-height: 1.65;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-bottom: 50px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  padding-top: 30px;
  border-top: 1px solid var(--border-subtle);
  max-width: 800px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat-num {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-main);
}

.stat-desc {
  font-size: 0.82rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

/* Interactive Simulator / Interactive Tabs */
.demo-section {
  padding: 60px 0 100px;
}

.demo-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg), 0 0 50px -10px rgba(0, 0, 0, 0.8);
  overflow: hidden;
  backdrop-filter: blur(20px);
}

.demo-tabs-nav {
  display: flex;
  border-bottom: 1px solid var(--border-subtle);
  background: rgba(15, 23, 42, 0.8);
  overflow-x: auto;
}

.demo-tab-btn {
  flex: 1;
  min-width: 220px;
  padding: 20px 24px;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-family: inherit;
  font-size: 0.96rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  border-bottom: 3px solid transparent;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.demo-tab-btn:hover {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.02);
}

.demo-tab-btn.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
  background: rgba(245, 158, 11, 0.05);
}

.demo-tab-content {
  display: none;
  padding: 40px;
}

.demo-tab-content.active {
  display: block;
  animation: fadeIn 0.3s ease forwards;
}

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

/* Simulator Tab 1: AI Menu OCR */
.ai-sim-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}

.chalkboard-box {
  background: #18221b;
  border: 4px solid #3e2e1a;
  box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.7);
  border-radius: 12px;
  padding: 28px;
  position: relative;
  min-height: 400px;
  font-family: 'Comic Sans MS', cursive, sans-serif;
  color: #f1f5f9;
}

.chalkboard-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #cbd5e1;
  font-family: var(--font-main);
  font-size: 0.75rem;
  padding: 3px 10px;
  border-radius: var(--radius-full);
}

.chalk-text {
  font-size: 1.15rem;
  line-height: 1.8;
  opacity: 0.95;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.8);
}

.chalk-title {
  text-align: center;
  font-size: 1.6rem;
  text-decoration: underline wavy #f59e0b;
  margin-bottom: 20px;
}

.scan-laser-line {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, #10b981, #f59e0b, transparent);
  box-shadow: 0 0 15px #10b981;
  animation: scanMove 3s infinite alternate ease-in-out;
  display: none;
}

@keyframes scanMove {
  0% { top: 5%; }
  100% { top: 95%; }
}

.ai-output-box {
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 24px;
}

.dish-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  margin-bottom: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.dish-info h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.dish-info p {
  font-size: 0.85rem;
  color: var(--text-dim);
}

.dish-badges {
  display: flex;
  gap: 6px;
  margin-top: 6px;
}

.badge-tag {
  font-size: 0.7rem;
  padding: 2px 7px;
  border-radius: 4px;
  font-weight: 600;
}

.badge-veg { background: rgba(16, 185, 129, 0.2); color: #34d399; }
.badge-allergen { background: rgba(239, 68, 68, 0.15); color: #f87171; }
.dish-price {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--primary);
}

/* Simulator Tab 2: KDS Kitchen Display */
.kds-sim-wrap {
  background: #0b0f19;
  border-radius: 12px;
  padding: 20px;
}

.kds-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--border-subtle);
}

.kds-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.kds-card {
  background: #131d2e;
  border: 2px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.kds-card.status-prep {
  border-color: #f59e0b;
}

.kds-card.status-ready {
  border-color: #10b981;
}

.kds-card-head {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
}

.kds-order-num {
  font-weight: 800;
  font-size: 1.1rem;
}

.kds-timer {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--text-dim);
}

.kds-item-row {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.08);
  font-size: 0.92rem;
}

.kds-btn-action {
  width: 100%;
  margin-top: 14px;
  padding: 10px;
  font-weight: 700;
  border-radius: 6px;
  cursor: pointer;
  border: none;
  font-size: 0.9rem;
  transition: all 0.2s;
}

/* Feature Grid Section */
.features-section {
  padding: 90px 0;
}

.section-head {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 60px;
}

.section-tag {
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.1rem;
  line-height: 1.6;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: rgba(245, 158, 11, 0.3);
  box-shadow: 0 15px 30px -10px rgba(0, 0, 0, 0.5);
}

.feature-icon-wrap {
  width: 58px;
  height: 58px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  font-size: 1.5rem;
}

.icon-amber { background: rgba(245, 158, 11, 0.15); color: var(--primary); border: 1px solid rgba(245, 158, 11, 0.3); }
.icon-emerald { background: rgba(16, 185, 129, 0.15); color: var(--accent-emerald); border: 1px solid rgba(16, 185, 129, 0.3); }
.icon-blue { background: rgba(59, 130, 246, 0.15); color: var(--accent-blue); border: 1px solid rgba(59, 130, 246, 0.3); }
.icon-orange { background: rgba(234, 88, 12, 0.15); color: var(--accent-orange); border: 1px solid rgba(234, 88, 12, 0.3); }
.icon-purple { background: rgba(139, 92, 246, 0.15); color: var(--accent-purple); border: 1px solid rgba(139, 92, 246, 0.3); }

.feature-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.feature-desc {
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.6;
}

/* Pricing Section */
.pricing-section {
  padding: 90px 0;
  background: linear-gradient(180deg, transparent 0%, rgba(15, 23, 42, 0.4) 50%, transparent 100%);
}

.pricing-toggle-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 50px;
}

.toggle-label {
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--text-muted);
  cursor: pointer;
}

.toggle-label.active {
  color: var(--text-main);
}

.toggle-switch {
  width: 56px;
  height: 30px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  position: relative;
  cursor: pointer;
  border: 1px solid var(--border-subtle);
  transition: background 0.3s;
}

.toggle-handle {
  width: 22px;
  height: 22px;
  background: var(--primary);
  border-radius: 50%;
  position: absolute;
  top: 3px;
  left: 4px;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 5px rgba(0,0,0,0.4);
}

.toggle-switch.annual .toggle-handle {
  transform: translateX(26px);
}

.save-badge {
  background: rgba(16, 185, 129, 0.18);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.3);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 6px;
  text-transform: uppercase;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  align-items: stretch;
}

.price-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: all 0.3s ease;
}

.price-card.featured {
  border-color: var(--primary);
  background: linear-gradient(180deg, rgba(30, 41, 59, 0.8) 0%, rgba(15, 23, 42, 0.9) 100%);
  box-shadow: 0 15px 40px -10px rgba(245, 158, 11, 0.25);
  transform: scale(1.03);
}

.featured-ribbon {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--primary), var(--accent-orange));
  color: #0b0f17;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 4px 16px;
  border-radius: var(--radius-full);
  letter-spacing: 0.05em;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.4);
}

.plan-name {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.plan-desc {
  font-size: 0.92rem;
  color: var(--text-dim);
  margin-bottom: 24px;
  min-height: 44px;
}

.plan-price-wrap {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 30px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-subtle);
}

.price-currency {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-main);
}

.price-amount {
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1;
}

.price-period {
  color: var(--text-dim);
  font-size: 0.92rem;
}

.plan-features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 36px;
}

.plan-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.94rem;
  color: var(--text-muted);
}

.plan-feature-item svg {
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--accent-emerald);
}

/* FAQ Accordion */
.faq-section {
  padding: 90px 0;
}

.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.faq-item.active {
  border-color: rgba(245, 158, 11, 0.4);
}

.faq-question {
  width: 100%;
  padding: 22px 24px;
  background: transparent;
  border: none;
  color: var(--text-main);
  font-family: inherit;
  font-size: 1.05rem;
  font-weight: 700;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  gap: 16px;
}

.faq-icon {
  transition: transform 0.3s ease;
  color: var(--primary);
  flex-shrink: 0;
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1), padding 0.35s ease;
  color: var(--text-muted);
  font-size: 0.96rem;
  line-height: 1.65;
  padding: 0 24px;
}

.faq-item.active .faq-answer {
  max-height: 350px;
  padding: 0 24px 24px;
}

/* CTA Banner Bottom */
.cta-banner {
  padding: 70px 0;
  margin: 40px 0 90px;
}

.cta-box {
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.9) 0%, rgba(15, 23, 42, 0.95) 100%);
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: var(--radius-lg);
  padding: 60px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 50px -15px rgba(0, 0, 0, 0.8), 0 0 40px rgba(245, 158, 11, 0.1);
}

.cta-box-glow {
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 500px;
  height: 250px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.25) 0%, transparent 70%);
  filter: blur(50px);
  pointer-events: none;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border-subtle);
  background: #060910;
  padding: 60px 0 30px;
  font-size: 0.92rem;
  color: var(--text-dim);
}

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

.footer-brand p {
  margin-top: 14px;
  line-height: 1.6;
  max-width: 320px;
}

.footer-col h5 {
  color: var(--text-main);
  font-size: 0.98rem;
  font-weight: 700;
  margin-bottom: 18px;
}

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

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--primary);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

/* Modal for Direct Activation / WhatsApp checkout */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-backdrop.active {
  display: flex;
  animation: fadeIn 0.25s ease;
}

.modal-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  max-width: 520px;
  width: 100%;
  padding: 36px;
  position: relative;
  box-shadow: var(--shadow-lg), 0 0 40px rgba(245, 158, 11, 0.2);
}

.modal-close-btn {
  position: absolute;
  top: 18px;
  right: 18px;
  background: transparent;
  border: none;
  color: var(--text-dim);
  cursor: pointer;
  padding: 6px;
  font-size: 1.2rem;
  transition: color 0.2s;
}

.modal-close-btn:hover {
  color: var(--text-main);
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .nav-links { display: none; }
  .mobile-toggle { display: block; }
  .ai-sim-grid { grid-template-columns: 1fr; }
  .price-card.featured { transform: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .footer-grid { grid-template-columns: 1fr; }
  .demo-tab-content { padding: 20px 14px; }
  .hero-cta-group { flex-direction: column; width: 100%; }
  .btn { width: 100%; }
  .nav-actions .btn { display: none; }
}
