/* ============================================================
   1. DESIGN TOKENS
   Single source of truth for all visual values.
   Change a variable here → it updates everywhere.
   ============================================================ */

:root {
  /* --- COLORS: Backgrounds --- */
  --color-bg-base:        #0a0a0b;
  --color-bg-alt:         #0d0d0e;
  --color-bg-card:        #141416;
  --color-bg-card-deep:   #0d0d0e;
  --color-bg-raised:      #1a1a1c;
  --color-bg-subtle:      #2a2a2c;
  --color-bg-hover:       #3a3a3c;
  --color-bg-muted:       #3a3a3f;

  /* --- COLORS: Gold accent --- */
  --color-gold:           #d4a853;
  --color-gold-light:     #f4d794;
  --color-gold-dark:      #c49a48;
  --color-gold-deeper:    #a07c3a;

  /* --- COLORS: Gold alpha variants --- */
  --color-gold-03:        rgba(212, 168, 83, 0.03);
  --color-gold-05:        rgba(212, 168, 83, 0.05);
  --color-gold-08:        rgba(212, 168, 83, 0.08);
  --color-gold-10:        rgba(212, 168, 83, 0.10);
  --color-gold-15:        rgba(212, 168, 83, 0.15);
  --color-gold-20:        rgba(212, 168, 83, 0.20);
  --color-gold-30:        rgba(212, 168, 83, 0.30);
  --color-gold-40:        rgba(212, 168, 83, 0.40);
  --color-gold-50:        rgba(212, 168, 83, 0.50);
  --color-gold-60:        rgba(212, 168, 83, 0.60);

  /* --- COLORS: Text --- */
  --color-text-primary:   #ffffff;
  --color-text-muted:     #a0a0a5;
  --color-text-faint:     #606065;

  /* --- COLORS: Borders & overlays --- */
  --color-border-subtle:  rgba(255, 255, 255, 0.05);
  --color-border-light:   rgba(255, 255, 255, 0.10);
  --color-white-08:       rgba(255, 255, 255, 0.08);
  --color-white-12:       rgba(255, 255, 255, 0.12);
  --color-white-15:       rgba(255, 255, 255, 0.15);
  --color-bg-nav-scrolled: rgba(10, 10, 11, 0.9);

  /* --- TYPOGRAPHY --- */
  --font-sans:            'Outfit', sans-serif;
  --font-serif:           'Playfair Display', serif;

  --text-xs:              12px;
  --text-sm:              14px;
  --text-base:            16px;
  --text-md:              18px;
  --text-lg:              20px;
  --text-xl:              clamp(28px, 4vw, 36px);
  --text-2xl:             clamp(32px, 5vw, 48px);
  --text-hero:            clamp(40px, 8vw, 72px);
  --text-hero-desc:       clamp(16px, 2vw, 20px);
  --text-stat-value:      clamp(24px, 3vw, 32px);
  --text-stat-label:      clamp(11px, 1.5vw, 14px);
  --text-benefit-value:   clamp(40px, 6vw, 56px);
  --text-cta-title:       clamp(28px, 5vw, 48px);
  --text-step:            64px;
  --text-about-letter:    120px;
  --text-service-tag:     10px;

  --weight-light:         300;
  --weight-regular:       400;
  --weight-medium:        500;
  --weight-semibold:      600;
  --weight-bold:          700;

  --leading-tight:        1.1;
  --leading-normal:       1.6;
  --leading-relaxed:      1.7;

  --tracking-wide:        0.05em;
  --tracking-wider:       0.20em;

  /* --- SPACING --- */
  --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-30:             120px;

  /* --- RADII --- */
  --radius-xs:            3px;
  --radius-sm:            4px;
  --radius-md:            8px;
  --radius-lg:            10px;
  --radius-xl:            12px;
  --radius-2xl:           16px;
  --radius-3xl:           24px;
  --radius-pill:          50px;

  /* --- LAYOUT --- */
  --container-max:        1200px;
  --container-gutter:     24px;

  /* --- TRANSITIONS --- */
  --transition-fast:      0.3s ease;
  --transition-medium:    0.4s cubic-bezier(0.4, 0, 0.2, 1);

  /* --- GRADIENTS --- */
  --gradient-gold:        linear-gradient(135deg, var(--color-gold) 0%, var(--color-gold-dark) 100%);
  --gradient-gold-text:   linear-gradient(135deg, var(--color-gold) 0%, var(--color-gold-light) 50%, var(--color-gold) 100%);
  --gradient-gold-logo:   linear-gradient(135deg, var(--color-gold), var(--color-gold-deeper));
  --gradient-card:        linear-gradient(145deg, var(--color-bg-card) 0%, var(--color-bg-card-deep) 100%);
  --gradient-card-border: linear-gradient(135deg, var(--color-gold-30), var(--color-bg-raised));
  --gradient-alt-section: linear-gradient(180deg, transparent, var(--color-bg-alt) 50%, transparent);

  /* --- Z-INDEX --- */
  --z-noise:              1000;
  --z-nav:                100;

  /* --- BREAKPOINTS (reference only — cannot use var() in @media) --- */
  /* Mobile:  < 768px  (base styles)                                   */
  /* Tablet:  768px    @media (min-width: 768px)                       */
  /* Desktop: 1024px   @media (min-width: 1024px)                      */
}

/* ============================================================
   2. RESET & BASE
   ============================================================ */

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background: var(--color-bg-base);
  color: var(--color-text-primary);
  overflow-x: hidden;
  line-height: var(--leading-normal);
}

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--color-bg-base); }
::-webkit-scrollbar-thumb { background: var(--color-bg-subtle); border-radius: var(--radius-xs); }
::-webkit-scrollbar-thumb:hover { background: var(--color-bg-hover); }

/* Noise overlay */
.noise {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.015;
  z-index: var(--z-noise);
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* ============================================================
   3. UTILITIES
   ============================================================ */

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-gutter);
}

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

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  background: var(--gradient-gold);
  color: var(--color-bg-base);
  font-weight: var(--weight-semibold);
  padding: var(--space-4) var(--space-8);
  border-radius: var(--radius-xl);
  text-decoration: none;
  transition: all var(--transition-fast);
  border: none;
  cursor: pointer;
  font-size: var(--text-base);
}
.btn-primary:hover {
  transform: scale(1.02);
  box-shadow: 0 8px 30px var(--color-gold-30);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  border: 1px solid var(--color-gold-30);
  color: var(--color-gold);
  padding: var(--space-4) var(--space-8);
  border-radius: var(--radius-xl);
  text-decoration: none;
  transition: all var(--transition-fast);
  background: transparent;
  font-size: var(--text-base);
}
.btn-secondary:hover {
  background: var(--color-gold-10);
  border-color: var(--color-gold);
}

.section-label {
  color: var(--color-gold);
  font-size: var(--text-xs);
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  margin-bottom: var(--space-4);
  display: block;
}

.section-title {
  font-size: var(--text-2xl);
  font-weight: var(--weight-semibold);
  margin-bottom: var(--space-4);
}

.section-desc {
  color: var(--color-text-muted);
  max-width: 600px;
  margin: 0 auto;
}

/* Cards */
.glow-card {
  background: var(--gradient-card);
  border-radius: var(--radius-2xl);
  padding: var(--space-6);
  position: relative;
  transition: all var(--transition-medium);
}
.glow-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-2xl);
  padding: 1px;
  background: var(--gradient-card-border);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.glow-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px var(--color-gold-08);
}

/* ============================================================
   4. ANIMATIONS
   ============================================================ */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeInUp 0.8s ease-out forwards;
}

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

/* ============================================================
   5. NAVIGATION
   ============================================================ */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-nav);
  padding: var(--space-4) 0;
  transition: all var(--transition-fast);
}
.nav.scrolled {
  background: var(--color-bg-nav-scrolled);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--color-border-subtle);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
  color: var(--color-text-primary);
}
.nav-logo-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-lg);
  background: var(--gradient-gold-logo);
  display: flex;
  align-items: center;
  justify-content: center;
}
.nav-logo-icon svg {
  color: var(--color-bg-base);
}
.nav-logo-text {
  font-weight: var(--weight-semibold);
  font-size: var(--text-md);
}
.nav-logo-text span {
  color: var(--color-gold);
}

/* Mobile-first: nav links hidden by default, shown at 768px+ */
.nav-links {
  display: none;
  align-items: center;
  gap: var(--space-8);
}

/* Mobile-first: toggle shown by default, hidden at 768px+ */
.nav-mobile-toggle {
  display: block;
  background: none;
  border: none;
  color: var(--color-text-primary);
  cursor: pointer;
  padding: var(--space-2);
}

.nav-link {
  color: var(--color-text-muted);
  text-decoration: none;
  font-size: var(--text-sm);
  position: relative;
  transition: color var(--transition-fast);
}
.nav-link:hover {
  color: var(--color-text-primary);
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--color-gold);
  transition: width var(--transition-fast);
}
.nav-link:hover::after {
  width: 100%;
}
.nav-cta {
  padding: var(--space-3) var(--space-5);
  font-size: var(--text-sm);
}
.nav-mobile {
  display: none;
  flex-direction: column;
  gap: var(--space-4);
  padding: var(--space-4) 0;
  border-top: 1px solid var(--color-border-subtle);
  margin-top: var(--space-4);
}
.nav-mobile.open {
  display: flex;
}
.nav-mobile a {
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color var(--transition-fast);
}
.nav-mobile a:hover {
  color: var(--color-text-primary);
}
.nav-mobile-cta {
  text-align: center;
}

/* Desktop: show nav links, hide toggle */
@media (min-width: 768px) {
  .nav-links {
    display: flex;
  }
  .nav-mobile-toggle {
    display: none;
  }
}

/* ============================================================
   6. HERO
   ============================================================ */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: var(--space-30) var(--space-6) var(--space-20);
}
.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.hero-bg-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
}
.hero-bg-blob-1 {
  width: 400px;
  height: 400px;
  background: var(--color-gold-05);
  top: 25%;
  right: -128px;
}
.hero-bg-blob-2 {
  width: 400px;
  height: 400px;
  background: var(--color-gold-03);
  bottom: 25%;
  left: -128px;
}
.hero-content {
  max-width: 900px;
  text-align: center;
  position: relative;
  z-index: 1;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-pill);
  border: 1px solid var(--color-border-light);
  background: var(--color-border-subtle);
  margin-bottom: var(--space-8);
}
.hero-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-gold);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}
.hero-badge-text {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}
.hero-title {
  font-size: var(--text-hero);
  font-weight: var(--weight-semibold);
  line-height: var(--leading-tight);
  margin-bottom: var(--space-6);
}
.hero-desc {
  font-size: var(--text-hero-desc);
  color: var(--color-text-muted);
  max-width: 700px;
  margin: 0 auto var(--space-10);
  line-height: var(--leading-relaxed);
}
.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  justify-content: center;
}
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
  margin-top: var(--space-16);
  padding-top: var(--space-16);
  border-top: 1px solid var(--color-border-subtle);
}
.hero-stat {
  text-align: center;
}
.hero-stat-value {
  font-size: var(--text-stat-value);
  font-weight: var(--weight-semibold);
  margin-bottom: var(--space-1);
}
.hero-stat-label {
  font-size: var(--text-stat-label);
  color: var(--color-text-faint);
}

/* ============================================================
   7. SERVICES
   ============================================================ */

.services {
  padding: var(--space-24) 0;
}
.services-header {
  text-align: center;
  margin-bottom: var(--space-16);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-6);
}
.service-card {
  padding: var(--space-8);
}
.service-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: var(--space-4);
}
.service-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, var(--color-gold-20), transparent);
  display: flex;
  align-items: center;
  justify-content: center;
}
.service-icon svg {
  width: 24px;
  height: 24px;
  color: var(--color-gold);
}
.service-tag {
  background: linear-gradient(135deg, var(--color-gold-15), var(--color-gold-05));
  color: var(--color-gold);
  font-size: var(--text-service-tag);
  padding: var(--space-1) 10px;
  border-radius: var(--radius-sm);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
}
.service-title {
  font-size: var(--text-lg);
  font-weight: var(--weight-semibold);
  margin-bottom: var(--space-2);
  transition: color var(--transition-fast);
}
.service-card:hover .service-title {
  color: var(--color-gold);
}
.service-desc {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  line-height: var(--leading-relaxed);
}
.services-footer {
  text-align: center;
  margin-top: var(--space-12);
}
.services-footer p {
  color: var(--color-text-faint);
  font-size: var(--text-sm);
  margin-bottom: var(--space-4);
}
.services-footer a {
  color: var(--color-gold);
  font-size: var(--text-sm);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  transition: gap var(--transition-fast);
}
.services-footer a:hover {
  gap: var(--space-2);
}
.services-footer a svg {
  width: 16px;
  height: 16px;
}

/* ============================================================
   8. BENEFITS
   ============================================================ */

.benefits {
  padding: var(--space-24) 0;
  background: var(--gradient-alt-section);
}
.benefits-header {
  text-align: center;
  margin-bottom: var(--space-16);
}
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-8);
}
.benefit-card {
  text-align: center;
  padding: var(--space-12) var(--space-8);
  border-radius: var(--radius-2xl);
  border: 1px solid var(--color-border-subtle);
  transition: all var(--transition-fast);
}
.benefit-card:hover {
  border-color: var(--color-gold-20);
}
.benefit-value {
  font-size: var(--text-benefit-value);
  font-weight: var(--weight-semibold);
  margin-bottom: var(--space-2);
}
.benefit-label {
  font-size: var(--text-md);
  font-weight: var(--weight-medium);
  margin-bottom: var(--space-1);
  transition: color var(--transition-fast);
}
.benefit-card:hover .benefit-label {
  color: var(--color-gold);
}
.benefit-desc {
  font-size: var(--text-sm);
  color: var(--color-text-faint);
}

/* ============================================================
   9. PROCESS
   ============================================================ */

.process {
  padding: var(--space-24) 0;
}
.process-header {
  text-align: center;
  margin-bottom: var(--space-16);
}
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-8);
  position: relative;
}
.process-card {
  padding: var(--space-8);
}
.process-step {
  font-size: var(--text-step);
  font-weight: var(--weight-bold);
  color: var(--color-bg-muted);
  font-family: var(--font-serif);
  margin-bottom: var(--space-4);
}
.process-title {
  font-size: var(--text-lg);
  font-weight: var(--weight-semibold);
  color: var(--color-gold);
  margin-bottom: var(--space-2);
}
.process-desc {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  margin-bottom: var(--space-4);
}
.process-time {
  display: inline-block;
  padding: 6px var(--space-3);
  border-radius: var(--radius-pill);
  background: var(--color-border-subtle);
  font-size: var(--text-xs);
  color: var(--color-text-faint);
}

/* ============================================================
   10. ABOUT
   ============================================================ */

.about {
  padding: var(--space-24) 0;
  background: var(--gradient-alt-section);
}

/* Mobile-first: single column by default */
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-12);
  align-items: center;
  max-width: 900px;
  margin: 0 auto;
}

/* Desktop: two-column layout */
@media (min-width: 768px) {
  .about-grid {
    grid-template-columns: 2fr 3fr;
  }
}

.about-image {
  aspect-ratio: 1;
  border-radius: var(--radius-2xl);
  background: linear-gradient(135deg, var(--color-gold-20), var(--color-bg-card));
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.about-image::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-2xl);
  padding: 1px;
  background: var(--gradient-card-border);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}
.about-image-letter {
  font-size: var(--text-about-letter);
  font-family: var(--font-serif);
  color: var(--color-text-primary);
}
.about-title {
  font-size: var(--text-xl);
  font-weight: var(--weight-semibold);
  margin-bottom: var(--space-6);
}
.about-text {
  color: var(--color-text-muted);
  margin-bottom: var(--space-4);
  line-height: var(--leading-relaxed);
}
.about-text.highlight {
  color: var(--color-text-primary);
  font-weight: var(--weight-medium);
}
.about-socials {
  display: flex;
  gap: var(--space-4);
  margin-top: var(--space-8);
}
.about-social {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-primary);
  text-decoration: none;
  transition: all var(--transition-fast);
}
.about-social:hover {
  border-color: var(--color-gold-50);
  color: var(--color-gold);
}
.about-social svg {
  width: 16px;
  height: 16px;
}

/* ============================================================
   11. CTA
   ============================================================ */

.cta {
  padding: var(--space-24) 0;
}
.cta-card {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  padding: var(--space-16) var(--space-12);
  border-radius: var(--radius-3xl);
  position: relative;
  overflow: hidden;
}
.cta-bg {
  position: absolute;
  top: 0;
  right: 0;
  width: 300px;
  height: 300px;
  background: var(--color-gold-05);
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}
.cta-content {
  position: relative;
  z-index: 1;
}
.cta-title {
  font-size: var(--text-cta-title);
  font-weight: var(--weight-semibold);
  margin-bottom: var(--space-4);
}
.cta-desc {
  color: var(--color-text-muted);
  margin-bottom: var(--space-8);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.cta-email-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  flex-wrap: wrap;
}
.cta-copy-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: var(--color-white-08);
  border: 1px solid var(--color-white-15);
  color: var(--color-text-primary);
  padding: var(--space-4) var(--space-5);
  border-radius: var(--radius-xl);
  cursor: pointer;
  font-size: var(--text-sm);
  font-family: var(--font-sans);
  transition: all var(--transition-fast);
}
.cta-copy-btn:hover {
  background: var(--color-white-12);
  border-color: var(--color-gold-40);
}
.cta-copy-btn.copied {
  border-color: var(--color-gold-60);
  color: var(--color-gold);
}
.cta-copy-btn svg {
  width: 18px;
  height: 18px;
}
.cta-note {
  margin-top: var(--space-6);
  font-size: var(--text-sm);
  color: var(--color-text-faint);
}

/* ============================================================
   12. FOOTER
   ============================================================ */

.footer {
  padding: var(--space-8) 0;
  border-top: 1px solid var(--color-border-subtle);
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}
.footer-logo-icon {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-md);
  background: var(--gradient-gold-logo);
  display: flex;
  align-items: center;
  justify-content: center;
}
.footer-logo-icon svg {
  width: 16px;
  height: 16px;
  color: var(--color-bg-base);
}
.footer-logo-text {
  font-weight: var(--weight-medium);
}
.footer-copy {
  font-size: var(--text-sm);
  color: var(--color-text-faint);
}
