/* === VARIABLES & THEME === */
:root {
  /* Brand Colors from Logo */
  --brand-navy: #252F52;
  --brand-purple: #7E82E0;
  --brand-purple-dark: #44477A;

  /* Luxury Dark Theme derived from brand */
  --bg-deep: #0B0E17;
  --bg-surface: #121826;
  --bg-surface-elevated: #1A2235;
  --bg-surface-glass: rgba(37, 47, 82, 0.4);
  
  --text-primary: #E0E2F0;
  --text-secondary: #8A93B8;
  --text-muted: #5C658A;
  
  --border-subtle: rgba(126, 130, 224, 0.15);
  --border-glow: rgba(126, 130, 224, 0.3);

  /* Typography */
  --font-serif: 'Playfair Display', serif;
  --font-sans: 'Inter', sans-serif;
  
  /* Layout */
  --container-width: 1200px;
  --spacing-macro: 140px;
  --spacing-micro: 24px;
  --radius-sm: 4px;
  --radius-md: 8px;
  
  /* Easing */
  --ease-lux: cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.4s var(--ease-lux);
  --transition-slow: 0.8s var(--ease-lux);
}

/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body.luxury-dark {
  font-family: var(--font-sans);
  background-color: var(--bg-deep);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
em { font-style: italic; color: var(--brand-purple); font-family: var(--font-serif); }

/* === TYPOGRAPHY === */
h1, h2, h3, h4 { font-weight: 400; line-height: 1.2; }
h1, h2, .hero-title, .section-title { font-family: var(--font-serif); }

.hero-title { font-size: clamp(2rem, 5vw, 3.5rem); letter-spacing: -0.02em; line-height: 1.1; }
.section-title { font-size: clamp(1.8rem, 3.5vw, 2.8rem); letter-spacing: -0.01em; }
.editorial-heading { font-size: clamp(1.5rem, 3vw, 2.2rem); font-family: var(--font-sans); font-weight: 300; line-height: 1.4; color: var(--text-primary); margin-bottom: 3rem; }
.large-body { font-size: clamp(1.2rem, 2vw, 1.5rem); font-weight: 300; color: var(--text-secondary); line-height: 1.6; }

/* === LAYOUT === */
.container { max-width: var(--container-width); margin: 0 auto; padding: 0 var(--spacing-micro); }
section { padding: var(--spacing-macro) 0; }
.section-dark { background-color: var(--bg-deep); }
.section-darker { background-color: #07090F; border-top: 1px solid var(--border-subtle); border-bottom: 1px solid var(--border-subtle); }

.editorial-grid {
  display: grid;
  grid-template-columns: 3fr 7fr;
  gap: 60px;
}
.editorial-grid.align-center { align-items: center; }

.section-number {
  display: block; font-family: var(--font-sans); font-size: 0.85rem;
  font-weight: 600; color: var(--brand-purple); letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

/* === BUTTONS & LINKS === */
.btn-primary {
  display: inline-flex; align-items: center; justify-content: center;
  background-color: var(--brand-purple-dark);
  color: #fff; font-family: var(--font-sans); font-weight: 500;
  padding: 14px 32px; border-radius: var(--radius-sm);
  border: 1px solid rgba(126, 130, 224, 0.4);
  transition: var(--transition-normal);
  cursor: pointer;
}
.btn-primary:hover {
  background-color: var(--brand-purple);
  box-shadow: 0 4px 20px rgba(126, 130, 224, 0.2);
  transform: translateY(-2px);
}
.btn-sm { padding: 10px 24px; font-size: 0.9rem; }
.btn-xl { padding: 18px 48px; font-size: 1.1rem; }
.btn-text {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--text-secondary); font-size: 0.95rem; font-weight: 500;
  transition: var(--transition-normal);
}
.btn-text:hover { color: var(--brand-purple); }
.arrow { transition: transform 0.3s ease; }
.btn-text:hover .arrow { transform: translateY(4px); }

/* === NAVIGATION === */
.premium-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(11, 14, 23, 0.8); backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
  transition: var(--transition-normal);
}
.premium-nav.scrolled { border-bottom-color: var(--border-subtle); }
.nav-container {
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px 40px; max-width: 1400px; margin: 0 auto;
}
.brand-logo { display: flex; align-items: center; gap: 12px; }
.brand-logo img { width: 40px; height: 40px; }
.nav-right { display: flex; align-items: center; gap: 40px; }
.nav-links { display: flex; gap: 40px; }
.nav-links a { font-size: 0.9rem; color: var(--text-secondary); transition: var(--transition-normal); }
.nav-links a:hover { color: var(--text-primary); }

.hamburger { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 6px; }
.hamburger span { width: 28px; height: 1.5px; background: var(--text-primary); transition: var(--transition-normal); }
.mobile-menu {
  display: none; position: absolute; top: 100%; left: 0; right: 0;
  background: var(--bg-surface); padding: 20px; border-bottom: 1px solid var(--border-subtle);
  flex-direction: column; gap: 20px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a { color: var(--text-primary); font-size: 1.1rem; }

/* === HERO SECTION === */
.hero-section {
  position: relative; min-height: 100vh;
  display: flex; align-items: center;
  padding-top: 100px; overflow: hidden;
}
.hero-container {
  width: 100%; display: flex; align-items: center; justify-content: flex-start;
  position: relative; z-index: 3;
}
.hero-parallax-bg {
  position: absolute; top: 0; right: 0; bottom: 0; width: 55%;
  background-image: url('giftimagenobg.png');
  background-size: contain; background-position: center right;
  background-repeat: no-repeat;
  z-index: 3;
}
.hero-overlay {
  position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(to right, var(--bg-deep) 45%, transparent 100%);
}
.hero-content {
  position: relative; text-align: left; max-width: 650px;
}
.hero-eyebrow {
  display: inline-block; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--brand-purple); margin-bottom: 2rem;
  border-bottom: 1px solid var(--brand-purple); padding-bottom: 8px;
}
.hero-subtitle {
  font-size: clamp(1rem, 1.8vw, 1.15rem); color: var(--text-secondary);
  font-weight: 300; margin: 1.5rem 0 2.5rem 0; max-width: 550px;
}
.hero-actions { display: flex; align-items: center; justify-content: flex-start; gap: 32px; }

/* === THE PROBLEM === */
.problem-list { display: flex; flex-direction: column; gap: 30px; margin-bottom: 50px; }
.problem-item { display: flex; gap: 20px; align-items: flex-start; }
.problem-bullet {
  width: 6px; height: 6px; background: var(--brand-purple);
  margin-top: 10px; border-radius: 50%; box-shadow: 0 0 10px var(--brand-purple);
}
.problem-item h4 { font-size: 1.1rem; color: var(--text-primary); margin-bottom: 6px; font-family: var(--font-sans); font-weight: 500; }
.problem-item p { font-size: 0.95rem; color: var(--text-secondary); }

.statement-card {
  padding: 40px; background: var(--bg-surface);
  border-left: 2px solid var(--brand-purple);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}
.statement-main { font-size: 1.5rem; font-family: var(--font-serif); margin-bottom: 10px; }
.statement-sub { color: var(--text-secondary); font-size: 1rem; }

/* === FOCUS / WHO WE WORK WITH === */
.divider { height: 1px; background: var(--border-subtle); margin: 80px 0; }
.focus-section { text-align: center; }
.focus-title { font-size: 2rem; font-family: var(--font-serif); margin-bottom: 40px; }
.focus-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 40px; }
.focus-card {
  padding: 30px 20px; background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle); border-radius: var(--radius-sm);
  transition: var(--transition-normal);
}
.focus-card:hover { border-color: var(--brand-purple); transform: translateY(-5px); }
.focus-card h4 { font-size: 0.95rem; color: var(--text-primary); }
.focus-footer { color: var(--text-muted); font-size: 0.9rem; max-width: 600px; margin: 0 auto; }

/* === STRATEGY (STICKY) === */
.strategy-container { position: relative; }
.sticky-sidebar { position: sticky; top: 140px; }
.sidebar-text { color: var(--text-secondary); margin-top: 20px; font-size: 1.05rem; }
.strategy-cards { display: flex; flex-direction: column; gap: 40px; }

.glass-card {
  background: var(--bg-surface-glass); backdrop-filter: blur(12px);
  border: 1px solid var(--border-subtle); border-radius: var(--radius-md);
  padding: 50px; transition: var(--transition-normal);
}
.glass-card:hover { border-color: var(--border-glow); }
.accent-card { border-bottom: 2px solid var(--brand-purple); }
.card-eyebrow { font-size: 0.75rem; letter-spacing: 0.1em; color: var(--brand-purple); text-transform: uppercase; margin-bottom: 16px; }
.glass-card h3 { font-family: var(--font-serif); font-size: 1.8rem; margin-bottom: 20px; }
.glass-card p { color: var(--text-secondary); margin-bottom: 24px; font-size: 1rem; }
.refined-list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.refined-list li { color: var(--text-primary); font-size: 0.9rem; position: relative; padding-left: 16px; }
.refined-list li::before { content: '—'; position: absolute; left: 0; color: var(--brand-purple); }

/* === RESULTS === */
.results-header { margin-bottom: 60px; }
.results-header h3 { font-size: 1.5rem; font-family: var(--font-serif); margin-bottom: 16px; }
.results-header p { color: var(--text-secondary); font-size: 1.05rem; }

.metrics-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-bottom: 60px; }
.metric { display: flex; flex-direction: column; border-bottom: 1px solid var(--border-subtle); padding-bottom: 20px; }
.metric-value { font-family: var(--font-serif); font-size: 3rem; color: var(--text-primary); line-height: 1; margin-bottom: 8px; }
.metric-value.highlight { color: var(--brand-purple); }
.metric-label { font-size: 0.85rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em; }

.metric-hero { display: flex; flex-direction: column; align-items: flex-start; }
.metric-hero .metric-value { font-size: 5rem; }

/* === PROCESS === */
.process-timeline { border-left: 1px solid var(--border-subtle); padding-left: 40px; margin-bottom: 60px; }
.process-step { position: relative; margin-bottom: 50px; opacity: 0.6; transition: var(--transition-normal); }
.process-step::before {
  content: ''; position: absolute; left: -44.5px; top: 5px;
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--bg-deep); border: 1px solid var(--border-subtle);
  transition: var(--transition-normal);
}
.process-step:hover, .process-step.active-step { opacity: 1; }
.process-step:hover::before, .process-step.active-step::before { background: var(--brand-purple); border-color: var(--brand-purple); box-shadow: 0 0 10px var(--brand-purple); }
.step-meta { font-size: 0.8rem; color: var(--brand-purple); letter-spacing: 0.05em; text-transform: uppercase; margin-bottom: 8px; }
.step-content h4 { font-family: var(--font-serif); font-size: 1.3rem; margin-bottom: 10px; }
.step-content p { color: var(--text-secondary); font-size: 0.95rem; }

.protection-card { background: var(--bg-surface-elevated); border: 1px solid var(--border-subtle); padding: 40px; border-radius: var(--radius-sm); }
.protection-card h4 { font-family: var(--font-sans); font-weight: 500; font-size: 1.1rem; margin-bottom: 12px; }
.protection-card p { color: var(--text-secondary); font-size: 0.95rem; }

/* === CTA === */
.section-cta { position: relative; padding: 160px 0; background-color: var(--bg-surface-elevated); overflow: hidden; }
.cta-overlay { position: absolute; inset: 0; background: radial-gradient(circle at center, rgba(126,130,224,0.08) 0%, transparent 60%); }
.cta-content { position: relative; z-index: 2; max-width: 800px; }
.text-center { text-align: center; }
.cta-title { font-size: clamp(2.5rem, 5vw, 4rem); margin-bottom: 24px; }
.cta-text { font-size: 1.1rem; color: var(--text-secondary); margin-bottom: 40px; }
.cta-footer-top { margin-bottom: 32px; font-size: 1.1rem; color: var(--brand-purple); font-style: italic; font-family: var(--font-serif); }
.cta-footer { margin-top: 24px; font-size: 0.85rem; color: var(--text-muted); font-style: italic; }

/* === FOOTER === */
.premium-footer { border-top: 1px solid var(--border-subtle); padding: 40px 0; background-color: var(--bg-deep); }
.footer-grid { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; }
.footer-logo { justify-self: start; }
.footer-logo img { width: 40px; height: 40px; }
.footer-copy { justify-self: center; color: var(--text-muted); font-size: 0.85rem; text-align: center; }
.footer-social { justify-self: end; }
.footer-link { display: flex; align-items: center; gap: 8px; color: var(--text-secondary); font-size: 0.95rem; transition: var(--transition-normal); white-space: nowrap; }
.footer-link:hover { color: var(--brand-purple); }
.footer-legal { color: var(--text-muted); font-size: 0.85rem; }

/* === MOBILE REFINEMENTS === */
@media (max-width: 768px) {
  .hero-section {
    display: flex;
    flex-direction: column;
    height: auto;
    min-height: 100vh;
    padding-top: 100px;
    padding-bottom: 60px;
  }
  
  .hero-container {
    order: 1;
    position: relative;
    z-index: 5;
    padding: 0 20px;
  }
  
  .hero-parallax-bg {
    order: 2;
    position: relative;
    width: 100%;
    height: 350px;
    top: 0;
    right: 0;
    margin-top: 40px;
    z-index: 4;
    background-position: center;
    transform: none !important; /* Force no parallax */
  }
  
  .hero-overlay {
    display: none;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 32px;
  }
  
  .footer-logo, .footer-copy, .footer-social {
    justify-self: center;
  }
  
  .footer-social {
    order: 2;
  }
  
  .footer-copy {
    order: 3;
    font-size: 0.8rem;
  }
  
  .footer-logo {
    order: 1;
  }
}

/* === ANIMATIONS (SCROLL REVEAL) === */
.reveal-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s var(--ease-lux), transform 1s var(--ease-lux);
  will-change: opacity, transform;
}
.reveal-up.is-visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }

/* === RESPONSIVE === */
@media (max-width: 992px) {
  .editorial-grid { grid-template-columns: 1fr; gap: 30px; }
  .sticky-sidebar { position: static; margin-bottom: 30px; }
  .focus-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .nav-right { display: none; }
  .hamburger { display: flex; }
  .nav-container { padding: 16px 20px; }
  .metrics-grid { grid-template-columns: 1fr; gap: 20px; }
  .hero-actions { flex-direction: column; align-items: flex-start; gap: 20px; }
  .hero-parallax-bg { width: 100%; right: 0; -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 50%); mask-image: linear-gradient(to bottom, transparent 0%, black 50%); }
  .hero-overlay { background: linear-gradient(to bottom, var(--bg-deep) 20%, rgba(11,14,23,0.6) 100%); }
  section { padding: 80px 0; }
  .glass-card, .statement-card, .protection-card { padding: 30px; }
}
@media (max-width: 480px) {
  .focus-grid { grid-template-columns: 1fr; }
  .refined-list { grid-template-columns: 1fr; }
}
