/* ============================================
   QUDOS - Premium Navy & Gold Design System
   Inspired by: Luxury Analytics, Maritime Data
   ============================================ */

/* ============================================
   CSS Custom Properties
   ============================================ */
:root {
  /* Gold Palette */
  --gold-50: #fdf8ec;
  --gold-100: #f9edc8;
  --gold-200: #f3db8e;
  --gold-300: #ecc556;
  --gold-400: #e5b030;
  --gold-500: #d49a1e;
  --gold-600: #b57d16;
  --gold-700: #8f5f14;
  --gold-800: #764c18;
  --gold-900: #643f1b;

  /* Navy Palette */
  --navy-50: #f0f4f8;
  --navy-100: #d9e2ec;
  --navy-200: #bcccdc;
  --navy-300: #9fb3c8;
  --navy-400: #829ab1;
  --navy-500: #627d98;
  --navy-600: #486581;
  --navy-700: #334e68;
  --navy-800: #243b53;
  --navy-900: #102a43;

  /* Semantic Colors */
  --primary: var(--gold-400);
  --primary-dark: var(--gold-500);
  --primary-light: var(--gold-300);
  --secondary: #c9a84c;
  --accent: #e8c97a;

  /* Surface Colors - Deep Navy Default */
  --bg: #060d14;
  --bg-elevated: #0a1520;
  --bg-card: rgba(13, 27, 42, 0.65);
  --bg-muted: #0d1b2a;
  --bg-subtle: #09121c;
  --bg-gradient-start: #070f18;
  --bg-gradient-end: #0c1929;

  /* Text Colors - Warm Off-Whites */
  --text-primary: #f0ede6;
  --text-secondary: #9ba3ad;
  --text-muted: #5a6573;
  --text-placeholder: #3d4f5f;
  --text-inverse: #0a1520;

  /* Border Colors */
  --border: rgba(212, 160, 48, 0.08);
  --border-light: rgba(212, 160, 48, 0.04);
  --border-strong: rgba(212, 160, 48, 0.15);

  /* Shadows - Warm Gold Tint */
  --shadow-xs: 0 1px 2px 0 rgb(0 0 0 / 0.4);
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.5);
  --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.5), 0 1px 2px -1px rgb(0 0 0 / 0.5);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.5), 0 2px 4px -2px rgb(0 0 0 / 0.5);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.5), 0 4px 6px -4px rgb(0 0 0 / 0.5);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.5), 0 8px 10px -6px rgb(0 0 0 / 0.5);
  --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.6);
  --shadow-glow: 0 0 60px -15px rgba(212, 160, 48, 0.2);
  --shadow-glow-strong: 0 0 80px -10px rgba(212, 160, 48, 0.3);
  --shadow-inner: inset 0 2px 4px 0 rgb(0 0 0 / 0.3);

  /* Border Radius */
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius: 12px;
  --radius-md: 16px;
  --radius-lg: 20px;
  --radius-xl: 24px;
  --radius-2xl: 32px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition: 250ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 400ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: 500ms cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Layout */
  --container: 1200px;
  --container-narrow: 768px;
  --header-height: 72px;

  /* Spacing Scale */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  --space-20: 80px;
  --space-24: 96px;
  --space-32: 128px;
}

/* ============================================
   Light Mode Variables (Inverted)
   ============================================ */
[data-theme="light"] {
  --primary: var(--gold-600);
  --primary-dark: var(--gold-700);
  --primary-light: var(--gold-400);
  --secondary: #b8963a;
  --accent: #c9a84c;

  --bg: #f5f2eb;
  --bg-elevated: #faf8f3;
  --bg-card: rgba(255, 255, 255, 0.7);
  --bg-muted: #ede9e0;
  --bg-subtle: #f0ece4;
  --bg-gradient-start: #faf6ee;
  --bg-gradient-end: #f0e8d8;

  --text-primary: #1a1f2e;
  --text-secondary: #4a5568;
  --text-muted: #718096;
  --text-placeholder: #a0aec0;
  --text-inverse: #f5f2eb;

  --border: rgba(26, 31, 46, 0.08);
  --border-light: rgba(26, 31, 46, 0.04);
  --border-strong: rgba(26, 31, 46, 0.15);

  --shadow-xs: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.06);
  --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.08), 0 1px 2px -1px rgb(0 0 0 / 0.08);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.08), 0 2px 4px -2px rgb(0 0 0 / 0.08);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.08), 0 4px 6px -4px rgb(0 0 0 / 0.08);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.15);
  --shadow-glow: 0 0 60px -15px rgba(212, 160, 48, 0.15);
  --shadow-glow-strong: 0 0 80px -10px rgba(212, 160, 48, 0.25);
  --shadow-inner: inset 0 2px 4px 0 rgb(0 0 0 / 0.03);
}

/* ============================================
   Global Reset & Base
   ============================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  font-size: 16px;
  font-weight: 400;
  line-height: 1.65;
  letter-spacing: -0.01em;
  color: var(--text-primary);
  background: var(--bg);
  overflow-x: hidden;
  min-height: 100vh;
}

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

::selection {
  background: rgba(212, 160, 48, 0.25);
  color: var(--text-primary);
}

[data-theme="light"] ::selection {
  background: rgba(212, 160, 48, 0.3);
  color: var(--text-primary);
}

/* ============================================
   Typography
   ============================================ */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  text-wrap: balance;
}

h1 { font-size: clamp(2.25rem, 5.5vw, 3.75rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.25rem); font-weight: 700; }
h3 { font-size: clamp(1.125rem, 2vw, 1.375rem); font-weight: 600; }
h4 { font-size: 1.0625rem; font-weight: 600; }

p {
  color: var(--text-secondary);
  line-height: 1.7;
  text-wrap: pretty;
}

strong, b {
  font-weight: 600;
  color: var(--text-primary);
}

/* ============================================
   Smooth Theme Transitions
   ============================================ */
html.theme-transition,
html.theme-transition *,
html.theme-transition *::before,
html.theme-transition *::after {
  transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, color 0.3s ease, fill 0.3s ease, stroke 0.3s ease !important;
}

/* ============================================
   Layout Containers
   ============================================ */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.container-narrow {
  width: 100%;
  max-width: var(--container-narrow);
  margin: 0 auto;
  padding: 0 var(--space-6);
}

/* ============================================
   Header & Navigation
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-height);
  background: rgba(6, 13, 20, 0.75);
  backdrop-filter: blur(24px) saturate(1.8);
  -webkit-backdrop-filter: blur(24px) saturate(1.8);
  border-bottom: 1px solid var(--border-light);
  transition: box-shadow var(--transition), background-color var(--transition), border-color var(--transition);
}

.header.scrolled {
  box-shadow: var(--shadow-md);
  background: rgba(6, 13, 20, 0.92);
}

[data-theme="light"] .header {
  background: rgba(245, 242, 235, 0.8);
  border-bottom-color: var(--border);
}

[data-theme="light"] .header.scrolled {
  background: rgba(245, 242, 235, 0.95);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--space-6);
  gap: var(--space-3);
}

.logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-weight: 800;
  font-size: 1.375rem;
  color: var(--text-primary);
  letter-spacing: -0.04em;
  flex-shrink: 0;
}

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

.logo-icon svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 2px 4px rgba(212, 160, 48, 0.2));
}

.nav {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  margin-left: auto;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.9375rem;
  transition: all var(--transition-fast);
  white-space: nowrap;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: var(--space-4);
  right: var(--space-4);
  height: 2px;
  background: var(--primary);
  border-radius: var(--radius-full);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform var(--transition-fast);
}

.nav-link:hover {
  color: var(--text-primary);
  background: var(--bg-muted);
}

.nav-link:hover::after {
  transform: scaleX(0.4);
}

.nav-link.active {
  color: var(--primary);
  background: rgba(212, 160, 48, 0.08);
}

.nav-link.active::after {
  transform: scaleX(0.6);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  flex-shrink: 0;
}

/* Theme Toggle */
.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  padding: 0;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.theme-toggle:hover {
  background: var(--bg-muted);
  border-color: var(--border-strong);
  color: var(--text-primary);
  transform: scale(1.08) rotate(-5deg);
}

.theme-toggle:active {
  transform: scale(0.95);
}

.theme-toggle svg {
  width: 18px;
  height: 18px;
}

/* Mobile Menu Button */
.mobile-menu-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  padding: 0;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.mobile-menu-btn:hover {
  background: var(--bg-muted);
  color: var(--text-primary);
}

.mobile-menu-btn svg {
  width: 20px;
  height: 20px;
}

/* Mobile Navigation */
.mobile-nav {
  display: none;
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(6, 13, 20, 0.98);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  z-index: 999;
  padding: var(--space-4);
  flex-direction: column;
  gap: var(--space-1);
  overflow-y: auto;
}

.mobile-nav.open {
  display: flex;
  animation: slideDown 0.3s ease;
}

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

.mobile-nav .nav-link {
  padding: var(--space-4) var(--space-5);
  font-size: 1.0625rem;
  border-radius: var(--radius);
}

.mobile-nav .nav-link::after {
  display: none;
}

[data-theme="light"] .mobile-nav {
  background: rgba(245, 242, 235, 0.98);
}

/* ============================================
   Buttons
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 12px 28px;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.5;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  text-decoration: none;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.12) 0%, transparent 100%);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.btn:hover::before {
  opacity: 1;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold-500), var(--gold-700));
  color: #fff;
  box-shadow: 0 4px 14px rgba(180, 130, 20, 0.3), 0 1px 3px rgba(180, 130, 20, 0.2);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(180, 130, 20, 0.35), 0 2px 6px rgba(180, 130, 20, 0.25);
  color: #fff;
}

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

.btn-secondary {
  background: var(--bg-elevated);
  color: var(--text-primary);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-xs);
}

.btn-secondary:hover {
  background: var(--bg-muted);
  border-color: var(--border-strong);
  color: var(--text-primary);
  box-shadow: var(--shadow-sm);
}

.btn-sm {
  padding: 8px 20px;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 14px 32px;
  font-size: 1rem;
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
  position: relative;
  padding: calc(var(--header-height) + var(--space-24)) 0 var(--space-24);
  overflow: hidden;
  background: linear-gradient(180deg, var(--bg-gradient-start) 0%, var(--bg-gradient-end) 100%);
  min-height: 90vh;
  display: flex;
  align-items: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  will-change: transform;
}

.hero-orb-1 {
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(212, 160, 48, 0.18), transparent 70%);
  top: -250px;
  right: -150px;
  animation: orbFloat1 12s ease-in-out infinite;
}

.hero-orb-2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(201, 168, 76, 0.12), transparent 70%);
  bottom: -150px;
  left: -150px;
  animation: orbFloat2 15s ease-in-out infinite;
}

.hero-orb-3 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(240, 210, 140, 0.08), transparent 70%);
  top: 40%;
  right: 20%;
  animation: orbFloat3 10s ease-in-out infinite;
}

@keyframes orbFloat1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -30px) scale(1.05); }
  66% { transform: translate(-20px, 20px) scale(0.95); }
}

@keyframes orbFloat2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(40px, -20px) scale(1.08); }
}

@keyframes orbFloat3 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-30px, -40px); }
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(212, 160, 48, 0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212, 160, 48, 0.015) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, black 30%, transparent 90%);
  -webkit-mask-image: linear-gradient(to bottom, black 30%, transparent 90%);
}

.hero-noise {
  position: absolute;
  inset: 0;
  opacity: 0.02;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  background: rgba(212, 160, 48, 0.08);
  border: 1px solid rgba(212, 160, 48, 0.12);
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--primary);
  margin-bottom: var(--space-6);
  backdrop-filter: blur(8px);
}

.hero-badge-dot {
  width: 6px;
  height: 6px;
  background: var(--primary);
  border-radius: 50%;
  animation: pulse 2.5s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.hero-title {
  margin-bottom: var(--space-5);
  background: linear-gradient(135deg, var(--text-primary) 0%, var(--primary-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.125rem;
  color: var(--text-secondary);
  margin-bottom: var(--space-8);
  max-width: 520px;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1000px;
}

.hero-card {
  background: rgba(13, 27, 42, 0.5);
  backdrop-filter: blur(24px) saturate(1.5);
  -webkit-backdrop-filter: blur(24px) saturate(1.5);
  border: 1px solid rgba(212, 160, 48, 0.1);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  box-shadow: var(--shadow-xl), var(--shadow-glow);
  max-width: 480px;
  width: 100%;
  transform-style: preserve-3d;
  transition: transform var(--transition-slow);
}

.hero-card:hover {
  transform: rotateY(-3deg) rotateX(2deg) translateY(-4px);
  border-color: rgba(212, 160, 48, 0.2);
}

[data-theme="light"] .hero-card {
  background: rgba(255, 255, 255, 0.6);
  border-color: rgba(212, 160, 48, 0.12);
}

.hero-card-header {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-6);
}

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

.hero-card-dot.red { background: #c0392b; }
.hero-card-dot.yellow { background: #d4a030; }
.hero-card-dot.green { background: #27ae60; }

/* ============================================
   Disclaimer Banner
   ============================================ */
.disclaimer-banner {
  background: linear-gradient(135deg, rgba(212, 160, 48, 0.08), rgba(212, 160, 48, 0.04));
  border: 1px solid rgba(212, 160, 48, 0.2);
  border-radius: var(--radius);
  padding: var(--space-4) var(--space-6);
  margin: var(--space-10) 0;
  position: relative;
  overflow: hidden;
}

.disclaimer-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--primary);
}

.disclaimer-banner p {
  color: var(--primary-light);
  font-size: 0.875rem;
  font-weight: 500;
  text-align: center;
  line-height: 1.6;
}

[data-theme="light"] .disclaimer-banner {
  background: linear-gradient(135deg, rgba(212, 160, 48, 0.06), rgba(212, 160, 48, 0.03));
  border-color: rgba(212, 160, 48, 0.15);
}

[data-theme="light"] .disclaimer-banner p {
  color: var(--gold-700);
}

/* ============================================
   Sections
   ============================================ */
.section {
  padding: var(--space-24) 0;
  position: relative;
}

.section-alt {
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-gradient-end) 50%, var(--bg) 100%);
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto var(--space-16);
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-1) var(--space-4);
  background: rgba(212, 160, 48, 0.08);
  border: 1px solid rgba(212, 160, 48, 0.1);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-4);
}

.section-title {
  margin-bottom: var(--space-4);
}

.section-desc {
  font-size: 1.125rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ============================================
   Cards
   ============================================ */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-5);
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  opacity: 0;
  transition: opacity var(--transition);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  border-color: var(--border);
}

.card:hover::before {
  opacity: 1;
}

.card-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--gold-500), var(--gold-700));
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-5);
  color: white;
  box-shadow: 0 4px 12px rgba(180, 130, 20, 0.25);
}

.card-icon svg {
  width: 22px;
  height: 22px;
}

.card-title {
  margin-bottom: var(--space-3);
  font-size: 1.125rem;
  font-weight: 600;
}

.card-text {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.7;
  flex-grow: 1;
}

/* ============================================
   Feature Section
   ============================================ */
.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}

.feature-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-visual-bg {
  position: absolute;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(212, 160, 48, 0.04), rgba(201, 168, 76, 0.04));
  border-radius: var(--radius-2xl);
  transform: rotate(-3deg);
  transition: transform var(--transition-slow);
}

.feature-visual:hover .feature-visual-bg {
  transform: rotate(-1deg) scale(1.02);
}

.feature-visual-inner {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--space-10);
  box-shadow: var(--shadow-xl);
  width: 100%;
  transition: transform var(--transition-slow), box-shadow var(--transition);
}

.feature-visual:hover .feature-visual-inner {
  transform: translateY(-4px);
  box-shadow: var(--shadow-2xl);
}

.feature-content h2 {
  margin-bottom: var(--space-5);
}

.feature-content p {
  margin-bottom: var(--space-4);
  font-size: 1.0625rem;
  line-height: 1.75;
}

.feature-list {
  list-style: none;
  margin-top: var(--space-6);
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  padding: var(--space-3) 0;
  border-bottom: 1px solid var(--border-light);
  font-size: 0.9375rem;
  color: var(--text-secondary);
}

.feature-list li:last-child {
  border-bottom: none;
}

.feature-check {
  width: 22px;
  height: 22px;
  background: linear-gradient(135deg, #27ae60, #2ecc71);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  flex-shrink: 0;
  margin-top: 2px;
  box-shadow: 0 2px 6px rgba(39, 174, 96, 0.25);
}

/* ============================================
   FAQ Accordion
   ============================================ */
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-3);
  overflow: hidden;
  transition: all var(--transition);
}

.faq-item:hover {
  border-color: var(--border);
  box-shadow: var(--shadow-md);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-5) var(--space-6);
  cursor: pointer;
  font-weight: 600;
  color: var(--text-primary);
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  font-size: 1rem;
  font-family: inherit;
  transition: background-color var(--transition-fast);
}

.faq-question:hover {
  background: var(--bg-muted);
}

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

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-slow), padding var(--transition-slow);
}

.faq-item.active .faq-answer {
  max-height: 600px;
}

.faq-answer-inner {
  padding: 0 var(--space-6) var(--space-6);
  color: var(--text-secondary);
  line-height: 1.75;
  font-size: 0.9375rem;
}

.faq-answer-inner a {
  font-weight: 500;
}

/* ============================================
   Trust Section
   ============================================ */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-5);
}

.trust-item {
  text-align: center;
  padding: var(--space-8) var(--space-5);
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  transition: all var(--transition);
}

.trust-item:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border);
}

.trust-number {
  font-size: 2.25rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: var(--space-2);
  line-height: 1;
}

.trust-label {
  font-size: 0.875rem;
  color: var(--text-secondary);
  font-weight: 500;
}

/* ============================================
   Contact Section
   ============================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
  align-items: start;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
  padding: var(--space-5) 0;
  border-bottom: 1px solid var(--border-light);
}

.contact-info-item:last-child {
  border-bottom: none;
}

.contact-info-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--gold-500), var(--gold-700));
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(180, 130, 20, 0.25);
}

.contact-info-icon svg {
  width: 20px;
  height: 20px;
}

.contact-info-content h4 {
  margin-bottom: var(--space-1);
  font-size: 0.9375rem;
  font-weight: 600;
}

.contact-info-content p {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.contact-info-content a {
  font-weight: 500;
}

.contact-form {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: var(--space-10);
  box-shadow: var(--shadow-lg);
}

.form-group {
  margin-bottom: var(--space-5);
}

.form-label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: var(--space-2);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.9375rem;
  font-family: inherit;
  font-weight: 400;
  color: var(--text-primary);
  background: var(--bg);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast), background-color var(--transition-fast);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--text-placeholder);
}

.form-input:hover,
.form-textarea:hover {
  border-color: var(--border-strong);
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(212, 160, 48, 0.1), var(--shadow-inner);
  background: var(--bg-elevated);
}

[data-theme="light"] .form-input:focus,
[data-theme="light"] .form-textarea:focus {
  box-shadow: 0 0 0 3px rgba(212, 160, 48, 0.12), var(--shadow-inner);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

.form-success {
  background: linear-gradient(135deg, rgba(39, 174, 96, 0.15), rgba(46, 204, 113, 0.1));
  color: #2ecc71;
  padding: var(--space-4);
  border-radius: var(--radius);
  margin-top: var(--space-4);
  font-weight: 500;
  font-size: 0.9375rem;
  border: 1px solid rgba(46, 204, 113, 0.25);
}

[data-theme="light"] .form-success {
  background: linear-gradient(135deg, rgba(39, 174, 96, 0.08), rgba(46, 204, 113, 0.05));
  color: #27ae60;
  border-color: rgba(39, 174, 96, 0.2);
}

/* ============================================
   Footer
   ============================================ */
.footer {
  background: #040a10;
  color: var(--text-muted);
  padding: var(--space-20) 0 var(--space-8);
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-strong), transparent);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-12);
  margin-bottom: var(--space-16);
}

.footer-brand {
  max-width: 300px;
}

.footer-brand .logo {
  color: var(--text-primary);
  margin-bottom: var(--space-4);
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.9375rem;
  line-height: 1.7;
}

.footer-title {
  color: var(--text-primary);
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: var(--space-5);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: var(--space-3);
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.9375rem;
  transition: color var(--transition-fast);
  display: inline-block;
}

.footer-links a:hover {
  color: var(--primary);
  transform: translateX(2px);
}

.footer-bottom {
  border-top: 1px solid rgba(212, 160, 48, 0.06);
  padding-top: var(--space-8);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-4);
}

.footer-bottom p {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.footer-disclaimer {
  background: rgba(212, 160, 48, 0.03);
  border: 1px solid rgba(212, 160, 48, 0.06);
  border-radius: var(--radius);
  padding: var(--space-4) var(--space-5);
  margin-top: var(--space-6);
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.6;
}

[data-theme="light"] .footer {
  background: #e8e4db;
}

[data-theme="light"] .footer-bottom {
  border-color: rgba(26, 31, 46, 0.08);
}

[data-theme="light"] .footer-disclaimer {
  background: rgba(26, 31, 46, 0.03);
  border-color: rgba(26, 31, 46, 0.06);
}

/* ============================================
   Page Header
   ============================================ */
.page-header {
  padding: calc(var(--header-height) + var(--space-16)) 0 var(--space-12);
  background: linear-gradient(180deg, var(--bg-gradient-end) 0%, var(--bg) 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.page-header h1 {
  margin-bottom: var(--space-4);
}

.page-header p {
  font-size: 1.125rem;
  max-width: 560px;
  margin: 0 auto;
  color: var(--text-secondary);
}

/* ============================================
   Content Pages
   ============================================ */
.content-page {
  padding: var(--space-12) 0 var(--space-24);
}

.content-block {
  max-width: 720px;
  margin: 0 auto;
}

.content-block h2 {
  margin: var(--space-12) 0 var(--space-5);
  padding-bottom: var(--space-3);
  border-bottom: 2px solid var(--border-light);
  font-weight: 700;
}

.content-block h2:first-child {
  margin-top: 0;
}

.content-block h3 {
  margin: var(--space-8) 0 var(--space-4);
  color: var(--primary);
  font-weight: 600;
}

.content-block p {
  margin-bottom: var(--space-4);
  font-size: 1rem;
  line-height: 1.8;
}

.content-block ul,
.content-block ol {
  margin: var(--space-4) 0;
  padding-left: var(--space-6);
  color: var(--text-secondary);
}

.content-block li {
  margin-bottom: var(--space-2);
  line-height: 1.75;
}

.content-block li::marker {
  color: var(--primary);
}

/* ============================================
   Animations
   ============================================ */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-16px) rotate(1deg); }
}

.animate-float {
  animation: float 7s ease-in-out infinite;
}

/* Data visual elements */
.data-bar {
  height: 6px;
  background: var(--border-light);
  border-radius: var(--radius-full);
  overflow: hidden;
  margin-bottom: var(--space-2);
}

.data-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: var(--radius-full);
  transition: width 1.8s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.data-bar-fill::after {
  content: '';
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 20px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15));
  border-radius: var(--radius-full);
}

/* ============================================
   Cookie Consent Banner — Premium Modal Style
   ============================================ */
.cookie-banner {
  position: fixed;
  bottom: var(--space-5);
  left: var(--space-5);
  right: var(--space-5);
  z-index: 9999;
  background: linear-gradient(145deg, rgba(13, 27, 42, 0.95), rgba(8, 17, 26, 0.98));
  backdrop-filter: blur(32px) saturate(1.6);
  -webkit-backdrop-filter: blur(32px) saturate(1.6);
  border: 1px solid rgba(212, 160, 48, 0.12);
  border-radius: var(--radius-2xl);
  padding: 0;
  box-shadow: 0 24px 60px -12px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(212, 160, 48, 0.06), 0 0 80px -20px rgba(212, 160, 48, 0.15);
  transform: translateY(calc(100% + 60px));
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.5s ease;
  opacity: 0;
  max-width: 520px;
  margin: 0 auto;
  overflow: hidden;
}

.cookie-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-500), var(--gold-300), var(--gold-500));
  background-size: 200% 100%;
  animation: shimmer 3s ease infinite;
}

@keyframes shimmer {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.cookie-banner.show {
  transform: translateY(0);
  opacity: 1;
}

.cookie-banner-content {
  padding: var(--space-8) var(--space-8) var(--space-6);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-5);
}

.cookie-banner-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, rgba(212, 160, 48, 0.15), rgba(212, 160, 48, 0.05));
  border: 1px solid rgba(212, 160, 48, 0.2);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
}

.cookie-banner-icon svg {
  width: 28px;
  height: 28px;
}

.cookie-banner-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.cookie-banner-text {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin: 0;
  max-width: 400px;
}

.cookie-banner-text a {
  font-weight: 500;
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(212, 160, 48, 0.3);
  transition: text-decoration-color var(--transition-fast);
}

.cookie-banner-text a:hover {
  text-decoration-color: var(--primary);
}

.cookie-banner-actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  width: 100%;
  max-width: 360px;
  padding: 0 var(--space-8) var(--space-8);
}

.cookie-banner-actions .btn {
  flex: 1;
}

.cookie-banner-close {
  position: absolute;
  top: var(--space-4);
  right: var(--space-4);
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(212, 160, 48, 0.06);
  border: 1px solid rgba(212, 160, 48, 0.1);
  border-radius: var(--radius-full);
  color: var(--text-muted);
  cursor: pointer;
  padding: 0;
  transition: all var(--transition-fast);
}

.cookie-banner-close:hover {
  background: rgba(212, 160, 48, 0.12);
  border-color: rgba(212, 160, 48, 0.2);
  color: var(--text-primary);
  transform: rotate(90deg);
}

.cookie-banner-close svg {
  width: 16px;
  height: 16px;
}

[data-theme="light"] .cookie-banner {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(250, 248, 243, 0.98));
  border-color: rgba(212, 160, 48, 0.15);
  box-shadow: 0 24px 60px -12px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(212, 160, 48, 0.08), 0 0 60px -10px rgba(212, 160, 48, 0.1);
}

[data-theme="light"] .cookie-banner-close {
  background: rgba(212, 160, 48, 0.08);
  border-color: rgba(212, 160, 48, 0.15);
}

@media (max-width: 640px) {
  .cookie-banner {
    bottom: 0;
    left: 0;
    right: 0;
    border-radius: var(--radius-2xl) var(--radius-2xl) 0 0;
    max-width: 100%;
  }

  .cookie-banner-content {
    padding: var(--space-8) var(--space-5) var(--space-5);
  }

  .cookie-banner-actions {
    padding: 0 var(--space-5) var(--space-6);
    flex-direction: column;
  }

  .cookie-banner-actions .btn {
    width: 100%;
  }

  .cookie-banner-close {
    top: var(--space-3);
    right: var(--space-3);
  }
}

/* ============================================
   Reduced Motion
   ============================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .hero-orb,
  .animate-float {
    animation: none !important;
  }

  .fade-in {
    opacity: 1;
    transform: none;
    transition: none !important;
  }
}

/* ============================================
   Scrollbar
   ============================================ */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg);
}

::-webkit-scrollbar-thumb {
  background: var(--border-strong);
  border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--text-muted);
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: var(--space-12);
    text-align: center;
  }

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

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

  .hero-visual {
    order: -1;
  }

  .hero {
    min-height: auto;
    padding: calc(var(--header-height) + var(--space-16)) 0 var(--space-16);
  }

  .hero-card {
    max-width: 420px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
    gap: var(--space-10);
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: var(--space-10);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-8);
  }

  .section {
    padding: var(--space-16) 0;
  }
}

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

  .mobile-menu-btn {
    display: flex;
  }

  .section {
    padding: var(--space-12) 0;
  }

  .section-header {
    margin-bottom: var(--space-10);
  }

  .card-grid {
    grid-template-columns: 1fr;
  }

  .trust-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3);
  }

  .trust-item {
    padding: var(--space-6) var(--space-3);
  }

  .trust-number {
    font-size: 1.75rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }

  .footer-brand {
    max-width: 100%;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .hero-card {
    padding: var(--space-5);
  }

  .contact-form {
    padding: var(--space-6);
  }

  .feature-visual-inner {
    padding: var(--space-6);
  }

  .container,
  .container-narrow {
    padding: 0 var(--space-4);
  }

  .header-inner {
    padding: 0 var(--space-4);
  }

  .page-header {
    padding: calc(var(--header-height) + var(--space-10)) 0 var(--space-8);
  }
}

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }

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

  .disclaimer-banner {
    padding: var(--space-3) var(--space-4);
  }

  .disclaimer-banner p {
    font-size: 0.8125rem;
  }

  .faq-question {
    padding: var(--space-4) var(--space-4);
    font-size: 0.9375rem;
  }

  .faq-answer-inner {
    padding: 0 var(--space-4) var(--space-4);
  }
}

/* ============================================
   Accessibility
   ============================================ */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

/* Skip Link */
.skip-link {
  position: absolute;
  top: -100%;
  left: var(--space-4);
  z-index: 10000;
  padding: var(--space-2) var(--space-4);
  background: var(--primary);
  color: #fff;
  font-weight: 600;
  border-radius: var(--radius);
  transition: top var(--transition-fast);
}

.skip-link:focus {
  top: var(--space-4);
}

/* Print Styles */
@media print {
  .header, .footer, .hero-bg, .theme-toggle, .mobile-menu-btn, .cookie-banner {
    display: none !important;
  }

  body {
    font-size: 12pt;
    line-height: 1.5;
    color: #000;
    background: #fff;
  }

  a {
    color: #000;
    text-decoration: underline;
  }

  .page-header {
    padding: 40px 0 20px;
  }

  .content-page {
    padding: 20px 0;
  }
}
