/* ==========================================================================
   VALOREE DENIM — Executive Web Portal Design System
   No Floating Header — Clean Full-Page Layout
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800;900&family=JetBrains+Mono:wght@400;500;600;700&display=swap');

:root {
  /* Surface & Background Colors */
  --bg-page: #f8fafc;
  --bg-surface: #ffffff;
  --bg-subtle: #f1f5f9;
  --bg-card: #ffffff;
  
  /* Borders */
  --border-light: #e2e8f0;
  --border-medium: #cbd5e1;
  
  /* Brand Gradients & Accents (Denim Indigo & Executive Emerald) */
  --grad-denim: linear-gradient(135deg, #1e1b4b 0%, #312e81 40%, #1e40af 100%);
  --grad-emerald: linear-gradient(135deg, #059669 0%, #10b981 50%, #0284c7 100%);
  
  --primary: #312e81;
  --primary-emerald: #059669;
  
  --text-heading: #0f172a;
  --text-body: #334155;
  --text-muted: #64748b;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.03), 0 1px 2px rgba(0,0,0,0.02);
  --shadow-card: 0 4px 20px -2px rgba(0, 0, 0, 0.05);
  --shadow-indigo: 0 8px 20px -4px rgba(49, 46, 129, 0.35);
  --shadow-emerald: 0 8px 20px -4px rgba(5, 150, 105, 0.35);
  
  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;
}

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

html {
  scroll-behavior: smooth;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg-page);
  color: var(--text-body);
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  background: 
    radial-gradient(circle at 10% 10%, rgba(49, 46, 129, 0.05) 0%, transparent 40%),
    radial-gradient(circle at 90% 20%, rgba(5, 150, 105, 0.05) 0%, transparent 40%),
    var(--bg-page);
  background-attachment: fixed;
  overflow-x: hidden;
}

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}

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

.text-gradient-denim {
  background: var(--grad-denim);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-emerald {
  background: var(--grad-emerald);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Hero Section */
.hero-section {
  padding: 50px 0 45px;
  text-align: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  border-radius: var(--radius-full);
  background: #ffffff;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  font-size: 11.5px;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 16px;
}

.hero-heading {
  font-size: 44px;
  line-height: 1.15;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--text-heading);
  max-width: 860px;
  margin: 0 auto 14px;
}

.hero-lead-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 14px 24px;
  max-width: 760px;
  margin: 0 auto 24px;
  box-shadow: var(--shadow-card);
  font-size: 14.5px;
  color: var(--text-body);
  line-height: 1.55;
}

.founder-tag {
  background: #eef2ff;
  color: #3730a3;
  border: 1px solid #c7d2fe;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: var(--radius-full);
}

.hero-buttons {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-bottom: 36px;
}

.btn-cta {
  background: var(--grad-denim);
  color: #ffffff;
  font-size: 13px;
  font-weight: 800;
  padding: 10px 22px;
  border-radius: var(--radius-full);
  text-decoration: none;
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow-indigo);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 25px -4px rgba(49, 46, 129, 0.45);
}

.btn-secondary {
  background: #ffffff;
  color: var(--text-heading);
  border: 1px solid var(--border-light);
  font-size: 13px;
  font-weight: 700;
  padding: 10px 20px;
  border-radius: var(--radius-full);
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
}

.btn-secondary:hover {
  background: var(--bg-subtle);
  transform: translateY(-1px);
}

.stats-banner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  max-width: 1000px;
  margin: 0 auto;
}

.stat-box {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 16px 14px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
}

.stat-box:hover {
  transform: translateY(-2px);
  border-color: var(--primary);
  box-shadow: var(--shadow-card);
}

.stat-val {
  font-size: 24px;
  font-weight: 900;
  color: var(--primary);
  margin-bottom: 2px;
}

.stat-title {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
}

/* Content Panels */
.content-panel {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin-bottom: 32px;
  box-shadow: var(--shadow-card);
}

.panel-header {
  text-align: center;
  margin-bottom: 28px;
}

.panel-title {
  font-size: 26px;
  font-weight: 800;
  margin-bottom: 6px;
}

.panel-sub {
  font-size: 14px;
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 auto;
}

/* 4-Column Executive Matrix Table */
.matrix-table-container {
  width: 100%;
  overflow-x: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  margin-bottom: 24px;
  background: #ffffff;
}

.matrix-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 13.5px;
}

.matrix-table th {
  background: var(--bg-subtle);
  padding: 14px 16px;
  font-size: 12px;
  font-weight: 800;
  color: var(--text-heading);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 2px solid var(--border-light);
  vertical-align: bottom;
}

.matrix-table th.col-nl {
  background: #ecfdf5;
  color: #047857;
  border-top: 3px solid var(--primary-emerald);
}

.matrix-table th.col-pl {
  background: #eef2ff;
  color: #3730a3;
  border-top: 3px solid var(--primary);
}

.matrix-table th.col-be {
  background: #faf5ff;
  color: #6b21a8;
  border-top: 3px solid #7c3aed;
}

.matrix-table td {
  padding: 12px 16px;
  border-bottom: 1px solid #f1f5f9;
  vertical-align: middle;
  color: var(--text-body);
}

.matrix-table tr:hover td {
  background: rgba(241, 245, 249, 0.7);
}

.metric-name {
  font-weight: 700;
  color: var(--text-heading);
}

.val-highlight-green {
  font-weight: 800;
  color: #047857;
  background: #dcfce7;
  padding: 2px 7px;
  border-radius: var(--radius-sm);
  display: inline-block;
}

.val-highlight-blue {
  font-weight: 800;
  color: #3730a3;
  background: #eef2ff;
  padding: 2px 7px;
  border-radius: var(--radius-sm);
  display: inline-block;
}

.val-highlight-purple {
  font-weight: 800;
  color: #6b21a8;
  background: #f3e8ff;
  padding: 2px 7px;
  border-radius: var(--radius-sm);
  display: inline-block;
}

.country-col-hdr {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.hdr-flag-name {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
}

.hdr-entity {
  font-size: 10.5px;
  font-weight: 700;
  text-transform: none;
  opacity: 0.85;
}

/* Verdict Cards */
.verdict-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.verdict-card {
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 18px;
}

.verdict-card.featured {
  background: #f0fdf4;
  border: 2px solid var(--primary-emerald);
}

.verdict-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 800;
  margin-bottom: 6px;
}

.verdict-txt {
  font-size: 12.5px;
  color: var(--text-body);
  line-height: 1.5;
  margin-bottom: 12px;
}

/* Preset Buttons for Calculator */
.preset-buttons {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}

.preset-btn {
  background: #ffffff;
  border: 1px solid var(--border-light);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  font-size: 11.5px;
  font-weight: 700;
  color: var(--text-body);
  cursor: pointer;
  transition: all 0.2s ease;
}

.preset-btn:hover {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
}

/* Calculator Grid */
.calc-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: center;
}

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

.calc-output-card {
  background: linear-gradient(135deg, #ecfdf5 0%, #eef2ff 100%);
  border: 2px solid #a7f3d0;
  border-radius: var(--radius-md);
  padding: 28px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.calc-giant-number {
  font-size: 40px;
  font-weight: 900;
  color: var(--primary-emerald);
  margin: 6px 0;
  letter-spacing: -1px;
}

.custom-range {
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: #cbd5e1;
  margin: 16px 0 10px;
  accent-color: var(--primary-emerald);
  cursor: pointer;
}

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

.faq-item {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.faq-q {
  padding: 14px 18px;
  font-size: 14.5px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-heading);
}

.faq-q:hover {
  background: var(--bg-subtle);
}

.faq-a {
  padding: 14px 18px;
  font-size: 13.5px;
  color: var(--text-body);
  display: none;
  border-top: 1px solid var(--border-light);
  background: var(--bg-subtle);
  line-height: 1.55;
}

.faq-item.active .faq-a {
  display: block;
}

.faq-arrow {
  transition: transform 0.3s ease;
  font-size: 12px;
  color: var(--text-muted);
}

.faq-item.active .faq-arrow {
  transform: rotate(180deg);
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border-light);
  padding: 40px 0 20px;
  margin-top: 60px;
  background: #ffffff;
  text-align: center;
  color: var(--text-muted);
  font-size: 13px;
}

.footer-nav {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-bottom: 16px;
}

.footer-nav a {
  color: var(--text-body);
  font-weight: 700;
  text-decoration: none;
}

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

/* Responsive Rules */
@media (max-width: 960px) {
  .hero-heading { font-size: 32px; }
  .stats-banner, .calc-layout, .verdict-cards-grid { grid-template-columns: 1fr; }
  .matrix-table th, .matrix-table td { padding: 8px 10px; font-size: 12px; }
}
