:root {
  /* Color Palette */
  --bg-base: #0A0B0D;
  --surface-elevated: #16181C;
  --surface-secondary: #1E2126;
  
  --text-primary: #F5F5F0;
  --text-secondary: #A8ACB3;
  
  --accent-amber: #C9A15A;
  --accent-amber-deep: #B8863E;
  
  --success: #4A9B7F;
  --warning: #C9A15A;
  --error: #B85C4A;
  --info: #5C82A8;
  
  /* Borders */
  --border-hairline: rgba(255, 255, 255, 0.08);
  --border-card: rgba(255, 255, 255, 0.12);
  --focus-ring: 1px solid var(--accent-amber);
  
  /* Typography */
  --font-display: 'Playfair Display', 'Canela', 'GT Sectra', serif;
  --font-body: 'Inter', 'Neue Haas Grotesk', 'Söhne', sans-serif;
  
  /* Radii */
  --radius-card: 6px;
  --radius-pill: 999px;
  --radius-btn: 6px;
  --radius-modal: 12px;
  
  /* Shadows */
  --shadow-floating: 0px 20px 40px rgba(0, 0, 0, 0.45);
  --shadow-inner: inset 0px 1px 2px rgba(0, 0, 0, 0.3);
  --glow-accent: 0 0 40px rgba(201, 161, 90, 0.2);
}

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

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-base);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Typography */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.1;
  color: var(--text-primary);
}

h1 { font-size: clamp(48px, 6vw, 88px); }
h2 { font-size: clamp(32px, 4vw, 56px); }
h3 { font-size: 28px; font-weight: 600; }
h4 { font-size: 22px; font-weight: 600; }

p {
  color: var(--text-secondary);
}

.text-large { font-size: 18px; }
.caption { font-size: 13px; }
.eyebrow {
  display: block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-amber);
  margin-bottom: 16px;
}

/* Layout */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 80px;
}

@media (max-width: 768px) {
  .container {
    padding: 0 24px;
  }
}

section {
  padding: 140px 0;
}

/* Header & Navigation */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 11, 13, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-hairline);
  padding: 24px 0;
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  color: var(--text-primary);
  text-decoration: none;
  cursor: pointer;
}

.logo span {
  color: var(--accent-amber);
}

.hamburger {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  cursor: pointer;
  padding: 8px;
}

.nav {
  display: flex;
  gap: clamp(16px, 3vw, 32px);
  align-items: center;
}

.nav a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
  transition: color 0.3s ease;
}

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

/* Buttons */
.btn {
  display: inline-block;
  text-decoration: none;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
}

.btn-primary {
  background-color: var(--accent-amber);
  color: var(--bg-base);
  padding: 18px 36px;
  border-radius: var(--radius-pill);
}

.btn-primary:hover {
  background-color: var(--accent-amber-deep);
  box-shadow: var(--glow-accent);
}

.btn-primary:active {
  box-shadow: var(--shadow-inner);
}

.btn-secondary {
  background-color: transparent;
  color: var(--text-primary);
  padding: 16px 32px;
  border-radius: var(--radius-btn);
  border: 1px solid var(--border-card);
}

.btn-secondary:hover {
  border-color: var(--accent-amber);
  color: var(--accent-amber);
}

.btn-ghost {
  background: none;
  color: var(--text-secondary);
  font-size: 14px;
}

.btn-ghost:hover {
  color: var(--text-primary);
}

/* Hero Section */
.hero {
  padding: 180px 0 160px;
  background: radial-gradient(circle at top, var(--surface-elevated) 0%, var(--bg-base) 60%);
}

.hero h1 {
  margin-bottom: 24px;
  max-width: 900px;
}

.hero p {
  max-width: 600px;
  margin-bottom: 48px;
}

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

/* Stats / Logo Farm */
.trust {
  padding: 80px 0;
  border-top: 1px solid var(--border-hairline);
  border-bottom: 1px solid var(--border-hairline);
  background: var(--bg-base);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  align-items: center;
}

.logo-farm {
  display: flex;
  gap: 48px;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0.6;
}

.logo-item {
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 32px;
  margin-top: 64px;
}

.card {
  background-color: var(--surface-elevated);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-card);
  padding: 40px;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: var(--border-hairline);
  box-shadow: var(--shadow-floating);
}

.card h3 {
  margin-bottom: 16px;
}

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

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.form-control {
  width: 100%;
  background-color: var(--surface-secondary);
  border: 1px solid var(--border-card);
  color: var(--text-primary);
  padding: 16px;
  border-radius: var(--radius-btn);
  font-family: var(--font-body);
  font-size: 16px;
  transition: border-color 0.2s ease;
}

.form-control:focus {
  outline: none;
  border: var(--focus-ring);
}

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

/* Modal */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(4px);
  z-index: 90;
  display: none;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

.modal {
  background-color: var(--surface-elevated);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-modal);
  width: 90%;
  max-width: 600px;
  padding: 48px;
  box-shadow: var(--shadow-floating);
  z-index: 100;
  position: relative;
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

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

.modal-header {
  margin-bottom: 32px;
}

.modal-actions {
  display: flex;
  justify-content: space-between;
  margin-top: 32px;
}

.modal-close {
  position: absolute;
  top: 24px;
  right: 24px;
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 24px;
  cursor: pointer;
  transition: color 0.2s ease;
}

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

.chat-bubble {
  background: var(--surface-secondary);
  padding: 16px 20px;
  border-radius: 12px;
  border-bottom-left-radius: 2px;
  margin-bottom: 16px;
  border: 1px solid var(--border-hairline);
}

.footer {
  padding: 80px 0;
  border-top: 1px solid var(--border-hairline);
  text-align: center;
  color: var(--text-secondary);
  font-size: 14px;
}

/* Responsive Media Queries */
@media (max-width: 1100px) {
  .hamburger {
    display: block;
  }
  
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(10, 11, 13, 0.95);
    backdrop-filter: blur(12px);
    flex-direction: column;
    padding: 24px;
    border-bottom: 1px solid var(--border-hairline);
  }

  .nav.mobile-active {
    display: flex;
  }
  
  .hero-actions {
    flex-wrap: wrap;
  }
  
  .hero-actions .btn {
    width: 100%;
    text-align: center;
  }

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

  .trust-grid > div[style*="grid-column"] {
    grid-column: span 1 !important;
  }
}

@media (max-width: 768px) {
  .modal {
    padding: 24px;
  }
  .modal-close {
    top: 16px;
    right: 16px;
  }
}