@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

/* ═══════════════════════════════════ */
/*  THEME VARIABLES                    */
/* ═══════════════════════════════════ */

/* LIGHT (default) */
:root {
  --gold: #D97706;
  --gold-light: #F59E0B;
  --gold-bright: #FBBF24;
  --gold-glow: rgba(217,119,6,0.15);
  --gold-glow-strong: rgba(217,119,6,0.3);
  --gold-border: rgba(217,119,6,0.12);
  --gold-border-hover: rgba(217,119,6,0.3);

  --bg-body: #FFFFFF;
  --bg-section-alt: #FAFAF9;
  --bg-card: #FFFFFF;
  --bg-card-hover: #FFFBEB;
  --bg-nav: rgba(255,255,255,0.82);
  --bg-nav-scrolled: rgba(255,255,255,0.97);
  --bg-icon: rgba(217,119,6,0.08);
  --bg-icon-hover: rgba(217,119,6,0.15);
  --bg-stat: rgba(217,119,6,0.04);

  --text-primary: #1C1917;
  --text-secondary: #57534E;
  --text-muted: #A8A29E;
  --text-nav: #57534E;
  --text-heading: #0C0A09;

  --border-card: rgba(0,0,0,0.06);
  --border-nav: rgba(0,0,0,0.06);
  --border-section: rgba(217,119,6,0.1);
  --shadow-card: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-card-hover: 0 20px 50px rgba(217,119,6,0.1), 0 8px 16px rgba(0,0,0,0.06);
  --shadow-nav: 0 4px 30px rgba(0,0,0,0.06);
  --shadow-btn: 0 4px 20px rgba(217,119,6,0.25);
  --shadow-btn-hover: 0 8px 35px rgba(217,119,6,0.35);

  --btn-text: #FFFFFF;
  --gradient-gold: linear-gradient(135deg, #D97706 0%, #F59E0B 100%);
  --gradient-divider: linear-gradient(90deg, transparent, rgba(217,119,6,0.2), transparent);

  --footer-bg: #1C1917;
  --footer-text: #A8A29E;
  --footer-text-muted: #78716C;
  --footer-logo: #FBBF24;

  --cta-glow: rgba(217,119,6,0.06);
  --hero-radial-1: rgba(217,119,6,0.06);
  --hero-radial-2: rgba(251,191,36,0.04);
  --hero-line: rgba(217,119,6,0.15);

  --pricing-bg: rgba(217,119,6,0.03);
  --pricing-border: rgba(217,119,6,0.15);

  --wa-icon-bg: rgba(37,211,102,0.08);
  --wa-icon-border: rgba(37,211,102,0.15);
  --wa-icon-color: #25D366;
}

/* DARK */
[data-theme="dark"] {
  --gold: #FFD60A;
  --gold-light: #FFE566;
  --gold-bright: #FBBF24;
  --gold-glow: rgba(255,214,10,0.15);
  --gold-glow-strong: rgba(255,214,10,0.3);
  --gold-border: rgba(255,214,10,0.08);
  --gold-border-hover: rgba(255,214,10,0.2);

  --bg-body: #0A0A0A;
  --bg-section-alt: #111111;
  --bg-card: #1A1A1A;
  --bg-card-hover: #222222;
  --bg-nav: rgba(10,10,10,0.75);
  --bg-nav-scrolled: rgba(10,10,10,0.95);
  --bg-icon: rgba(255,214,10,0.08);
  --bg-icon-hover: rgba(255,214,10,0.15);
  --bg-stat: rgba(255,255,255,0.02);

  --text-primary: #F5F5F5;
  --text-secondary: #A3A3A3;
  --text-muted: #6B6B6B;
  --text-nav: #A3A3A3;
  --text-heading: #FFFFFF;

  --border-card: rgba(255,214,10,0.08);
  --border-nav: rgba(255,214,10,0.08);
  --border-section: rgba(255,214,10,0.08);
  --shadow-card: none;
  --shadow-card-hover: 0 20px 50px rgba(0,0,0,0.4), 0 0 40px rgba(255,214,10,0.05);
  --shadow-nav: 0 4px 40px rgba(0,0,0,0.5);
  --shadow-btn: 0 4px 20px rgba(255,214,10,0.2);
  --shadow-btn-hover: 0 8px 35px rgba(255,214,10,0.35);

  --btn-text: #0A0A0A;
  --gradient-gold: linear-gradient(135deg, #FFD60A 0%, #FFC300 50%, #E6AC00 100%);
  --gradient-divider: linear-gradient(90deg, transparent, rgba(255,214,10,0.2), transparent);

  --footer-bg: #0A0A0A;
  --footer-text: #6B6B6B;
  --footer-text-muted: #444444;
  --footer-logo: #FFD60A;

  --cta-glow: rgba(255,214,10,0.06);
  --hero-radial-1: rgba(255,214,10,0.08);
  --hero-radial-2: rgba(255,214,10,0.04);
  --hero-line: rgba(255,214,10,0.3);

  --pricing-bg: rgba(255,214,10,0.03);
  --pricing-border: rgba(255,214,10,0.2);

  --wa-icon-bg: rgba(37,211,102,0.1);
  --wa-icon-border: rgba(37,211,102,0.2);
  --wa-icon-color: #25D366;
}

/* ═══════════════════════════════════ */
/*  BASE                              */
/* ═══════════════════════════════════ */
* { font-family: 'Plus Jakarta Sans', sans-serif; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  background-color: var(--bg-body);
  color: var(--text-primary);
  transition: background-color 0.4s ease, color 0.4s ease;
}

/* ═══ HERO ═══ */
.hero-section {
  background: var(--bg-body);
  position: relative; overflow: hidden;
}
.hero-section::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, var(--hero-radial-1) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 80% 60%, var(--hero-radial-2) 0%, transparent 60%);
}
.hero-section::after {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--hero-line), transparent);
}

/* ═══ NAVBAR ═══ */
.glass-nav {
  background: var(--bg-nav);
  backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border-nav);
  transition: all 0.3s ease;
}
.glass-nav.scrolled {
  background: var(--bg-nav-scrolled);
  box-shadow: var(--shadow-nav);
}

/* ═══ GOLD BUTTON ═══ */
.btn-gold {
  background: var(--gradient-gold);
  color: var(--btn-text);
  font-weight: 700;
  position: relative; overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-btn);
}
.btn-gold::before {
  content: '';
  position: absolute; top: 0; left: -100%; width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
  transition: left 0.6s;
}
.btn-gold:hover::before { left: 100%; }
.btn-gold:hover { box-shadow: var(--shadow-btn-hover); transform: translateY(-2px); }

/* ═══ CARDS ═══ */
.gold-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 1.25rem;
  box-shadow: var(--shadow-card);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.gold-card:hover {
  border-color: var(--gold-border-hover);
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover);
  background: var(--bg-card-hover);
}

/* ═══ ICON BOX ═══ */
.icon-box {
  width: 52px; height: 52px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg-icon);
  border: 1px solid var(--gold-border);
  flex-shrink: 0;
  transition: all 0.3s ease;
}
.gold-card:hover .icon-box {
  background: var(--bg-icon-hover);
  border-color: var(--gold-border-hover);
}

/* ═══ STEP CIRCLE ═══ */
.step-circle {
  width: 52px; height: 52px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 1.25rem;
  background: var(--gradient-gold);
  color: var(--btn-text);
  flex-shrink: 0;
  box-shadow: var(--shadow-btn);
}

/* ═══ PORTFOLIO CARD ═══ */
.portfolio-card { overflow: hidden; border-radius: 1.25rem; position: relative; }
.portfolio-card img { transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1); }
.portfolio-card:hover img { transform: scale(1.06); }

/* ═══ WHATSAPP FLOAT ═══ */
.whatsapp-float {
  position: fixed; bottom: 28px; right: 28px;
  width: 60px; height: 60px;
  background: #25D366; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 20px rgba(37,211,102,0.4);
  z-index: 1000; transition: all 0.3s ease;
  animation: waPulse 2s infinite;
}
.whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 8px 30px rgba(37,211,102,0.5); }
@keyframes waPulse {
  0%,100% { box-shadow: 0 6px 20px rgba(37,211,102,0.4); }
  50% { box-shadow: 0 6px 30px rgba(37,211,102,0.6), 0 0 0 10px rgba(37,211,102,0.1); }
}

/* ═══ ANIMATIONS ═══ */
.fade-up { opacity: 0; transform: translateY(30px); transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1); }
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ═══ MOBILE MENU ═══ */
.mobile-menu { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.mobile-menu.open { max-height: 400px; }

/* ═══ STAT CARD ═══ */
.stat-card {
  background: var(--bg-stat);
  border: 1px solid var(--border-card);
  border-radius: 1rem; padding: 1.5rem; text-align: center;
  transition: border-color 0.3s ease, background 0.3s ease;
}
.stat-card:hover { border-color: var(--gold-border-hover); }

/* ═══ DIVIDER ═══ */
.gold-divider { height: 1px; background: var(--gradient-divider); }

/* ═══ CTA GLOW ═══ */
.cta-section { position: relative; overflow: hidden; }
.cta-section::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 60% at 50% 50%, var(--cta-glow) 0%, transparent 70%);
}

/* ═══ PRICING ═══ */
.pricing-glow {
  border: 1px solid var(--pricing-border);
  background: var(--pricing-bg);
  border-radius: 1rem;
}

/* ═══ THEME TOGGLE ═══ */
.theme-toggle {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg-icon);
  border: 1px solid var(--gold-border);
  cursor: pointer;
  transition: all 0.3s ease;
  color: var(--gold);
}
.theme-toggle:hover {
  background: var(--bg-icon-hover);
  border-color: var(--gold-border-hover);
  transform: rotate(15deg);
}
.theme-toggle .icon-sun,
.theme-toggle .icon-moon { transition: all 0.3s ease; }
.theme-toggle .icon-moon { display: none; }
[data-theme="dark"] .theme-toggle .icon-sun { display: none; }
[data-theme="dark"] .theme-toggle .icon-moon { display: block; }

/* ═══ TEXT UTILITIES ═══ */
.text-gold { color: var(--gold); }

/* ═══ SCROLLBAR ═══ */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-body); }
::-webkit-scrollbar-thumb { background: var(--gold-bright); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold); }
