/* ==========================================================================
   RAGA PRIMA 2026 - Electric Violet & Solar Gold Luxury Theme
   Palette: Deep Midnight Carbon (#0A0912), Bio-Electric Violet (#A855F7),
            Warm Sunburst Gold (#FACC15 / #EAB308), Crisp Platinum (#FAF5FF)
   Designed for Google Ads Full Compliance (GEO: Indonesia / Bahasa Indonesia)
   ========================================================================== */

:root {
  --bg-dark: #0A0912;
  --bg-dark-secondary: #110E1F;
  --bg-card: rgba(19, 15, 36, 0.78);
  --bg-card-hover: rgba(28, 22, 54, 0.9);
  --bg-card-solid: #141026;
  --bg-glass: rgba(13, 10, 24, 0.88);

  /* Unique Violet & Solar Gold Palette */
  --violet-main: #A855F7;
  --violet-glow: rgba(168, 85, 247, 0.35);
  --violet-dark: #7E22CE;
  --violet-light: #D8B4FE;
  --violet-bg: rgba(168, 85, 247, 0.08);

  --gold-main: #FACC15;
  --gold-glow: rgba(250, 204, 21, 0.35);
  --gold-dark: #CA8A04;
  --gold-bg: rgba(250, 204, 21, 0.1);

  --border-subtle: rgba(168, 85, 247, 0.16);
  --border-active: rgba(168, 85, 247, 0.45);
  --border-gold: rgba(250, 204, 21, 0.28);

  --text-main: #FAF5FF;
  --text-muted: #94A3B8;
  --text-dim: #64748B;
  --text-bright: #FFFFFF;

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;

  --font-main: 'Outfit', 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-violet: 0 10px 30px rgba(168, 85, 247, 0.2);
  --shadow-gold: 0 10px 30px rgba(250, 204, 21, 0.2);
  --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.45);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--bg-dark);
  background-image: 
    radial-gradient(circle at 15% 15%, rgba(168, 85, 247, 0.08) 0%, transparent 45%),
    radial-gradient(circle at 85% 65%, rgba(250, 204, 21, 0.06) 0%, transparent 50%),
    linear-gradient(180deg, #0A0912 0%, #110E1F 50%, #06050A 100%);
  color: var(--text-main);
  font-family: var(--font-main);
  line-height: 1.65;
  min-height: 100vh;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
}

a {
  color: var(--violet-main);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--violet-light);
  text-shadow: 0 0 12px var(--violet-glow);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  color: var(--text-bright);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  background: linear-gradient(135deg, #FFFFFF 0%, #E9D5FF 50%, var(--gold-main) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1.2rem;
}

h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  margin-bottom: 1rem;
}

h3 {
  font-size: clamp(1.2rem, 2.2vw, 1.5rem);
  margin-bottom: 0.75rem;
}

p {
  color: var(--text-muted);
  margin-bottom: 1.2rem;
  font-size: 1.02rem;
}

/* Layout */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5rem 0;
  position: relative;
}

.section-alt {
  background: rgba(17, 14, 31, 0.6);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.section-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 3.5rem;
}

.section-badge {
  display: inline-block;
  padding: 0.4rem 1.2rem;
  background: var(--violet-bg);
  color: var(--violet-main);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.section-badge.gold {
  background: var(--gold-bg);
  color: var(--gold-main);
  border-color: var(--border-gold);
}

/* Header & Navigation */
header.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  padding: 1rem 0;
  transition: var(--transition);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-bright);
}

.logo-icon {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, var(--violet-main), var(--gold-main));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  color: #0A0912;
  font-size: 1.2rem;
}

.logo span {
  color: var(--violet-main);
}

nav.main-nav {
  display: flex;
  align-items: center;
  gap: 1.8rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
}

.nav-link {
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.95rem;
  transition: var(--transition);
  position: relative;
  padding: 0.3rem 0;
}

.nav-link:hover, .nav-link.active {
  color: var(--violet-main);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--violet-main);
  box-shadow: 0 0 8px var(--violet-main);
}

.mobile-menu-btn {
  display: none;
  background: transparent;
  border: 1px solid var(--border-subtle);
  color: var(--text-bright);
  font-size: 1.5rem;
  padding: 0.5rem 0.8rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.8rem;
  border-radius: var(--radius-full);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  border: none;
  text-align: center;
}

.btn-violet {
  background: linear-gradient(135deg, var(--violet-main) 0%, var(--violet-dark) 100%);
  color: #FFFFFF;
  box-shadow: 0 4px 20px var(--violet-glow);
}

.btn-violet:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(168, 85, 247, 0.45);
  color: #FFF;
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold-main) 0%, var(--gold-dark) 100%);
  color: #0A0912;
  box-shadow: 0 4px 20px var(--gold-glow);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(250, 204, 21, 0.45);
  color: #000;
}

.btn-outline {
  background: rgba(168, 85, 247, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--violet-main);
}

.btn-outline:hover {
  background: var(--violet-bg);
  border-color: var(--violet-main);
  color: var(--text-bright);
}

.btn-sm {
  padding: 0.5rem 1.2rem;
  font-size: 0.88rem;
}

/* Cards & Grids */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 2.2rem;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.glass-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-active);
  box-shadow: 0 12px 40px rgba(168, 85, 247, 0.16);
}

.glass-card.gold-edge:hover {
  border-color: var(--gold-main);
  box-shadow: 0 12px 40px rgba(250, 204, 21, 0.16);
}

.card-icon {
  width: 54px;
  height: 54px;
  background: var(--violet-bg);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  color: var(--violet-main);
  margin-bottom: 1.5rem;
}

.card-icon.gold {
  background: var(--gold-bg);
  border-color: var(--border-gold);
  color: var(--gold-main);
}

/* Trust Bar */
.trust-bar {
  background: rgba(13, 10, 24, 0.92);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding: 1.5rem 0;
}

.trust-items {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-main);
  font-size: 0.92rem;
  font-weight: 600;
}

.trust-item-icon {
  width: 32px;
  height: 32px;
  background: var(--violet-bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--violet-main);
  font-size: 1rem;
}

/* Hero Section */
.hero {
  padding: 6rem 0 4rem;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-stats {
  display: flex;
  gap: 2rem;
  margin-top: 2.5rem;
}

.stat-box {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--gold-main);
  line-height: 1;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.3rem;
}

/* Interactive Quiz Styles */
.quiz-card {
  max-width: 780px;
  margin: 0 auto;
  background: var(--bg-card-solid);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 3rem;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5);
}

.quiz-progress-bar-container {
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-full);
  margin-bottom: 2rem;
  overflow: hidden;
}

.quiz-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--violet-main), var(--gold-main));
  width: 25%;
  transition: width 0.4s ease;
}

.quiz-step-indicator {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.quiz-options {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 2rem 0;
}

.quiz-option-btn {
  background: rgba(28, 22, 54, 0.5);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.2rem 1.5rem;
  color: var(--text-main);
  font-size: 1.05rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.quiz-option-btn:hover {
  background: var(--violet-bg);
  border-color: var(--violet-main);
  transform: translateX(4px);
}

.quiz-option-btn.selected {
  background: var(--violet-bg);
  border-color: var(--violet-main);
  box-shadow: 0 0 15px var(--violet-glow);
}

/* Calculator Styles */
.calc-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
}

.calc-form-group {
  margin-bottom: 1.8rem;
}

.calc-label {
  display: block;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 0.6rem;
  font-size: 0.95rem;
}

.calc-input, .calc-select {
  width: 100%;
  padding: 0.9rem 1.2rem;
  background: rgba(10, 9, 18, 0.7);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-bright);
  font-size: 1rem;
  font-family: inherit;
  outline: none;
  transition: var(--transition);
}

.calc-input:focus, .calc-select:focus {
  border-color: var(--violet-main);
  box-shadow: 0 0 12px var(--violet-glow);
}

.calc-results-card {
  background: rgba(168, 85, 247, 0.05);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 2rem;
  text-align: center;
}

.calc-result-number {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--gold-main);
  margin: 0.5rem 0;
}

/* Forms */
.lead-form-card {
  max-width: 650px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 3rem;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.form-input, .form-textarea, .form-select {
  width: 100%;
  padding: 0.95rem 1.2rem;
  background: rgba(10, 9, 18, 0.8);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-bright);
  font-size: 1rem;
  font-family: inherit;
  outline: none;
  transition: var(--transition);
}

.form-input:focus, .form-textarea:focus {
  border-color: var(--violet-main);
  box-shadow: 0 0 12px var(--violet-glow);
}

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 1rem;
  cursor: pointer;
}

.form-checkbox input {
  margin-top: 0.25rem;
  accent-color: var(--violet-main);
}

/* Testimonial & Coach Bio */
.coach-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: var(--gold-bg);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-full);
  color: var(--gold-main);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.testimonial-quote {
  font-style: italic;
  font-size: 1.05rem;
  color: var(--text-main);
  position: relative;
  padding-left: 1.5rem;
  border-left: 3px solid var(--violet-main);
  margin-bottom: 1.5rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--violet-bg);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--violet-main);
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: rgba(10, 9, 18, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--border-subtle);
  padding: 1.5rem 0;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.5);
}

.cookie-banner.active {
  transform: translateY(0);
}

.cookie-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.cookie-text {
  flex: 1;
  min-width: 280px;
}

.cookie-text p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.cookie-actions {
  display: flex;
  gap: 1rem;
}

/* Footer */
footer.site-footer {
  margin-top: auto;
  background: #06050A;
  border-top: 1px solid var(--border-subtle);
  padding: 4.5rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-col h4 {
  color: var(--text-bright);
  font-size: 1.1rem;
  margin-bottom: 1.2rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--gold-main);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.92rem;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--gold-main);
  transform: translateX(4px);
  display: inline-block;
}

.footer-disclaimer {
  background: rgba(19, 15, 36, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-sm);
  padding: 1.2rem;
  font-size: 0.82rem;
  color: var(--text-dim);
  line-height: 1.6;
  margin-bottom: 2rem;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.85rem;
  color: var(--text-dim);
  flex-wrap: wrap;
  gap: 1rem;
}

/* Category Filter Tabs */
.filter-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}

.filter-tab {
  padding: 0.6rem 1.4rem;
  background: rgba(19, 15, 36, 0.8);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.filter-tab:hover, .filter-tab.active {
  background: var(--violet-bg);
  border-color: var(--violet-main);
  color: var(--violet-main);
}

/* Benchmark Tables */
.benchmark-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.95rem;
}

.benchmark-table th, .benchmark-table td {
  padding: 1rem 1.2rem;
  border: 1px solid var(--border-subtle);
  text-align: left;
}

.benchmark-table th {
  background: rgba(168, 85, 247, 0.1);
  color: var(--gold-main);
  font-weight: 700;
}

.benchmark-table tr:nth-child(even) {
  background: rgba(19, 15, 36, 0.4);
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .grid-4, .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .mobile-menu-btn {
    display: block;
  }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-dark-secondary);
    border-bottom: 1px solid var(--border-subtle);
    flex-direction: column;
    padding: 1.5rem;
    gap: 1rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  }
  .nav-links.active {
    display: flex;
  }
  .grid-3, .grid-2, .grid-4 {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .trust-items {
    flex-direction: column;
    align-items: flex-start;
  }
  .quiz-card, .lead-form-card {
    padding: 1.8rem;
  }
  .hero-stats {
    flex-wrap: wrap;
  }
  .cookie-container {
    flex-direction: column;
    align-items: stretch;
  }
  .cookie-actions {
    flex-direction: column;
  }
}
