@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500;600;700&family=Inter:wght@400;500;600&display=swap');

/* ═══════════════════════════════════════
   LOADOUT — Global Stylesheet v1
   tryloadout.com
═══════════════════════════════════════ */

:root {
  --black:        #0D0D0D;
  --white:        #F5F5F0;
  --orange:       #FF6B2B;
  --orange-light: #FF8C52;
  --slate:        #161628;
  --slate-mid:    #1E1E38;
  --grey-dim:     #C0C0D0;
  --grey-muted:   #A0A0B8;
  --grey-faint:   rgba(255,255,255,0.1);
  --font-display: 'Space Grotesk', sans-serif;
  --font-body:    'Inter', sans-serif;
  --radius-sm:    6px;
  --radius-md:    10px;
  --radius-lg:    14px;
  --max-width:    1100px;
}

/* RESET */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--black);
  color: var(--white);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body.light-mode {
  background: #FAFAF7;
  color: var(--black);
  --grey-dim: #444444;
  --grey-muted: #666666;
  --grey-faint: rgba(0,0,0,0.08);
  --slate: #FFFFFF;
  --slate-mid: #F0F0EB;
}

/* CONTAINER */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 40px; }
@media (max-width: 768px) { .container { padding: 0 20px; } }

/* ═══════════════ NAVIGATION ═══════════════ */
header { position: sticky; top: 0; z-index: 100; background: var(--black); border-bottom: 1px solid var(--grey-faint); backdrop-filter: blur(12px); }
body.light-mode header { background: rgba(250,250,247,0.95); }

nav { display: flex; justify-content: space-between; align-items: center; padding: 16px 40px; max-width: var(--max-width); margin: 0 auto; }

.nav-logo { font-family: var(--font-display); font-size: 20px; font-weight: 700; color: var(--white); text-decoration: none; letter-spacing: -0.03em; }
body.light-mode .nav-logo { color: var(--black); }
.nav-logo span { color: var(--orange); }

.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a { font-size: 13px; font-weight: 500; color: var(--grey-dim); text-decoration: none; transition: color 0.15s; }
.nav-links a:hover { color: var(--white); }
body.light-mode .nav-links a { color: #555; }
body.light-mode .nav-links a:hover { color: var(--black); }

.nav-toggle { background: none; border: none; cursor: pointer; color: var(--grey-muted); font-family: var(--font-body); font-size: 13px; font-weight: 500; padding: 0; }

/* ═══════════════ BUTTONS ═══════════════ */
.btn-primary { display: inline-block; background: var(--orange) !important; color: #FFFFFF !important; font-family: var(--font-body); font-size: 14px; font-weight: 600; padding: 11px 24px; border-radius: var(--radius-md); border: none; cursor: pointer; text-decoration: none; transition: opacity 0.15s; }
.btn-primary:hover { opacity: 0.88; }
.btn-primary-lg { font-size: 15px; padding: 13px 28px; }

.btn-secondary { display: inline-block; background: transparent; color: var(--white); font-family: var(--font-body); font-size: 14px; font-weight: 500; padding: 11px 24px; border-radius: var(--radius-md); border: 1.5px solid rgba(255,255,255,0.25); cursor: pointer; text-decoration: none; transition: border-color 0.15s; }
.btn-secondary:hover { border-color: rgba(255,255,255,0.5); }
body.light-mode .btn-secondary { color: var(--black); border-color: rgba(0,0,0,0.2); }

/* ═══════════════ HERO ═══════════════ */
.hero { padding: 80px 40px 72px; text-align: center; border-bottom: 1px solid var(--grey-faint); max-width: var(--max-width); margin: 0 auto; }

.hero-tag { display: inline-block; background: rgba(255,107,43,0.15); color: var(--orange-light); font-size: 11px; font-weight: 600; padding: 5px 14px; border-radius: 100px; margin-bottom: 28px; letter-spacing: 0.07em; text-transform: uppercase; }

h1.hero-headline { font-family: var(--font-display); font-size: clamp(42px, 6vw, 64px); font-weight: 700; line-height: 1.06; letter-spacing: -0.03em; color: var(--white) !important; margin-bottom: 20px; }
body.light-mode h1.hero-headline { color: var(--black) !important; }
h1.hero-headline span { color: var(--orange); }

.hero-sub { font-size: 17px; color: var(--grey-dim); line-height: 1.65; max-width: 520px; margin: 0 auto 36px; }

.hero-ctas { display: flex; gap: 12px; justify-content: center; margin-bottom: 20px; flex-wrap: wrap; }

.hero-compat { font-size: 12px; color: var(--grey-muted); }
.hero-compat strong { color: var(--white); font-weight: 600; }
body.light-mode .hero-compat strong { color: var(--black); }

/* ═══════════════ SECTIONS ═══════════════ */
.section { padding: 64px 0; border-bottom: 1px solid var(--grey-faint); }
.section-inner { max-width: var(--max-width); margin: 0 auto; padding: 0 40px; }
@media (max-width: 768px) { .section-inner { padding: 0 20px; } }

.section-label { font-size: 11px; font-weight: 600; color: var(--orange-light); letter-spacing: 0.09em; text-transform: uppercase; margin-bottom: 10px; }
body.light-mode .section-label { color: var(--orange); }

h2.section-headline { font-family: var(--font-display); font-size: clamp(26px, 3.5vw, 36px); font-weight: 700; letter-spacing: -0.02em; color: var(--white) !important; margin-bottom: 10px; }
body.light-mode h2.section-headline { color: var(--black) !important; }

.section-sub { font-size: 15px; color: var(--grey-dim); margin-bottom: 40px; }

/* ═══════════════ HOW IT WORKS ═══════════════ */
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
@media (max-width: 640px) { .steps-grid { grid-template-columns: 1fr; } }

.step { text-align: center; }
.step-num { width: 42px; height: 42px; border-radius: 50%; background: rgba(255,107,43,0.15); border: 1px solid rgba(255,107,43,0.35); color: var(--orange-light); font-family: var(--font-display); font-size: 16px; font-weight: 700; display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; }
.step-title { font-family: var(--font-display); font-size: 16px; font-weight: 600; color: var(--white) !important; margin-bottom: 8px; }
body.light-mode .step-title { color: var(--black) !important; }
.step-desc { font-size: 14px; color: var(--grey-dim); line-height: 1.6; }

/* ═══════════════ PERSONA CARDS ═══════════════ */
.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 768px) { .cards-grid { grid-template-columns: 1fr; } }
@media (min-width: 480px) and (max-width: 768px) { .cards-grid { grid-template-columns: repeat(2, 1fr); } }

.persona-card { background: var(--slate); border: 1px solid rgba(255,255,255,0.1); border-radius: var(--radius-lg); padding: 24px; display: flex; flex-direction: column; transition: border-color 0.2s; }
.persona-card:hover { border-color: rgba(255,107,43,0.3); }
body.light-mode .persona-card { background: #fff; border-color: rgba(0,0,0,0.09); }

.card-badge { display: inline-block; font-size: 11px; font-weight: 600; padding: 3px 10px; border-radius: 100px; margin-bottom: 16px; letter-spacing: 0.04em; text-transform: uppercase; }
.badge-starter { background: rgba(46,204,113,0.18); color: #4CD988; }
.badge-standard { background: rgba(56,138,221,0.18); color: #6EB0FF; }
.badge-premium { background: rgba(168,85,247,0.18); color: #C47FFF; }
body.light-mode .badge-starter { background: rgba(46,204,113,0.13); color: #1aaa58; }
body.light-mode .badge-standard { background: rgba(56,138,221,0.13); color: #1868b0; }
body.light-mode .badge-premium { background: rgba(168,85,247,0.13); color: #7c28cc; }

.card-name { font-family: var(--font-display); font-size: 20px; font-weight: 700; color: var(--white) !important; margin-bottom: 8px; }
body.light-mode .card-name { color: var(--black) !important; }
.card-desc { font-size: 13px; color: var(--grey-dim); line-height: 1.6; margin-bottom: 20px; flex: 1; }
.card-price { font-family: var(--font-display); font-size: 26px; font-weight: 700; color: var(--white) !important; margin-bottom: 16px; }
body.light-mode .card-price { color: var(--black) !important; }
.card-btn { width: 100%; background: rgba(255,107,43,0.12); color: var(--orange-light) !important; border: 1px solid rgba(255,107,43,0.3); font-size: 13px; font-weight: 600; padding: 10px; border-radius: var(--radius-sm); cursor: pointer; font-family: var(--font-body); transition: background 0.15s; }
.card-btn:hover { background: rgba(255,107,43,0.2); }
body.light-mode .card-btn { color: var(--orange) !important; }

/* ═══════════════ PROFESSIONAL SECTION ═══════════════ */
.pro-box { background: var(--slate); border: 1px solid rgba(255,255,255,0.1); border-radius: var(--radius-lg); padding: 36px; }
body.light-mode .pro-box { background: #fff; border-color: rgba(0,0,0,0.09); }

.pro-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 32px; margin-bottom: 28px; }
@media (max-width: 640px) { .pro-top { flex-direction: column; } }

.pro-top h3 { font-family: var(--font-display); font-size: 24px; font-weight: 700; color: var(--white) !important; margin-bottom: 10px; }
body.light-mode .pro-top h3 { color: var(--black) !important; }
.pro-top p { font-size: 14px; color: var(--grey-dim); line-height: 1.65; max-width: 420px; }

.packs-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (max-width: 480px) { .packs-grid { grid-template-columns: 1fr; } }

.pack-row { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08); border-radius: var(--radius-sm); padding: 13px 18px; display: flex; justify-content: space-between; align-items: center; }
body.light-mode .pack-row { background: #f5f5f0; border-color: rgba(0,0,0,0.07); }
.pack-name { font-size: 13px; font-weight: 500; color: var(--white) !important; }
body.light-mode .pack-name { color: var(--black) !important; }
.pack-price { font-family: var(--font-display); font-size: 14px; font-weight: 700; color: var(--orange); }

/* ═══════════════ BUILDER TEASER ═══════════════ */
.builder-box { background: linear-gradient(135deg, var(--slate) 0%, #1E1232 100%); border: 1px solid rgba(168,85,247,0.2); border-radius: var(--radius-lg); padding: 48px; text-align: center; }
body.light-mode .builder-box { background: linear-gradient(135deg, #f0eeff 0%, #ece4ff 100%); border-color: rgba(168,85,247,0.25); }
.builder-box h2 { font-family: var(--font-display); font-size: 32px; font-weight: 700; color: var(--white) !important; margin-bottom: 14px; }
body.light-mode .builder-box h2 { color: var(--black) !important; }
.builder-box p { font-size: 15px; color: var(--grey-dim); max-width: 480px; margin: 0 auto 28px; }
.builder-traits { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 32px; }
.trait-chip { font-size: 12px; font-weight: 500; padding: 5px 14px; border-radius: 100px; background: rgba(168,85,247,0.15); border: 1px solid rgba(168,85,247,0.25); color: #C47FFF; }
body.light-mode .trait-chip { background: rgba(168,85,247,0.1); color: #7c28cc; }

/* ═══════════════ THEME TOGGLE ═══════════════ */
.theme-toggle { position: fixed; bottom: 24px; right: 24px; z-index: 200; background: var(--slate); border: 1px solid rgba(255,255,255,0.12); border-radius: 100px; padding: 8px 16px; display: flex; gap: 6px; box-shadow: 0 4px 20px rgba(0,0,0,0.4); }
body.light-mode .theme-toggle { background: #fff; border-color: rgba(0,0,0,0.1); box-shadow: 0 4px 20px rgba(0,0,0,0.1); }
.theme-btn { font-family: var(--font-body); font-size: 12px; font-weight: 600; padding: 5px 12px; border-radius: 100px; border: none; cursor: pointer; transition: all 0.15s; }
.theme-btn.active { background: var(--orange); color: #fff; }
.theme-btn.inactive { background: transparent; color: var(--grey-muted); }

/* ═══════════════ FOOTER ═══════════════ */
footer { padding: 28px 40px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; max-width: var(--max-width); margin: 0 auto; }
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-links a { font-size: 12px; color: var(--grey-muted); text-decoration: none; transition: color 0.15s; }
.footer-links a:hover { color: var(--white); }
body.light-mode .footer-links a { color: #888; }
body.light-mode .footer-links a:hover { color: var(--black); }
.footer-copy { font-size: 12px; color: rgba(160,160,176,0.5); }
body.light-mode .footer-copy { color: rgba(0,0,0,0.3); }

/* ═══════════════ CATALOG PAGE ═══════════════ */
.catalog-header { padding: 56px 40px 40px; max-width: var(--max-width); margin: 0 auto; }
.filter-bar { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 40px; }
.filter-btn { font-family: var(--font-body); font-size: 13px; font-weight: 500; padding: 7px 18px; border-radius: 100px; border: 1px solid rgba(255,255,255,0.12); background: transparent; color: var(--grey-dim); cursor: pointer; transition: all 0.15s; }
.filter-btn:hover, .filter-btn.active { background: var(--orange); color: #fff; border-color: var(--orange); }
body.light-mode .filter-btn { border-color: rgba(0,0,0,0.12); color: #555; }

/* ═══════════════ HOW IT WORKS PAGE ═══════════════ */
.how-steps { display: grid; gap: 32px; max-width: 640px; margin: 0 auto; }
.how-step { display: flex; gap: 24px; align-items: flex-start; }
.how-step-num { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,107,43,0.15); border: 1px solid rgba(255,107,43,0.35); color: var(--orange-light); font-family: var(--font-display); font-size: 14px; font-weight: 700; display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 2px; }
.how-step-content h3 { font-family: var(--font-display); font-size: 18px; font-weight: 600; color: var(--white) !important; margin-bottom: 6px; }
body.light-mode .how-step-content h3 { color: var(--black) !important; }
.how-step-content p { font-size: 14px; color: var(--grey-dim); line-height: 1.65; }

.platform-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 40px; }
@media (max-width: 640px) { .platform-grid { grid-template-columns: 1fr; } }
.platform-card { background: var(--slate); border: 1px solid rgba(255,255,255,0.1); border-radius: var(--radius-md); padding: 20px; }
body.light-mode .platform-card { background: #fff; border-color: rgba(0,0,0,0.09); }
.platform-name { font-family: var(--font-display); font-size: 16px; font-weight: 600; color: var(--white) !important; margin-bottom: 6px; }
body.light-mode .platform-name { color: var(--black) !important; }
.platform-note { font-size: 13px; color: var(--grey-dim); line-height: 1.55; }

/* ═══════════════ PRO PAGE ═══════════════ */
.pro-cards-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
@media (max-width: 640px) { .pro-cards-grid { grid-template-columns: 1fr; } }
.pro-card { background: var(--slate); border: 1px solid rgba(255,255,255,0.1); border-radius: var(--radius-lg); padding: 24px; display: flex; flex-direction: column; }
body.light-mode .pro-card { background: #fff; border-color: rgba(0,0,0,0.09); }
.pro-card-title { font-family: var(--font-display); font-size: 18px; font-weight: 700; color: var(--white) !important; margin-bottom: 8px; }
body.light-mode .pro-card-title { color: var(--black) !important; }
.pro-card-buyer { font-size: 12px; color: var(--orange-light); font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 10px; }
body.light-mode .pro-card-buyer { color: var(--orange); }
.pro-card-desc { font-size: 13px; color: var(--grey-dim); line-height: 1.6; flex: 1; margin-bottom: 20px; }
.pro-card-price { font-family: var(--font-display); font-size: 28px; font-weight: 700; color: var(--white) !important; margin-bottom: 16px; }
body.light-mode .pro-card-price { color: var(--black) !important; }

/* ═══════════════ RESPONSIVE ═══════════════ */
@media (max-width: 768px) {
  nav { padding: 14px 20px; }
  .nav-links { display: none; }
  .hero { padding: 56px 20px 48px; }
  .section-inner { padding: 0 20px; }
  .pro-top { flex-direction: column; }
  footer { padding: 24px 20px; }
  .cards-grid { grid-template-columns: 1fr; }
  .pro-cards-grid { grid-template-columns: 1fr; }
}
