/* ============================================
   NusaNiaga — Light Mode Indonesian Theme
   ============================================ */

/* ---------- Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800;900&display=swap');

/* ---------- CSS Variables ---------- */
:root {
  /* Indonesian Cultural Colors */
  --garuda-red: #E31C23;
  --garuda-red-light: #FDE8E9;
  --garuda-red-dark: #B81419;
  --archipelago-blue: #0057A3;
  --archipelago-blue-light: #E6F0FA;
  --archipelago-blue-dark: #003D73;
  --golden-prosperity: #F5B800;
  --golden-prosperity-light: #FEF5D4;
  --emerald-nusantara: #1FAF5B;
  --emerald-nusantara-light: #E5F7ED;

  /* Backgrounds */
  --bg-primary: #FFFFFF;
  --bg-secondary: #F4F6F8;
  --bg-tertiary: #EDF0F4;
  --bg-card: #FFFFFF;
  --bg-card-hover: #FAFBFC;
  --bg-hero: linear-gradient(160deg, #F4F6F8 0%, #FFFFFF 40%, #E6F0FA 70%, #F4F6F8 100%);

  /* Text */
  --text-primary: #2E2E2E;
  --text-secondary: #5A5A6E;
  --text-muted: #8E8E9F;

  /* Borders */
  --border-subtle: #E8EBF0;
  --border-card: #DDE2E8;

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #E31C23, #B81419);
  --gradient-blue: linear-gradient(135deg, #0057A3, #003D73);
  --gradient-warm: linear-gradient(135deg, #F5B800, #E5A800);
  --gradient-green: linear-gradient(135deg, #1FAF5B, #178F4A);
  --gradient-hero-accent: linear-gradient(135deg, #E31C23, #0057A3);

  /* Typography */
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading: 'Outfit', 'Inter', sans-serif;

  /* Spacing */
  --section-padding: 100px 0;
  --container-max: 1200px;

  /* Animation */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: 0.2s ease;
  --transition-medium: 0.4s var(--ease-out-expo);
  --transition-slow: 0.8s var(--ease-out-expo);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
}

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

img {
  max-width: 100%;
  display: block;
}

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
  color: inherit;
}

/* ---------- Utility ---------- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

.section-label {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--garuda-red);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
  color: var(--text-primary);
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 640px;
  line-height: 1.7;
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-header .section-subtitle {
  margin: 0 auto;
}

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--ease-out-expo), transform 0.7s var(--ease-out-expo);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* ---------- Batik Pattern Overlay ---------- */
.batik-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23E31C23' fill-opacity='1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

/* ---------- Navigation ---------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 18px 0;
  transition: background 0.3s, padding 0.3s, box-shadow 0.3s;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 12px 0;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
  border-bottom: 1px solid var(--border-subtle);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--garuda-red);
}

.nav-logo span {
  color: var(--archipelago-blue);
}

.nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
  position: relative;
}

.nav-links a:hover {
  color: var(--garuda-red);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--garuda-red);
  transition: width var(--transition-medium);
  border-radius: 2px;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  padding: 10px 24px !important;
  border-radius: 10px;
  background: var(--gradient-primary) !important;
  color: white !important;
  font-weight: 600 !important;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast) !important;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(227, 28, 35, 0.25);
}

.nav-cta::after {
  display: none !important;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1001;
}

.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  transition: var(--transition-fast);
  border-radius: 2px;
}

.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ---------- Hero Section ---------- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: var(--bg-hero);
  padding-top: 80px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.12;
  animation: float 20s ease-in-out infinite;
}

.hero-orb-1 {
  width: 600px;
  height: 600px;
  background: var(--garuda-red);
  top: -200px;
  right: -100px;
}

.hero-orb-2 {
  width: 400px;
  height: 400px;
  background: var(--archipelago-blue);
  bottom: -100px;
  left: -100px;
  animation-delay: -7s;
}

.hero-orb-3 {
  width: 300px;
  height: 300px;
  background: var(--golden-prosperity);
  top: 40%;
  left: 50%;
  animation-delay: -14s;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(30px, -40px) scale(1.05); }
  50% { transform: translate(-20px, 20px) scale(0.95); }
  75% { transform: translate(40px, 30px) scale(1.02); }
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,87,163,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,87,163,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black, transparent);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black, transparent);
}

.hero .container {
  position: relative;
  z-index: 2;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: white;
  border: 1px solid var(--border-card);
  border-radius: 50px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 32px;
  animation: fadeInUp 0.8s var(--ease-out-expo);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.hero-badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--garuda-red);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(227, 28, 35, 0.3); }
  50% { opacity: 0.7; box-shadow: 0 0 0 8px rgba(227, 28, 35, 0); }
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.8rem, 6vw, 4.8rem);
  font-weight: 900;
  line-height: 1.08;
  margin-bottom: 24px;
  color: var(--text-primary);
  animation: fadeInUp 0.8s var(--ease-out-expo) 0.1s both;
}

.hero-title .gradient-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-title .gradient-text-alt {
  background: var(--gradient-blue);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  color: var(--text-secondary);
  max-width: 700px;
  margin: 0 auto 40px;
  line-height: 1.7;
  animation: fadeInUp 0.8s var(--ease-out-expo) 0.2s both;
}

.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s var(--ease-out-expo) 0.3s both;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 32px;
  background: var(--gradient-primary);
  color: white;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 12px;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 32px rgba(227, 28, 35, 0.25);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 32px;
  background: white;
  border: 2px solid var(--border-card);
  color: var(--text-primary);
  font-weight: 600;
  font-size: 1rem;
  border-radius: 12px;
  transition: transform var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.btn-secondary:hover {
  transform: translateY(-3px);
  border-color: var(--archipelago-blue);
  box-shadow: 0 8px 24px rgba(0, 87, 163, 0.1);
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 48px;
  margin-top: 64px;
  animation: fadeInUp 0.8s var(--ease-out-expo) 0.5s both;
}

.hero-stat {
  text-align: center;
}

.hero-stat .stat-number {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--archipelago-blue);
}

.hero-stat .stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 4px;
}

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

/* ---------- Problem Section ---------- */
.problems {
  padding: var(--section-padding);
  position: relative;
  background: var(--bg-secondary);
}

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

.problem-card {
  padding: 36px 28px;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 16px;
  transition: transform var(--transition-medium), box-shadow var(--transition-medium);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.03);
}

.problem-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.07);
}

.problem-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.4rem;
}

.problem-icon.sme { background: var(--garuda-red-light); color: var(--garuda-red); }
.problem-icon.finance { background: var(--golden-prosperity-light); color: var(--golden-prosperity); }
.problem-icon.gov { background: var(--archipelago-blue-light); color: var(--archipelago-blue); }

.problem-card h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 14px;
  color: var(--text-primary);
}

.problem-card ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.problem-card li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.problem-card li::before {
  content: '';
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--garuda-red);
  margin-top: 8px;
  opacity: 0.6;
}

/* ---------- Solution Section ---------- */
.solution {
  padding: var(--section-padding);
  position: relative;
}

.solution-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.solution-text {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.solution-features {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 8px;
}

.solution-feature {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.solution-feature-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--archipelago-blue-light);
  border: 1px solid var(--border-card);
  color: var(--archipelago-blue);
}

.solution-feature h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 3px;
  color: var(--text-primary);
}

.solution-feature p {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.solution-visual {
  position: relative;
}

.solution-mockup {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 16px;
  padding: 28px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
}

.mockup-header {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
}

.mockup-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.mockup-dot:nth-child(1) { background: #ff5f57; }
.mockup-dot:nth-child(2) { background: #febc2e; }
.mockup-dot:nth-child(3) { background: #28c840; }

.mockup-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mockup-chat {
  padding: 14px 16px;
  border-radius: 12px;
  background: var(--bg-secondary);
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.mockup-chat.ai {
  border-left: 3px solid var(--archipelago-blue);
  background: var(--archipelago-blue-light);
}

.mockup-chat .chat-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--archipelago-blue);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.mockup-glow {
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: var(--archipelago-blue);
  filter: blur(100px);
  opacity: 0.05;
  bottom: -60px;
  right: -60px;
}

/* ---------- Platform Interfaces ---------- */
.platforms {
  padding: var(--section-padding);
  position: relative;
  background: var(--bg-secondary);
}

.platform-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 44px;
  flex-wrap: wrap;
}

.platform-tab {
  padding: 12px 26px;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
  background: white;
  border: 1px solid var(--border-card);
  transition: all var(--transition-fast);
}

.platform-tab.active {
  background: var(--gradient-blue);
  color: white;
  border-color: transparent;
  box-shadow: 0 4px 16px rgba(0, 87, 163, 0.2);
}

.platform-tab:hover:not(.active) {
  border-color: var(--archipelago-blue);
  color: var(--archipelago-blue);
}

.platform-panels {
  position: relative;
}

.platform-panel {
  display: none;
  animation: fadeIn 0.5s var(--ease-out-expo);
}

.platform-panel.active {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  align-items: center;
}

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

.platform-info h3 {
  font-family: var(--font-heading);
  font-size: 1.7rem;
  font-weight: 700;
  margin-bottom: 14px;
  color: var(--text-primary);
}

.platform-info p {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: 24px;
  line-height: 1.7;
}

.platform-feature-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.platform-feature-item {
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.platform-feature-item .check-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: var(--emerald-nusantara-light);
  color: var(--emerald-nusantara);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
}

.platform-preview {
  background: white;
  border: 1px solid var(--border-card);
  border-radius: 16px;
  padding: 24px;
  min-height: 340px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.04);
}

.preview-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-subtle);
}

.preview-topbar h4 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
}

.preview-status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: var(--emerald-nusantara);
  font-weight: 500;
}

.preview-status .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--emerald-nusantara);
}

.preview-cards {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.preview-card {
  padding: 14px 16px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background var(--transition-fast);
}

.preview-card:hover {
  background: var(--bg-tertiary);
}

.preview-card-left {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.preview-card-title {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-primary);
}

.preview-card-desc {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.preview-card-badge {
  padding: 4px 12px;
  border-radius: 8px;
  font-size: 0.73rem;
  font-weight: 600;
}

.badge-low { background: var(--emerald-nusantara-light); color: var(--emerald-nusantara); }
.badge-medium { background: var(--golden-prosperity-light); color: #B8860B; }
.badge-high { background: var(--garuda-red-light); color: var(--garuda-red); }

/* Telegram-style preview */
.telegram-preview {
  background: white;
  border: 1px solid var(--border-card);
  border-radius: 16px;
  padding: 24px;
  min-height: 340px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.04);
}

.tg-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 14px;
}

.tg-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  color: white;
}

.tg-name {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-primary);
}

.tg-status {
  font-size: 0.78rem;
  color: var(--emerald-nusantara);
}

.tg-messages {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.tg-msg {
  padding: 12px 16px;
  border-radius: 14px;
  font-size: 0.85rem;
  line-height: 1.5;
  max-width: 80%;
}

.tg-msg.user {
  background: var(--archipelago-blue);
  color: white;
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}

.tg-msg.bot {
  background: var(--bg-secondary);
  border: 1px solid var(--border-card);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
  color: var(--text-secondary);
}

.tg-msg .highlight {
  color: var(--garuda-red);
  font-weight: 600;
}

/* Government preview */
.gov-preview {
  background: white;
  border: 1px solid var(--border-card);
  border-radius: 16px;
  padding: 24px;
  min-height: 340px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.04);
}

.gov-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 14px;
}

.gov-topbar h4 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
}

.gov-metric-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 14px;
}

.gov-metric {
  padding: 14px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
}

.gov-metric-value {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
}

.gov-metric-value.blue { color: var(--archipelago-blue); }
.gov-metric-value.teal { color: var(--emerald-nusantara); }
.gov-metric-value.gold { color: #B8860B; }
.gov-metric-value.purple { color: var(--garuda-red); }

.gov-metric-label {
  font-size: 0.73rem;
  color: var(--text-muted);
  margin-top: 3px;
}

.gov-chart {
  padding: 14px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
}

.gov-chart-title {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.gov-bars {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 72px;
}

.gov-bar {
  flex: 1;
  border-radius: 3px 3px 0 0;
  background: var(--gradient-blue);
  opacity: 0.7;
  transition: opacity var(--transition-fast);
  min-height: 8px;
}

.gov-bar:hover { opacity: 1; }

/* ---------- Core Modules ---------- */
.modules {
  padding: var(--section-padding);
  position: relative;
}

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

.module-card {
  padding: 28px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 16px;
  cursor: pointer;
  transition: transform var(--transition-medium), box-shadow var(--transition-medium);
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.module-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  border-radius: 16px 16px 0 0;
  opacity: 0;
  transition: opacity var(--transition-medium);
}

.module-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.08);
}

.module-card:hover::before {
  opacity: 1;
}

.module-card:nth-child(1)::before { background: var(--garuda-red); }
.module-card:nth-child(2)::before { background: var(--archipelago-blue); }
.module-card:nth-child(3)::before { background: var(--emerald-nusantara); }
.module-card:nth-child(4)::before { background: var(--golden-prosperity); }
.module-card:nth-child(5)::before { background: var(--garuda-red); }
.module-card:nth-child(6)::before { background: var(--archipelago-blue); }
.module-card:nth-child(7)::before { background: var(--emerald-nusantara); }
.module-card:nth-child(8)::before { background: var(--golden-prosperity); }
.module-card:nth-child(9)::before { background: var(--garuda-red); }

.module-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  color: var(--archipelago-blue);
  transition: background var(--transition-fast), color var(--transition-fast);
}

.module-card:hover .module-icon {
  background: var(--archipelago-blue-light);
}

.module-card h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.module-card p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.module-details {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s var(--ease-out-expo), margin-top 0.5s var(--ease-out-expo);
}

.module-card.expanded .module-details {
  max-height: 300px;
  margin-top: 14px;
}

.module-detail-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 14px;
  border-top: 1px solid var(--border-subtle);
}

.module-detail-list li {
  font-size: 0.83rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.module-detail-list li::before {
  content: '→';
  color: var(--archipelago-blue);
  font-weight: 700;
}

.module-expand-hint {
  font-size: 0.73rem;
  color: var(--text-muted);
  margin-top: 10px;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* ---------- AI Agents ---------- */
.agents {
  padding: var(--section-padding);
  position: relative;
  background: var(--bg-secondary);
  overflow: hidden;
}

.agents-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.agent-card {
  padding: 24px 20px;
  background: white;
  border: 1px solid var(--border-card);
  border-radius: 16px;
  text-align: center;
  transition: transform var(--transition-medium), box-shadow var(--transition-medium);
  position: relative;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.agent-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.08);
}

.agent-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  margin: 0 auto 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.agent-avatar::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 2px solid var(--border-card);
}

.agent-name {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--text-primary);
}

.agent-role {
  font-size: 0.78rem;
  color: var(--garuda-red);
  margin-bottom: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.agent-desc {
  font-size: 0.83rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ---------- How It Works ---------- */
.how-it-works {
  padding: var(--section-padding);
  position: relative;
}

.steps-container {
  display: flex;
  gap: 0;
  position: relative;
  justify-content: space-between;
}

.steps-container::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 40px;
  right: 40px;
  height: 3px;
  background: linear-gradient(90deg, var(--garuda-red), var(--archipelago-blue), var(--emerald-nusantara), var(--golden-prosperity), var(--garuda-red));
  z-index: 0;
  border-radius: 3px;
}

.step {
  flex: 1;
  text-align: center;
  position: relative;
  z-index: 1;
  padding: 0 12px;
}

.step-number {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: white;
  border: 3px solid var(--border-card);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-primary);
  transition: border-color var(--transition-medium), transform var(--transition-medium), box-shadow var(--transition-medium);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.step:hover .step-number {
  border-color: var(--garuda-red);
  transform: scale(1.08);
  box-shadow: 0 8px 24px rgba(227, 28, 35, 0.12);
}

.step h4 {
  font-family: var(--font-heading);
  font-size: 1.02rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--text-primary);
}

.step p {
  font-size: 0.83rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ---------- Competitive Advantage ---------- */
.comparison {
  padding: var(--section-padding);
  position: relative;
  background: var(--bg-secondary);
}

.comparison-table {
  width: 100%;
  overflow-x: auto;
}

.comparison-table table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: white;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border-card);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
}

.comparison-table th,
.comparison-table td {
  padding: 16px 24px;
  text-align: left;
  border-bottom: 1px solid var(--border-subtle);
}

.comparison-table th {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  background: var(--bg-secondary);
}

.comparison-table th:nth-child(2) {
  background: var(--garuda-red-light);
  color: var(--garuda-red);
}

.comparison-table td {
  font-size: 0.93rem;
  color: var(--text-secondary);
}

.comparison-table td:first-child {
  font-weight: 600;
  color: var(--text-primary);
}

.comparison-table tr:last-child td {
  border-bottom: none;
}

.check {
  color: var(--emerald-nusantara);
  font-weight: 700;
  font-size: 1.1rem;
}

.cross {
  color: var(--text-muted);
  font-size: 1.1rem;
}

.limited {
  color: #B8860B;
  font-size: 0.83rem;
  font-weight: 500;
}

/* ---------- Impact Section ---------- */
.impact {
  padding: var(--section-padding);
  position: relative;
}

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

.impact-card {
  padding: 36px 28px;
  background: white;
  border: 1px solid var(--border-card);
  border-radius: 16px;
  text-align: center;
  transition: transform var(--transition-medium), box-shadow var(--transition-medium);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.impact-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.07);
}

.impact-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  margin: 0 auto 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

.impact-icon.sme { background: var(--garuda-red-light); }
.impact-icon.gov { background: var(--archipelago-blue-light); }
.impact-icon.econ { background: var(--emerald-nusantara-light); }

.impact-card h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 14px;
  color: var(--text-primary);
}

.impact-card ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.impact-card li {
  font-size: 0.88rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
}

.impact-card li::before {
  content: '✦';
  color: var(--garuda-red);
  font-size: 0.65rem;
}

/* ---------- Roadmap ---------- */
.roadmap {
  padding: var(--section-padding);
  position: relative;
  background: var(--bg-secondary);
}

.roadmap-timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.roadmap-timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--garuda-red), var(--archipelago-blue), var(--emerald-nusantara), var(--golden-prosperity));
  transform: translateX(-50%);
  border-radius: 3px;
}

.roadmap-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 44px;
  position: relative;
}

.roadmap-item:nth-child(odd) {
  flex-direction: row;
  padding-right: calc(50% + 36px);
  text-align: right;
}

.roadmap-item:nth-child(even) {
  flex-direction: row-reverse;
  padding-left: calc(50% + 36px);
  text-align: left;
}

.roadmap-dot {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 3px solid;
  background: white;
  z-index: 1;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.roadmap-item:nth-child(1) .roadmap-dot { border-color: var(--garuda-red); }
.roadmap-item:nth-child(2) .roadmap-dot { border-color: var(--archipelago-blue); }
.roadmap-item:nth-child(3) .roadmap-dot { border-color: var(--emerald-nusantara); }
.roadmap-item:nth-child(4) .roadmap-dot { border-color: var(--golden-prosperity); }

.roadmap-content {
  flex: 1;
}

.roadmap-phase {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 6px;
}

.roadmap-item:nth-child(1) .roadmap-phase { color: var(--garuda-red); }
.roadmap-item:nth-child(2) .roadmap-phase { color: var(--archipelago-blue); }
.roadmap-item:nth-child(3) .roadmap-phase { color: var(--emerald-nusantara); }
.roadmap-item:nth-child(4) .roadmap-phase { color: #B8860B; }

.roadmap-content h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.roadmap-content ul {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.roadmap-content li {
  font-size: 0.88rem;
  color: var(--text-secondary);
}

/* ---------- CTA / Waitlist ---------- */
.cta-section {
  padding: var(--section-padding);
  position: relative;
}

.cta-box {
  position: relative;
  padding: 72px 44px;
  border-radius: 24px;
  background: linear-gradient(135deg, var(--garuda-red-light), var(--archipelago-blue-light));
  border: 1px solid var(--border-card);
  text-align: center;
  overflow: hidden;
}

.cta-box::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(227, 28, 35, 0.05), transparent 70%);
  pointer-events: none;
}

.cta-box .section-title {
  position: relative;
}

.cta-box .section-subtitle {
  position: relative;
  margin: 0 auto 36px;
}

.cta-form {
  display: flex;
  gap: 12px;
  max-width: 500px;
  margin: 0 auto;
  position: relative;
}

.cta-form input {
  flex: 1;
  padding: 16px 24px;
  border-radius: 12px;
  border: 2px solid var(--border-card);
  background: white;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 1rem;
  outline: none;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.cta-form input::placeholder {
  color: var(--text-muted);
}

.cta-form input:focus {
  border-color: var(--garuda-red);
  box-shadow: 0 0 0 3px rgba(227, 28, 35, 0.1);
}

.cta-form button {
  padding: 16px 32px;
  background: var(--gradient-primary);
  color: white;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 12px;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  white-space: nowrap;
}

.cta-form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(227, 28, 35, 0.25);
}

/* ---------- Footer ---------- */
.footer {
  padding: 56px 0 28px;
  border-top: 1px solid var(--border-subtle);
  background: var(--bg-secondary);
}

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

.footer-brand .nav-logo {
  margin-bottom: 14px;
  display: inline-block;
}

.footer-brand p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  max-width: 300px;
  line-height: 1.7;
}

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 18px;
  color: var(--text-primary);
}

.footer-col a {
  display: block;
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: 10px;
  transition: color var(--transition-fast);
}

.footer-col a:hover {
  color: var(--garuda-red);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 28px;
  border-top: 1px solid var(--border-subtle);
}

.footer-bottom p {
  font-size: 0.83rem;
  color: var(--text-muted);
}

.footer-socials {
  display: flex;
  gap: 12px;
}

.footer-socials a {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: white;
  border: 1px solid var(--border-card);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  color: var(--text-secondary);
  transition: background var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast);
}

.footer-socials a:hover {
  background: var(--garuda-red);
  color: white;
  border-color: var(--garuda-red);
}

/* ---------- Product Demo / Animated Walkthrough ---------- */
.product-demo {
  padding: var(--section-padding);
  position: relative;
  background: var(--bg-secondary);
}

.demo-steps-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 44px;
}

.demo-step-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 16px 28px;
  border-radius: 14px;
  background: white;
  border: 2px solid var(--border-card);
  transition: all 0.3s ease;
  min-width: 140px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.demo-step-btn.active {
  border-color: var(--archipelago-blue);
  background: var(--archipelago-blue-light);
  box-shadow: 0 4px 20px rgba(0, 87, 163, 0.12);
}

.demo-step-btn.completed {
  border-color: var(--emerald-nusantara);
  background: var(--emerald-nusantara-light);
}

.demo-step-num {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text-muted);
}

.demo-step-btn.active .demo-step-num {
  color: var(--archipelago-blue);
}

.demo-step-btn.completed .demo-step-num {
  color: var(--emerald-nusantara);
}

.demo-step-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.demo-step-btn.active .demo-step-label {
  color: var(--archipelago-blue-dark);
}

.demo-step-progress {
  width: 100%;
  height: 3px;
  background: var(--border-subtle);
  border-radius: 3px;
  overflow: hidden;
  margin-top: 4px;
}

.demo-step-progress-fill {
  height: 100%;
  width: 0%;
  background: var(--archipelago-blue);
  border-radius: 3px;
  transition: width 0.1s linear;
}

.demo-step-btn.active .demo-step-progress-fill {
  animation: demoProgress 6s linear forwards;
}

.demo-step-btn.completed .demo-step-progress-fill {
  width: 100%;
  background: var(--emerald-nusantara);
  animation: none;
}

@keyframes demoProgress {
  from { width: 0%; }
  to { width: 100%; }
}

.demo-step-arrow {
  font-size: 1.5rem;
  color: var(--text-muted);
  font-weight: 300;
}

/* Demo Screen Container */
.demo-screen-container {
  position: relative;
  min-height: 520px;
}

.demo-screen {
  display: none;
  animation: demoScreenIn 0.5s var(--ease-out-expo);
}

.demo-screen.active {
  display: block;
}

@keyframes demoScreenIn {
  from { opacity: 0; transform: translateX(40px); }
  to { opacity: 1; transform: translateX(0); }
}

/* Demo Window */
.demo-window {
  border-radius: 16px;
  overflow: hidden;
  background: white;
  border: 1px solid var(--border-card);
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.08), 0 2px 8px rgba(0, 0, 0, 0.04);
}

.demo-window-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 20px;
  background: var(--bg-tertiary);
  border-bottom: 1px solid var(--border-subtle);
}

.demo-window-dots {
  display: flex;
  gap: 7px;
}

.demo-window-dots span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.demo-window-dots span:nth-child(1) { background: #ff5f57; }
.demo-window-dots span:nth-child(2) { background: #febc2e; }
.demo-window-dots span:nth-child(3) { background: #28c840; }

.demo-window-title {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-muted);
}

.demo-window-body {
  display: flex;
  min-height: 460px;
}

/* Demo Sidebar */
.demo-sidebar {
  width: 200px;
  flex-shrink: 0;
  background: var(--bg-secondary);
  border-right: 1px solid var(--border-subtle);
  padding: 16px 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.demo-sidebar-item {
  padding: 10px 18px;
  font-size: 0.82rem;
  color: var(--text-secondary);
  cursor: default;
  border-left: 3px solid transparent;
  transition: all 0.2s ease;
}

.demo-sidebar-item.active {
  background: white;
  color: var(--archipelago-blue);
  font-weight: 600;
  border-left-color: var(--archipelago-blue);
}

/* Demo Main Content */
.demo-main-content {
  flex: 1;
  padding: 28px 32px;
}

.demo-page-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.demo-page-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

/* Demo Form Elements */
.demo-form-group {
  margin-bottom: 18px;
}

.demo-form-group label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.demo-input {
  padding: 11px 14px;
  border-radius: 10px;
  border: 1.5px solid var(--border-card);
  font-size: 0.9rem;
  color: var(--text-primary);
  background: white;
  display: flex;
  align-items: center;
}

.demo-input.filled {
  background: var(--bg-secondary);
  color: var(--text-secondary);
  border-color: var(--border-subtle);
}

.demo-typing-text {
  font-size: 0.9rem;
  color: var(--text-primary);
}

.demo-cursor {
  animation: cursorBlink 0.8s steps(2) infinite;
  color: var(--archipelago-blue);
  font-weight: 300;
  margin-left: 1px;
}

@keyframes cursorBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* Demo Upload Area */
.demo-upload-area {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border: 1.5px dashed var(--border-card);
  border-radius: 10px;
  background: var(--bg-secondary);
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.demo-upload-icon {
  font-size: 1.1rem;
}

.demo-upload-status {
  margin-left: auto;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--emerald-nusantara);
}

/* Demo Progress Bar */
.demo-progress-section {
  margin: 20px 0;
}

.demo-progress-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.demo-progress-pct {
  font-weight: 700;
  color: var(--archipelago-blue);
}

.demo-progress-bar {
  width: 100%;
  height: 8px;
  background: var(--bg-tertiary);
  border-radius: 8px;
  overflow: hidden;
}

.demo-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--archipelago-blue), var(--emerald-nusantara));
  border-radius: 8px;
  transition: width 1.5s var(--ease-out-expo);
}

.demo-screen.active .demo-progress-fill {
  width: var(--target-width, 0%);
}

/* Demo AI Hint */
.demo-ai-hint {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--archipelago-blue-light), var(--emerald-nusantara-light));
  border: 1px solid rgba(0, 87, 163, 0.1);
  font-size: 0.82rem;
  color: var(--text-secondary);
  margin-top: 16px;
  animation: aiHintPulse 3s ease-in-out infinite;
}

@keyframes aiHintPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0, 87, 163, 0.08); }
  50% { box-shadow: 0 0 0 6px rgba(0, 87, 163, 0); }
}

.demo-ai-icon {
  font-size: 1.2rem;
  flex-shrink: 0;
}

/* Demo Buyer Cards */
.demo-buyer-cards {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.demo-buyer-card {
  padding: 16px 18px;
  border-radius: 12px;
  border: 1px solid var(--border-card);
  background: white;
  transition: all 0.3s ease;
}

.demo-buyer-card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  transform: translateY(-1px);
}

.demo-buyer-card.animate-in {
  opacity: 0;
  transform: translateY(15px);
}

.demo-screen.active .demo-buyer-card.animate-in {
  animation: slideUpFadeIn 0.5s var(--ease-out-expo) var(--delay, 0s) forwards;
}

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

.demo-buyer-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 8px;
}

.demo-buyer-name {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--text-primary);
}

.demo-buyer-loc {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.demo-buyer-score {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 8px;
}

.demo-buyer-score.high {
  color: var(--emerald-nusantara);
  background: var(--emerald-nusantara-light);
}

.demo-buyer-score.medium {
  color: var(--golden-prosperity);
  background: var(--golden-prosperity-light);
}

.demo-buyer-details {
  display: flex;
  gap: 20px;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.demo-buyer-actions {
  display: flex;
  gap: 8px;
}

.demo-btn-send {
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  background: var(--gradient-primary);
  color: white;
  cursor: pointer;
}

.demo-btn-detail {
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 500;
  background: var(--bg-secondary);
  color: var(--text-secondary);
  border: 1px solid var(--border-card);
  cursor: pointer;
}

/* Demo Metrics */
.demo-metrics-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}

.demo-metric {
  text-align: center;
  padding: 16px 12px;
  background: var(--bg-secondary);
  border-radius: 12px;
  border: 1px solid var(--border-subtle);
}

.demo-metric.animate-in {
  opacity: 0;
  transform: scale(0.9);
}

.demo-screen.active .demo-metric.animate-in {
  animation: scaleIn 0.4s var(--ease-out-expo) var(--delay, 0s) forwards;
}

@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}

.demo-metric-value {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 4px;
}

.demo-metric-value.green { color: var(--emerald-nusantara); }
.demo-metric-value.blue { color: var(--archipelago-blue); }
.demo-metric-value.gold { color: var(--golden-prosperity); }
.demo-metric-value.red { color: var(--garuda-red); }

.demo-metric-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.demo-metric-change {
  font-size: 0.72rem;
  font-weight: 700;
}

.demo-metric-change.up {
  color: var(--emerald-nusantara);
}

/* Demo Chart */
.demo-chart-area {
  background: white;
  border: 1px solid var(--border-card);
  border-radius: 12px;
  padding: 16px 20px;
}

.demo-chart-area.animate-in {
  opacity: 0;
  transform: translateY(10px);
}

.demo-screen.active .demo-chart-area.animate-in {
  animation: slideUpFadeIn 0.5s var(--ease-out-expo) var(--delay, 0s) forwards;
}

.demo-chart-header {
  margin-bottom: 14px;
}

.demo-chart-title {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.demo-mini-chart {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  height: 120px;
}

.demo-chart-bar {
  flex: 1;
  height: 0%;
  background: var(--color, var(--archipelago-blue));
  border-radius: 6px 6px 0 0;
  position: relative;
  transition: height 0.8s var(--ease-out-expo);
  opacity: 0.85;
}

.demo-screen.active .demo-chart-bar {
  height: var(--h, 50%);
}

.demo-chart-bar span {
  position: absolute;
  bottom: -22px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.68rem;
  color: var(--text-muted);
  white-space: nowrap;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .agents-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-content {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }
}

@media (max-width: 768px) {
  :root {
    --section-padding: 72px 0;
  }

  .hamburger {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 360px;
    height: 100vh;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    flex-direction: column;
    padding: 100px 40px 40px;
    gap: 20px;
    transition: right 0.4s var(--ease-out-expo);
    border-left: 1px solid var(--border-subtle);
    box-shadow: -8px 0 32px rgba(0, 0, 0, 0.06);
  }

  .nav-links.open {
    right: 0;
  }

  .hero-title {
    font-size: clamp(2rem, 8vw, 3rem);
  }

  .hero-stats {
    gap: 20px;
    flex-wrap: wrap;
  }

  .problems-grid,
  .modules-grid,
  .impact-grid {
    grid-template-columns: 1fr;
  }

  .solution-content,
  .platform-panel.active {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  /* Demo responsive */
  .demo-steps-nav {
    flex-direction: column;
    gap: 10px;
  }

  .demo-step-arrow {
    display: none;
  }

  .demo-step-btn {
    flex-direction: row;
    gap: 10px;
    min-width: auto;
    width: 100%;
    padding: 12px 20px;
  }

  .demo-sidebar {
    display: none;
  }

  .demo-main-content {
    padding: 20px 16px;
  }

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

  .demo-buyer-details {
    flex-direction: column;
    gap: 4px;
  }

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

  .steps-container {
    flex-direction: column;
    gap: 28px;
    align-items: center;
  }

  .steps-container::before {
    top: 0;
    bottom: 0;
    left: 40px;
    right: auto;
    width: 3px;
    height: 100%;
  }

  .step {
    text-align: left;
    padding-left: 80px;
    width: 100%;
  }

  .step-number {
    margin: 0;
    position: absolute;
    left: 0;
    width: 60px;
    height: 60px;
    font-size: 1.2rem;
  }

  .roadmap-timeline::before {
    left: 20px;
  }

  .roadmap-item:nth-child(odd),
  .roadmap-item:nth-child(even) {
    padding-left: 50px;
    padding-right: 0;
    text-align: left;
    flex-direction: row;
  }

  .roadmap-dot {
    left: 20px;
  }

  .comparison-table {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .cta-form {
    flex-direction: column;
  }

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

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

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

  .hero-stat .stat-number {
    font-size: 1.5rem;
  }

  .platform-tabs {
    gap: 6px;
  }

  .platform-tab {
    padding: 10px 16px;
    font-size: 0.8rem;
  }
}

/* ============================================
   New Helper Classes — SVG Icon Support
   ============================================ */

/* Chat mockup user badge */
.chat-user-badge {
  display: inline-block;
  font-weight: 700;
  color: var(--text-primary);
}

/* Buyer country pill */
.buyer-country {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  background: var(--bg-tertiary);
  color: var(--text-muted);
  border: 1px solid var(--border-subtle);
  border-radius: 4px;
  padding: 1px 5px;
  vertical-align: middle;
  margin-left: 4px;
}

/* Demo upload status badge */
.demo-upload-status {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--emerald-nusantara);
  background: var(--emerald-nusantara-light);
  padding: 2px 8px;
  border-radius: 6px;
}

/* Demo upload icon SVG wrapper */
.demo-upload-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: var(--archipelago-blue-light);
  color: var(--archipelago-blue);
  flex-shrink: 0;
}

/* Demo AI hint icon */
.demo-ai-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background: var(--golden-prosperity-light);
  color: var(--golden-prosperity);
  flex-shrink: 0;
}

/* Platform tab SVG alignment */
.platform-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* Demo sidebar item SVG layout */
.demo-sidebar-item {
  display: flex;
  align-items: center;
  gap: 7px;
}

/* Impact icon sizing and colors */
.impact-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.impact-icon.sme {
  background: var(--garuda-red-light);
  color: var(--garuda-red);
}

.impact-icon.gov {
  background: var(--archipelago-blue-light);
  color: var(--archipelago-blue);
}

.impact-icon.econ {
  background: var(--emerald-nusantara-light);
  color: var(--emerald-nusantara);
}

