/* ==========================================================================
   SoloTreasury™ - Modern Mobile-First Design System
   Sovereign Fintech Styling for European Solopreneurs
   ========================================================================== */

:root {
  /* Brand Color Tokens */
  --emerald-primary: #10b981;
  --emerald-glow: #059669;
  --emerald-light: #34d399;
  --emerald-soft: #ecfdf5;
  --emerald-surface: #062b1e;
  
  --bg-main: #060d17;
  --bg-surface: #0b1523;
  --bg-card: #0f1c2e;
  --bg-card-hover: #14243b;
  --bg-input: #0a1320;
  
  --border-subtle: #1e2e42;
  --border-active: #10b981;
  --border-amber: #f59e0b;
  
  --amber-warning: #f59e0b;
  --amber-soft: #fef3c7;
  --rose-expense: #f43f5e;
  --blue-sky: #38bdf8;
  
  --text-white: #ffffff;
  --text-slate-100: #f1f5f9;
  --text-slate-300: #cbd5e1;
  --text-muted: #cbd5e1;
  --text-dim: #94a3b8;
  
  /* Typography */
  --font-sans: -apple-system, BlinkMacSystemFont, "Plus Jakarta Sans", "Inter", "Segoe UI", Roboto, sans-serif;
  --font-mono: "JetBrains Mono", "SF Mono", Consolas, Menlo, monospace;
  
  /* Shadows & Elevations */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.5);
  --shadow-emerald: 0 8px 30px rgba(16, 185, 129, 0.25);
  --shadow-emerald-lg: 0 12px 40px rgba(16, 185, 129, 0.35);

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  
  --container-max: 1200px;
  --transition-fast: 0.15s ease;
  --transition-normal: 0.25s ease;
}

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

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

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

/* Ambient Radial Glow Background */
body::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1000px;
  height: 600px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.12) 0%, rgba(6, 43, 30, 0.05) 50%, transparent 75%);
  pointer-events: none;
  z-index: 0;
}

/* Typography Utilities */
h1, h2, h3, h4 {
  color: var(--text-white);
  line-height: 1.2;
  letter-spacing: -0.025em;
  font-weight: 800;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.7rem); }
h4 { font-size: 1.15rem; font-weight: 700; }

p {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.65;
}

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

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

.mono {
  font-family: var(--font-mono);
}

/* Container */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 1;
}

/* Header & Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(12px);
  background: rgba(6, 13, 23, 0.85);
  border-bottom: 1px solid var(--border-subtle);
  padding: 1rem 0;
}

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

.logo-link {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  transition: opacity var(--transition-fast);
}

.logo-link:hover {
  opacity: 0.92;
}

.brand-logo-icon {
  height: 38px;
  width: 38px;
  flex-shrink: 0;
  display: block;
}

.footer-brand .brand-logo-icon {
  height: 38px;
  width: 38px;
}

.brand-logo-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1.15;
}

.brand-name {
  font-family: var(--font-sans);
  font-size: 1.45rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.03em;
  display: flex;
  align-items: baseline;
}

.brand-emerald {
  color: var(--emerald-light);
  background: linear-gradient(135deg, #10b981, #34d399);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.brand-tm {
  font-size: 0.62rem;
  color: var(--emerald-primary);
  font-weight: 800;
  margin-left: 2px;
  -webkit-text-fill-color: var(--emerald-primary);
  vertical-align: super;
}

.brand-sub {
  font-family: var(--font-sans);
  font-size: 0.65rem;
  font-weight: 700;
  color: #94a3b8;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-top: 2px;
}

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

.nav-links a {
  color: var(--text-slate-300);
  font-size: 0.95rem;
  font-weight: 600;
  transition: color var(--transition-fast);
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Mobile Nav Toggle & 3-Bar Hamburger Animation */
.mobile-toggle {
  display: none;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 8px 9px;
  width: 42px;
  height: 42px;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  transition: all var(--transition-fast);
  z-index: 1001;
}

.mobile-toggle:hover {
  background: rgba(16, 185, 129, 0.16);
  border-color: var(--emerald-primary);
}

.mobile-toggle .hamburger-line {
  display: block;
  width: 22px;
  height: 2px;
  background-color: var(--text-white);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease, background-color 0.2s ease;
  transform-origin: center;
}

/* Active State: Morphs Hamburger into '✕' Close Mark */
.mobile-toggle.active .hamburger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
  background-color: var(--emerald-light);
}

.mobile-toggle.active .hamburger-line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.mobile-toggle.active .hamburger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
  background-color: var(--emerald-light);
}

.mobile-menu-cta-wrap {
  display: none;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 700;
  padding: 0.85rem 1.6rem;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--emerald-primary), var(--emerald-glow));
  color: #031c12;
  box-shadow: var(--shadow-emerald);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-emerald-lg);
  color: #01110a;
}

.btn-secondary {
  background: var(--bg-card);
  color: var(--text-slate-100);
  border: 1px solid var(--border-subtle);
}

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

.btn-lg {
  padding: 1.1rem 2.2rem;
  font-size: 1.1rem;
}

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
}

.badge-emerald {
  background: rgba(16, 185, 129, 0.15);
  color: var(--emerald-light);
  border: 1px solid rgba(16, 185, 129, 0.35);
}

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

/* Hero Section */
.hero-section {
  padding: 4.5rem 0 3.5rem;
  text-align: center;
  position: relative;
}

.hero-content {
  max-width: 860px;
  margin: 0 auto;
}

.hero-title {
  margin: 1.2rem 0 1.5rem;
}

.hero-title span {
  background: linear-gradient(135deg, var(--emerald-primary), var(--emerald-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.25rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  color: var(--text-slate-300);
}

.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}

.guarantee-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Trust Banner - Clean 2-Column Fintech Trust Card */
.trust-banner {
  margin-top: 3.5rem;
  padding: 2.25rem 2rem;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.85) 0%, rgba(6, 15, 30, 0.95) 100%);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: var(--radius-xl);
  box-shadow: 0 12px 36px -10px rgba(0, 0, 0, 0.6), 0 0 24px -5px rgba(16, 185, 129, 0.08);
  backdrop-filter: blur(10px);
  text-align: center;
}

.trust-header {
  margin-bottom: 1.75rem;
}

.trust-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #34d399;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.35);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.75rem;
}

.trust-title {
  font-size: 1.28rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.35;
  margin-bottom: 0.4rem;
}

.trust-title .brand-emerald {
  color: var(--primary);
  text-shadow: 0 0 14px rgba(16, 185, 129, 0.4);
}

.trust-subtitle {
  font-size: 0.95rem;
  color: var(--text-slate-300);
  margin: 0 auto;
  max-width: 650px;
  line-height: 1.5;
}

.trust-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  text-align: left;
}

.trust-col-card {
  background: rgba(11, 19, 32, 0.75);
  border: 1px solid rgba(51, 65, 85, 0.6);
  border-radius: var(--radius-lg);
  padding: 1.35rem 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.trust-col-card:hover {
  border-color: rgba(16, 185, 129, 0.45);
  transform: translateY(-2px);
}

.trust-col-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.trust-col-icon {
  font-size: 1.4rem;
  line-height: 1;
}

.trust-col-title {
  font-size: 1.02rem;
  font-weight: 700;
  color: #f8fafc;
  margin: 0;
  line-height: 1.2;
}

.trust-col-badge {
  font-size: 0.7rem;
  font-weight: 600;
  color: #94a3b8;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.trust-col-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 0;
}

.trust-col-desc strong {
  color: #f1f5f9;
}

.trust-tags-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: auto;
}

.trust-tag {
  font-size: 0.76rem;
  font-weight: 600;
  color: #cbd5e1;
  background: rgba(30, 41, 59, 0.8);
  border: 1px solid rgba(71, 85, 105, 0.5);
  padding: 0.22rem 0.55rem;
  border-radius: var(--radius-sm);
  letter-spacing: 0.02em;
}

.trust-tag.tag-emerald {
  color: #34d399;
  background: rgba(16, 185, 129, 0.12);
  border-color: rgba(16, 185, 129, 0.35);
  font-weight: 700;
}

/* Interactive Simulator Section */
.simulator-section {
  padding: 4rem 0;
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3rem;
}

.section-header p {
  margin-top: 0.75rem;
}

.simulator-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
}

.sim-controls {
  padding: 2.5rem;
  border-right: 1px solid var(--border-subtle);
}

.sim-controls h4 {
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-slate-300);
  margin-bottom: 0.5rem;
}

.currency-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.currency-symbol {
  position: absolute;
  left: 1rem;
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--emerald-primary);
  font-size: 1.1rem;
}

.form-input {
  width: 100%;
  background: var(--bg-input);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 0.85rem 1rem 0.85rem 2.4rem;
  color: var(--text-white);
  font-family: var(--font-mono);
  font-size: 1.1rem;
  font-weight: 600;
  outline: none;
  transition: border-color var(--transition-fast);
}

.form-input:focus {
  border-color: var(--emerald-primary);
}

select.form-input {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2310b981' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1rem;
  padding: 0.8rem 2.6rem 0.8rem 1rem;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.4;
  cursor: pointer;
  text-overflow: ellipsis;
  white-space: nowrap;
}

select.form-input option {
  background: #081220;
  color: #f8fafc;
  font-size: 0.95rem;
  padding: 0.6rem 0.75rem;
}

.sim-display {
  padding: 2.5rem;
  background: var(--bg-surface);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hero-kpi-box {
  background: linear-gradient(135deg, #052e1c, #021a10);
  border: 2px solid var(--emerald-primary);
  border-radius: var(--radius-md);
  padding: 1.8rem;
  text-align: center;
  box-shadow: var(--shadow-emerald);
  position: relative;
}

.kpi-title {
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--emerald-light);
  text-transform: uppercase;
}

.kpi-amount {
  font-family: var(--font-mono);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 800;
  color: var(--text-white);
  margin: 0.5rem 0;
  letter-spacing: -0.03em;
}

.kpi-badge {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--emerald-light);
  background: rgba(16, 185, 129, 0.2);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
}

.breakdown-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 1.5rem 0;
}

.breakdown-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1rem;
}

.breakdown-item.amber {
  border-left: 4px solid var(--amber-warning);
}

.breakdown-item.blue {
  border-left: 4px solid var(--blue-sky);
}

.b-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--text-muted);
}

.b-value {
  font-family: var(--font-mono);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-white);
  margin-top: 0.25rem;
}

.b-sub {
  font-size: 0.72rem;
  color: var(--text-dim);
}

/* Net Spendable Prudence Disclaimer */
.safe-spend-disclaimer {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.28);
  border-radius: var(--radius-md);
  padding: 0.85rem 1rem;
  margin-top: 1.25rem;
  text-align: left;
}

.safe-spend-disclaimer .disclaimer-icon {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  color: var(--amber-warning);
  margin-top: 2px;
}

.safe-spend-disclaimer p {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.45;
  color: #cbd5e1;
}

.safe-spend-disclaimer strong {
  color: #fde68a;
  font-weight: 700;
}

/* Transformation Comparison Table */
.comparison-section {
  padding: 4.5rem 0;
}

.comparison-table-wrap {
  margin-top: 2.5rem;
  overflow-x: auto;
}

.comparison-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  background: var(--bg-card);
}

.comparison-table th, 
.comparison-table td {
  padding: 1.4rem 1.8rem;
  text-align: left;
}

.comparison-table th {
  background: var(--bg-surface);
  font-size: 1.1rem;
  font-weight: 800;
  border-bottom: 2px solid var(--border-subtle);
}

.comparison-table th.highlight {
  background: #04271a;
  color: var(--emerald-light);
  border-bottom: 2px solid var(--emerald-primary);
}

.comparison-table tr:not(:last-child) td {
  border-bottom: 1px solid var(--border-subtle);
}

.comparison-table td.bad {
  color: #fda4af;
  background: rgba(244, 63, 94, 0.03);
}

.comparison-table td.good {
  color: var(--text-white);
  background: rgba(16, 185, 129, 0.05);
  font-weight: 600;
}

.comparison-table td.good strong {
  color: var(--emerald-light);
}

/* Product Tabs Tour */
.tour-section {
  padding: 4.5rem 0;
}

.tour-tabs {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.tab-btn {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-weight: 700;
  font-size: 0.92rem;
  padding: 0.75rem 1.4rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.tab-btn:hover {
  color: var(--text-white);
  border-color: var(--text-muted);
}

.tab-btn.active {
  background: var(--emerald-surface);
  border-color: var(--emerald-primary);
  color: var(--emerald-light);
}

.tab-btn.future-btn.active {
  background: rgba(245, 158, 11, 0.12);
  border-color: #f59e0b;
  color: #fbbf24;
}

.tab-tag {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-full);
  margin-left: 0.4rem;
  vertical-align: middle;
}

.tab-tag.live {
  background: rgba(16, 185, 129, 0.2);
  color: var(--emerald-light);
  border: 1px solid rgba(16, 185, 129, 0.4);
}

.tab-tag.future {
  background: rgba(245, 158, 11, 0.15);
  color: #f59e0b;
  border: 1px solid rgba(245, 158, 11, 0.4);
}

.status-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  margin-right: 0.35rem;
  vertical-align: middle;
}

.status-dot.live {
  background: #10b981;
  box-shadow: 0 0 6px #10b981;
}

.status-dot.future {
  background: #f59e0b;
  box-shadow: 0 0 6px #f59e0b;
}

.tab-content {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  display: none;
}

.tab-content.active {
  display: block;
}

.tab-preview-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.mock-sheet {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  background: #08111e;
}

.mock-sheet table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}

.mock-sheet th, 
.mock-sheet td {
  padding: 0.75rem 1rem;
  border: 1px solid var(--border-subtle);
  white-space: nowrap;
}

.mock-sheet th {
  background: var(--bg-surface);
  color: var(--text-slate-300);
  font-weight: 700;
}

.mock-sheet td.formula {
  color: var(--emerald-light);
  font-family: var(--font-mono);
}

/* VAT Interactive Engine */
.vat-section {
  padding: 4.5rem 0;
  background: rgba(11, 21, 35, 0.4);
}

.vat-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  max-width: 980px;
  margin: 0 auto;
}

.vat-interactive-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  margin-top: 1.5rem;
  align-items: start;
}

.vat-result-box {
  background: var(--bg-surface);
  border: 1px solid var(--emerald-primary);
  border-radius: var(--radius-md);
  padding: 1.8rem;
}

.vat-result-title {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--emerald-light);
  font-weight: 700;
}

.vat-result-rule {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text-white);
  margin: 0.5rem 0 1rem;
}

.vat-note-box {
  background: var(--bg-input);
  border: 1px dashed var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 0.85rem;
  font-size: 0.85rem;
  color: var(--text-slate-300);
  line-height: 1.5;
}

/* Pricing Section */
.pricing-section {
  padding: 5rem 0;
  text-align: center;
}

.pricing-card-wrap {
  max-width: 600px;
  margin: 2.5rem auto 0;
}

.pricing-card {
  background: linear-gradient(180deg, var(--bg-card) 0%, var(--bg-surface) 100%);
  border: 2px solid var(--emerald-primary);
  border-radius: var(--radius-lg);
  padding: 3rem 2.5rem;
  box-shadow: var(--shadow-emerald-lg);
  position: relative;
}

.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--emerald-primary);
  color: #031c12;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.35rem 1.2rem;
  border-radius: var(--radius-full);
}

.price-display {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.3rem;
  margin: 1.5rem 0 0.5rem;
}

.price-currency {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--emerald-light);
}

.price-amount {
  font-size: 4.8rem;
  font-weight: 800;
  line-height: 1;
  color: var(--text-white);
  font-family: var(--font-mono);
  letter-spacing: -0.04em;
}

.price-frequency {
  color: var(--text-muted);
  font-size: 1.1rem;
  font-weight: 600;
}

.saas-strike {
  color: var(--text-dim);
  font-size: 0.95rem;
  text-decoration: line-through;
  margin-bottom: 2rem;
}

.price-features {
  list-style: none;
  text-align: left;
  margin: 2rem 0 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.price-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.98rem;
  color: var(--text-slate-100);
}

.check-icon {
  color: var(--emerald-primary);
  font-weight: 800;
  font-size: 1.1rem;
}

/* FAQ Accordion */
.faq-section {
  padding: 4.5rem 0;
}

.faq-list {
  max-width: 800px;
  margin: 2.5rem auto 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

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

.faq-question {
  width: 100%;
  padding: 1.4rem 1.8rem;
  background: none;
  border: none;
  color: var(--text-white);
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 700;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-icon {
  font-size: 1.4rem;
  transition: transform var(--transition-fast);
  color: var(--emerald-light);
}

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

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

.faq-item.open .faq-answer {
  max-height: 300px;
  padding-bottom: 1.4rem;
}

/* Modal Checkout */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(4, 13, 23, 0.85);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.modal-overlay.active {
  display: flex;
}

.modal-box {
  background: var(--bg-card);
  border: 1px solid var(--emerald-primary);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 520px;
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.modal-close {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  background: none;
  border: none;
  color: var(--text-dim);
  font-size: 1.5rem;
  cursor: pointer;
}

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

/* Footer & Compliance Disclaimer */
.site-footer {
  border-top: 1px solid var(--border-subtle);
  background: var(--bg-surface);
  padding: 4rem 0 2.5rem;
  margin-top: 4rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand p {
  margin-top: 1rem;
  max-width: 380px;
}

.footer-col h5 {
  color: var(--text-white);
  font-size: 0.95rem;
  margin-bottom: 1.2rem;
  font-weight: 700;
}

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

.footer-col a {
  color: var(--text-muted);
  font-size: 0.9rem;
}

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

.compliance-box {
  background: #07101c;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  font-size: 0.82rem;
  line-height: 1.6;
  color: var(--text-dim);
  margin-bottom: 2rem;
}

.compliance-box strong {
  color: var(--text-slate-300);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border-subtle);
  padding-top: 2rem;
  font-size: 0.85rem;
  color: var(--text-dim);
  flex-wrap: wrap;
  gap: 1rem;
}

/* Responsive Media Queries (Mobile First Defaults & Polish) */
@media (max-width: 960px) {
  .simulator-card {
    grid-template-columns: 1fr;
  }
  
  .sim-controls {
    border-right: none;
    border-bottom: 1px solid var(--border-subtle);
    padding: 2rem;
  }

  .sim-display {
    padding: 2rem;
  }
  
  .vat-interactive-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-top {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 900px) {
  .site-header {
    padding: 0.85rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
  }

  .mobile-toggle {
    display: flex;
  }

  .header-desktop-cta {
    display: none !important;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    width: 100%;
    height: calc(100vh - 68px);
    background: rgba(6, 13, 23, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 1.5rem 1.5rem 3.5rem;
    gap: 0;
    overflow-y: auto;
    border-bottom: 1px solid var(--border-subtle);
    z-index: 999;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8);
  }

  .nav-links.active {
    display: flex;
    animation: mobileMenuFade 0.22s ease-out forwards;
  }

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

  .nav-links li {
    width: 100%;
    border-bottom: 1px solid rgba(30, 46, 66, 0.6);
  }

  .nav-links li a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.1rem 0.5rem;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-slate-100);
    transition: color var(--transition-fast);
  }

  .nav-links li a:hover,
  .nav-links li a:active {
    color: var(--emerald-light);
  }

  .nav-links li a::after {
    content: "→";
    font-size: 1.1rem;
    color: var(--text-dim);
    transition: transform var(--transition-fast), color var(--transition-fast);
  }

  .nav-links li a:hover::after {
    color: var(--emerald-light);
    transform: translateX(4px);
  }

  .mobile-menu-cta-wrap {
    display: block !important;
    border-bottom: none !important;
    margin-top: 1.5rem;
    padding: 0.5rem 0;
  }

  .mobile-menu-cta-wrap .btn {
    width: 100%;
    text-align: center;
    padding: 0.9rem 1.5rem;
    font-size: 1.02rem;
    justify-content: center;
    box-shadow: var(--shadow-emerald);
  }
}

@media (max-width: 768px) {
  
  .hero-section {
    padding: 3rem 0 2.5rem;
  }

  .hero-title {
    font-size: clamp(1.85rem, 6.5vw, 2.5rem);
    margin: 1rem 0 1.2rem;
  }

  .hero-subtitle {
    font-size: 1.05rem;
    line-height: 1.55;
    margin-bottom: 1.75rem;
  }

  .hero-cta-group {
    flex-direction: column;
    width: 100%;
    gap: 0.9rem;
  }
  
  .hero-cta-group .btn {
    width: 100%;
  }

  .guarantee-note {
    font-size: 0.78rem;
    line-height: 1.4;
  }

  .trust-banner {
    margin-top: 2rem;
    padding: 1.5rem 1rem;
    border-radius: var(--radius-lg);
  }

  .trust-title {
    font-size: 1.1rem;
    line-height: 1.3;
  }

  .trust-subtitle {
    font-size: 0.85rem;
    line-height: 1.4;
  }

  .trust-columns {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .trust-col-card {
    padding: 1.15rem 1rem;
  }

  .trust-col-title {
    font-size: 0.96rem;
  }

  .trust-col-desc {
    font-size: 0.86rem;
    line-height: 1.5;
    margin-bottom: 0;
  }
  
  .sim-controls {
    padding: 1.4rem;
  }

  .sim-display {
    padding: 1.4rem;
  }

  .hero-kpi-box {
    padding: 1.4rem 1rem;
  }

  .kpi-amount {
    font-size: clamp(2rem, 7.5vw, 2.7rem);
  }

  .breakdown-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .tab-content {
    padding: 1.4rem 1rem;
  }

  .tab-btn {
    padding: 0.6rem 1rem;
    font-size: 0.84rem;
  }

  .vat-card {
    padding: 1.4rem;
  }

  .pricing-card {
    padding: 2.2rem 1.4rem;
  }

  .price-amount {
    font-size: 3.8rem;
  }

  .modal-box {
    padding: 1.8rem 1.4rem;
    margin: 1rem;
  }

  /* Comparison table touch scroll indicator on mobile */
  .comparison-table-wrap {
    margin-top: 1.5rem;
    -webkit-overflow-scrolling: touch;
    border-radius: var(--radius-md);
  }

  .comparison-table th, 
  .comparison-table td {
    padding: 1rem;
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }

  .badge {
    font-size: 0.72rem;
    padding: 0.3rem 0.65rem;
  }

  .kpi-amount {
    font-size: 1.9rem;
  }

  .b-value {
    font-size: 1.15rem;
  }
}

/* ============================================================
   COOKIE CONSENT BANNER & PREFERENCES (GDPR & ePrivacy Compliant)
   ============================================================ */
.cookie-banner {
  position: fixed;
  bottom: 1.25rem;
  left: 1.25rem;
  right: 1.25rem;
  margin: 0 auto;
  max-width: 960px;
  width: auto;
  box-sizing: border-box;
  background: #081220;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.8rem;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.85);
  z-index: 10000;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  max-height: calc(100vh - 2.5rem);
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  animation: cookieSlideUp 0.35s ease-out forwards;
}

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

.cookie-banner.hidden {
  display: none !important;
}

.cookie-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
}

.cookie-close-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-sm);
  transition: color var(--transition-fast), background var(--transition-fast);
}

.cookie-close-btn:hover {
  color: var(--text-white);
  background: rgba(255, 255, 255, 0.08);
}

.cookie-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-white);
  margin: 0;
}

.cookie-text {
  font-size: 0.88rem;
  color: var(--text-slate-300);
  line-height: 1.55;
  margin: 0;
}

.cookie-text a {
  color: var(--emerald-light);
  text-decoration: underline;
}

.cookie-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.cookie-btn {
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius-md);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-align: center;
}

.cookie-btn-primary {
  background: var(--emerald-primary);
  color: #ffffff;
  border: 1px solid var(--emerald-primary);
}

.cookie-btn-primary:hover {
  background: var(--emerald-dark);
}

.cookie-btn-secondary {
  background: var(--bg-surface);
  color: var(--text-slate-300);
  border: 1px solid var(--border-subtle);
}

.cookie-btn-secondary:hover {
  background: var(--bg-input);
  color: var(--text-white);
}

.cookie-btn-ghost {
  background: transparent;
  color: var(--emerald-light);
  border: 1px solid transparent;
}

.cookie-btn-ghost:hover {
  text-decoration: underline;
}

/* Preferences Drawer */
.cookie-prefs-drawer {
  display: none;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  margin-top: 0.25rem;
}

.cookie-prefs-drawer.open {
  display: block;
}

.cookie-cat-item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--border-subtle);
  gap: 1.25rem;
}

.cookie-cat-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.cookie-cat-info h5 {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 0.25rem;
}

.cookie-cat-info p {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.45;
  margin: 0;
}

.cookie-toggle-wrap {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--emerald-light);
  white-space: nowrap;
}

.cookie-toggle-wrap input[type="checkbox"] {
  accent-color: var(--emerald-primary);
  width: 1.2rem;
  height: 1.2rem;
  cursor: pointer;
}

@media (max-width: 768px) {
  .cookie-banner {
    bottom: 0.75rem;
    left: 0.75rem;
    right: 0.75rem;
    width: auto;
    max-width: 100%;
    margin: 0;
    padding: 1.15rem 1rem;
    border-radius: 12px;
    gap: 0.85rem;
    max-height: calc(100vh - 1.5rem);
  }

  .cookie-header {
    gap: 0.5rem;
  }

  .cookie-title {
    font-size: 0.98rem;
    line-height: 1.3;
  }

  .cookie-text {
    font-size: 0.82rem;
    line-height: 1.45;
    word-break: break-word;
  }

  .cookie-actions {
    flex-direction: column;
    width: 100%;
    gap: 0.5rem;
    align-items: stretch;
  }

  .cookie-btn {
    width: 100%;
    padding: 0.7rem 1rem;
    font-size: 0.86rem;
    box-sizing: border-box;
    display: block;
    text-align: center;
  }

  .cookie-prefs-drawer {
    padding: 0.85rem;
  }

  .cookie-cat-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 0.75rem 0;
  }

  .cookie-cat-info h5 {
    font-size: 0.88rem;
  }

  .cookie-cat-info p {
    font-size: 0.78rem;
    line-height: 1.4;
  }

  .cookie-toggle-wrap {
    width: 100%;
    justify-content: space-between;
  }
}
