/* ==========================================================================
   MicroStudio.id — Corporate Brand & Showcase Stylesheet
   Aesthetic: Developer-Chic, Deep Obsidian, Emerald & Cyan Glow, Clean Bento
   ========================================================================== */

:root {
  --bg-base: #030712;
  --bg-surface: #0B0F17;
  --bg-surface-elevated: #111827;
  --bg-card: rgba(15, 23, 42, 0.75);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(16, 185, 129, 0.4);
  
  --emerald-primary: #10B981;
  --emerald-hover: #059669;
  --emerald-glow: rgba(16, 185, 129, 0.2);
  
  --cyan-primary: #38BDF8;
  --cyan-hover: #0284C7;
  --cyan-glow: rgba(56, 189, 248, 0.2);
  
  --amber-primary: #F59E0B;
  --rose-primary: #F43F5E;
  
  --text-main: #FFFFFF;
  --text-muted: #94A3B8;
  --text-dim: #64748B;
  
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
}

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

body {
  font-family: var(--font-sans);
  background-color: var(--bg-base);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* Background Ambient Grid */
body::before {
  content: "";
  position: fixed;
  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: -1;
}

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

.max-w-2xl { max-width: 672px; }
.max-w-3xl { max-width: 768px; }
.mx-auto { margin-left: auto; margin-right: auto; }
.text-center { text-align: center; }
.w-full { width: 100%; }
.hidden { display: none !important; }

/* Typography Helpers */
.text-emerald { color: var(--emerald-primary); }
.text-cyan { color: var(--cyan-primary); }
.gradient-text {
  background: linear-gradient(135deg, #10B981 0%, #34D399 45%, #38BDF8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Icons */
.icon-xs { width: 14px; height: 14px; }
.icon-sm { width: 18px; height: 18px; }
.icon-md { width: 22px; height: 22px; }

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

.btn-sm {
  padding: 8px 16px;
  font-size: 14px;
}

.btn-md {
  padding: 12px 24px;
}

.btn-lg {
  padding: 14px 30px;
  font-size: 16px;
}

.btn-emerald {
  background: var(--emerald-primary);
  color: #020617;
  font-weight: 700;
  box-shadow: 0 4px 18px rgba(16, 185, 129, 0.25);
}

.btn-emerald:hover {
  background: var(--emerald-hover);
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(16, 185, 129, 0.4);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-main);
  border-color: var(--border-subtle);
}

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

/* TOP ANNOUNCEMENT BANNER */
.top-banner {
  background: linear-gradient(90deg, rgba(16, 185, 129, 0.14) 0%, rgba(56, 189, 248, 0.14) 50%, rgba(16, 185, 129, 0.14) 100%);
  border-bottom: 1px solid rgba(16, 185, 129, 0.25);
  padding: 10px 16px;
  text-align: center;
}

.banner-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.badge-pulse {
  width: 8px;
  height: 8px;
  background-color: var(--emerald-primary);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--emerald-primary);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.banner-link {
  color: #38BDF8;
  text-decoration: underline;
  font-weight: 600;
  font-size: 13px;
}

/* STICKY NAVIGATION */
.header {
  position: sticky;
  top: 0;
  background: rgba(3, 7, 18, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  z-index: 100;
  padding: 14px 0;
}

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

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-main);
}

.logo-mark {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.brand-logo-img {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  object-fit: contain;
  filter: drop-shadow(0 2px 10px rgba(16, 185, 129, 0.35));
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.brand-logo:hover .brand-logo-img {
  transform: scale(1.06);
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.brand-tagline {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
}

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

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

/* LANGUAGE TOGGLE PILL */
.lang-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  border-radius: 9999px;
  padding: 6px 14px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--text-main);
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  line-height: 1;
  user-select: none;
}

.lang-toggle-btn:hover {
  background: rgba(16, 185, 129, 0.12);
  border-color: rgba(16, 185, 129, 0.35);
  color: #34D399;
  transform: translateY(-1px);
  box-shadow: 0 2px 10px rgba(16, 185, 129, 0.2);
}

.lang-toggle-btn .lang-icon {
  font-size: 14px;
}

.lang-toggle-btn .lang-label {
  letter-spacing: 0.5px;
  color: var(--emerald-primary);
  font-weight: 800;
}

.nav-item {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}

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

/* HERO SECTION */
.hero-section {
  position: relative;
  padding: 90px 0 70px;
  text-align: center;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translateX(-50%);
  width: 650px;
  height: 350px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.18) 0%, rgba(56, 189, 248, 0.08) 40%, rgba(3, 7, 18, 0) 70%);
  filter: blur(60px);
  pointer-events: none;
  z-index: -1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: 50px;
  color: #34D399;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 24px;
}

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

.hero-title {
  font-size: 48px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1px;
  max-width: 900px;
  margin: 0 auto 20px;
}

.hero-subtitle {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 740px;
  margin: 0 auto 36px;
  line-height: 1.6;
}

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

/* Hero Metrics Grid */
.hero-metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px 32px;
  max-width: 1040px;
  margin: 0 auto;
}

.metric-card {
  text-align: center;
}

.metric-val {
  font-size: 28px;
  font-weight: 800;
  color: var(--emerald-primary);
  font-family: var(--font-mono);
  margin-bottom: 4px;
}

.metric-label {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.4;
}

/* SECTIONS */
.section {
  padding: 90px 0;
  position: relative;
}

.section-dark {
  background: #050811;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.section-header {
  margin-bottom: 50px;
}

.section-tag {
  font-size: 12px;
  font-weight: 700;
  color: var(--emerald-primary);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.section-title {
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 14px;
}

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

/* PRODUCT SPOTLIGHT CARD */
.product-spotlight-card {
  position: relative;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 44px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

.spotlight-badge {
  position: absolute;
  top: -12px;
  left: 44px;
  background: var(--amber-primary);
  color: #1a1001;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 14px;
  border-radius: 50px;
  letter-spacing: 0.5px;
}

.spotlight-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
}

.product-title {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 12px;
}

.product-tagline {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.feature-checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 32px;
}

.feature-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  color: #CBD5E1;
}

.check-icon {
  width: 18px;
  height: 18px;
  color: var(--emerald-primary);
  flex-shrink: 0;
  margin-top: 3px;
}

.pricing-tier-box {
  background: var(--bg-base);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.price-header {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 6px;
}

.price-strikethrough {
  font-size: 15px;
  color: var(--text-dim);
  text-decoration: line-through;
}

.price-main {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.price-currency {
  font-size: 18px;
  font-weight: 700;
  color: var(--emerald-primary);
}

.price-value {
  font-size: 38px;
  font-weight: 800;
  font-family: var(--font-mono);
  color: #FFFFFF;
}

.price-period {
  font-size: 14px;
  color: var(--text-muted);
}

.price-guarantee {
  font-size: 12px;
  color: var(--emerald-primary);
  margin-bottom: 20px;
  font-weight: 500;
}

.price-action-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Bento Preview Card */
.bento-preview-card {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-hover);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: 0 12px 30px rgba(16, 185, 129, 0.08);
}

.bento-badge {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.bento-hero-metric {
  margin-bottom: 24px;
}

.metric-caption {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  display: block;
}

.metric-number {
  font-size: 34px;
  font-weight: 800;
  color: var(--emerald-primary);
  font-family: var(--font-mono);
  display: block;
  letter-spacing: -0.5px;
}

.metric-trend {
  font-size: 13px;
  color: #34D399;
  font-weight: 600;
}

.bento-mini-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 24px;
}

.mini-box {
  background: var(--bg-base);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 12px;
}

.mini-title {
  font-size: 11px;
  color: var(--text-muted);
  display: block;
  margin-bottom: 4px;
}

.mini-val {
  font-size: 16px;
  font-weight: 700;
  font-family: var(--font-mono);
}

.mini-box.income .mini-val { color: var(--emerald-primary); }
.mini-box.expense .mini-val { color: #CBD5E1; }

.bento-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pill-tag {
  font-size: 11px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  padding: 4px 10px;
  border-radius: 50px;
  color: var(--text-muted);
}

/* INTERACTIVE B2B DEMO VIEWPORT */
.demo-controls-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 16px;
}

/* APP SELECTOR TABS */
.app-selector-tabs {
  display: inline-flex;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 5px;
  gap: 6px;
  margin: 0 auto 28px;
}

.app-selector-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--text-muted);
  border: none;
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  outline: none;
}

.app-selector-btn:hover:not(.active) {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.05);
}

.app-selector-btn.active {
  background: var(--emerald-primary);
  color: #020617;
  font-weight: 800;
  box-shadow: 0 4px 18px rgba(16, 185, 129, 0.35);
  transform: translateY(-1px);
}

.device-switcher {
  display: inline-flex;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 4px;
  gap: 4px;
}

.switcher-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--text-muted);
  border: none;
  padding: 8px 18px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.switcher-btn.active {
  background: var(--emerald-primary);
  color: #020617;
  font-weight: 700;
}

.switcher-btn:hover:not(.active) {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.04);
}

/* DEMO INFO CARD & PRODUCTION HUBS */
.demo-info-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin-top: 10px;
}

.demo-info-header {
  margin-bottom: 24px;
}

.demo-info-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.25);
  color: #34D399;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 4px 12px;
  border-radius: 9999px;
  margin-bottom: 12px;
}

.demo-info-title {
  font-size: 18px;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 6px;
}

.demo-info-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

.demo-production-hub-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 24px;
  padding: 18px;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-md);
}

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

.hub-tag {
  font-size: 10px;
  font-weight: 800;
  color: var(--text-dim);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-family: var(--font-mono);
}

.hub-domain {
  font-size: 15px;
  font-weight: 800;
  color: #38BDF8;
  font-family: var(--font-mono);
}

.hub-status {
  font-size: 11px;
  color: #F59E0B;
  font-weight: 600;
  font-family: var(--font-sans);
}

.hub-desc {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-top: 4px;
}

.demo-info-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  flex-wrap: wrap;
  border-top: 1px solid var(--border-subtle);
  padding-top: 20px;
}

@media (max-width: 768px) {
  .demo-production-hub-grid {
    grid-template-columns: 1fr;
  }
}

.demo-sandbox-viewport {
  margin-bottom: 40px;
  display: flex;
  justify-content: center;
}

/* Desktop Frame */
.desktop-mockup {
  width: 100%;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
}

.frame-browser-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  background: #0B0F11;
  border-bottom: 1px solid var(--border-subtle);
}

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

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

.dot.red { background: #FF5F56; }
.dot.yellow { background: #FFBD2E; }
.dot.green { background: #27C93F; }

.frame-url-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-base);
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  padding: 4px 16px;
  font-size: 12px;
  font-family: var(--font-mono);
  color: var(--text-muted);
  width: 50%;
  max-width: 480px;
  justify-content: center;
}

.frame-status-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  color: var(--emerald-primary);
  letter-spacing: 0.5px;
}

.badge-dot-live {
  width: 6px;
  height: 6px;
  background: var(--emerald-primary);
  border-radius: 50%;
  box-shadow: 0 0 6px var(--emerald-primary);
}

.iframe-container {
  width: 100%;
  height: 800px;
  background: #000;
}

.desktop-mockup .iframe-container {
  height: 800px;
}

.iframe-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Mobile Mockup (iPhone Simulator) */
.mobile-mockup {
  width: 390px;
  height: 740px;
  background: #000;
  border: 12px solid #232A2E;
  border-radius: 48px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7);
  overflow: hidden;
  position: relative;
}

.mobile-speaker-notch {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 22px;
  background: #111827;
  border-radius: 20px;
  z-index: 10;
}

.mobile-mockup .iframe-container {
  height: 100%;
}

/* Infrastructure Advantages Callout */
.infra-callout-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.infra-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px;
}

.infra-icon {
  font-size: 24px;
  margin-bottom: 12px;
}

.infra-card h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
}

.infra-card p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* B2B CUSTOM SOLUTIONS CATALOG */
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.solution-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: transform 0.25s, border-color 0.25s;
}

.solution-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-hover);
}

.solution-card.popular {
  border-color: var(--emerald-primary);
  background: linear-gradient(180deg, rgba(16, 185, 129, 0.05) 0%, var(--bg-surface) 100%);
}

.solution-popular-tag {
  position: absolute;
  top: -12px;
  right: 24px;
  background: var(--emerald-primary);
  color: #020617;
  font-size: 10px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 50px;
}

.solution-badge {
  font-size: 10px;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 1px;
  display: block;
  margin-bottom: 8px;
}

.solution-name {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 10px;
}

.solution-summary {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 20px;
}

.solution-pricing {
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding: 16px 0;
  margin-bottom: 20px;
}

.price-label {
  font-size: 11px;
  color: var(--text-dim);
  display: block;
}

.price-number {
  font-size: 22px;
  font-weight: 800;
  font-family: var(--font-mono);
  color: var(--text-main);
  margin: 2px 0;
}

.price-timing {
  font-size: 11px;
  color: var(--emerald-primary);
  font-weight: 600;
  display: block;
}

.solution-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}

.solution-features li {
  font-size: 12px;
  color: var(--text-muted);
}

/* PRINCIPLES GRID */
.principles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.principle-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 36px;
}

.principle-num {
  font-size: 28px;
  font-weight: 800;
  font-family: var(--font-mono);
  color: var(--emerald-primary);
  margin-bottom: 16px;
}

.principle-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
}

.principle-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* FAQ SECTION */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

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

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

.faq-icon {
  width: 20px;
  height: 20px;
  color: var(--text-muted);
  transition: transform 0.25s;
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 24px;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

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

/* FINAL CTA */
.final-cta-section {
  padding: 100px 0;
  background: radial-gradient(circle at center, rgba(16, 185, 129, 0.14) 0%, rgba(56, 189, 248, 0.06) 40%, rgba(3, 7, 18, 0) 70%);
}

.cta-box {
  background: var(--bg-surface);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: var(--radius-xl);
  padding: 60px 40px;
  max-width: 900px;
  margin: 0 auto;
}

.cta-title {
  font-size: 34px;
  font-weight: 800;
  margin-bottom: 16px;
}

.cta-desc {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 650px;
  margin: 0 auto 36px;
}

.cta-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* FOOTER */
.footer {
  border-top: 1px solid var(--border-subtle);
  padding: 60px 0 30px;
  background: #050811;
}

.footer-content {
  display: grid;
  grid-template-columns: 1.4fr 1.6fr;
  gap: 60px;
  margin-bottom: 50px;
}

.footer-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 16px 0 20px;
  max-width: 420px;
}

.domain-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--text-muted);
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  padding: 6px 14px;
  border-radius: 50px;
}

.footer-links-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.footer-col h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 16px;
  letter-spacing: 0.5px;
}

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

.footer-col a, .footer-col span {
  font-size: 13px;
  color: var(--text-muted);
  text-decoration: none;
}

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

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

.legal-links {
  display: flex;
  gap: 12px;
}

.legal-links a {
  color: var(--text-dim);
  text-decoration: none;
}

.legal-links a:hover {
  color: var(--text-muted);
}

/* MOBILE STICKY CTA */
.mobile-sticky-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(3, 7, 18, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--border-subtle);
  padding: 12px 18px;
  z-index: 99;
}

.sticky-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.sticky-title {
  font-size: 13px;
  font-weight: 700;
  display: block;
}

.sticky-subtitle {
  font-size: 11px;
  color: var(--text-muted);
  display: block;
}

/* RESPONSIVE MEDIA QUERIES */
@media (max-width: 1024px) {
  .solutions-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .hero-metrics-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .infra-callout-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  
  .hero-title {
    font-size: 32px;
  }
  
  .hero-subtitle {
    font-size: 15px;
  }
  
  .spotlight-grid {
    grid-template-columns: 1fr;
  }
  
  .solutions-grid {
    grid-template-columns: 1fr;
  }
  
  .principles-grid {
    grid-template-columns: 1fr;
  }
  
  .infra-callout-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
  }
  
  .mobile-sticky-cta {
    display: block;
  }
  
  .iframe-container {
    height: 74dvh;
    min-height: 520px;
  }

  .device-switcher {
    display: none;
  }

  #sandbox-fullscreen-link {
    width: 100%;
    justify-content: center;
    background: var(--emerald-primary);
    color: #041E14;
    border-color: var(--emerald-primary);
    font-weight: 800;
    padding: 12px 18px;
  }

  .mobile-speaker-notch {
    display: none;
  }

  .mobile-mockup {
    width: 100%;
    max-width: 100%;
    height: 74dvh;
    min-height: 520px;
    border: 1px solid rgba(16, 185, 129, 0.28);
    border-radius: 16px;
  }

  .demo-controls-wrapper {
    gap: 10px;
    justify-content: center;
  }
}

/* Subpage Industry Preset Bar */
.subpage-preset-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 0 auto 22px;
  max-width: 820px;
}

.subpage-preset-chip {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #CBD5E1;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.subpage-preset-chip:hover {
  border-color: rgba(16, 185, 129, 0.45);
  color: #FFFFFF;
}

.subpage-preset-chip.active {
  background: rgba(16, 185, 129, 0.16);
  border-color: #10B981;
  color: #10B981;
  font-weight: 700;
}

/* ==========================================================================
   Subpages, Multi-Page Portfolio & Bento Grid Extensions
   ========================================================================== */

/* Active nav item */
.nav-item.active {
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-sm);
  padding: 6px 12px;
}

/* Breadcrumbs */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 24px;
}
.breadcrumb a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}
.breadcrumb a:hover {
  color: var(--emerald-primary);
}
.breadcrumb-separator {
  color: var(--text-dim);
}
.breadcrumb-current {
  color: var(--text-main);
  font-weight: 600;
}

/* Subpage Hero */
.hero-subpage {
  padding: 60px 0 40px;
  position: relative;
  overflow: hidden;
}
.subpage-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: 50px;
  color: #34D399;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.subpage-title {
  font-size: 40px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -1px;
  margin-bottom: 16px;
  color: #FFFFFF;
}
.subpage-desc {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 760px;
  line-height: 1.6;
  margin-bottom: 30px;
}

/* 3-Column Bento Portfolio Grid */
.bento-products-3col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 30px;
}
.bento-product-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}
.bento-product-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: transparent;
  transition: background 0.3s;
}
.bento-product-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-hover);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
}
.bento-product-card.featured {
  border-color: rgba(16, 185, 129, 0.35);
  background: linear-gradient(180deg, rgba(16, 185, 129, 0.04) 0%, var(--bg-surface) 100%);
}
.bento-product-card.featured::before {
  background: linear-gradient(90deg, #10B981, #34D399);
}

.bento-card-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 3px 10px;
  border-radius: 4px;
  margin-bottom: 16px;
  width: fit-content;
}
.badge-emerald {
  background: rgba(16, 185, 129, 0.15);
  color: #34D399;
}
.badge-blue {
  background: rgba(59, 130, 246, 0.15);
  color: #60A5FA;
}
.badge-purple {
  background: rgba(168, 85, 247, 0.15);
  color: #C084FC;
}

.bento-card-title {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 10px;
  color: #FFFFFF;
}
.bento-card-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 24px;
  flex-grow: 1;
}

.bento-feature-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}
.bento-pill {
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: #CBD5E1;
}

.bento-card-footer {
  border-top: 1px solid var(--border-subtle);
  padding-top: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.bento-price-tag {
  display: flex;
  flex-direction: column;
}
.bento-price-tag .label {
  font-size: 10px;
  text-transform: uppercase;
  color: var(--text-dim);
  font-weight: 700;
}
.bento-price-tag .amount {
  font-size: 18px;
  font-weight: 800;
  font-family: var(--font-mono);
  color: #FFFFFF;
}

/* Feature Spec Grid (Detail on /pos and /booking) */
.feature-spec-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 36px;
}
.spec-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 26px;
  transition: border-color 0.2s;
}
.spec-card:hover {
  border-color: var(--border-hover);
}
.spec-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: rgba(16, 185, 129, 0.1);
  color: var(--emerald-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.spec-card h4 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
  color: #FFFFFF;
}
.spec-card p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Pricing Grid for Enterprise Deployment */
.deployment-pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 36px;
}
.tier-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}
.tier-card.featured {
  border-color: var(--emerald-primary);
  background: linear-gradient(180deg, rgba(16, 185, 129, 0.06) 0%, var(--bg-surface) 100%);
}
.tier-popular-badge {
  position: absolute;
  top: -12px;
  right: 24px;
  background: var(--emerald-primary);
  color: #020617;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 50px;
}
.tier-name {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 8px;
}
.tier-subtitle {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 20px;
  min-height: 38px;
}
.tier-price-box {
  margin-bottom: 24px;
  padding: 16px 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}
.tier-price-box .price {
  font-size: 28px;
  font-weight: 800;
  font-family: var(--font-mono);
  color: #FFFFFF;
}
.tier-price-box .period {
  font-size: 12px;
  color: var(--emerald-primary);
  font-weight: 600;
  display: block;
}
.tier-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 30px;
}
.tier-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: #CBD5E1;
}

@media (max-width: 1024px) {
  .bento-products-3col {
    grid-template-columns: 1fr;
  }
  .feature-spec-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .deployment-pricing-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .feature-spec-grid {
    grid-template-columns: 1fr;
  }
  .subpage-title {
    font-size: 28px;
  }
}

/* LEGAL & COMPLIANCE PAGES */
.legal-container {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 20px 80px;
}

.legal-meta-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding: 12px 18px;
  background: rgba(16, 185, 129, 0.06);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: var(--radius-md);
  margin-top: 24px;
  font-size: 13px;
  color: var(--text-muted);
}

.legal-meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.legal-meta-item strong {
  color: #34D399;
}

.legal-card-stack {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 36px;
}

.legal-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px 36px;
  transition: border-color 0.2s ease;
}

.legal-card:hover {
  border-color: rgba(255, 255, 255, 0.16);
}

.legal-card-header {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding-bottom: 14px;
}

.legal-card-num {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--emerald-primary);
  background: rgba(16, 185, 129, 0.1);
  padding: 2px 8px;
  border-radius: 4px;
}

.legal-card-title {
  font-size: 20px;
  font-weight: 700;
  color: #FFFFFF;
}

.legal-body {
  font-size: 15px;
  line-height: 1.75;
  color: #CBD5E1;
}

.legal-body p {
  margin-bottom: 14px;
}

.legal-body p:last-child {
  margin-bottom: 0;
}

.legal-list {
  list-style: none;
  padding: 0;
  margin: 16px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.legal-list li {
  position: relative;
  padding-left: 24px;
  font-size: 14px;
  line-height: 1.6;
  color: #CBD5E1;
}

.legal-list li::before {
  content: "→";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--emerald-primary);
  font-weight: 700;
}

.legal-callout {
  margin-top: 20px;
  padding: 16px 20px;
  background: rgba(16, 185, 129, 0.08);
  border-left: 3px solid var(--emerald-primary);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-size: 14px;
  color: #E2E8F0;
  line-height: 1.6;
}

.legal-callout strong {
  color: #34D399;
}

@media (max-width: 640px) {
  .legal-card {
    padding: 24px 20px;
  }
  .legal-card-title {
    font-size: 17px;
  }
}

/* ==========================================================================
   Lenis Smooth Scrolling System
   ========================================================================== */
html.lenis, html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

.lenis.lenis-scrolling iframe {
  pointer-events: none;
}

/* ==========================================================================
   Motion-Grade Reveal & Micro-Interactions (Motion.dev & Apple aesthetic)
   ========================================================================== */
[data-motion] {
  opacity: 0;
  will-change: transform, opacity;
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-motion="fade-up"] {
  transform: translateY(28px);
}

[data-motion="fade-in"] {
  transform: translateY(0);
}

[data-motion="scale-up"] {
  transform: scale(0.96) translateY(20px);
}

[data-motion].in-view {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Stagger delays for children */
.stagger-children > * {
  opacity: 0;
  transform: translateY(22px);
  will-change: transform, opacity;
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

.stagger-children.in-view > *:nth-child(1) { transition-delay: 0.04s; }
.stagger-children.in-view > *:nth-child(2) { transition-delay: 0.10s; }
.stagger-children.in-view > *:nth-child(3) { transition-delay: 0.16s; }
.stagger-children.in-view > *:nth-child(4) { transition-delay: 0.22s; }
.stagger-children.in-view > *:nth-child(5) { transition-delay: 0.28s; }
.stagger-children.in-view > *:nth-child(6) { transition-delay: 0.34s; }

.stagger-children.in-view > * {
  opacity: 1;
  transform: translateY(0);
}

/* Interactive Spotlight Glow & 3D Tilt */
.interactive-card {
  position: relative;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.25s ease,
              box-shadow 0.25s ease;
  transform-style: preserve-3d;
  will-change: transform;
}

.interactive-card::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: radial-gradient(
    500px circle at var(--mouse-x, -1000px) var(--mouse-y, -1000px),
    rgba(16, 185, 129, 0.14),
    transparent 50%
  );
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
  z-index: 2;
}

.interactive-card:hover::after {
  opacity: 1;
}

.interactive-card:hover {
  border-color: rgba(16, 185, 129, 0.4);
  box-shadow: 0 16px 36px -12px rgba(0, 0, 0, 0.6),
              0 0 24px -4px rgba(16, 185, 129, 0.12);
}

/* Reduced motion accessibility */
@media (prefers-reduced-motion: reduce) {
  [data-motion],
  .stagger-children > * {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .interactive-card {
    transform: none !important;
    transition: none !important;
  }
}

/* ==========================================================================
   FLOATING WHATSAPP BUTTON (UNIVERSAL)
   ========================================================================== */
.floating-whatsapp-btn {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9999;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #ffffff !important;
  padding: 12px 22px;
  border-radius: 9999px;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: -0.01em;
  text-decoration: none !important;
  box-shadow: 0 8px 24px rgba(18, 140, 126, 0.45), 0 2px 6px rgba(0, 0, 0, 0.3);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.floating-whatsapp-btn:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 14px 32px rgba(37, 211, 102, 0.5), 0 4px 12px rgba(0, 0, 0, 0.4);
  color: #ffffff !important;
}

.whatsapp-btn-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  display: block;
}

.whatsapp-btn-text {
  line-height: 1;
}

.whatsapp-btn-pulse {
  position: absolute;
  inset: -3px;
  border-radius: 9999px;
  background: rgba(37, 211, 102, 0.4);
  z-index: -1;
  animation: wa-pulse 2.2s infinite;
}

@keyframes wa-pulse {
  0% { transform: scale(0.96); opacity: 0.8; }
  50% { transform: scale(1.12); opacity: 0; }
  100% { transform: scale(0.96); opacity: 0; }
}

@media (max-width: 640px) {
  .floating-whatsapp-btn {
    bottom: 20px;
    right: 18px;
    padding: 11px 18px;
    font-size: 13px;
  }
}



