/* --- Design System & Custom Properties --- */
:root {
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Outfit', sans-serif;

  /* Colors */
  --primary-brand: #064e3b; /* Deep Brand Green */
  --primary: #059669;       /* Emerald Green */
  --primary-light: #10b981; /* Light Emerald */
  --primary-dark: #047857;  /* Dark Emerald */
  --accent: #ea580c;        /* Accent Orange */
  --accent-light: #f97316;  /* Light Orange */
  --payment-blue: #2563eb;  /* Blue */
  --whatsapp-green: #25d366; /* WhatsApp Green */

  /* Neutral Backgrounds & Text */
  --bg-light: #f8fafc;
  --bg-dark: #0b1220;
  --card-light: #ffffff;
  --card-dark: #111827;
  --text-main: #0f172a;
  --text-muted: #64748b;
  --border-light: #e2e8f0;
  --border-dark: #1e293b;

  /* Glassmorphism Styles */
  --glass-bg: rgba(255, 255, 255, 0.7);
  --glass-border: rgba(255, 255, 255, 0.4);
  --glass-shadow: 0 8px 32px 0 rgba(15, 23, 42, 0.08);

  /* Borders & Shadows */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-full: 9999px;

  --shadow-sm: 0 1px 3px rgba(0,0,0,0.05);
  --shadow-md: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 20px 40px -15px rgba(6, 78, 59, 0.15);
  --shadow-premium: 0 25px 60px -15px rgba(0, 0, 0, 0.2);

  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Base Reset --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  color: var(--text-main);
  background-color: var(--bg-light);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.25;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-fast);
}

/* --- Utilities --- */
.text-danger { color: #ef4444; }
.text-success { color: var(--primary); }
.text-orange { color: var(--accent); }
.text-red { color: #dc2626; }
.bg-emerald { background-color: var(--primary); color: white; }
.bg-orange { background-color: var(--accent); color: white; }
.bg-blue { background-color: var(--payment-blue); color: white; }
.btn-block { display: block; width: 100%; text-align: center; }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 16px;
  border: none;
  cursor: pointer;
  transition: var(--transition-normal);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background-color: var(--accent);
  color: white;
  box-shadow: 0 4px 14px rgba(234, 88, 12, 0.3);
}

.btn-primary:hover {
  background-color: var(--accent-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(234, 88, 12, 0.4);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  background-color: rgba(255, 255, 255, 0.15);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(8px);
}

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

.btn-sm {
  padding: 10px 20px;
  font-size: 14px;
  border-radius: var(--radius-sm);
}

.btn-subtext {
  font-size: 11px;
  opacity: 0.8;
  font-weight: 400;
  margin-top: 2px;
}

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

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

.section-title-main {
  font-size: 38px;
  font-weight: 800;
  color: var(--primary-brand);
  margin-bottom: 16px;
}

.section-subtitle-main {
  font-size: 18px;
  color: var(--text-muted);
}

.tagline {
  display: inline-block;
  background-color: rgba(234, 88, 12, 0.1);
  color: var(--accent);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 24px;
}

.tagline-alt {
  background-color: rgba(5, 150, 105, 0.1);
  color: var(--primary);
}

/* --- Navigation Bar --- */
.navbar {
  position: sticky;
  top: 0;
  background-color: rgba(248, 250, 252, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  z-index: 1000;
  transition: var(--transition-fast);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 22px;
  color: var(--primary-brand);
}

.logo-icon, .logo-img {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  object-fit: contain;
}

.logo-icon {
  background-color: var(--primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 18px;
}

.logo-text span {
  color: var(--primary);
}

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

.nav-links a {
  font-weight: 500;
  font-size: 15px;
  color: var(--text-muted);
}

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

/* --- Hero Section --- */
.hero-section {
  background: radial-gradient(circle at 80% 20%, #0d5c46 0%, var(--primary-brand) 100%);
  color: white;
  padding: 120px 24px 100px 24px;
  position: relative;
  overflow: hidden;
}

/* Grid overlay background */
.hero-section::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 80px;
  align-items: center;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-title {
  font-size: 54px;
  font-weight: 900;
  letter-spacing: -1.5px;
  line-height: 1.15;
  margin-bottom: 24px;
}

.hero-subtitle {
  font-size: 18px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 40px;
  max-width: 580px;
}

.hero-ctas {
  display: flex;
  gap: 20px;
  margin-bottom: 48px;
}

.hero-proof {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
}

.avatar-group {
  display: flex;
}

.avatar-mini {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-full);
  border: 2px solid var(--primary-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 12px;
  margin-left: -8px;
}

.avatar-mini:first-child {
  margin-left: 0;
}

/* --- Phone Mockup (CSS Art) --- */
.hero-mockup-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  z-index: 2;
}

.phone-mockup {
  width: 320px;
  height: 640px;
  background-color: #1e293b;
  border-radius: 40px;
  padding: 12px;
  box-shadow: var(--shadow-premium);
  border: 4px solid rgba(255, 255, 255, 0.15);
  position: relative;
}

.phone-speaker {
  width: 60px;
  height: 12px;
  background-color: #0f172a;
  border-radius: var(--radius-full);
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}

.phone-screen {
  width: 100%;
  height: 100%;
  background-color: var(--bg-light);
  border-radius: 32px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: inset 0 0 10px rgba(0,0,0,0.15);
}

/* App Styles Inside Phone */
.app-header {
  background-color: var(--primary-brand);
  color: white;
  padding: 24px 16px 16px 16px;
}

.app-title-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}

.app-logo, .app-logo-img {
  width: 20px;
  height: 20px;
  border-radius: 4px;
  object-fit: contain;
}

.app-logo {
  background-color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: bold;
  color: white;
}

.app-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
}

.app-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.stat-card {
  background-color: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 10px;
  border-radius: var(--radius-sm);
  display: flex;
  flex-direction: column;
}

.stat-label {
  font-size: 10px;
  opacity: 0.7;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.stat-value {
  font-size: 16px;
  font-weight: 700;
  margin-top: 2px;
}

.app-content {
  padding: 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.section-title {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 12px;
  letter-spacing: 0.5px;
}

.mock-customer-card {
  background-color: white;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-fast);
}

.mock-customer-card:hover {
  transform: scale(1.02);
}

.customer-avatar {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 13px;
  color: white;
}

.bg-avatar-1 { background-color: var(--primary-light); }
.bg-avatar-2 { background-color: var(--accent); }

.customer-info {
  flex: 1;
}

.customer-name-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.customer-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-main);
}

.status-badge {
  font-size: 8px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: var(--radius-full);
}

.status-late {
  background-color: #fee2e2;
  color: #ef4444;
}

.status-ok {
  background-color: #d1fae5;
  color: var(--primary-dark);
}

.customer-debt-row {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 2px;
}

.debt-value {
  font-weight: 700;
  color: var(--text-main);
}

.debt-value.text-late {
  color: #ef4444;
}

.action-btn {
  border: none;
  background-color: #f1f5f9;
  width: 28px;
  height: 28px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  cursor: pointer;
  transition: var(--transition-fast);
}

.action-btn:hover {
  background-color: #e2e8f0;
  transform: scale(1.1);
}

.mock-actions {
  margin-top: auto;
}

/* Modal Inside Phone */
.mock-modal-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: rgba(15, 23, 42, 0.4);
  z-index: 100;
  display: flex;
  align-items: flex-end;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-fast);
}

.mock-modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.mock-modal {
  width: 100%;
  background-color: white;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  padding: 20px;
  transform: translateY(100%);
  transition: transform var(--transition-normal);
}

.mock-modal-overlay.active .mock-modal {
  transform: translateY(0);
}

.mock-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 16px;
  color: var(--primary-brand);
}

.close-modal-btn {
  border: none;
  background: none;
  font-size: 20px;
  cursor: pointer;
}

.mock-modal-body label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.mock-input {
  width: 100%;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
  margin-bottom: 14px;
  font-size: 13px;
  outline: none;
}

.quick-amounts {
  display: flex;
  gap: 8px;
  margin-bottom: 10px;
}

.amount-btn {
  flex: 1;
  border: 1px solid var(--border-light);
  background-color: #f8fafc;
  padding: 6px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-fast);
}

.amount-btn:hover {
  background-color: #e2e8f0;
}

/* Floating Badges */
.floating-badge {
  position: absolute;
  background-color: white;
  padding: 12px 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  max-width: 250px;
  z-index: 10;
  animation: float 4s ease-in-out infinite;
}

.badge-offline {
  left: -60px;
  top: 120px;
}

.badge-whatsapp {
  right: -60px;
  bottom: 120px;
  animation-delay: 2s;
}

.badge-icon {
  font-size: 24px;
}

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

.badge-text span {
  font-weight: 700;
  font-size: 14px;
  color: var(--primary-brand);
}

.badge-text small {
  font-size: 11px;
  color: var(--text-muted);
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}

/* --- Features Section --- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.feature-card {
  background-color: white;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 40px;
  transition: var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(5, 150, 105, 0.2);
}

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

.icon-emerald { background-color: rgba(5, 150, 105, 0.1); }
.icon-whatsapp { background-color: rgba(37, 211, 102, 0.1); }
.icon-orange { background-color: rgba(234, 88, 12, 0.1); }
.icon-blue { background-color: rgba(37, 99, 235, 0.1); }
.icon-purple { background-color: rgba(139, 92, 246, 0.1); }
.icon-red { background-color: rgba(239, 68, 68, 0.1); }

.feature-card h3 {
  font-size: 20px;
  color: var(--primary-brand);
  margin-bottom: 12px;
}

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

/* --- WhatsApp Simulator Section --- */
.bg-glass {
  background: radial-gradient(120% 120% at 50% 0%, rgba(255, 255, 255, 0.9) 0%, rgba(248, 250, 252, 0.6) 100%);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(10px);
}

.simulator-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 60px;
}

.sim-form {
  margin-top: 32px;
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--primary-brand);
  margin-bottom: 8px;
}

.form-control {
  width: 100%;
  padding: 14px 18px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  font-family: var(--font-sans);
  font-size: 15px;
  outline: none;
  background-color: white;
  transition: var(--transition-fast);
}

.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.1);
}

.vibe-selectors {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.vibe-btn {
  padding: 10px 18px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-light);
  background-color: white;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition-fast);
}

.vibe-btn:hover {
  background-color: #f1f5f9;
}

.vibe-btn.active {
  background-color: var(--primary-brand);
  color: white;
  border-color: var(--primary-brand);
}

/* WhatsApp Mobile Frame */
.whatsapp-mockup-wrapper {
  display: flex;
  justify-content: center;
}

.wa-container {
  width: 340px;
  height: 480px;
  background: #efeae2 url("data:image/svg+xml,%3Csvg width='100' height='100' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100' height='100' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-premium);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.1);
}

.wa-header {
  background-color: #075e54;
  color: white;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.wa-avatar {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background-color: #25d366;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
}

.wa-header-info h3 {
  font-size: 14px;
  font-weight: 600;
}

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

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

.wa-bubble {
  max-width: 85%;
  padding: 10px 14px;
  border-radius: var(--radius-md);
  font-size: 13px;
  line-height: 1.45;
  color: #111b21;
  position: relative;
  box-shadow: 0 1px 2px rgba(0,0,0,0.08);
}

.wa-bubble.incoming {
  background-color: white;
  align-self: flex-start;
  border-top-left-radius: 4px;
}

.wa-bubble.outgoing {
  background-color: #d9fdd3;
  align-self: flex-end;
  border-top-right-radius: 4px;
  animation: bubble-bounce 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes bubble-bounce {
  0% { transform: scale(0.9); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

.wa-time {
  display: block;
  font-size: 9px;
  color: #667781;
  text-align: right;
  margin-top: 4px;
}

.wa-footer {
  background-color: #f0f2f5;
  padding: 14px;
  display: flex;
  gap: 10px;
}

.wa-footer .btn {
  flex: 1;
  font-size: 13px;
  padding: 10px;
}

/* --- Risk Calculator Section --- */
.calculator-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 50px;
  align-items: stretch;
}

.calc-box {
  background-color: white;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 50px;
  box-shadow: var(--shadow-md);
}

.calc-steps {
  margin-top: 40px;
}

.calc-step {
  margin-bottom: 32px;
}

.calc-label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.calc-label-row label {
  font-weight: 700;
  font-size: 16px;
  color: var(--primary-brand);
}

.slider-val {
  font-size: 13px;
  font-weight: 600;
  background-color: #f1f5f9;
  color: var(--text-muted);
  padding: 4px 12px;
  border-radius: var(--radius-full);
}

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

.calc-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: var(--radius-full);
  background: var(--accent);
  cursor: pointer;
  border: 2px solid white;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  transition: transform var(--transition-fast);
}

.calc-slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

.slider-ticks {
  display: flex;
  justify-content: space-between;
  margin-top: 6px;
  font-size: 11px;
  color: var(--text-muted);
}

/* Results Box */
.calc-result-box {
  background: radial-gradient(circle at 100% 0%, #0d5c46 0%, var(--primary-brand) 100%);
  color: white;
  border-radius: var(--radius-lg);
  padding: 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.calc-result-box::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(circle at 80% 80%, rgba(234, 88, 12, 0.15) 0%, transparent 50%);
  pointer-events: none;
}

.calc-badge {
  display: inline-block;
  align-self: flex-start;
  background-color: rgba(255,255,255,0.15);
  color: #fef08a; /* Soft Yellow */
  font-weight: 700;
  font-size: 12px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  letter-spacing: 0.5px;
  margin-bottom: 24px;
}

.calc-badge.danger {
  background-color: rgba(239, 68, 68, 0.2);
  color: #fca5a5;
}

.calc-result-box .calc-title {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 16px;
}

.calc-description {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 32px;
  line-height: 1.5;
}

.calc-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 32px;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
}

.calc-stat-item {
  display: flex;
  flex-direction: column;
}

.calc-stat-label {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
}

.calc-stat-val {
  font-size: 22px;
  font-weight: 900;
  margin-top: 4px;
}

.calc-stat-val.text-orange { color: #fdba74; }
.calc-stat-val.text-red { color: #fca5a5; }

.calc-equivalence {
  font-size: 14px;
  background-color: rgba(255, 255, 255, 0.08);
  padding: 12px 18px;
  border-radius: var(--radius-md);
  margin-bottom: 32px;
  border-left: 4px solid var(--accent);
}

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

.pricing-card {
  background-color: white;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 40px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: var(--transition-normal);
}

.pricing-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.pricing-card.featured {
  border: 2px solid var(--primary);
  box-shadow: var(--shadow-lg);
  background-color: #f0fdf4;
}

.featured-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--primary);
  color: white;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: var(--radius-full);
  letter-spacing: 0.5px;
}

.plan-name {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  color: var(--primary-brand);
  margin-bottom: 12px;
}

.plan-price {
  font-size: 32px;
  font-weight: 900;
  color: var(--text-main);
  margin-bottom: 12px;
}

.plan-period {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  margin-left: 4px;
}

.plan-desc {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 32px;
}

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

.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.danger-feature { color: #94a3b8; }
.success-feature { color: var(--text-main); }

.plan-action {
  margin-top: auto;
}

/* --- Testimonials Section --- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.testimonial-card {
  background-color: white;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
}

.testimonial-card:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(5, 150, 105, 0.15);
}

.testimonial-text {
  font-size: 15px;
  font-style: italic;
  line-height: 1.6;
  color: var(--text-main);
  margin-bottom: 24px;
}

.testimonial-user {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: white;
}

.testimonial-info h4 {
  font-size: 15px;
  color: var(--primary-brand);
}

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

/* --- Download Banner --- */
.download-section {
  background: radial-gradient(100% 100% at 50% 0%, #0d5c46 0%, var(--primary-brand) 100%);
  color: white;
  text-align: center;
  padding: 100px 24px;
  position: relative;
  overflow: hidden;
}

.download-section::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 30px 30px;
}

.download-container {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.download-section h2 {
  font-size: 38px;
  font-weight: 900;
  margin-bottom: 16px;
}

.download-section p {
  font-size: 18px;
  color: rgba(255,255,255,0.8);
  margin-bottom: 40px;
}

.download-buttons {
  display: flex;
  justify-content: center;
}

.download-btn {
  background-color: white;
  color: var(--text-main);
  padding: 16px 36px;
  border-radius: var(--radius-md);
  display: inline-flex;
  align-items: center;
  gap: 16px;
  box-shadow: var(--shadow-lg);
  transition: var(--transition-normal);
}

.download-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.25);
}

.download-btn-icon {
  font-size: 32px;
}

.download-btn-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.download-btn-text span {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
}

.download-btn-text strong {
  font-size: 16px;
  font-weight: 700;
  color: var(--primary-brand);
}

.download-disclaimer {
  font-size: 12px !important;
  opacity: 0.6;
  margin-top: 24px;
  margin-bottom: 0 !important;
}

/* --- Footer --- */
.main-footer {
  background-color: var(--bg-dark);
  color: #94a3b8;
  padding: 60px 24px;
  border-top: 1px solid var(--border-dark);
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  color: white;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 20px;
}

.footer-copy {
  font-size: 13px;
}

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

.footer-links a:hover {
  color: white;
}

/* --- Responsive Adjustments --- */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 60px;
    text-align: center;
  }
  
  .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-ctas {
    justify-content: center;
  }

  .simulator-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 30px;
  }

  .calculator-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

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

  .section-title-main {
    font-size: 30px;
  }

  .floating-badge {
    display: none; /* Hide floating badges on smaller mobile views */
  }

  .section-container {
    padding: 60px 20px;
  }

  .btn {
    width: 100%;
  }

  .hero-ctas {
    flex-direction: column;
    width: 100%;
  }
}
