/* ============================================================
   365baji-club.com — Global Stylesheet
   Design System: Deep Navy + Gold + Purple Accent
   ============================================================ */

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Colors */
  --c-bg-deep:    #060E1F;
  --c-bg-dark:    #0A1628;
  --c-bg-mid:     #0D1F3C;
  --c-bg-card:    #112244;
  --c-bg-card2:   #0F1E38;
  --c-gold:       #D4AF37;
  --c-gold-light: #FFE066;
  --c-gold-dim:   #A88A20;
  --c-purple:     #7B2FBE;
  --c-purple-lt:  #A855F7;
  --c-accent:     #E74C3C;
  --c-text:       #E8EDF5;
  --c-text-muted: #8A9BBE;
  --c-text-dim:   #5A6A8A;
  --c-border:     rgba(212,175,55,0.18);
  --c-border-lt:  rgba(212,175,55,0.08);
  --c-white:      #FFFFFF;

  /* Typography */
  --font-main: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;

  /* Spacing */
  --sp-xs: 0.5rem;
  --sp-sm: 1rem;
  --sp-md: 1.5rem;
  --sp-lg: 2.5rem;
  --sp-xl: 4rem;

  /* Radius */
  --r-sm: 6px;
  --r-md: 12px;
  --r-lg: 20px;
  --r-pill: 50px;

  /* Shadows */
  --shadow-card: 0 4px 24px rgba(0,0,0,0.4), 0 1px 4px rgba(212,175,55,0.08);
  --shadow-gold: 0 0 20px rgba(212,175,55,0.25);
  --shadow-btn:  0 4px 16px rgba(212,175,55,0.35);
  --shadow-hero: 0 8px 40px rgba(0,0,0,0.6);

  /* Transitions */
  --tr: 0.25s ease;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-main);
  background: var(--c-bg-deep);
  color: var(--c-text);
  line-height: 1.7;
  overflow-x: hidden;
}

a { color: var(--c-gold); text-decoration: none; transition: color var(--tr); }
a:hover { color: var(--c-gold-light); }

img, svg { max-width: 100%; height: auto; display: block; }

ul { list-style: none; }

/* ── Typography ── */
h1, h2, h3, h4, h5 {
  font-weight: 700;
  line-height: 1.25;
  color: var(--c-white);
}
h1 { font-size: clamp(1.8rem, 4vw, 3rem); }
h2 { font-size: clamp(1.4rem, 3vw, 2.2rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.5rem); }
h4 { font-size: 1.1rem; }

p { margin-bottom: 1rem; color: var(--c-text); }

.text-gold { color: var(--c-gold); }
.text-muted { color: var(--c-text-muted); }
.text-center { text-align: center; }
.text-white { color: var(--c-white); }

/* ── Container ── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ── Section Spacing ── */
.section { padding: var(--sp-xl) 0; }
.section-sm { padding: var(--sp-lg) 0; }

.section-header {
  text-align: center;
  margin-bottom: var(--sp-lg);
}
.section-header h2 { margin-bottom: 0.5rem; }
.section-header p { color: var(--c-text-muted); max-width: 600px; margin: 0 auto; }

.section-divider {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--c-gold), var(--c-gold-light));
  margin: 0.75rem auto 0;
  border-radius: 2px;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.6rem 1.4rem;
  border-radius: var(--r-pill);
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  border: none;
  transition: all var(--tr);
  white-space: nowrap;
  text-decoration: none;
}

.btn-register {
  background: linear-gradient(135deg, var(--c-gold), var(--c-gold-light));
  color: var(--c-bg-deep);
  box-shadow: var(--shadow-btn);
}
.btn-register:hover {
  background: linear-gradient(135deg, var(--c-gold-light), var(--c-gold));
  color: var(--c-bg-deep);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(212,175,55,0.5);
}

.btn-login {
  background: transparent;
  color: var(--c-gold);
  border: 2px solid var(--c-gold);
}
.btn-login:hover {
  background: rgba(212,175,55,0.12);
  color: var(--c-gold-light);
  border-color: var(--c-gold-light);
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--c-gold), var(--c-gold-light));
  color: var(--c-bg-deep);
  padding: 0.85rem 2rem;
  font-size: 1rem;
  box-shadow: var(--shadow-btn);
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(212,175,55,0.5);
  color: var(--c-bg-deep);
}

.btn-secondary {
  background: transparent;
  color: var(--c-gold);
  border: 2px solid var(--c-gold);
  padding: 0.85rem 2rem;
  font-size: 1rem;
}
.btn-secondary:hover {
  background: rgba(212,175,55,0.1);
  color: var(--c-gold-light);
  transform: translateY(-2px);
}

.btn-purple {
  background: linear-gradient(135deg, var(--c-purple), var(--c-purple-lt));
  color: var(--c-white);
  padding: 0.85rem 2rem;
  font-size: 1rem;
}
.btn-purple:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(123,47,190,0.5);
  color: var(--c-white);
}

/* ── Header / Navigation ── */
#site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(6,14,31,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--c-border);
  transition: box-shadow var(--tr);
}
#site-header.scrolled {
  box-shadow: 0 4px 24px rgba(0,0,0,0.5);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 1rem;
}

/* Logo */
.site-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
  text-decoration: none;
  pointer-events: none;
  cursor: default;
}
.logo-icon {
  width: 40px;
  height: 40px;
  max-width: 40px;
  max-height: 40px;
  flex-shrink: 0;
}
.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.logo-text .logo-brand {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--c-gold);
  letter-spacing: 0.02em;
}
.logo-text .logo-sub {
  font-size: 0.65rem;
  color: var(--c-text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Nav */
.main-nav { display: flex; align-items: center; gap: 0.25rem; }
.main-nav a {
  color: var(--c-text);
  font-size: 0.88rem;
  font-weight: 600;
  padding: 0.4rem 0.75rem;
  border-radius: var(--r-sm);
  transition: all var(--tr);
  white-space: nowrap;
}
.main-nav a:hover,
.main-nav a.active {
  color: var(--c-gold);
  background: rgba(212,175,55,0.08);
}

/* Header CTA */
.header-cta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--c-gold);
  border-radius: 2px;
  transition: all var(--tr);
}
.menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Banner ── */
.home-banner {
  width: 100%;
  overflow: hidden;
  line-height: 0;
  background: var(--c-bg-dark);
}
.home-banner img,
.home-banner svg {
  width: 100%;
  height: auto;
  max-height: 480px;
  object-fit: cover;
  display: block;
}

/* ── Hero Section ── */
.hero-section {
  background: linear-gradient(135deg, var(--c-bg-deep) 0%, var(--c-bg-mid) 50%, #1A0A2E 100%);
  padding: var(--sp-xl) 0;
  position: relative;
  overflow: hidden;
}
.hero-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 60%;
  height: 200%;
  background: radial-gradient(ellipse, rgba(123,47,190,0.15) 0%, transparent 70%);
  pointer-events: none;
}
.hero-section::after {
  content: '';
  position: absolute;
  top: -30%;
  right: -10%;
  width: 50%;
  height: 160%;
  background: radial-gradient(ellipse, rgba(212,175,55,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(212,175,55,0.12);
  border: 1px solid var(--c-border);
  color: var(--c-gold);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.35rem 0.9rem;
  border-radius: var(--r-pill);
  margin-bottom: 1.25rem;
  letter-spacing: 0.04em;
}
.hero-content h1 {
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--c-white) 0%, var(--c-gold-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-content p {
  font-size: 1.1rem;
  color: var(--c-text-muted);
  margin-bottom: 1.75rem;
  max-width: 600px;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2rem; }
.hero-stats {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  padding-top: 1.5rem;
  border-top: 1px solid var(--c-border-lt);
}
.hero-stat-item { text-align: left; }
.hero-stat-item .stat-num {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--c-gold);
  line-height: 1;
}
.hero-stat-item .stat-label {
  font-size: 0.78rem;
  color: var(--c-text-muted);
  margin-top: 0.2rem;
}

/* ── Cards ── */
.card {
  background: var(--c-bg-card);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  padding: 1.5rem;
  transition: all var(--tr);
  box-shadow: var(--shadow-card);
}
.card:hover {
  border-color: rgba(212,175,55,0.35);
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.5), var(--shadow-gold);
}

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  font-size: 1.5rem;
  background: rgba(212,175,55,0.1);
  border: 1px solid var(--c-border);
}

/* ── Grid Layouts ── */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.grid-auto { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem; }

/* ── Feature Cards ── */
.feature-card {
  background: var(--c-bg-card);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  padding: 1.75rem 1.5rem;
  transition: all var(--tr);
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--c-gold), var(--c-gold-light));
  opacity: 0;
  transition: opacity var(--tr);
}
.feature-card:hover::before { opacity: 1; }
.feature-card:hover {
  border-color: rgba(212,175,55,0.3);
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.5);
}
.feature-card .card-icon { background: rgba(212,175,55,0.08); }
.feature-card h3 { margin-bottom: 0.5rem; font-size: 1.1rem; }
.feature-card p { color: var(--c-text-muted); font-size: 0.9rem; margin: 0; }

/* ── Category Cards ── */
.cat-card {
  background: var(--c-bg-card);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: all var(--tr);
  cursor: pointer;
  text-decoration: none;
  display: block;
}
.cat-card:hover {
  border-color: var(--c-gold);
  background: var(--c-bg-card2);
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.5), var(--shadow-gold);
  color: var(--c-gold);
}
.cat-card .cat-icon {
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
  display: block;
}
.cat-card h3 { font-size: 1rem; color: var(--c-white); margin-bottom: 0.3rem; }
.cat-card p { font-size: 0.82rem; color: var(--c-text-muted); margin: 0; }

/* ── Stats Section ── */
.stats-section {
  background: linear-gradient(135deg, var(--c-bg-mid), var(--c-bg-card));
  border-top: 1px solid var(--c-border-lt);
  border-bottom: 1px solid var(--c-border-lt);
}
.stat-box {
  text-align: center;
  padding: 1.5rem 1rem;
}
.stat-box .num {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--c-gold);
  line-height: 1;
  margin-bottom: 0.3rem;
}
.stat-box .label {
  font-size: 0.85rem;
  color: var(--c-text-muted);
}

/* ── Steps Section ── */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  position: relative;
}
.step-item {
  text-align: center;
  padding: 1.5rem 1rem;
}
.step-num {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--c-gold), var(--c-gold-light));
  color: var(--c-bg-deep);
  font-size: 1.3rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  box-shadow: var(--shadow-gold);
}
.step-item h3 { font-size: 1rem; margin-bottom: 0.4rem; }
.step-item p { font-size: 0.85rem; color: var(--c-text-muted); margin: 0; }

/* ── FAQ ── */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  margin-bottom: 0.75rem;
  overflow: hidden;
  background: var(--c-bg-card);
  transition: border-color var(--tr);
}
.faq-item.open { border-color: rgba(212,175,55,0.35); }
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 1.4rem;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--c-white);
  gap: 1rem;
  user-select: none;
}
.faq-question:hover { color: var(--c-gold); }
.faq-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(212,175,55,0.1);
  border: 1px solid var(--c-border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.9rem;
  color: var(--c-gold);
  transition: transform var(--tr);
}
.faq-item.open .faq-icon { transform: rotate(45deg); background: rgba(212,175,55,0.2); }
.faq-answer {
  display: none;
  padding: 0 1.4rem 1.2rem;
  color: var(--c-text-muted);
  font-size: 0.9rem;
  line-height: 1.7;
}
.faq-answer a { color: var(--c-gold); }

/* ── CTA Section ── */
.cta-section {
  background: linear-gradient(135deg, #0D1F3C 0%, #1A0A2E 50%, #0A1628 100%);
  border-top: 1px solid var(--c-border-lt);
  border-bottom: 1px solid var(--c-border-lt);
  text-align: center;
  padding: var(--sp-xl) 0;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 300px;
  background: radial-gradient(ellipse, rgba(212,175,55,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.cta-section h2 { margin-bottom: 0.75rem; }
.cta-section p { color: var(--c-text-muted); margin-bottom: 2rem; max-width: 500px; margin-left: auto; margin-right: auto; }
.cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ── Breadcrumb ── */
.breadcrumb-bar {
  background: var(--c-bg-mid);
  border-bottom: 1px solid var(--c-border-lt);
  padding: 0.75rem 0;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  color: var(--c-text-muted);
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--c-text-muted); }
.breadcrumb a:hover { color: var(--c-gold); }
.breadcrumb .sep { color: var(--c-text-dim); }
.breadcrumb .current { color: var(--c-gold); }

/* ── Page Hero (inner pages) ── */
.page-hero {
  background: linear-gradient(135deg, var(--c-bg-dark) 0%, var(--c-bg-mid) 100%);
  padding: 3rem 0 2.5rem;
  border-bottom: 1px solid var(--c-border-lt);
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 40%;
  height: 100%;
  background: radial-gradient(ellipse at right, rgba(212,175,55,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero h1 { margin-bottom: 0.75rem; }
.page-hero p { color: var(--c-text-muted); max-width: 600px; }

/* ── Content Sections ── */
.content-section {
  padding: var(--sp-lg) 0;
}
.content-section h2 {
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--c-border);
}
.content-section h3 { margin: 1.5rem 0 0.5rem; color: var(--c-gold); }
.content-section p { color: var(--c-text-muted); }
.content-section ul, .content-section ol {
  padding-left: 1.5rem;
  color: var(--c-text-muted);
  margin-bottom: 1rem;
}
.content-section ul { list-style: disc; }
.content-section ol { list-style: decimal; }
.content-section li { margin-bottom: 0.4rem; }

/* ── Bullet Points (SEO) ── */
.bullet-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
}
.bullet-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  padding: 0.4rem 0;
  color: var(--c-text-muted);
  font-size: 0.95rem;
}
.bullet-list li::before {
  content: '▸';
  color: var(--c-gold);
  flex-shrink: 0;
  margin-top: 0.1rem;
}

/* ── Info Box ── */
.info-box {
  background: rgba(212,175,55,0.06);
  border: 1px solid var(--c-border);
  border-left: 4px solid var(--c-gold);
  border-radius: var(--r-sm);
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
}
.info-box p { margin: 0; color: var(--c-text-muted); font-size: 0.9rem; }

.warning-box {
  background: rgba(231,76,60,0.06);
  border: 1px solid rgba(231,76,60,0.2);
  border-left: 4px solid var(--c-accent);
  border-radius: var(--r-sm);
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
}
.warning-box p { margin: 0; color: var(--c-text-muted); font-size: 0.9rem; }

/* ── Table ── */
.table-wrap { overflow-x: auto; margin: 1.5rem 0; }
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}
th {
  background: var(--c-bg-card);
  color: var(--c-gold);
  padding: 0.85rem 1rem;
  text-align: left;
  border-bottom: 2px solid var(--c-border);
  font-weight: 700;
}
td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--c-border-lt);
  color: var(--c-text-muted);
}
tr:hover td { background: rgba(212,175,55,0.03); }

/* ── YouTube Video ── */
.video-section { padding: var(--sp-lg) 0; }
.video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: var(--r-md);
  border: 1px solid var(--c-border);
  box-shadow: var(--shadow-card);
}
.video-wrapper iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  border: none;
}
.video-caption {
  text-align: center;
  margin-top: 1rem;
  color: var(--c-text-muted);
  font-size: 0.88rem;
}

/* ── Promo Cards ── */
.promo-card {
  background: var(--c-bg-card);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: all var(--tr);
}
.promo-card:hover {
  border-color: rgba(212,175,55,0.4);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.5);
}
.promo-card-header {
  background: linear-gradient(135deg, var(--c-purple), #4A1A8A);
  padding: 1.5rem;
  text-align: center;
}
.promo-card-header .promo-badge {
  display: inline-block;
  background: var(--c-gold);
  color: var(--c-bg-deep);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.2rem 0.7rem;
  border-radius: var(--r-pill);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.promo-card-header h3 { color: var(--c-white); font-size: 1.3rem; }
.promo-card-header .promo-amount {
  font-size: 2rem;
  font-weight: 800;
  color: var(--c-gold-light);
  margin-top: 0.25rem;
}
.promo-card-body { padding: 1.25rem 1.5rem; }
.promo-card-body ul { list-style: none; padding: 0; }
.promo-card-body ul li {
  padding: 0.35rem 0;
  color: var(--c-text-muted);
  font-size: 0.88rem;
  border-bottom: 1px solid var(--c-border-lt);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.promo-card-body ul li::before { content: '✓'; color: var(--c-gold); font-weight: 700; }
.promo-card-footer { padding: 0 1.5rem 1.5rem; }

/* ── Contact Form ── */
.contact-form { max-width: 640px; }
.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--c-text-muted);
  margin-bottom: 0.4rem;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  background: var(--c-bg-card);
  border: 1px solid var(--c-border);
  border-radius: var(--r-sm);
  padding: 0.75rem 1rem;
  color: var(--c-text);
  font-family: var(--font-main);
  font-size: 0.9rem;
  transition: border-color var(--tr);
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--c-gold);
  box-shadow: 0 0 0 3px rgba(212,175,55,0.1);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-error { color: var(--c-accent); font-size: 0.8rem; margin-top: 0.3rem; display: none; }
.form-success {
  background: rgba(39,174,96,0.1);
  border: 1px solid rgba(39,174,96,0.3);
  border-radius: var(--r-sm);
  padding: 1rem 1.25rem;
  color: #27AE60;
  font-size: 0.9rem;
  display: none;
  margin-top: 1rem;
}

/* ── Back to Top ── */
#back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--c-gold), var(--c-gold-light));
  color: var(--c-bg-deep);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 700;
  box-shadow: var(--shadow-btn);
  opacity: 0;
  visibility: hidden;
  transition: all var(--tr);
  z-index: 999;
}
#back-to-top.visible { opacity: 1; visibility: visible; }
#back-to-top:hover { transform: translateY(-3px); box-shadow: 0 6px 20px rgba(212,175,55,0.5); }

/* ── Footer ── */
#site-footer {
  background: var(--c-bg-dark);
  border-top: 1px solid var(--c-border);
  padding-top: var(--sp-xl);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 2.5rem;
  padding-bottom: var(--sp-lg);
  border-bottom: 1px solid var(--c-border-lt);
}

.footer-brand .footer-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.footer-brand .footer-logo .logo-icon {
  width: 36px;
  height: 36px;
  max-width: 36px;
  max-height: 36px;
}
.footer-brand p {
  font-size: 0.85rem;
  color: var(--c-text-muted);
  line-height: 1.6;
  margin-bottom: 1rem;
}
.footer-disclaimer {
  font-size: 0.78rem;
  color: var(--c-text-dim);
  line-height: 1.5;
  padding: 0.75rem;
  background: rgba(255,255,255,0.03);
  border-radius: var(--r-sm);
  border: 1px solid var(--c-border-lt);
}

.footer-col h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--c-gold);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.footer-col ul { list-style: none; padding: 0; }
.footer-col ul li { margin-bottom: 0.5rem; }
.footer-col ul li a {
  color: var(--c-text-muted);
  font-size: 0.85rem;
  transition: color var(--tr);
}
.footer-col ul li a:hover { color: var(--c-gold); }

.footer-contact h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--c-gold);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.footer-contact-list { list-style: none; padding: 0; }
.footer-contact-list li {
  margin-bottom: 0.6rem;
  font-size: 0.85rem;
  color: var(--c-text-muted);
  line-height: 1.5;
}
.footer-contact-list li strong {
  color: var(--c-text);
  display: block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.15rem;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 0;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer-bottom p {
  font-size: 0.8rem;
  color: var(--c-text-dim);
  margin: 0;
}
.footer-bottom-links {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}
.footer-bottom-links a {
  font-size: 0.8rem;
  color: var(--c-text-dim);
}
.footer-bottom-links a:hover { color: var(--c-gold); }

/* ── 404 Page ── */
.error-page {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--sp-xl) 0;
}
.error-code {
  font-size: clamp(5rem, 15vw, 10rem);
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(135deg, var(--c-gold), var(--c-gold-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
}
.error-page h2 { margin-bottom: 1rem; }
.error-page p { color: var(--c-text-muted); margin-bottom: 2rem; }
.error-links { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ── Tabs ── */
.tabs-nav {
  display: flex;
  gap: 0.5rem;
  border-bottom: 2px solid var(--c-border);
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}
.tab-btn {
  padding: 0.6rem 1.2rem;
  background: none;
  border: none;
  color: var(--c-text-muted);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: all var(--tr);
  font-family: var(--font-main);
}
.tab-btn:hover { color: var(--c-gold); }
.tab-btn.active { color: var(--c-gold); border-bottom-color: var(--c-gold); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* ── Highlight Box ── */
.highlight-box {
  background: linear-gradient(135deg, rgba(212,175,55,0.08), rgba(123,47,190,0.08));
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  padding: 2rem;
  margin: 2rem 0;
}

/* ── Two-col layout ── */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
.two-col-text h2 { margin-bottom: 1rem; }
.two-col-text p { color: var(--c-text-muted); }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .main-nav {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: rgba(6,14,31,0.98);
    backdrop-filter: blur(12px);
    flex-direction: column;
    padding: 1rem;
    border-bottom: 1px solid var(--c-border);
    gap: 0.25rem;
    z-index: 999;
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 0.6rem 1rem; width: 100%; }
  .menu-toggle { display: flex; }

  .header-cta { gap: 0.4rem; }
  .header-cta .btn { padding: 0.5rem 0.9rem; font-size: 0.8rem; }

  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .two-col { grid-template-columns: 1fr; gap: 2rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .hero-stats { gap: 1.25rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .home-banner img, .home-banner svg { max-height: 220px; }
}

@media (max-width: 480px) {
  .header-inner { height: 60px; }
  .logo-text .logo-brand { font-size: 1rem; }
  .logo-icon { width: 32px; height: 32px; max-width: 32px; max-height: 32px; }
  .hero-actions { flex-direction: column; }
  .cta-actions { flex-direction: column; align-items: center; }
  .btn-primary, .btn-secondary, .btn-purple { width: 100%; justify-content: center; }
  .error-links { flex-direction: column; align-items: center; }
}

/* ── Utility ── */
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.d-flex { display: flex; }
.align-center { align-items: center; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.hidden { display: none !important; }
