/* ==========================================================================
   NAWA LANDING PAGE - MODERN, ANTI-SLOP, HIGH-PERFORMANCE CSS
   Optimized for Cloudflare Pages (pages.dev)
   ========================================================================== */

:root {
  --bg-dark: #070A12;
  --bg-card: #0F172A;
  --bg-card-hover: #162038;
  --bg-surface: #111A2E;
  --border-dim: #1E293B;
  --border-light: #334155;
  --border-accent: #059669;
  
  --emerald: #10B981;
  --emerald-light: #34D399;
  --emerald-dim: rgba(16, 185, 129, 0.15);
  
  --cyan: #38BDF8;
  --cyan-dim: rgba(56, 189, 248, 0.15);
  
  --red: #EF4444;
  --red-dim: rgba(239, 68, 68, 0.15);
  
  --amber: #F59E0B;
  --purple: #8B5CF6;
  
  --text-main: #F8FAFC;
  --text-sub: #E2E8F0;
  --text-muted: #94A3B8;
  --text-dim: #64748B;
  
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-full: 9999px;
  
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  
  --container-max: 1200px;
}

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

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

body {
  min-height: 100vh;
  overflow-x: hidden;
  background: radial-gradient(circle at 50% 0%, #111A33 0%, var(--bg-dark) 65%);
}

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

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

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

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* Accessible Focus States */
:focus-visible {
  outline: 2px solid var(--emerald);
  outline-offset: 3px;
}

/* ==========================================================================
   NAVIGATION
   ========================================================================== */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7, 10, 18, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-dim);
  transition: border-color 0.2s ease;
}

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

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

.nav-logo svg {
  height: 42px;
  width: auto;
}

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

.nav-link {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.15s ease;
}

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

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

.btn-trial {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--emerald);
  color: #022C22;
  font-weight: 700;
  font-size: 14px;
  padding: 10px 20px;
  border-radius: var(--radius-md);
  transition: all 0.2s ease;
}

.btn-trial:hover {
  background: var(--emerald-light);
  transform: translateY(-1px);
}

.mobile-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border-dim);
  color: var(--text-main);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  font-size: 20px;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 82vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 100px 0 70px;
  overflow: hidden;
}

.hero-bg-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}

.hero-video-element {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
  opacity: 0.75;
  filter: contrast(1.1) brightness(1.15);
  transition: opacity 0.5s ease;
}

.hero-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 50% 45%, rgba(7, 10, 18, 0.2) 0%, rgba(7, 10, 18, 0.75) 80%, var(--bg-dark) 100%),
    linear-gradient(180deg, rgba(7, 10, 18, 0.35) 0%, transparent 35%, rgba(7, 10, 18, 0.7) 85%, var(--bg-dark) 100%);
}

.hero-layout {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 920px;
  margin: 0 auto;
}

.hero-status-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--emerald-dim);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: var(--emerald-light);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 24px;
}

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

.hero-title {
  font-size: clamp(34px, 5.5vw, 56px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: #FFFFFF;
  margin-bottom: 20px;
}

.hero-title .text-highlight {
  color: var(--emerald);
}

.hero-description {
  font-size: clamp(17px, 2vw, 20px);
  color: var(--text-muted);
  max-width: 760px;
  line-height: 1.6;
  margin-bottom: 36px;
}

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

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--emerald);
  color: #032E24;
  font-weight: 700;
  font-size: 16px;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  transition: all 0.2s ease;
  box-shadow: 0 4px 20px rgba(16, 185, 129, 0.25);
}

.btn-primary:hover {
  background: var(--emerald-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(16, 185, 129, 0.35);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-card);
  color: var(--text-main);
  border: 1px solid var(--border-light);
  font-weight: 600;
  font-size: 16px;
  padding: 14px 24px;
  border-radius: var(--radius-md);
  transition: all 0.2s ease;
}

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

.hero-badges-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  font-size: 14px;
  color: var(--text-muted);
  border-top: 1px solid var(--border-dim);
  padding-top: 24px;
  width: 100%;
}

.badge-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.badge-item svg {
  color: var(--emerald);
}

/* ==========================================================================
   MOTION GRAPHIC EXPLAINER & SIMULATOR SECTION
   ========================================================================== */
.explainer-section {
  padding: 70px 0;
  position: relative;
}

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

.section-subtitle {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  color: var(--cyan);
  margin-bottom: 10px;
}

.section-title {
  font-size: clamp(26px, 3.8vw, 40px);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  color: #FFFFFF;
}

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

.stage-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--border-dim);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45);
}

.stage-header {
  background: #090E1B;
  padding: 14px 20px;
  border-bottom: 1px solid var(--border-dim);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.stage-controls-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.traffic-light {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

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

.stage-title {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-muted);
  margin-left: 8px;
}

.stage-status-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--emerald-light);
  background: var(--emerald-dim);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

/* Motion Canvas Canvas/SVG Container */
.motion-stage {
  position: relative;
  width: 100%;
  height: 480px;
  background: #060913;
  overflow: hidden;
}

#motionSvg {
  width: 100%;
  height: 100%;
}

/* Interactive Simulator Controls */
.simulator-panel {
  background: #0C1222;
  border-top: 1px solid var(--border-dim);
  padding: 24px;
}

.simulator-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.sim-button-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.sim-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-surface);
  color: var(--text-main);
  border: 1px solid var(--border-light);
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  transition: all 0.2s ease;
}

.sim-btn:hover {
  background: var(--bg-card-hover);
  border-color: var(--cyan);
}

.sim-btn.danger {
  border-color: rgba(239, 68, 68, 0.4);
  color: #FCA5A5;
}

.sim-btn.danger:hover {
  background: var(--red-dim);
  border-color: var(--red);
  color: #FFFFFF;
}

.sim-btn.active {
  background: var(--emerald-dim);
  border-color: var(--emerald);
  color: var(--emerald-light);
}

.sim-speed-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: var(--text-muted);
}

.sim-speed-btn {
  padding: 4px 10px;
  border-radius: 4px;
  background: var(--bg-surface);
  border: 1px solid var(--border-dim);
  color: var(--text-muted);
  font-size: 12px;
}

.sim-speed-btn.active {
  background: var(--emerald);
  color: #022C22;
  font-weight: 700;
  border-color: var(--emerald);
}

/* Simulator Metrics and Live Telegram Feed */
.simulator-stats-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 20px;
}

.sim-metrics-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.metric-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-dim);
  padding: 14px 16px;
  border-radius: var(--radius-sm);
}

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

.metric-value {
  font-family: var(--font-mono);
  font-size: 20px;
  font-weight: 700;
  color: #FFFFFF;
}

.metric-value.green { color: var(--emerald-light); }
.metric-value.cyan { color: var(--cyan); }
.metric-value.amber { color: var(--amber); }

.telegram-preview-box {
  background: #081122;
  border: 1px solid #1E3A5F;
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  position: relative;
}

.tg-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(56, 189, 248, 0.15);
}

.tg-bot-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  color: var(--cyan);
}

.tg-time {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-dim);
}

.tg-body {
  font-family: var(--font-mono);
  font-size: 12px;
  color: #CBD5E1;
  line-height: 1.5;
  transition: all 0.3s ease;
}

/* ==========================================================================
   PROBLEM VS SOLUTION SECTION (KOMPARASI NYATA)
   ========================================================================== */
.comparison-section {
  padding: 70px 0;
}

.comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.comp-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  border: 1px solid var(--border-dim);
}

.comp-card.bad {
  border-top: 4px solid var(--red);
  background: linear-gradient(180deg, rgba(239, 68, 68, 0.05) 0%, var(--bg-card) 40%);
}

.comp-card.good {
  border-top: 4px solid var(--emerald);
  background: linear-gradient(180deg, rgba(16, 185, 129, 0.05) 0%, var(--bg-card) 40%);
}

.comp-card-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
}

.comp-card.bad .comp-card-badge {
  background: var(--red-dim);
  color: #F87171;
}

.comp-card.good .comp-card-badge {
  background: var(--emerald-dim);
  color: var(--emerald-light);
}

.comp-title {
  font-size: 24px;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 16px;
}

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

.comp-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.comp-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
}

.comp-icon {
  flex-shrink: 0;
  margin-top: 2px;
}

.comp-card.bad .comp-icon { color: var(--red); }
.comp-card.good .comp-icon { color: var(--emerald); }

/* ==========================================================================
   FEATURES DEEP DIVE (6 KEUNGGULAN UTAMA)
   ========================================================================== */
.features-section {
  padding: 70px 0;
}

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

.feature-box {
  background: var(--bg-card);
  border: 1px solid var(--border-dim);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.feature-box:hover {
  transform: translateY(-3px);
  border-color: var(--border-light);
  background: var(--bg-card-hover);
}

.feature-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--emerald);
  margin-bottom: 20px;
}

.feature-title {
  font-size: 19px;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 12px;
}

.feature-text {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   ARCHITECTURE WORKFLOW (CARA KERJA SISTEM)
   ========================================================================== */
.workflow-section {
  padding: 70px 0;
  background: linear-gradient(180deg, transparent 0%, rgba(15, 23, 42, 0.4) 100%);
}

.workflow-steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.wf-step {
  background: var(--bg-card);
  border: 1px solid var(--border-dim);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  position: relative;
}

.wf-step-number {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--cyan);
  background: var(--cyan-dim);
  padding: 4px 10px;
  border-radius: 4px;
  display: inline-block;
  margin-bottom: 16px;
}

.wf-title {
  font-size: 17px;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 10px;
}

.wf-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ==========================================================================
   INTERACTIVE TRAFFIC LOSS CALCULATOR SECTION
   ========================================================================== */
.calculator-section {
  padding: 80px 0;
  background: linear-gradient(180deg, rgba(8, 14, 27, 0) 0%, rgba(15, 23, 42, 0.6) 50%, rgba(8, 14, 27, 0) 100%);
  position: relative;
}

.calc-wrapper {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 32px;
  max-width: 1040px;
  margin: 0 auto;
  align-items: stretch;
}

.calc-inputs-col {
  background: var(--bg-card);
  border: 1px solid var(--border-dim);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.calc-field-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.calc-field-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.calc-label {
  font-size: 15px;
  font-weight: 600;
  color: #FFFFFF;
}

.calc-display-badge {
  background: rgba(16, 185, 129, 0.12);
  color: var(--emerald-light);
  border: 1px solid rgba(16, 185, 129, 0.3);
  font-size: 14px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-full);
}

.calc-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 8px;
  border-radius: var(--radius-full);
  background: #1E293B;
  outline: none;
  cursor: pointer;
  transition: background 0.2s ease;
}

.calc-slider:focus {
  outline: 2px solid var(--emerald);
  outline-offset: 2px;
}

.calc-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #10B981;
  border: 3px solid #0F172A;
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.6);
  cursor: grab;
  transition: transform 0.15s ease, background-color 0.15s ease;
}

.calc-slider::-webkit-slider-thumb:active {
  cursor: grabbing;
  transform: scale(1.15);
  background: #34D399;
}

.calc-slider::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #10B981;
  border: 3px solid #0F172A;
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.6);
  cursor: grab;
  transition: transform 0.15s ease;
}

.calc-slider-scale {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-dim);
}

.calc-assumptions-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
  background: rgba(15, 23, 42, 0.6);
  padding: 12px 14px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-dim);
}

.calc-assumptions-note svg {
  color: var(--sky);
  flex-shrink: 0;
  margin-top: 2px;
}

.calc-results-col {
  display: flex;
  flex-direction: column;
}

.calc-card-result {
  background: radial-gradient(circle at 50% 0%, rgba(239, 68, 68, 0.12) 0%, rgba(15, 23, 42, 0.95) 75%);
  border: 1px solid rgba(239, 68, 68, 0.35);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.45);
  height: 100%;
}

.calc-result-header {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #FCA5A5;
  margin-bottom: 8px;
}

.calc-loss-number {
  font-size: clamp(32px, 4vw, 46px);
  font-weight: 900;
  color: #EF4444;
  line-height: 1.1;
  text-shadow: 0 0 20px rgba(239, 68, 68, 0.3);
  margin-bottom: 8px;
}

.calc-loss-sub {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.calc-divider {
  height: 1px;
  background: var(--border-dim);
  margin-bottom: 24px;
}

.calc-comparison-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(2, 6, 23, 0.6);
  padding: 14px 18px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-dim);
  margin-bottom: 18px;
}

.calc-comp-title {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 2px;
}

.calc-comp-val {
  font-size: 18px;
  font-weight: 800;
  color: #FFFFFF;
}

.calc-per-day {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-dim);
}

.calc-tag-free {
  background: rgba(16, 185, 129, 0.2);
  color: var(--emerald-light);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(16, 185, 129, 0.4);
}

.calc-roi-highlight {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  color: #D1FAE5;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 24px;
}

.calc-roi-icon {
  color: var(--emerald);
  font-weight: 900;
  font-size: 16px;
}

.calc-cta-btn {
  width: 100%;
  justify-content: center;
}

/* ==========================================================================
   PRICING GUARANTEE & PEACE OF MIND BOX
   ========================================================================== */
.pricing-guarantee-box {
  background: linear-gradient(135deg, rgba(6, 78, 59, 0.25) 0%, rgba(15, 23, 42, 0.9) 100%);
  border: 1px solid rgba(16, 185, 129, 0.35);
  border-radius: var(--radius-lg);
  padding: 32px 36px;
  margin-top: 48px;
  display: flex;
  gap: 24px;
  align-items: flex-start;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.guarantee-icon-badge {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: var(--radius-md);
  padding: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.guarantee-content {
  flex-grow: 1;
}

.guarantee-title {
  font-size: 20px;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 8px;
}

.guarantee-desc {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 18px;
}

.guarantee-badges-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.g-badge {
  background: rgba(2, 6, 23, 0.7);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #A7F3D0;
  font-size: 13px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: var(--radius-full);
}

/* ==========================================================================
   FLOATING TELEGRAM QUICK ACTION BUTTON
   ========================================================================== */
.floating-tg-btn {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #2AABEE 0%, #229ED9 100%);
  color: #FFFFFF;
  font-size: 14px;
  font-weight: 700;
  padding: 12px 20px;
  border-radius: var(--radius-full);
  box-shadow: 0 8px 24px rgba(34, 158, 217, 0.4), 0 2px 6px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-decoration: none;
}

.floating-tg-btn:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 32px rgba(34, 158, 217, 0.55), 0 4px 10px rgba(0, 0, 0, 0.4);
  color: #FFFFFF;
}

.floating-tg-pulse {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: var(--radius-full);
  border: 2px solid #38BDF8;
  animation: tgPulse 2.5s infinite cubic-bezier(0.4, 0, 0.6, 1);
  pointer-events: none;
}

@keyframes tgPulse {
  0% {
    transform: scale(1);
    opacity: 0.8;
  }
  70% {
    transform: scale(1.15, 1.35);
    opacity: 0;
  }
  100% {
    transform: scale(1.15, 1.35);
    opacity: 0;
  }
}

.floating-tg-icon {
  flex-shrink: 0;
}

/* ==========================================================================
   PRICING SECTION (SKEMA HARGA DURASI 1 AKUN + UJI COBA GRATIS)
   ========================================================================== */
.pricing-section {
  padding: 80px 0;
  position: relative;
}

.pricing-free-banner {
  background: linear-gradient(90deg, #064E3B 0%, #065F46 100%);
  border: 1px solid var(--emerald);
  border-radius: var(--radius-lg);
  padding: 28px 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 48px;
}

.banner-left h3 {
  font-size: 22px;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 6px;
}

.banner-left p {
  color: #D1FAE5;
  font-size: 15px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  align-items: stretch;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-dim);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

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

.pricing-card.featured {
  border: 2px solid var(--emerald);
  background: linear-gradient(180deg, #0F2027 0%, var(--bg-card) 60%);
  box-shadow: 0 10px 30px rgba(16, 185, 129, 0.15);
}

.pricing-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--emerald);
  color: #022C22;
  font-weight: 800;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 14px;
  border-radius: var(--radius-full);
}

.plan-name {
  font-size: 19px;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 8px;
}

.plan-desc {
  font-size: 13px;
  color: var(--text-muted);
  min-height: 40px;
  margin-bottom: 20px;
}

.plan-price-wrap {
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-dim);
}

.plan-price {
  font-size: 32px;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.1;
}

.plan-duration {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 4px;
}

.plan-savings {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: var(--emerald-light);
  background: var(--emerald-dim);
  padding: 2px 8px;
  border-radius: 4px;
  margin-top: 6px;
}

.plan-features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 14px;
  color: var(--text-sub);
  margin-bottom: 28px;
  flex-grow: 1;
}

.plan-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

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

.btn-plan {
  width: 100%;
  padding: 12px 18px;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  border-radius: var(--radius-md);
  transition: all 0.2s ease;
  background: var(--bg-surface);
  color: var(--text-main);
  border: 1px solid var(--border-light);
}

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

.pricing-card.featured .btn-plan {
  background: var(--emerald);
  color: #022C22;
  border: none;
}

.pricing-card.featured .btn-plan:hover {
  background: var(--emerald-light);
}

/* ==========================================================================
   FAQ SECTION (ACCORDION)
   ========================================================================== */
.faq-section {
  padding: 70px 0;
}

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

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

.faq-item:hover {
  border-color: var(--border-light);
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 16px;
  font-weight: 600;
  color: #FFFFFF;
}

.faq-icon {
  width: 20px;
  height: 20px;
  color: var(--emerald);
  transition: transform 0.25s ease;
  flex-shrink: 0;
}

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

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

.faq-item.open .faq-answer {
  padding-bottom: 22px;
}

/* ==========================================================================
   FINAL CTA & FOOTER
   ========================================================================== */
.final-cta-section {
  padding: 90px 0 70px;
  text-align: center;
}

.final-cta-box {
  background: radial-gradient(circle at 50% 30%, #162444 0%, var(--bg-card) 75%);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 60px 32px;
  max-width: 900px;
  margin: 0 auto;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.final-cta-title {
  font-size: clamp(28px, 4.5vw, 42px);
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 16px;
}

.final-cta-desc {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 32px;
}

.site-footer {
  border-top: 1px solid var(--border-dim);
  padding: 40px 0;
  background: #050810;
  font-size: 14px;
  color: var(--text-dim);
}

.footer-layout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-links {
  display: flex;
  gap: 24px;
}

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

/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 1024px) {
  .calc-wrapper {
    grid-template-columns: 1fr;
  }
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .workflow-steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .simulator-stats-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .calc-inputs-col,
  .calc-card-result {
    padding: 24px 20px;
  }
  .pricing-guarantee-box {
    flex-direction: column;
    text-align: center;
    align-items: center;
    padding: 24px 20px;
  }
  .guarantee-badges-list {
    justify-content: center;
  }
  .floating-tg-btn {
    bottom: 20px;
    right: 20px;
    padding: 10px 16px;
    font-size: 13px;
  }
  .nav-menu {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: #090E1B;
    border-bottom: 1px solid var(--border-dim);
    flex-direction: column;
    padding: 24px;
    gap: 18px;
  }
  .nav-menu.open {
    display: flex;
  }
  .mobile-toggle {
    display: block;
  }
  .comparison-grid {
    grid-template-columns: 1fr;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .pricing-grid {
    grid-template-columns: 1fr;
  }
  .workflow-steps-grid {
    grid-template-columns: 1fr;
  }
  .pricing-free-banner {
    flex-direction: column;
    text-align: center;
  }
  .sim-metrics-row {
    grid-template-columns: 1fr;
  }
  .motion-stage {
    height: 400px;
  }
}
