/* ==========================================================================
   FUJI GROUP (富士グループ) - OFFICIAL CORPORATE WEBSITE STYLESHEET
   Design System: Japanese Minimalist Luxury + Modern High-Performance Tech
   Headquarters: Da Nang, Vietnam | Academic Hub: Tokyo, Japan
   ========================================================================== */

/* --------------------------------------------------------------------------
   CSS Custom Properties & Design Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Brand Typography */
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  --font-serif-jp: 'Noto Serif JP', 'Shippori Mincho', 'Yu Mincho', serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', Consolas, Monaco, monospace;

  /* Color Palette - Obsidian Theme (Default Corporate Dark) */
  --bg-deep: #080a0e;
  --bg-primary: #0d1017;
  --bg-secondary: #131822;
  --bg-tertiary: #1a202d;
  --bg-card: rgba(19, 24, 34, 0.78);
  --bg-card-hover: rgba(26, 32, 45, 0.92);
  --bg-glass: rgba(13, 16, 23, 0.72);

  /* Japanese Aesthetic Accents */
  --accent-vermilion: #e03131;        /* Shu-iro (朱色) - Japanese Red */
  --accent-vermilion-subtle: #f03e3e;
  --accent-vermilion-glow: rgba(224, 49, 49, 0.22);
  --accent-gold: #c5a880;             /* Kincha (金茶) - Muted Brass/Champagne */
  --accent-gold-light: #dfc8a8;
  --accent-gold-glow: rgba(197, 168, 128, 0.24);
  --accent-indigo: #3b82f6;           /* Aizome (藍染) - Modern Tech Indigo */
  --accent-emerald: #10b981;          /* Midori (緑) - Success status */

  /* Text Colors */
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --text-dim: #475569;
  --text-inverted: #0d1017;

  /* Borders & Dividers */
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-medium: rgba(255, 255, 255, 0.14);
  --border-accent: rgba(197, 168, 128, 0.35);
  --border-focus: rgba(224, 49, 49, 0.5);

  /* Shadows & Depth */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.6);
  --shadow-glow: 0 0 35px rgba(224, 49, 49, 0.18);
  --shadow-gold-glow: 0 0 30px rgba(197, 168, 128, 0.18);

  /* Spacing Scale (Ma - 間) */
  --space-2xs: 4px;
  --space-xs: 8px;
  --space-sm: 12px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;
  --space-3xl: 64px;
  --space-4xl: 96px;
  --space-5xl: 128px;

  /* Layout */
  --container-max: 1320px;
  --header-height: 84px;
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Light Theme - Washi Paper (和紙) Luxury Aesthetic */
[data-theme="light"] {
  --bg-deep: #f5f2eb;
  --bg-primary: #fcfbf9;
  --bg-secondary: #f4efe6;
  --bg-tertiary: #ece4d6;
  --bg-card: rgba(255, 255, 255, 0.88);
  --bg-card-hover: rgba(255, 255, 255, 0.98);
  --bg-glass: rgba(252, 251, 249, 0.85);

  --accent-vermilion: #c92a2a;
  --accent-vermilion-subtle: #d63333;
  --accent-vermilion-glow: rgba(201, 42, 42, 0.15);
  --accent-gold: #9d7742;
  --accent-gold-light: #b08d58;
  --accent-gold-glow: rgba(157, 119, 66, 0.15);

  --text-primary: #14171f;
  --text-secondary: #475569;
  --text-muted: #64748b;
  --text-dim: #94a3b8;
  --text-inverted: #ffffff;

  --border-subtle: rgba(20, 23, 31, 0.08);
  --border-medium: rgba(20, 23, 31, 0.14);
  --border-accent: rgba(157, 119, 66, 0.35);

  --shadow-sm: 0 2px 8px rgba(20, 23, 31, 0.05);
  --shadow-md: 0 8px 24px rgba(20, 23, 31, 0.08);
  --shadow-lg: 0 16px 40px rgba(20, 23, 31, 0.12);
  --shadow-glow: 0 0 35px rgba(201, 42, 42, 0.1);
  --shadow-gold-glow: 0 0 30px rgba(157, 119, 66, 0.1);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-deep);
  color: var(--text-primary);
  line-height: 1.65;
  letter-spacing: -0.01em;
  overflow-x: hidden;
  transition: background-color var(--transition-smooth), color var(--transition-smooth);
  position: relative;
}

/* Japanese subtle background pattern */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    radial-gradient(circle at 15% 15%, rgba(224, 49, 49, 0.04) 0%, transparent 40%),
    radial-gradient(circle at 85% 75%, rgba(197, 168, 128, 0.04) 0%, transparent 45%),
    linear-gradient(to right, rgba(255, 255, 255, 0.012) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.012) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 60px 60px, 60px 60px;
  pointer-events: none;
  z-index: 0;
}

[data-theme="light"] body::before {
  background-image:
    radial-gradient(circle at 15% 15%, rgba(201, 42, 42, 0.03) 0%, transparent 40%),
    radial-gradient(circle at 85% 75%, rgba(157, 119, 66, 0.03) 0%, transparent 45%),
    linear-gradient(to right, rgba(0, 0, 0, 0.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.02) 1px, transparent 1px);
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

img, svg {
  display: block;
  max-width: 100%;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: transparent;
}

ul, ol {
  list-style: none;
}

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

h1 {
  font-size: clamp(2.5rem, 5vw + 1rem, 4.25rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.035em;
}

h2 {
  font-size: clamp(2rem, 3vw + 0.5rem, 2.85rem);
  letter-spacing: -0.028em;
}

h3 {
  font-size: clamp(1.35rem, 1.5vw + 0.5rem, 1.75rem);
  font-weight: 600;
}

h4 {
  font-size: 1.2rem;
  font-weight: 600;
}

p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.75;
}

.text-gradient {
  background: linear-gradient(135deg, #ffffff 15%, #cbd5e1 55%, var(--accent-gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

[data-theme="light"] .text-gradient {
  background: linear-gradient(135deg, #0f172a 15%, #334155 60%, var(--accent-gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-red {
  background: linear-gradient(135deg, var(--accent-vermilion) 0%, #ff6b6b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.font-japanese {
  font-family: var(--font-serif-jp);
  font-feature-settings: "palt" 1;
}

.font-mono {
  font-family: var(--font-mono);
}

/* --------------------------------------------------------------------------
   Layout Components
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(1.25rem, 4vw, 2.5rem);
  padding-right: clamp(1.25rem, 4vw, 2.5rem);
  position: relative;
  z-index: 1;
}

.section {
  padding-top: clamp(4.5rem, 8vw, 8rem);
  padding-bottom: clamp(4.5rem, 8vw, 8rem);
  position: relative;
  z-index: 1;
}

.section-tight {
  padding-top: clamp(3rem, 5vw, 5rem);
  padding-bottom: clamp(3rem, 5vw, 5rem);
}

.section-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-subtle), transparent);
  width: 100%;
}

/* Section Header standard */
.section-header {
  max-width: 820px;
  margin-bottom: clamp(3rem, 5vw, 5rem);
}

.section-header.text-center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: rgba(224, 49, 49, 0.08);
  border: 1px solid rgba(224, 49, 49, 0.22);
  color: var(--accent-vermilion);
  margin-bottom: 1.25rem;
  backdrop-filter: blur(8px);
}

.badge-gold {
  background: rgba(197, 168, 128, 0.08);
  border-color: rgba(197, 168, 128, 0.26);
  color: var(--accent-gold);
}

.badge-neutral {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--border-subtle);
  color: var(--text-secondary);
}

.badge .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: currentColor;
  box-shadow: 0 0 8px currentColor;
}

.section-subtitle {
  margin-top: 1.25rem;
  font-size: clamp(1.05rem, 1.2vw, 1.25rem);
  color: var(--text-secondary);
  font-weight: 400;
  max-width: 680px;
}

.section-header.text-center .section-subtitle {
  margin-left: auto;
  margin-right: auto;
}

/* --------------------------------------------------------------------------
   Buttons & Interactive Elements
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: all var(--transition-normal);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-vermilion) 0%, #b82527 100%);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 20px var(--accent-vermilion-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(224, 49, 49, 0.35);
  background: linear-gradient(135deg, #f03e3e 0%, var(--accent-vermilion) 100%);
}

.btn-secondary {
  background: var(--bg-card);
  color: var(--text-primary);
  border: 1px solid var(--border-medium);
  backdrop-filter: blur(12px);
}

.btn-secondary:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-accent);
  transform: translateY(-2px);
  color: var(--accent-gold-light);
}

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

.btn-outline:hover {
  border-color: var(--accent-gold);
  color: var(--accent-gold);
  background: rgba(197, 168, 128, 0.05);
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.85rem;
  border-radius: var(--radius-xs);
}

.btn-lg {
  padding: 18px 36px;
  font-size: 1.05rem;
  border-radius: var(--radius-md);
}

.btn .icon-arrow {
  transition: transform var(--transition-fast);
}

.btn:hover .icon-arrow {
  transform: translateX(4px);
}

/* --------------------------------------------------------------------------
   Header & Navigation Bar
   -------------------------------------------------------------------------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  z-index: 1000;
  transition: background-color var(--transition-normal), backdrop-filter var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
  border-bottom: 1px solid transparent;
}

.header.scrolled {
  background-color: var(--bg-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom-color: var(--border-subtle);
  box-shadow: var(--shadow-sm);
}

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

.brand-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  cursor: pointer;
}

.logo-symbol {
  width: 42px;
  height: 42px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--text-primary);
  line-height: 1;
}

.brand-subtext {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  color: var(--accent-gold);
  text-transform: uppercase;
  margin-top: 3px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.brand-subtext .kanji {
  font-family: var(--font-serif-jp);
  color: var(--accent-vermilion);
  font-size: 0.75rem;
}

/* Nav Menu Links */
.nav-menu {
  display: flex;
  align-items: center;
  gap: clamp(1.25rem, 2vw, 2rem);
}

.nav-link {
  font-size: 0.925rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
  position: relative;
  padding: 8px 0;
}

.nav-link:hover, .nav-link.active {
  color: var(--text-primary);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-vermilion);
  transition: width var(--transition-normal);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

/* Nav Actions (Language, Theme, CTA) */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.lang-switch {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  padding: 3px;
}

.lang-btn {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.lang-btn.active {
  background: var(--accent-gold);
  color: #0d1017;
  font-weight: 700;
}

.theme-toggle-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.theme-toggle-btn:hover {
  color: var(--accent-gold);
  border-color: var(--border-accent);
}

.mobile-menu-btn {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  background: var(--bg-card);
}

/* --------------------------------------------------------------------------
   Hero Section
   -------------------------------------------------------------------------- */
.hero {
  min-height: 100vh;
  padding-top: calc(var(--header-height) + 3rem);
  padding-bottom: 5rem;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-bg-accent {
  position: absolute;
  top: 15%;
  right: 5%;
  width: 650px;
  height: 650px;
  background: radial-gradient(circle, rgba(224, 49, 49, 0.12) 0%, rgba(197, 168, 128, 0.06) 45%, transparent 70%);
  filter: blur(70px);
  pointer-events: none;
  z-index: 0;
  animation: pulseGlow 12s ease-in-out infinite alternate;
}

@keyframes pulseGlow {
  0% { transform: scale(0.9) translate(0, 0); opacity: 0.7; }
  100% { transform: scale(1.15) translate(-40px, 30px); opacity: 1; }
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.95fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-meta-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 1.75rem;
}

.hero-location-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8125rem;
  font-family: var(--font-mono);
  color: var(--accent-gold);
  background: rgba(197, 168, 128, 0.08);
  border: 1px solid rgba(197, 168, 128, 0.22);
  padding: 4px 12px;
  border-radius: var(--radius-xs);
}

.hero-headline {
  margin-bottom: 1.5rem;
}

.hero-lead {
  font-size: clamp(1.1rem, 1.4vw, 1.28rem);
  line-height: 1.75;
  color: var(--text-secondary);
  margin-bottom: 2.25rem;
  max-width: 620px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-bottom: 3.5rem;
}

.hero-trust-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
}

.trust-metric-item {
  display: flex;
  flex-direction: column;
}

.trust-metric-number {
  font-size: clamp(1.75rem, 2.5vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  line-height: 1.1;
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.trust-metric-number .accent {
  color: var(--accent-vermilion);
}

.trust-metric-label {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-top: 4px;
  line-height: 1.4;
}

/* --------------------------------------------------------------------------
   Hero Interactive Console / Platform Preview
   -------------------------------------------------------------------------- */
.hero-visual {
  position: relative;
  z-index: 2;
}

.platform-console-card {
  background: var(--bg-card);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg), 0 0 60px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  overflow: hidden;
  transition: transform var(--transition-smooth), border-color var(--transition-normal);
}

.platform-console-card:hover {
  border-color: var(--border-accent);
}

.console-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  background: rgba(0, 0, 0, 0.35);
  border-bottom: 1px solid var(--border-subtle);
}

.console-dots {
  display: flex;
  gap: 7px;
}

.console-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--text-dim);
}

.console-dot:nth-child(1) { background: #ef4444; }
.console-dot:nth-child(2) { background: #eab308; }
.console-dot:nth-child(3) { background: #22c55e; }

.console-title-tab {
  font-size: 0.775rem;
  font-family: var(--font-mono);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

.console-status-indicator {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-family: var(--font-mono);
  color: var(--accent-emerald);
}

.console-status-indicator .pulse {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--accent-emerald);
  box-shadow: 0 0 8px var(--accent-emerald);
  animation: pulseLive 2s infinite;
}

@keyframes pulseLive {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(1.3); }
}

/* Console Tabs Selector */
.console-tab-nav {
  display: flex;
  border-bottom: 1px solid var(--border-subtle);
  background: rgba(0, 0, 0, 0.15);
  padding: 4px 10px;
  gap: 6px;
  overflow-x: auto;
}

.console-nav-item {
  padding: 8px 14px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.console-nav-item:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.04);
}

.console-nav-item.active {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-subtle);
}

.console-nav-item.active .tab-icon {
  color: var(--accent-vermilion);
}

/* Console Tab Panels */
.console-body {
  padding: 24px;
  min-height: 440px;
}

.console-panel {
  display: none;
  animation: fadeIn 0.3s ease forwards;
}

.console-panel.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Panel: AI Speaking Simulation */
.ai-speaking-demo {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.ai-dialogue-prompt {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px 20px;
}

.ai-dialogue-speaker {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.speaker-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--accent-gold);
}

.speaker-level {
  font-size: 0.75rem;
  font-family: var(--font-mono);
  background: rgba(224, 49, 49, 0.15);
  color: var(--accent-vermilion);
  padding: 2px 8px;
  border-radius: var(--radius-xs);
}

.japanese-sentence {
  font-family: var(--font-serif-jp);
  font-size: 1.45rem;
  line-height: 1.6;
  color: var(--text-primary);
  letter-spacing: 0.02em;
}

.japanese-furigana {
  font-size: 0.875rem;
  color: var(--accent-gold);
  display: block;
  margin-top: 2px;
}

.vietnamese-translation {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 6px;
  font-style: italic;
}

/* Waveform Visualizer & Pitch Accent */
.pitch-accent-graph-box {
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px;
}

.pitch-graph-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  font-size: 0.775rem;
  font-family: var(--font-mono);
  color: var(--text-muted);
}

.pitch-canvas-wrapper {
  position: relative;
  height: 90px;
  width: 100%;
}

.waveform-canvas {
  width: 100%;
  height: 100%;
}

/* AI Speaking Realtime Telemetry Grid */
.telemetry-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.telemetry-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 12px;
  text-align: center;
}

.telemetry-val {
  font-size: 1.35rem;
  font-weight: 800;
  font-family: var(--font-mono);
  color: var(--accent-emerald);
}

.telemetry-lbl {
  font-size: 0.725rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 2px;
}

.voice-mic-trigger {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: rgba(224, 49, 49, 0.1);
  border: 1px dashed var(--accent-vermilion);
  padding: 12px;
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.voice-mic-trigger:hover {
  background: rgba(224, 49, 49, 0.18);
  border-style: solid;
}

/* Panel: Video Classroom Preview */
.video-classroom-mockup {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.video-frame-container {
  position: relative;
  height: 230px;
  background: #06080b;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-teacher-overlay {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  border: 1px solid var(--border-subtle);
}

.teacher-flag {
  width: 18px;
  height: 12px;
  border-radius: 2px;
  object-fit: cover;
}

.video-live-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--accent-vermilion);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: var(--radius-xs);
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 5px;
}

.video-whiteboard-content {
  text-align: center;
  padding: 20px;
}

.whiteboard-kanji {
  font-family: var(--font-serif-jp);
  font-size: 3.5rem;
  color: var(--accent-gold);
  line-height: 1;
  text-shadow: 0 0 20px var(--accent-gold-glow);
}

.whiteboard-rule {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-top: 8px;
  font-family: var(--font-mono);
}

.video-controls-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 10px 16px;
}

.video-tools-left {
  display: flex;
  gap: 8px;
}

.tool-chip {
  padding: 4px 10px;
  font-size: 0.75rem;
  background: rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-xs);
  color: var(--text-secondary);
}

/* Panel: Marketplace Simulation */
.marketplace-demo {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.course-preview-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  gap: 16px;
  align-items: center;
}

.course-icon-badge {
  width: 58px;
  height: 58px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(224, 49, 49, 0.2), rgba(197, 168, 128, 0.2));
  border: 1px solid var(--border-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.course-info h4 {
  font-size: 1.05rem;
  margin-bottom: 4px;
}

.course-info p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.course-tags {
  display: flex;
  gap: 6px;
  margin-top: 8px;
}

.course-tag {
  font-size: 0.7rem;
  padding: 2px 8px;
  border-radius: var(--radius-xs);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-secondary);
}

/* Panel: Analytics Simulation */
.analytics-demo {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.analytics-metric-row {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.progress-track-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.progress-track-info {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
}

.progress-bar-bg {
  height: 8px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.progress-bar-fill {
  height: 100%;
  border-radius: var(--radius-full);
  background: linear-gradient(90deg, var(--accent-vermilion), var(--accent-gold));
  transition: width 1s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --------------------------------------------------------------------------
   Section 2: About FUJI Group (Đà Nẵng & Corporate Foundation)
   -------------------------------------------------------------------------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: center;
}

.about-narrative {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.about-highlight-box {
  background: var(--bg-card);
  border-left: 3px solid var(--accent-vermilion);
  padding: 1.5rem 1.75rem;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  border-top: 1px solid var(--border-subtle);
  border-right: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.about-highlight-box p {
  font-size: 1.05rem;
  color: var(--text-primary);
  font-weight: 500;
  line-height: 1.7;
}

.danang-hub-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(197, 168, 128, 0.08);
  border: 1px solid var(--border-accent);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  color: var(--accent-gold-light);
  width: fit-content;
}

.about-visual-composition {
  position: relative;
}

.about-frame-card {
  background: var(--bg-card);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
  position: relative;
  z-index: 1;
}

.japanese-calligraphy-seal {
  position: absolute;
  top: -24px;
  right: -24px;
  width: 72px;
  height: 72px;
  background: var(--accent-vermilion);
  color: #fff;
  border-radius: var(--radius-xs);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif-jp);
  font-size: 1.45rem;
  font-weight: 700;
  box-shadow: var(--shadow-glow);
  letter-spacing: -0.05em;
  transform: rotate(4deg);
}

.pillars-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.pillar-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.pillar-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-gold);
  flex-shrink: 0;
}

.pillar-text h4 {
  font-size: 1.1rem;
  margin-bottom: 4px;
  color: var(--text-primary);
}

.pillar-text p {
  font-size: 0.925rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   Section 3: FUJI Ecosystem (The Interconnected Engine)
   -------------------------------------------------------------------------- */
.ecosystem-section {
  background: linear-gradient(180deg, var(--bg-deep) 0%, var(--bg-primary) 50%, var(--bg-deep) 100%);
}

.ecosystem-interactive-wrapper {
  display: grid;
  grid-template-columns: 0.95fr 1.35fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  background: var(--bg-card);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2.75rem);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(20px);
}

.ecosystem-nav-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ecosystem-nav-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  text-align: left;
  transition: all var(--transition-normal);
}

.ecosystem-nav-btn:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--border-medium);
  transform: translateX(4px);
}

.ecosystem-nav-btn.active {
  background: linear-gradient(90deg, rgba(224, 49, 49, 0.12) 0%, rgba(197, 168, 128, 0.08) 100%);
  border-color: var(--accent-vermilion);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.ecosystem-btn-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.ecosystem-node-number {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent-gold);
  background: rgba(197, 168, 128, 0.1);
  padding: 2px 7px;
  border-radius: var(--radius-xs);
}

.ecosystem-btn-title {
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-primary);
}

.ecosystem-btn-jp {
  font-family: var(--font-serif-jp);
  font-size: 0.8125rem;
  color: var(--text-muted);
  display: block;
}

.ecosystem-nav-btn.active .ecosystem-btn-jp {
  color: var(--accent-gold);
}

/* Ecosystem Details Viewer */
.ecosystem-display-panel {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.ecosystem-content-block {
  display: none;
  animation: fadeIn 0.35s ease forwards;
}

.ecosystem-content-block.active {
  display: block;
}

.ecosystem-tag-strip {
  display: flex;
  gap: 8px;
  margin-bottom: 1rem;
}

.ecosystem-headline {
  font-size: 1.65rem;
  margin-bottom: 1rem;
}

.ecosystem-desc {
  font-size: 1.025rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1.75rem;
}

.ecosystem-capabilities-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 2rem;
}

.capability-pill {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
}

.capability-pill h5 {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.capability-pill h5 svg {
  color: var(--accent-vermilion);
}

.capability-pill p {
  font-size: 0.825rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.ecosystem-architecture-flow {
  border-top: 1px solid var(--border-subtle);
  padding-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8125rem;
  font-family: var(--font-mono);
  color: var(--text-muted);
}

.flow-step {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--accent-gold);
}

/* --------------------------------------------------------------------------
   Section 4: Key Technologies & Features (8 Core Engines)
   -------------------------------------------------------------------------- */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 24px;
}

.tech-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.tech-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--border-accent), transparent);
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.tech-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-medium);
  box-shadow: var(--shadow-md);
  background: var(--bg-card-hover);
}

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

.tech-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.tech-icon-container {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: rgba(224, 49, 49, 0.08);
  border: 1px solid rgba(224, 49, 49, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-vermilion);
  transition: all var(--transition-fast);
}

.tech-card:hover .tech-icon-container {
  background: var(--accent-vermilion);
  color: #ffffff;
  box-shadow: 0 0 20px var(--accent-vermilion-glow);
}

.tech-kanji-tag {
  font-family: var(--font-serif-jp);
  font-size: 0.875rem;
  color: var(--accent-gold);
  border: 1px solid rgba(197, 168, 128, 0.2);
  padding: 2px 10px;
  border-radius: var(--radius-xs);
  background: rgba(197, 168, 128, 0.05);
}

.tech-card h3 {
  font-size: 1.28rem;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}

.tech-card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

.tech-feature-checklist {
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-top: 1px solid var(--border-subtle);
  padding-top: 1.25rem;
  margin-top: auto;
}

.tech-check-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.tech-check-item svg {
  color: var(--accent-emerald);
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   Section 5: How FUJI Works (7-Step Lifecycle)
   -------------------------------------------------------------------------- */
.how-it-works-timeline {
  display: flex;
  flex-direction: column;
  position: relative;
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
}

.how-it-works-timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 28px;
  width: 2px;
  background: linear-gradient(180deg, var(--accent-vermilion) 0%, var(--accent-gold) 60%, var(--border-subtle) 100%);
}

.timeline-step-item {
  display: flex;
  gap: 28px;
  padding-bottom: 3.5rem;
  position: relative;
}

.timeline-step-item:last-child {
  padding-bottom: 0;
}

.timeline-node {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--bg-secondary);
  border: 2px solid var(--accent-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent-gold-light);
  flex-shrink: 0;
  z-index: 2;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.6);
  transition: all var(--transition-normal);
}

.timeline-step-item:hover .timeline-node {
  border-color: var(--accent-vermilion);
  color: var(--accent-vermilion);
  box-shadow: 0 0 25px var(--accent-vermilion-glow);
  transform: scale(1.08);
}

.timeline-content-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.75rem 2rem;
  width: 100%;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}

.timeline-step-item:hover .timeline-content-card {
  border-color: var(--border-medium);
  transform: translateX(6px);
}

.timeline-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.timeline-header h4 {
  font-size: 1.25rem;
}

.timeline-jp-label {
  font-family: var(--font-serif-jp);
  color: var(--accent-gold);
  font-size: 0.85rem;
}

.timeline-content-card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* --------------------------------------------------------------------------
   Sections 6, 7, 8: Audience Tri-Focal Portals (Students, Teachers, Enterprise)
   -------------------------------------------------------------------------- */
.audience-tabs-container {
  display: flex;
  justify-content: center;
  margin-bottom: 3.5rem;
}

.audience-pill-selector {
  display: inline-flex;
  background: var(--bg-card);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-full);
  padding: 6px;
  gap: 6px;
}

.audience-tab-btn {
  padding: 10px 24px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.audience-tab-btn:hover {
  color: var(--text-primary);
}

.audience-tab-btn.active {
  background: var(--accent-vermilion);
  color: #ffffff;
  box-shadow: 0 4px 15px var(--accent-vermilion-glow);
}

.audience-panel {
  display: none;
  animation: fadeIn 0.4s ease forwards;
}

.audience-panel.active {
  display: block;
}

.audience-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.audience-feature-bullets {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin: 2rem 0;
}

.audience-bullet-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.bullet-icon-box {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  background: rgba(197, 168, 128, 0.1);
  border: 1px solid rgba(197, 168, 128, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-gold);
  flex-shrink: 0;
  margin-top: 3px;
}

.bullet-text strong {
  color: var(--text-primary);
  display: block;
  font-size: 1.05rem;
  margin-bottom: 2px;
}

.bullet-text span {
  font-size: 0.925rem;
  color: var(--text-secondary);
}

.audience-mockup-frame {
  background: var(--bg-card);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-lg);
}

/* --------------------------------------------------------------------------
   Section 9: FUJI Vision & Vietnam Tech Corridor
   -------------------------------------------------------------------------- */
.vision-section {
  position: relative;
  background: radial-gradient(circle at 50% 50%, rgba(224, 49, 49, 0.07) 0%, transparent 60%);
}

.vision-card-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.vision-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all var(--transition-normal);
}

.vision-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-accent);
  box-shadow: var(--shadow-md);
}

.vision-phase-badge {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent-gold);
  background: rgba(197, 168, 128, 0.1);
  border: 1px solid rgba(197, 168, 128, 0.2);
  padding: 4px 10px;
  border-radius: var(--radius-xs);
  width: fit-content;
  margin-bottom: 1.25rem;
}

.vision-card h3 {
  font-size: 1.35rem;
  margin-bottom: 1rem;
}

.vision-card p {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.vision-target-metric {
  border-top: 1px solid var(--border-subtle);
  padding-top: 1rem;
  font-size: 0.85rem;
  font-family: var(--font-mono);
  color: var(--accent-emerald);
  display: flex;
  align-items: center;
  gap: 6px;
}

/* --------------------------------------------------------------------------
   Section 10: Contact & Partnership Modal/Section
   -------------------------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(2.5rem, 5vw, 5rem);
}

.contact-info-panel {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-card-box {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-box-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(224, 49, 49, 0.1);
  border: 1px solid rgba(224, 49, 49, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-vermilion);
  flex-shrink: 0;
}

.contact-box-content h4 {
  font-size: 1.05rem;
  margin-bottom: 4px;
}

.contact-box-content p {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.contact-box-content a:hover {
  color: var(--accent-gold);
}

/* Contact Form */
.contact-form-card {
  background: var(--bg-card);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 3.5vw, 3rem);
  box-shadow: var(--shadow-lg);
}

.form-intent-picker {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 1.75rem;
}

.intent-chip {
  padding: 8px 14px;
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 600;
  border: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.intent-chip:hover {
  color: var(--text-primary);
  border-color: var(--border-medium);
}

.intent-chip.selected {
  background: var(--accent-vermilion);
  color: #ffffff;
  border-color: var(--accent-vermilion);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
}

.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  color: var(--text-primary);
  font-size: 0.95rem;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-gold);
  box-shadow: 0 0 0 3px var(--accent-gold-glow);
}

.form-group textarea {
  resize: vertical;
  min-height: 110px;
}

/* --------------------------------------------------------------------------
   Footer Section
   -------------------------------------------------------------------------- */
.footer {
  background: var(--bg-deep);
  border-top: 1px solid var(--border-subtle);
  padding-top: 5rem;
  padding-bottom: 2.5rem;
  position: relative;
  z-index: 1;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.25fr;
  gap: clamp(2rem, 4vw, 4rem);
  margin-bottom: 4rem;
}

.footer-brand-info {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.footer-brand-info p {
  font-size: 0.925rem;
  color: var(--text-muted);
  max-width: 320px;
}

.footer-col h4 {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 1.25rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 0.9rem;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
}

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

.footer-newsletter-box {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.newsletter-input-group {
  display: flex;
  gap: 8px;
}

.newsletter-input-group input {
  flex: 1;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xs);
  padding: 10px 14px;
  font-size: 0.875rem;
  color: var(--text-primary);
}

.footer-bottom-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.8125rem;
  color: var(--text-muted);
  gap: 16px;
}

.footer-legal-links {
  display: flex;
  gap: 20px;
}

/* --------------------------------------------------------------------------
   Toast Notification & Floating Utilities
   -------------------------------------------------------------------------- */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

.toast {
  pointer-events: auto;
  background: var(--bg-card);
  border: 1px solid var(--border-accent);
  backdrop-filter: blur(20px);
  padding: 14px 20px;
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  animation: slideInRight 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  max-width: 380px;
}

@keyframes slideInRight {
  from { opacity: 0; transform: translateX(40px); }
  to { opacity: 1; transform: translateX(0); }
}

.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border-medium);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 900;
  opacity: 0;
  pointer-events: none;
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-md);
}

.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
}

.back-to-top:hover {
  background: var(--accent-vermilion);
  border-color: var(--accent-vermilion);
  color: #fff;
  transform: translateY(-3px);
}

/* --------------------------------------------------------------------------
   Responsive Media Queries
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }

  .ecosystem-interactive-wrapper {
    grid-template-columns: 1fr;
  }

  .about-grid, .audience-hero-grid, .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .vision-card-container {
    grid-template-columns: 1fr;
  }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-deep);
}

::-webkit-scrollbar-thumb {
  background: var(--border-medium);
  border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent-gold);
}

::selection {
  background: var(--accent-vermilion);
  color: #ffffff;
}

/* Button Sheen Glow Effect */
.btn-primary::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    60deg,
    transparent,
    rgba(255, 255, 255, 0.15),
    transparent
  );
  transform: rotate(30deg) translateX(-100%);
  transition: transform 0.75s ease;
}

.btn-primary:hover::after {
  transform: rotate(30deg) translateX(100%);
}

@media (max-width: 768px) {
  :root {
    --header-height: 72px;
  }

  .nav-menu {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg-deep);
    flex-direction: column;
    padding: 2.5rem 1.5rem;
    gap: 1.5rem;
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: all var(--transition-normal);
    z-index: 998;
    overflow-y: auto;
  }

  .nav-menu.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-link {
    font-size: 1.2rem;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .hero-trust-metrics {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .ecosystem-capabilities-grid {
    grid-template-columns: 1fr;
  }

  .how-it-works-timeline::before {
    left: 20px;
  }

  .timeline-node {
    width: 42px;
    height: 42px;
    font-size: 0.95rem;
  }

  .timeline-step-item {
    gap: 16px;
  }
}
