/* 
   BVF 2026 - Premium Modern Design System
   Stunning dark theme with vibrant accents and glassmorphism
*/

@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Noto+Sans+Khmer:wght@400;500;600;700&display=swap");

:root {
  /* Premium Parisian Palette */
  --accent: #F59E0B; /* Gold/Amber */
  --accent-glow: rgba(245, 158, 11, 0.4);
  --accent-dark: #D97706;
  --secondary: #38BDF8; /* Sky Blue */
  --secondary-glow: rgba(56, 189, 248, 0.3);
  
  /* Deep Navy Theme */
  --bg-primary: #0F172A; /* Slate 900 */
  --bg-secondary: #1E293B; /* Slate 800 */
  --bg-elevated: #334155;
  --bg-card: rgba(30, 41, 59, 0.7); /* Glassy Navy */
  
  /* Glass Effect */
  --glass: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.1);
  --glass-hover: rgba(255, 255, 255, 0.06);
  
  /* Text Colors */
  --text-primary: #FFFFFF;
  --text-secondary: #CBD5E1; /* Slate 300 */
  --text-muted: #94A3B8; /* Slate 400 */
  
  /* Effects */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.4);
  --shadow-glow: 0 0 40px var(--accent-glow);
  --radius: 16px;
  --radius-lg: 24px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Badge Style */
.badge {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: white;
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 0.8rem;
  margin-left: 8px;
  vertical-align: middle;
  font-weight: 700;
  box-shadow: 0 2px 10px var(--accent-glow);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  line-height: 1.6;
  background: var(--bg-primary);
  color: var(--text-primary);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 100vh;
  background: 
    radial-gradient(ellipse 80% 50% at 50% -20%, var(--accent-glow), transparent),
    radial-gradient(ellipse 60% 40% at 100% 0%, var(--secondary-glow), transparent);
  pointer-events: none;
  z-index: -1;
}

body.khmer {
  font-family: "Noto Sans Khmer", "Inter", sans-serif;
}

.khmer-text {
  font-family: "Noto Sans Khmer", sans-serif;
  font-size: 1.1em;
}

h1, h2, h3, h4 {
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); }

a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
  transition: all var(--transition);
}

a:hover {
  color: var(--secondary);
  text-shadow: 0 0 20px var(--accent-glow);
}

/* Layout */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 24px;
}

/* ========================
   PREMIUM HEADER
   ======================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 10, 15, 0.8);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-primary);
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: -0.03em;
}

.site-logo img {
  height: 40px;
  width: 40px;
  border-radius: 10px;
}

.site-nav {
  display: flex;
  gap: 8px;
}

.site-nav a {
  color: var(--text-secondary);
  padding: 10px 18px;
  border-radius: 10px;
  font-weight: 500;
  font-size: 0.95rem;
  transition: all var(--transition);
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--text-primary);
  background: var(--glass);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.5rem;
  cursor: pointer;
}

/* ========================
   HERO SECTION
   ======================== */

.hero {
  padding: 80px 0 60px;
  text-align: center;
  position: relative;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--glass-border), transparent);
}

.hero h1 {
  margin-bottom: 24px;
  background: linear-gradient(135deg, var(--text-primary) 0%, var(--text-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 16px;
}

.hero-truth {
  display: inline-block;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  padding: 16px 28px;
  border-radius: var(--radius);
  margin: 24px 0;
  color: var(--text-secondary);
  font-size: 1rem;
}

.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 32px;
}

/* ========================
   BUTTONS - Premium Style
   ======================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 32px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  color: white;
  box-shadow: 0 4px 20px var(--accent-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px var(--accent-glow);
  color: white;
}

.btn-secondary {
  background: var(--glass);
  color: var(--text-primary);
  border: 1px solid var(--glass-border);
}

.btn-secondary:hover {
  background: var(--glass-hover);
  transform: translateY(-2px);
  color: var(--text-primary);
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 2px solid var(--glass-border);
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn-lg {
  padding: 20px 40px;
  font-size: 1.1rem;
}

.btn-sm {
  padding: 10px 20px;
  font-size: 0.9rem;
}

/* ========================
   CARDS - Glassmorphism
   ======================== */

.card {
  background: var(--bg-card);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 32px;
  transition: all var(--transition);
}

.card:hover {
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.card h2, .card h3 {
  margin-bottom: 16px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin: 40px 0;
}

/* Product Cards */
.product-card {
  background: var(--bg-card);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  text-align: center;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.product-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--secondary));
  opacity: 0;
  transition: opacity var(--transition);
}

.product-card:hover::before {
  opacity: 1;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.product-card.featured {
  border-color: var(--accent);
  box-shadow: 0 0 40px var(--accent-glow);
}

.product-card.featured::before {
  opacity: 1;
}

.product-card h2 {
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.product-card .price {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--accent);
  margin: 16px 0;
}

.product-card .price small {
  font-size: 1rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* Badge */
.badge-prep {
  display: inline-block;
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #000;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ========================
   FAST RESPONSE
   ======================== */

.fast-response {
  background: linear-gradient(135deg, rgba(255, 77, 77, 0.15), rgba(255, 184, 0, 0.1));
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  padding: 20px 28px;
  margin: 32px 0;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  gap: 12px;
}

/* ========================
   SECTIONS
   ======================== */

section {
  margin: 60px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 48px;
}

.section-title h2 {
  margin-bottom: 12px;
}

.section-title p {
  color: var(--text-muted);
}

/* ========================
   LANGUAGE ACCORDION
   ======================== */

.lang-accordion {
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  overflow: hidden;
  margin: 20px 0;
}

.lang-accordion-header {
  background: var(--glass);
  padding: 16px 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 600;
  transition: background var(--transition);
}

.lang-accordion-header:hover {
  background: var(--glass-hover);
}

.lang-accordion-header::after {
  content: '▼';
  font-size: 0.75rem;
  transition: transform var(--transition);
}

.lang-accordion.open .lang-accordion-header::after {
  transform: rotate(180deg);
}

.lang-accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  background: var(--bg-secondary);
}

.lang-accordion.open .lang-accordion-body {
  max-height: 800px;
  padding: 24px;
}

/* Quad Block */
.quad-block {
  background: var(--bg-secondary);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 24px;
  margin: 20px 0;
}

.lang-row {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 8px 0;
  border-bottom: 1px solid var(--glass-border);
}

.lang-row:last-child {
  border-bottom: none;
}

.lang-label {
  min-width: 50px;
  font-weight: 700;
  font-size: 0.8rem;
  color: var(--accent);
  text-transform: uppercase;
}

/* ========================
   FOOTER
   ======================== */

.site-footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--glass-border);
  margin-top: 80px;
  padding: 60px 0 40px;
}

.footer-content {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
}

.footer-section h4 {
  color: var(--text-primary);
  margin-bottom: 20px;
  font-size: 1rem;
}

.footer-section a {
  display: block;
  color: var(--text-muted);
  font-weight: 400;
  padding: 6px 0;
}

.footer-section a:hover {
  color: var(--accent);
}

.footer-tagline {
  text-align: center;
  padding: 40px 24px 0;
  border-top: 1px solid var(--glass-border);
  margin-top: 40px;
  color: var(--text-muted);
}

/* ========================
   UTILITY CLASSES
   ======================== */

.text-center { text-align: center; }
.text-muted { color: var(--text-muted); }
.mt-20 { margin-top: 20px; }
.mt-40 { margin-top: 40px; }
.mb-20 { margin-bottom: 20px; }
.mb-40 { margin-bottom: 40px; }

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-weight: 500;
  margin-bottom: 32px;
}

.back-link:hover {
  color: var(--accent);
}

/* Plan Items */
.plan-item {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--glass-border);
}

.plan-label {
  font-weight: 700;
  color: var(--accent);
  min-width: 80px;
}

/* Mode Section (No Phone) */
.mode-section {
  background: linear-gradient(135deg, rgba(255, 184, 0, 0.1), rgba(255, 77, 77, 0.05));
  border: 1px solid var(--secondary);
  border-radius: var(--radius);
  padding: 28px;
  margin: 32px 0;
}

.mode-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  font-weight: 700;
}

.tag {
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 700;
}

.tag-no-phone {
  background: var(--secondary);
  color: #000;
}

/* KhmerStyle Promo */
.khmerstyle-promo {
  background: linear-gradient(135deg, rgba(233, 69, 96, 0.15), rgba(233, 69, 96, 0.05));
  border: 1px solid #e94560;
  border-radius: var(--radius);
  padding: 32px;
  text-align: center;
}

.khmerstyle-promo h3 {
  color: #e94560;
  margin-bottom: 12px;
}

/* ========================
   MOBILE RESPONSIVE
   ======================== */

@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }
  
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--glass-border);
    flex-direction: column;
    padding: 16px;
  }
  
  .site-nav.open {
    display: flex;
  }
  
  .site-nav a {
    padding: 16px;
    border-radius: 8px;
  }
  
  .hero {
    padding: 60px 0 40px;
  }
  
  .hero-cta {
    flex-direction: column;
    align-items: center;
  }
  
  .btn-lg {
    width: 100%;
    max-width: 300px;
  }
  
  .card-grid {
    grid-template-columns: 1fr;
  }
  
  .product-card {
    padding: 32px 24px;
  }
}

/* Print Styles */
@media print {
  body {
    background: white;
    color: black;
  }
  
  .site-header,
  .site-footer,
  .btn {
    display: none;
  }
}
