/* ==========================================================================
   RONEAT STUDIO PRO - MODERN LUMINOUS STYLESHEET
   Clean, radiant, high-contrast modern design for Cambodian Traditional Music
   ========================================================================== */

:root {
  /* Color Palette - Luminous Light Primary */
  --bg-main: #FAFAF8;
  --bg-surface: #FFFFFF;
  --bg-surface-elevated: #FFFFFF;
  --bg-glass: rgba(255, 255, 255, 0.85);
  --bg-glass-card: rgba(255, 255, 255, 0.92);
  --bg-subtle: #F1F4F8;
  --bg-warm-tint: #FFF9ED;

  /* Typography Colors */
  --text-primary: #0F172A;
  --text-secondary: #334155;
  --text-muted: #64748B;
  --text-inverse: #FFFFFF;

  /* Khmer Royal Gold & Bronze Accents */
  --gold-50: #FFFBEB;
  --gold-100: #FEF3C7;
  --gold-200: #FDE68A;
  --gold-300: #FCD34D;
  --gold-400: #F59E0B;
  --gold-500: #D97706;
  --gold-600: #B45309;
  --gold-primary: #C59A27;
  --gold-bright: #E2B338;
  --gold-glow: rgba(197, 154, 39, 0.28);
  --gold-border: rgba(197, 154, 39, 0.35);

  /* Deep Teak & Bamboo Accents */
  --bamboo-wood: #8B5A2B;
  --bamboo-light: #DEB887;
  --bamboo-dark: #4A2E12;

  /* Tech / AI Accents */
  --ai-primary: #0284C7;
  --ai-glow: rgba(2, 132, 199, 0.22);
  --emerald-accent: #059669;
  --emerald-light: #ECFDF5;

  /* Borders & Shadows */
  --border-light: rgba(15, 23, 42, 0.08);
  --border-focus: #C59A27;
  --shadow-sm: 0 2px 6px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 10px 25px -5px rgba(15, 23, 42, 0.06), 0 8px 10px -6px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 20px 35px -10px rgba(15, 23, 42, 0.08), 0 10px 15px -5px rgba(15, 23, 42, 0.03);
  --shadow-xl: 0 25px 50px -12px rgba(15, 23, 42, 0.12);
  --shadow-gold: 0 12px 30px -8px rgba(197, 154, 39, 0.35);

  /* Radii */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-pill: 9999px;

  /* Transitions */
  --transition-fast: 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.5s cubic-bezier(0.16, 1, 0.3, 1);

  /* Container */
  --container-max: 1240px;
}

/* --------------------------------------------------------------------------
   Khmer Language Typography Support
   -------------------------------------------------------------------------- */
html[lang="km"] {
  font-family: 'Kantumruy Pro', 'Plus Jakarta Sans', sans-serif;
}

html[lang="km"] h1,
html[lang="km"] h2,
html[lang="km"] h3,
html[lang="km"] h4,
html[lang="km"] h5,
html[lang="km"] h6,
html[lang="km"] .brand-title span:first-child,
html[lang="km"] .section-title,
html[lang="km"] .hero-title,
html[lang="km"] .cta-title,
html[lang="km"] .ekko-main-title,
html[lang="km"] .pillar-title,
html[lang="km"] .quote-lead {
  font-family: 'Kantumruy Pro', 'Outfit', sans-serif;
  line-height: 1.35;
}

html[lang="km"] .nav-link,
html[lang="km"] .btn,
html[lang="km"] .feature-tab-btn,
html[lang="km"] .ekko-nav-btn {
  font-family: 'Kantumruy Pro', 'Plus Jakarta Sans', sans-serif;
}

/* --------------------------------------------------------------------------
   Reset & Base Styles
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 15px;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
  width: 100%;
}

body {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--bg-main);
  color: var(--text-primary);
  line-height: 1.65;
  overflow-x: hidden;
  width: 100%;
  position: relative;
  background-image: 
    radial-gradient(circle at 10% 20%, rgba(217, 163, 43, 0.07) 0%, transparent 40%),
    radial-gradient(circle at 90% 60%, rgba(2, 132, 199, 0.05) 0%, transparent 45%),
    radial-gradient(circle at 50% 90%, rgba(217, 163, 43, 0.06) 0%, transparent 50%);
  background-attachment: fixed;
}

img, video {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* --------------------------------------------------------------------------
   Layout & Container
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.section {
  padding: 4.25rem 0;
  position: relative;
  scroll-margin-top: 84px;
}

.section-alt {
  background-color: rgba(255, 255, 255, 0.6);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

/* --------------------------------------------------------------------------
   Typography Utilities
   -------------------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-600);
  background: var(--gold-50);
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--gold-200);
  margin-bottom: 1rem;
}

.section-header {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 2.25rem auto;
}

.section-title {
  font-size: clamp(1.65rem, 2.6vw, 2.2rem);
  margin-bottom: 1.15rem;
}

.section-desc {
  font-size: 0.98rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.gradient-text {
  background: linear-gradient(135deg, #A77011 0%, #D49E24 50%, #87520C 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-ai {
  background: linear-gradient(135deg, #0284C7 0%, #2563EB 50%, #7C3AED 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* --------------------------------------------------------------------------
   Header & Navigation
   -------------------------------------------------------------------------- */
.site-header {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--bg-glass);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-light);
  transition: var(--transition-normal);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 66px;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.brand-icon {
  width: 36px; height: 36px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(197, 154, 39, 0.25);
  object-fit: contain;
}

.brand-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.125rem;
  font-weight: 800;
  color: var(--text-primary);
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-subtitle {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--gold-600);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
}

.nav-link {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: var(--transition-fast);
  position: relative;
  padding: 0.5rem 0;
}

.nav-link:hover, .nav-link.active {
  color: var(--gold-600);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--gold-bright);
  transition: var(--transition-fast);
  border-radius: 2px;
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.lang-switcher {
  display: inline-flex;
  align-items: center;
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-pill);
  padding: 3px;
  gap: 2px;
}

.lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.75rem;
  border: none;
  background: transparent;
  color: var(--text-secondary);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.8125rem;
  font-weight: 700;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: var(--transition-fast);
  line-height: 1;
}

.lang-btn:hover {
  color: var(--gold-600);
}

.lang-btn.active {
  background: var(--bg-surface);
  color: var(--gold-600);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.lang-flag {
  font-size: 0.95rem;
  line-height: 1;
}

.mobile-menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  color: var(--text-primary);
  border-radius: var(--radius-sm);
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  transition: var(--transition-fast);
}

.mobile-menu-btn:hover {
  background: var(--gold-100);
  color: var(--gold-600);
  border-color: var(--gold-300);
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.875rem;
  padding: 0.58rem 1.25rem;
  border-radius: var(--radius-pill);
  transition: var(--transition-fast);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, #D49E24 0%, #B88214 100%);
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(184, 130, 20, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(184, 130, 20, 0.45);
  background: linear-gradient(135deg, #E2B338 0%, #C59A27 100%);
}

.btn-secondary {
  background: var(--bg-surface);
  color: var(--text-primary);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background: var(--bg-subtle);
  border-color: var(--gold-border);
  color: var(--gold-600);
  transform: translateY(-2px);
}

.btn-ai {
  background: linear-gradient(135deg, #0284C7 0%, #1D4ED8 100%);
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.3);
}

.btn-ai:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(2, 132, 199, 0.45);
}

.btn-sm {
  padding: 0.38rem 0.85rem;
  font-size: 0.8rem;
  border-radius: var(--radius-pill);
}

/* --------------------------------------------------------------------------
   Hero Section
   -------------------------------------------------------------------------- */
.hero-section {
  padding: 3rem 0 4rem 0;
  position: relative;
  overflow: hidden;
}

.hero-glow-1 {
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 500px;
  background: radial-gradient(circle, rgba(226, 179, 56, 0.18) 0%, rgba(226, 179, 56, 0) 70%);
  pointer-events: none;
  filter: blur(40px);
}

.hero-content {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.45rem 1.15rem;
  border-radius: var(--radius-pill);
  background: var(--gold-50);
  border: 1px solid var(--gold-200);
  color: var(--gold-600);
  font-size: 0.875rem;
  font-weight: 700;
  margin-bottom: 1.75rem;
  box-shadow: 0 2px 10px rgba(217, 163, 43, 0.12);
}

.hero-badge-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--gold-400);
  box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.7);
  animation: pulse-ring 2s infinite;
}

@keyframes pulse-ring {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(245, 158, 11, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(245, 158, 11, 0); }
}

.hero-title {
  font-size: clamp(1.85rem, 3.6vw, 2.65rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  font-size: clamp(0.95rem, 1.3vw, 1.08rem);
  color: var(--text-secondary);
  max-width: 680px; margin: 0 auto 1.75rem auto;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem; flex-wrap: wrap;
  margin-bottom: 2rem;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  background: var(--bg-glass-card);
  padding: 0.95rem 1.35rem; border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-md);
  margin-top: 0.75rem;
}

.metric-item {
  text-align: center;
}

.metric-number {
  font-family: 'Outfit', sans-serif;
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--gold-600);
  line-height: 1.1;
}

.metric-label {
  font-size: 0.8125rem;
  color: var(--text-muted);
  font-weight: 600;
  margin-top: 0.35rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Master Hero Mockup Frame */
.hero-visual-wrapper {
  margin-top: 1.5rem;
  margin-bottom: 2rem;
  position: relative;
}

.hero-content-lower {
  margin-top: 0;
}

.hero-window-frame {
  background: var(--bg-surface);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-xl), 0 0 60px rgba(197, 154, 39, 0.15);
  overflow: hidden;
  position: relative;
}

.window-header {
  height: 44px;
  background: var(--bg-subtle);
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.25rem;
}

.window-dots {
  display: flex;
  gap: 6px;
}

.window-dots span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  display: block;
}

.dot-red { background: #FF5F56; }
.dot-yellow { background: #FFBD2E; }
.dot-green { background: #27C93F; }

.window-title {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.window-pills {
  display: flex;
  gap: 0.5rem;
}

.live-badge {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--emerald-accent);
  background: var(--emerald-light);
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-pill);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.hero-media-container {
  position: relative;
  background: #0D1117;
  overflow: hidden;
  max-height: 620px;
}

.hero-media-container img, 
.hero-media-container video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-interactive-overlay {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 1rem 1.5rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #FFFFFF;
}

.overlay-info {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.overlay-title {
  font-weight: 700;
  font-size: 0.95rem;
}

.overlay-tags {
  display: flex;
  gap: 0.5rem;
}

.tag-mini {
  font-size: 0.75rem;
  background: rgba(255, 255, 255, 0.15);
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-pill);
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   Origin Story Section (Competition Script Accord)
   -------------------------------------------------------------------------- */
.story-section {
  position: relative;
}

.quote-banner {
  background: linear-gradient(135deg, var(--gold-50) 0%, #FFFFFF 100%);
  border-left: 5px solid var(--gold-bright);
  border-radius: var(--radius-md);
  padding: 1.5rem 1.85rem;
  margin-bottom: 3.5rem;
  box-shadow: var(--shadow-sm);
  border-top: 1px solid var(--gold-border);
  border-right: 1px solid var(--gold-border);
  border-bottom: 1px solid var(--gold-border);
}

.quote-lead {
  font-family: 'Outfit', sans-serif;
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.4;
  margin-bottom: 0.75rem;
}

.quote-body {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.story-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}

.story-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-fast);
  position: relative;
}

.story-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold-border);
}

.story-card-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--gold-100);
  color: var(--gold-600);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}

.story-card-title {
  font-size: 1.35rem;
  margin-bottom: 0.85rem;
}

.story-card-desc {
  color: var(--text-secondary);
  font-size: 0.98rem;
  line-height: 1.7;
}

.mission-breakthrough-box {
  background: linear-gradient(135deg, #1E293B 0%, #0F172A 100%);
  color: #FFFFFF;
  border-radius: var(--radius-xl);
  padding: 3rem;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 3rem;
  align-items: center;
  box-shadow: var(--shadow-xl);
  position: relative;
  overflow: hidden;
}

.mission-breakthrough-box::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(226, 179, 56, 0.25) 0%, transparent 70%);
  pointer-events: none;
}

.mission-question-tag {
  color: var(--gold-bright);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.75rem;
}

.mission-question {
  font-size: 1.65rem;
  font-weight: 700;
  line-height: 1.3;
  color: #FFFFFF;
}

.mission-answer {
  color: #E2E8F0;
  font-size: 1.05rem;
  line-height: 1.75;
}

.philosophy-highlight {
  margin-top: 1.25rem;
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.08);
  border-left: 3px solid var(--gold-bright);
  font-size: 0.95rem;
  font-style: italic;
  color: #F8FAFC;
}

/* --------------------------------------------------------------------------
   4-Pillar Concrete Benefits Grid
   -------------------------------------------------------------------------- */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.benefit-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: var(--transition-normal);
  position: relative;
}

.benefit-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold-border);
}

.benefit-target {
  font-size: 0.8125rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold-600);
  margin-bottom: 0.5rem;
}

.benefit-title {
  font-size: 1.25rem;
  margin-bottom: 0.85rem;
}

.benefit-desc {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.benefit-points {
  list-style: none;
  border-top: 1px solid var(--border-light);
  padding-top: 1rem;
}

.benefit-points li {
  font-size: 0.85rem;
  color: var(--text-secondary);
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.benefit-points li i {
  color: var(--emerald-accent);
  margin-top: 0.2rem;
  font-size: 0.9rem;
}

/* --------------------------------------------------------------------------
   Interactive Feature Master Tabs Showcase
   -------------------------------------------------------------------------- */
.features-section {
  position: relative;
}

.feature-nav-tabs {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 1rem;
  margin-bottom: 1.75rem;
  scrollbar-width: thin;
  justify-content: flex-start;
}

.feature-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.48rem 0.95rem; border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-secondary);
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  white-space: nowrap;
  transition: var(--transition-fast);
}

.feature-tab-btn:hover {
  color: var(--gold-600);
  border-color: var(--gold-border);
  background: var(--gold-50);
}

.feature-tab-btn.active {
  background: linear-gradient(135deg, #D49E24 0%, #B88214 100%);
  color: #FFFFFF;
  border-color: transparent;
  box-shadow: 0 4px 14px rgba(184, 130, 20, 0.3);
}

.feature-tab-btn.active i {
  color: #FFFFFF;
}

/* Master Player Box */
.master-feature-showcase {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  min-height: 430px; margin-bottom: 2.75rem;
}

.feature-screen-col {
  background: #0B0E14;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-right: 1px solid var(--border-light);
}

.feature-screen-col video,
.feature-screen-col img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #0B0E14;
  display: block;
}

.video-overlay-ctrls {
  position: absolute;
  top: 1rem;
  right: 1rem;
  display: flex;
  gap: 0.5rem;
  z-index: 10;
}

.ctrl-btn {
  background: rgba(15, 23, 42, 0.75);
  color: #FFFFFF;
  backdrop-filter: blur(8px);
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: var(--transition-fast);
}

.ctrl-btn:hover {
  background: var(--gold-primary);
  border-color: var(--gold-bright);
}

.feature-details-col {
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.feature-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--gold-600);
  background: var(--gold-50);
  padding: 0.25rem 0.8rem;
  border-radius: var(--radius-pill);
  width: fit-content;
  margin-bottom: 1rem;
}

.feature-headline {
  font-size: 2rem;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.feature-text {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1.75rem;
}

.feature-bullets {
  list-style: none;
  margin-bottom: 2rem;
}

.feature-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
  color: var(--text-primary);
}

.feature-bullets li i {
  color: var(--gold-500);
  font-size: 1rem;
  margin-top: 0.2rem;
}

.feature-bottom-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* --------------------------------------------------------------------------
   All 8 Features Grid (Complete Catalogue)
   -------------------------------------------------------------------------- */
.feature-catalogue-title {
  text-align: center;
  font-size: 1.75rem;
  margin-bottom: 2rem;
}

.features-grid-8 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.feature-card-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
  cursor: pointer;
}

.feature-card-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold-border);
}

.feature-card-preview {
  position: relative;
  background: #0B0E14;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-card-preview img,
.feature-card-preview video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #0B0E14;
  transition: transform 0.4s ease;
}

.feature-card-item:hover .feature-card-preview img,
.feature-card-item:hover .feature-card-preview video {
  transform: scale(1.04);
}

.media-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background: rgba(15, 23, 42, 0.8);
  color: #FFFFFF;
  backdrop-filter: blur(6px);
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-pill);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.feature-card-content {
  padding: 1.1rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.feature-card-num {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--gold-600);
  margin-bottom: 0.35rem;
  text-transform: uppercase;
}

.feature-card-name {
  font-size: 0.98rem;
  margin-bottom: 0.65rem;
}

.feature-card-desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.feature-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border-light);
  padding-top: 0.85rem;
  font-size: 0.8125rem;
  color: var(--gold-600);
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   EKKO-1 AI Deep-Dive Section (Specialized Engine)
   -------------------------------------------------------------------------- */
.ekko-section {
  position: relative;
  background: linear-gradient(180deg, #F8FAFC 0%, #F1F5F9 100%);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.ekko-hero-card {
  background: var(--bg-surface);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-xl);
  padding: 2.35rem;
  margin-bottom: 3.5rem;
  position: relative;
  overflow: hidden;
}

.ekko-hero-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #0284C7, #D49E24, #059669);
}

.ekko-header-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 3rem;
}

.ekko-lead-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(2, 132, 199, 0.1);
  color: #0284C7;
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-pill);
  font-size: 0.8125rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  border: 1px solid rgba(2, 132, 199, 0.25);
}

.ekko-main-title {
  font-size: clamp(2rem, 3.8vw, 3rem);
  margin-bottom: 1rem;
}

.ekko-tagline {
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.ekko-stats-banner {
  background: var(--bg-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid var(--border-light);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.ekko-stat-block {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.ekko-stat-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #0284C7;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.ekko-stat-val {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.2;
}

.ekko-stat-sub {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

/* 4 EKKO Core Architecture Pillars */
.ekko-pillars-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-bottom: 3.5rem;
}

.ekko-pillar-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-fast);
}

.ekko-pillar-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(2, 132, 199, 0.4);
}

.pillar-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.pillar-badge-num {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, #0284C7 0%, #1D4ED8 100%);
  color: #FFFFFF;
  font-weight: 800;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pillar-title {
  font-size: 1.3rem;
}

.pillar-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.tech-spec-box {
  background: var(--bg-subtle);
  border-radius: var(--radius-md);
  padding: 1.15rem;
  border: 1px solid var(--border-light);
}

.tech-spec-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  margin-bottom: 0.4rem;
}

.tech-spec-row:last-child {
  margin-bottom: 0;
}

.spec-k {
  color: var(--text-muted);
  font-weight: 600;
}

.spec-v {
  font-weight: 700;
  color: var(--text-primary);
  font-family: 'JetBrains Mono', monospace;
}

/* Deep-Dive Interactive Sub-Tabs for EKKO */
.ekko-deep-tabs-wrapper {
  background: var(--bg-surface);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-lg);
  padding: 2.5rem;
}

.ekko-tab-nav {
  display: flex;
  gap: 0.75rem;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 1.25rem;
  margin-bottom: 2rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.ekko-nav-btn {
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-secondary);
  background: var(--bg-subtle);
  transition: var(--transition-fast);
  white-space: nowrap;
}

.ekko-nav-btn.active {
  background: #0284C7;
  color: #FFFFFF;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.35);
}

.ekko-tab-content-panel {
  display: none;
  animation: fadeIn 0.3s ease;
}

.ekko-tab-content-panel.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.pipeline-diagram {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin: 2rem 0;
}

.diagram-step {
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  text-align: center;
  position: relative;
}

.diagram-step::after {
  content: '→';
  position: absolute;
  right: -16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.25rem;
  color: var(--gold-600);
  font-weight: 800;
}

.diagram-step:last-child::after {
  display: none;
}

.step-icon {
  font-size: 1.75rem;
  color: var(--gold-600);
  margin-bottom: 0.75rem;
}

.step-title {
  font-size: 0.95rem;
  font-weight: 800;
  margin-bottom: 0.35rem;
}

.step-detail {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   Comparison Matrix
   -------------------------------------------------------------------------- */
.table-scroll-hint {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--gold-600);
  background: var(--gold-50);
  border: 1px solid var(--gold-200);
  padding: 0.45rem 1rem;
  border-radius: var(--radius-pill);
  width: fit-content;
  margin: 0 auto 1.25rem auto;
  box-shadow: var(--shadow-sm);
}

.table-scroll-hint i {
  animation: tableHintPulse 1.8s ease-in-out infinite;
}

@keyframes tableHintPulse {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(4px); }
}

.comparison-table-wrapper {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 3.5rem;
}

.comparison-table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  text-align: left;
}

.comparison-table th, 
.comparison-table td {
  padding: 1.35rem 1.75rem;
  border-bottom: 1px solid var(--border-light);
}

.comparison-table th {
  background: var(--bg-subtle);
  font-family: 'Outfit', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
}

.comparison-table th.col-highlight {
  background: var(--gold-50);
  color: var(--gold-600);
  border-left: 2px solid var(--gold-300);
  border-right: 2px solid var(--gold-300);
}

.comparison-table td.col-highlight {
  background: rgba(254, 243, 199, 0.3);
  border-left: 2px solid var(--gold-300);
  border-right: 2px solid var(--gold-300);
  font-weight: 600;
}

.feature-title-cell {
  font-weight: 700;
  color: var(--text-primary);
}

.cell-yes {
  color: var(--emerald-accent);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
}

.cell-no {
  color: #94A3B8;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.cell-partial {
  color: #D97706;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* --------------------------------------------------------------------------
   FAQ Section
   -------------------------------------------------------------------------- */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.faq-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-fast);
}

.faq-item:hover {
  border-color: var(--gold-border);
}

.faq-q {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
}

.faq-q i {
  color: var(--gold-500);
  margin-top: 0.2rem;
}

.faq-a {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* --------------------------------------------------------------------------
   CTA Section
   -------------------------------------------------------------------------- */
.cta-section {
  position: relative;
  padding: 6rem 0;
}

.cta-box {
  background: linear-gradient(135deg, #1C2638 0%, #0F172A 100%);
  border-radius: var(--radius-xl);
  padding: 4.5rem 3rem;
  text-align: center;
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 1px solid rgba(217, 163, 43, 0.3);
}

.cta-box::after {
  content: '';
  position: absolute;
  bottom: -40%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 350px;
  background: radial-gradient(circle, rgba(217, 163, 43, 0.22) 0%, transparent 70%);
  pointer-events: none;
}

.cta-title {
  font-size: clamp(2.25rem, 4vw, 3.25rem);
  margin-bottom: 1.25rem;
  color: #FFFFFF;
}

.cta-subtitle {
  font-size: 1.2rem;
  color: #CBD5E1;
  max-width: 700px;
  margin: 0 auto 2.5rem auto;
  line-height: 1.7;
}

.cta-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-light);
  padding: 4.5rem 0 2.5rem 0;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-brand-desc {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin: 1rem 0 1.5rem 0;
  max-width: 340px;
}

.footer-col-title {
  font-size: 0.95rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-primary);
  margin-bottom: 1.25rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.65rem;
}

.footer-links a {
  font-size: 0.9rem;
  color: var(--text-secondary);
  transition: var(--transition-fast);
}

.footer-links a:hover {
  color: var(--gold-600);
}

.footer-bottom {
  border-top: 1px solid var(--border-light);
  padding-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.vercel-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--bg-subtle);
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
  border: 1px solid var(--border-light);
}

/* --------------------------------------------------------------------------
   Media Modal / Lightbox
   -------------------------------------------------------------------------- */
.media-modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  padding: 1.5rem;
}

.media-modal-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.media-modal-container {
  background: var(--bg-surface);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-xl);
  max-width: 1100px;
  width: 100%;
  overflow: hidden;
  position: relative;
  transform: scale(0.95);
  transition: transform 0.25s ease;
}

.media-modal-backdrop.open .media-modal-container {
  transform: scale(1);
}

.modal-header {
  padding: 1.25rem 1.75rem;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-title {
  font-size: 1.25rem;
  font-weight: 700;
}

.modal-close-btn {
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  border-radius: 50%;
  background: var(--bg-subtle);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  transition: var(--transition-fast);
}

.modal-close-btn:hover {
  background: var(--gold-100);
  color: var(--gold-600);
}

.modal-body {
  background: #0B0E14;
  display: flex;
  align-items: center;
  justify-content: center;
  max-height: 70vh;
}

.modal-body video,
.modal-body img {
  max-height: 70vh;
  width: auto;
  max-width: 100%;
  display: block;
}

.modal-footer {
  padding: 1.25rem 1.75rem;
  border-top: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* --------------------------------------------------------------------------
   Responsive Media Queries & Mobile System
   -------------------------------------------------------------------------- */

@keyframes menuSlideDown {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 1. Large Tablets & Small Laptops (<= 1080px) */
@media (max-width: 1080px) {
  .nav-menu {
    gap: 1rem;
  }
  .nav-link {
    font-size: 0.875rem;
  }
  .hero-metrics {
    grid-template-columns: repeat(2, 1fr);
  }
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .features-grid-8 {
    grid-template-columns: repeat(2, 1fr);
  }
  .master-feature-showcase {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .feature-screen-col {
    min-height: 280px;
    aspect-ratio: 16 / 10;
    width: 100%;
    border-right: none;
    border-bottom: 1px solid var(--border-light);
  }
  .feature-details-col {
    padding: 2.25rem 2rem;
  }
  .ekko-header-grid {
    grid-template-columns: 1fr;
  }
  .pipeline-diagram {
    grid-template-columns: repeat(2, 1fr);
  }
  .diagram-step::after {
    display: none;
  }
  .mission-breakthrough-box {
    grid-template-columns: 1fr;
  }
  .footer-top {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }
}

/* 2. Tablet Portrait & Phablet Drawer Breakpoint (<= 960px) */
@media (max-width: 960px) {
  .nav-menu {
    display: none;
  }
  .mobile-menu-btn {
    display: flex;
  }
  .nav-menu.mobile-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    background: var(--bg-surface);
    padding: 1.25rem 1.5rem;
    box-shadow: var(--shadow-xl);
    border-bottom: 2px solid var(--gold-primary);
    gap: 0.4rem;
    max-height: calc(100vh - 80px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    z-index: 1050;
    animation: menuSlideDown 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .nav-menu.mobile-open .nav-link {
    font-size: 1.05rem;
    padding: 0.75rem 1rem;
    min-height: 48px;
    display: flex;
    align-items: center;
    border-radius: var(--radius-md);
    color: var(--text-primary);
    transition: background 0.15s ease, color 0.15s ease;
  }
  .nav-menu.mobile-open .nav-link:hover,
  .nav-menu.mobile-open .nav-link.active {
    background: var(--bg-subtle);
    color: var(--gold-600);
  }
  .nav-menu.mobile-open .nav-link::after {
    display: none;
  }
}

/* 3. Tablets & Phablets (<= 768px) */
@media (max-width: 768px) {
  .section {
    padding: 5rem 0;
  }
  .story-grid {
    grid-template-columns: 1fr;
  }
  .benefits-grid {
    grid-template-columns: 1fr;
  }
  .ekko-pillars-grid {
    grid-template-columns: 1fr;
  }
  .ekko-deep-tabs-wrapper {
    padding: 1.75rem 1.25rem;
  }
  .table-scroll-hint {
    display: flex;
  }
  .tech-spec-row {
    flex-wrap: wrap;
    gap: 0.25rem;
  }
  .comparison-table th,
  .comparison-table td {
    padding: 0.9rem 1.15rem;
    font-size: 0.875rem;
  }
  .faq-grid {
    grid-template-columns: 1fr;
  }
  .footer-top {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  .hero-visual-wrapper {
    margin-top: 2.5rem;
  }
}

/* 4. Medium Smartphones (<= 640px) */
@media (max-width: 640px) {
  .section {
    padding: 4.25rem 0;
  }
  .header-actions .btn-sm {
    display: none;
  }
  .hero-title {
    font-size: clamp(2rem, 6.5vw, 2.5rem);
  }
  .hero-subtitle {
    font-size: 1rem;
  }
  .hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 0.75rem;
  }
  .hero-actions .btn {
    width: 100%;
    justify-content: center;
    min-height: 48px;
  }
  .hero-metrics {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    padding: 1.25rem 1rem;
  }
  .metric-number {
    font-size: 1.5rem;
  }
  .metric-label {
    font-size: 0.72rem;
  }
  .hero-media-container {
    aspect-ratio: 16 / 10;
  }
  .hero-media-container video,
  .hero-media-container img {
    object-fit: contain;
  }
  .hero-interactive-overlay {
    bottom: 0.75rem;
    left: 0.75rem;
    right: 0.75rem;
    padding: 0.75rem 1rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
  .quote-banner {
    padding: 1.5rem 1.25rem;
  }
  .feature-nav-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 0.6rem;
    justify-content: flex-start;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 0.5rem;
  }
  .feature-nav-tabs::-webkit-scrollbar {
    display: none;
  }
  .feature-tab-btn {
    white-space: nowrap;
    flex-shrink: 0;
    min-height: 44px;
    padding: 0.6rem 1rem;
    font-size: 0.85rem;
  }
  .feature-details-col {
    padding: 1.5rem 1.25rem;
  }
  .feature-headline {
    font-size: 1.45rem;
  }
  .feature-text {
    font-size: 0.95rem;
    margin-bottom: 1.25rem;
  }
  .feature-bullets li {
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
  }
  .feature-bottom-actions .btn {
    width: 100%;
    justify-content: center;
    min-height: 44px;
  }
  .features-grid-8 {
    grid-template-columns: 1fr;
  }
  .ekko-stats-banner {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 1.25rem;
  }
  .ekko-tab-nav {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 0.6rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 0.5rem;
  }
  .ekko-tab-nav::-webkit-scrollbar {
    display: none;
  }
  .ekko-nav-btn {
    white-space: nowrap;
    flex-shrink: 0;
    min-height: 44px;
    padding: 0.6rem 1rem;
    font-size: 0.85rem;
  }
  .pipeline-diagram {
    grid-template-columns: 1fr;
    gap: 0.85rem;
    margin: 1.25rem 0;
  }
  .tech-spec-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.15rem;
    margin-bottom: 0.6rem;
  }
  .spec-v {
    word-break: break-word;
  }
  .cta-box {
    padding: 2.5rem 1.25rem;
  }
  .cta-title {
    font-size: 1.75rem;
  }
  .cta-buttons {
    flex-direction: column;
    width: 100%;
    gap: 0.75rem;
  }
  .cta-buttons .btn {
    width: 100%;
    justify-content: center;
    min-height: 48px;
  }
  .modal-footer {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
    text-align: left;
  }
  .modal-footer .btn {
    width: 100%;
    min-height: 44px;
    justify-content: center;
  }
}

/* 5. Small Smartphones (< 480px / 320px - 420px) */
@media (max-width: 480px) {
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .brand-icon {
    width: 38px;
    height: 38px;
  }
  .brand-title span:first-child {
    font-size: 1.05rem;
  }
  .brand-subtitle {
    font-size: 0.65rem;
  }
  .lang-switcher {
    padding: 2px;
    gap: 1px;
  }
  .lang-btn {
    padding: 0.3rem 0.55rem;
    font-size: 0.75rem;
    gap: 0.25rem;
  }
  .lang-flag {
    font-size: 0.85rem;
  }
  .section {
    padding: 3.75rem 0;
  }
  .hero-title {
    font-size: clamp(1.75rem, 6.8vw, 2.15rem);
  }
  .hero-subtitle {
    font-size: 0.925rem;
    line-height: 1.6;
  }
  .hero-badge {
    font-size: 0.72rem;
    padding: 0.35rem 0.75rem;
    text-align: center;
  }
  .hero-metrics {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
    padding: 1rem 0.75rem;
  }
  .metric-number {
    font-size: 1.35rem;
  }
  .metric-label {
    font-size: 0.65rem;
  }
  .window-header {
    padding: 0 0.85rem;
  }
  .window-header .window-title {
    display: none;
  }
  .hero-interactive-overlay .overlay-tags {
    display: none;
  }
  .overlay-title {
    font-size: 0.85rem;
  }
  .quote-banner {
    padding: 1.25rem 1rem;
  }
  .quote-lead {
    font-size: 1rem;
    margin-bottom: 0.75rem;
  }
  .quote-body {
    font-size: 0.875rem;
  }
  .mission-breakthrough-box {
    padding: 1.5rem 1.15rem;
  }
  .mission-question {
    font-size: 1.15rem;
  }
  .mission-answer {
    font-size: 0.9rem;
  }
  .feature-screen-col {
    min-height: 200px;
  }
  .comparison-table {
    min-width: 580px;
  }
  .comparison-table th,
  .comparison-table td {
    padding: 0.75rem 0.85rem;
    font-size: 0.8rem;
  }
  .media-modal-backdrop {
    padding: 0.75rem;
  }
  .modal-header {
    padding: 0.85rem 1rem;
  }
  .modal-title {
    font-size: 1.05rem;
  }
  .modal-footer {
    padding: 0.85rem 1rem;
    font-size: 0.8rem;
  }
  .modal-body {
    max-height: 55vh;
  }
  .modal-body video,
  .modal-body img {
    max-height: 55vh;
  }
}


/* Language switcher hidden until Khmer translation is complete */
.lang-switcher {
  display: none !important;
}

/* --------------------------------------------------------------------------
   Hero Gold Banner Logo
   -------------------------------------------------------------------------- */
.hero-banner-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.hero-banner-img {
  max-width: 210px;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 4px 16px rgba(197, 154, 39, 0.30));
}

@media (max-width: 640px) {
  .hero-banner-img {
    max-width: 240px;
  }
}

@media (max-width: 480px) {
  .hero-banner-img {
    max-width: 200px;
  }
}

/* ==========================================================================
   Founder Presentation Video Player & Language Toggle
   ========================================================================== */
.video-lang-toggle {
  display: inline-flex !important;
  align-items: center;
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-pill);
  padding: 3px;
  gap: 3px;
}

.vid-lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.7rem;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 700;
  color: #CBD5E1;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: var(--transition-fast);
}

.vid-lang-btn:hover {
  color: var(--gold-bright);
}

.vid-lang-btn.active {
  background: linear-gradient(135deg, var(--gold-primary) 0%, var(--gold-600) 100%);
  color: #FFFFFF;
  box-shadow: 0 2px 8px rgba(197, 154, 39, 0.4);
}

.vid-flag {
  font-size: 0.95rem;
  line-height: 1;
}

.video-player-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000000;
  border-radius: 0 0 var(--radius-xl) var(--radius-xl);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-player-container video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
  display: block;
}

.video-floating-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(15, 23, 42, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #FFFFFF;
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.35);
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 5;
}

.video-player-container.playing .video-floating-badge {
  opacity: 0;
}

.video-floating-badge .badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold-bright);
  box-shadow: 0 0 8px var(--gold-bright);
  animation: pulse-dot 2s infinite ease-in-out;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}

/* --------------------------------------------------------------------------
   Mobile-First Streamlined Scrolling & Performance
   -------------------------------------------------------------------------- */
@media (max-width: 960px) {
  .hero-content {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 1.85rem 0 !important;
  }
  .hero-section {
    padding-top: 1rem !important;
    padding-bottom: 1.75rem !important;
  }
  .hero-badge {
    font-size: 0.75rem !important;
    padding: 0.3rem 0.8rem !important;
    margin-bottom: 0.85rem !important;
  }
  .hero-banner-wrap {
    margin-bottom: 0.85rem !important;
  }
  .hero-banner-img {
    max-width: 160px !important;
  }
  .hero-title {
    font-size: 1.75rem !important;
    line-height: 1.22 !important;
    margin-bottom: 0.75rem !important;
  }
  .hero-visual-wrapper {
    margin-top: 0.85rem !important;
    margin-bottom: 1.25rem !important;
  }
  .hero-content-lower {
    margin-top: 1rem !important;
  }
  .hero-subtitle {
    font-size: 0.9rem !important;
    line-height: 1.5 !important;
    margin-bottom: 1.15rem !important;
  }
  .hero-actions {
    flex-direction: column;
    gap: 0.5rem !important;
    margin-bottom: 1.25rem !important;
  }
  .hero-actions .btn {
    width: 100%;
    justify-content: center;
    min-height: 44px;
  }
  .hero-metrics {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.5rem !important;
    margin-top: 0.85rem !important;
    padding: 0.75rem !important;
  }
  .metric-number {
    font-size: 1.25rem !important;
  }
  .metric-label {
    font-size: 0.7rem !important;
  }
  .window-header {
    flex-wrap: wrap;
    height: auto !important;
    padding: 0.5rem 0.75rem !important;
    gap: 0.35rem;
  }
  .window-title {
    font-size: 0.72rem !important;
    width: 100%;
    order: 2;
  }
  .window-dots {
    order: 1;
  }
  .window-pills {
    order: 1;
    margin-left: auto;
  }
  .story-grid {
    grid-template-columns: 1fr !important;
    gap: 0.75rem !important;
  }
  .story-card {
    padding: 1rem 0.9rem !important;
  }
  .story-card-title {
    font-size: 1.05rem !important;
    margin-bottom: 0.35rem !important;
  }
  .story-card-desc {
    font-size: 0.85rem !important;
    line-height: 1.5 !important;
  }
  .benefits-grid {
    grid-template-columns: 1fr !important;
    gap: 0.75rem !important;
  }
  .benefit-card {
    padding: 1.1rem 0.95rem !important;
  }
  .benefit-title {
    font-size: 1.1rem !important;
    margin-bottom: 0.4rem !important;
  }
  .benefit-desc {
    font-size: 0.86rem !important;
    line-height: 1.5 !important;
    margin-bottom: 0.75rem !important;
  }
  .benefit-points {
    padding-top: 0.6rem !important;
  }
  .benefit-points li {
    font-size: 0.8rem !important;
    margin-bottom: 0.35rem !important;
  }
  .feature-nav-tabs {
    display: flex !important;
    overflow-x: auto !important;
    flex-wrap: nowrap !important;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 0.4rem;
    margin-bottom: 1rem !important;
    gap: 0.45rem !important;
  }
  .feature-nav-tabs::-webkit-scrollbar {
    display: none;
  }
  .feature-tab-btn {
    flex: 0 0 auto !important;
    white-space: nowrap !important;
    padding: 0.5rem 0.85rem !important;
    font-size: 0.78rem !important;
  }
  .master-feature-showcase {
    flex-direction: column !important;
    gap: 1rem !important;
    margin-bottom: 1.5rem !important;
  }
  .feature-screen-col {
    min-height: 220px !important;
    height: auto !important;
    aspect-ratio: 16 / 10 !important;
  }
  .feature-details-col {
    padding: 1.15rem !important;
  }
  .feature-headline {
    font-size: 1.25rem !important;
  }
  .feature-text {
    font-size: 0.85rem !important;
    margin-bottom: 1rem !important;
  }
  .feature-bullets li {
    font-size: 0.8rem !important;
  }
  .ekko-tab-nav {
    display: flex !important;
    overflow-x: auto !important;
    flex-wrap: nowrap !important;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 0.4rem !important;
  }
  .ekko-tab-nav::-webkit-scrollbar {
    display: none;
  }
  .ekko-nav-btn {
    flex: 0 0 auto !important;
    white-space: nowrap !important;
    font-size: 0.78rem !important;
    padding: 0.45rem 0.75rem !important;
  }
  .ekko-stats-banner {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.5rem !important;
    padding: 0.85rem !important;
  }
  .ekko-stat-block {
    padding: 0.65rem !important;
  }
  .ekko-stat-val {
    font-size: 1.15rem !important;
  }
  .pipeline-diagram {
    grid-template-columns: 1fr !important;
    gap: 0.75rem !important;
  }
  .footer-top {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1.25rem !important;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.55rem !important;
  }
  .hero-metrics {
    grid-template-columns: 1fr 1fr !important;
    gap: 0.45rem !important;
  }
  .footer-top {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }
}

@media (prefers-color-scheme: dark) {
  :root {
    --gold-600: #FCD34D;
  }
}
