/* === VAULTLY HOMEPAGE — Dark Premium === */

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

:root {
  --bg: #080C14;
  --surface: #0D1421;
  --surface-2: #111C2E;
  --border: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(255, 255, 255, 0.15);
  --gold: #E8C27A;
  --gold-dim: rgba(232, 194, 122, 0.6);
  --gold-glow: rgba(232, 194, 122, 0.12);
  --text: #F0EDE8;
  --muted: #6B7280;
  --white: #FFFFFF;
  --font-display: 'Syne', system-ui, sans-serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

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

/* === NAV === */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0 32px;
  backdrop-filter: blur(16px);
  background: rgba(8, 12, 20, 0.85);
  border-bottom: 1px solid var(--border);
  height: 60px;
  display: flex;
  align-items: center;
}

.nav-inner {
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 0;
  height: 100%;
}

.wordmark {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.12em;
  color: var(--gold);
  text-decoration: none;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: 32px;
  flex: 1;
  flex-wrap: wrap;
}

.nav-links a {
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  padding: 6px 12px;
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
}

.nav-links a:hover {
  color: var(--text);
  background: rgba(255,255,255,0.05);
}

.nav-cta {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-cta a {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--gold);
  text-decoration: none;
  border: 1px solid rgba(232, 194, 122, 0.3);
  padding: 6px 14px;
  border-radius: 8px;
  background: var(--gold-glow);
  transition: all 0.2s;
}

.nav-cta a:hover {
  border-color: var(--gold);
  background: rgba(232, 194, 122, 0.2);
}

.nav-tools {
  font-size: 12px;
  font-weight: 600;
  color: var(--gold);
  text-decoration: none;
  padding: 6px 14px;
  border: 1px solid rgba(232, 194, 122, 0.3);
  border-radius: 8px;
  background: var(--gold-glow);
  transition: all 0.2s;
  margin-left: 4px;
}

/* === HERO === */
.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('https://pub-629428d185ca4960a0a73c850d32294b.r2.dev/generated-images/company_185551/96beb41a-6582-4c83-b751-3944a02c4c65.jpg');
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(8, 12, 20, 0.85) 0%,
    rgba(8, 12, 20, 0.7) 50%,
    rgba(8, 12, 20, 0.9) 100%
  );
  z-index: 1;
}

.hero-noise {
  position: absolute;
  inset: 0;
  z-index: 2;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
}

.hero-glow {
  position: absolute;
  bottom: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(232, 194, 122, 0.08), transparent 70%);
  z-index: 2;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 3;
  padding: 0 24px;
  padding-top: 80px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 36px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 28px;
  border-radius: 12px;
  border: none;
  background: #22c55e;
  color: #080c14;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s;
  box-shadow: 0 4px 20px rgba(34, 197, 94, 0.3);
}

.btn-primary:hover {
  background: #16a34a;
  box-shadow: 0 6px 30px rgba(34, 197, 94, 0.4);
  transform: translateY(-1px);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 28px;
  border-radius: 12px;
  border: 1px solid var(--border-hover);
  background: transparent;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
}

.btn-secondary:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: var(--gold-glow);
}

.hero-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(232, 194, 122, 0.3);
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 32px;
  background: var(--gold-glow);
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(44px, 5.5vw, 80px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: 24px;
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}

.hero-sub {
  font-size: 18px;
  color: rgba(240, 237, 232, 0.65);
  max-width: 560px;
  margin: 0 auto 0;
  line-height: 1.7;
}

/* === HUBS GRID === */
.hubs-section {
  position: relative;
  z-index: 3;
  padding: 80px 32px 100px;
  background: var(--bg);
}

.hubs-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.hubs-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 32px;
  text-align: center;
}

.hubs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.hub-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 36px;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
  position: relative;
  overflow: hidden;
}

.hub-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-dim), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.hub-card:hover {
  border-color: rgba(232, 194, 122, 0.25);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.4), 0 0 60px rgba(232, 194, 122, 0.05);
  transform: translateY(-2px);
}

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

.hub-icon {
  font-size: 28px;
  margin-bottom: 16px;
  display: block;
  line-height: 1;
}

.hub-card h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}

.hub-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.55;
}

.hub-arrow {
  position: absolute;
  bottom: 28px;
  right: 28px;
  font-size: 18px;
  opacity: 0.3;
  transition: opacity 0.3s, transform 0.3s;
}

.hub-card:hover .hub-arrow {
  opacity: 0.7;
  transform: translateX(4px);
}

/* === LEAD MAGNET === */
.lead-magnet-section {
  position: relative;
  z-index: 3;
  padding: 80px 32px;
  background: var(--surface-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.lead-magnet-inner {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}

.lead-magnet-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}

.lead-magnet-headline {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 12px;
  line-height: 1.15;
}

.lead-magnet-sub {
  font-size: 15px;
  color: var(--muted);
  margin-bottom: 32px;
  line-height: 1.6;
}

.lead-magnet-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 32px;
  border-radius: 12px;
  border: 1px solid rgba(232, 194, 122, 0.4);
  background: var(--gold);
  color: #080C14;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s;
}

.lead-magnet-btn:hover {
  background: #f0d090;
  box-shadow: 0 4px 30px rgba(232, 194, 122, 0.3);
}

/* === NEWSLETTER === */
.newsletter-section {
  position: relative;
  z-index: 3;
  padding: 80px 32px;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.newsletter-inner {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}

.newsletter-stat {
  font-size: 12px;
  color: var(--gold);
  font-weight: 600;
  letter-spacing: 0.06em;
  margin-bottom: 20px;
}

.newsletter-section h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 12px;
  line-height: 1.15;
}

.newsletter-disclaimer {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 32px;
  line-height: 1.6;
}

.newsletter-form {
  display: flex;
  gap: 10px;
  max-width: 480px;
  margin: 0 auto;
}

.newsletter-input {
  flex: 1;
  padding: 14px 18px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s;
}

.newsletter-input::placeholder {
  color: var(--muted);
}

.newsletter-input:focus {
  border-color: rgba(232, 194, 122, 0.4);
}

.newsletter-btn {
  padding: 14px 24px;
  border-radius: 10px;
  border: none;
  background: var(--gold);
  color: #080C14;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s;
}

.newsletter-btn:hover {
  background: #f0d090;
  box-shadow: 0 4px 20px rgba(232, 194, 122, 0.3);
}

.newsletter-success {
  display: none;
  font-size: 15px;
  color: var(--gold);
  font-weight: 600;
  padding: 16px;
}

.newsletter-error {
  display: none;
  font-size: 13px;
  color: #ef4444;
  margin-top: 8px;
}

/* === COMMUNAUTÉ === */
.communute-section {
  position: relative;
  z-index: 3;
  padding: 80px 32px;
  background: var(--bg);
}

.communute-inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.communute-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(232, 194, 122, 0.25);
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 24px;
  background: var(--gold-glow);
}

.communute-section h2 {
  font-family: var(--font-display);
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 16px;
  line-height: 1.1;
}

.communute-sub {
  font-size: 16px;
  color: var(--muted);
  margin-bottom: 36px;
  line-height: 1.6;
}

.communute-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 32px;
  border-radius: 12px;
  border: 1px solid rgba(232, 194, 122, 0.4);
  background: var(--gold-glow);
  color: var(--gold);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
}

.communute-cta:hover {
  background: rgba(232, 194, 122, 0.15);
  border-color: var(--gold);
  box-shadow: 0 4px 30px rgba(232, 194, 122, 0.15);
}

.communute-price {
  font-size: 13px;
  opacity: 0.7;
  margin-left: 4px;
}

/* === FOOTER === */
footer {
  padding: 48px 32px;
  border-top: 1px solid var(--border);
  text-align: center;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.footer-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-links a {
  font-size: 12px;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--text);
}

.footer-wordmark {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.1em;
  color: var(--gold);
}

.footer-tagline {
  font-size: 12px;
  color: var(--gold-dim);
  letter-spacing: 0.06em;
}

.footer-copy {
  font-size: 12px;
  color: rgba(107, 114, 128, 0.5);
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  nav {
    padding: 0 16px;
  }

  .nav-links {
    display: none;
  }

  .nav-cta {
    margin-left: auto;
  }

  .hero-content {
    padding-top: 80px;
  }

  .hero h1 {
    font-size: 36px;
  }

  .hero-sub {
    font-size: 15px;
  }

  .hubs-section {
    padding: 60px 16px 80px;
  }

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

  .hub-card {
    padding: 28px;
  }

  .newsletter-section,
  .communute-section {
    padding: 60px 16px;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .newsletter-btn {
    width: 100%;
  }
}