/* ==========================================================================
   Enterprise AI Summit 2026 - Master Editorial Light Design System
   Inspired by Minimalist Swiss & Modern 3D Editorial Aesthetic
   ========================================================================== */

:root {
  /* Editorial Light Color Palette */
  --bg-main: #f5f6fa;
  --bg-surface: #ffffff;
  --bg-surface-subtle: #f0f2f7;
  --bg-surface-elevated: #ffffff;
  --bg-card: #ffffff;
  --bg-card-hover: #fafbfe;
  
  /* Vibrant Theme Accents (Inspired by Reference Graphic) */
  --accent-blue: #1852fe;
  --accent-blue-hover: #0c42eb;
  --accent-blue-light: rgba(24, 82, 254, 0.08);
  --accent-blue-subtle: rgba(24, 82, 254, 0.15);
  
  --accent-dark: #0a0e1a;
  --accent-slate: #1e293b;
  --accent-cyan: #0284c7;
  --accent-indigo: #4f46e5;
  --accent-purple: #7c3aed;
  --accent-emerald: #059669;
  --accent-amber: #d97706;

  /* Typography Colors */
  --text-primary: #0a0e1a;
  --text-secondary: #4b5563;
  --text-muted: #8896ab;
  --text-inverse: #ffffff;

  /* Borders & Dividers */
  --border-subtle: #e5e9f2;
  --border-strong: #cbd5e1;
  --border-dark: #0a0e1a;
  --border-glow: rgba(24, 82, 254, 0.25);

  /* Gradients */
  --grad-primary: linear-gradient(135deg, #1852fe 0%, #3b82f6 100%);
  --grad-royal-dark: linear-gradient(145deg, #1852fe 0%, #1138b8 100%);
  --grad-subtle-orb: radial-gradient(circle, rgba(24, 82, 254, 0.12) 0%, rgba(24, 82, 254, 0) 70%);

  /* Shadows */
  --shadow-sm: 0 2px 6px rgba(10, 14, 26, 0.04);
  --shadow-md: 0 8px 24px rgba(10, 14, 26, 0.06);
  --shadow-lg: 0 16px 40px rgba(24, 82, 254, 0.08);
  --shadow-card-hover: 0 20px 48px rgba(10, 14, 26, 0.1);

  /* Dimensions & Spacing */
  --header-height: 74px;
  --max-width: 1320px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  
  /* Transitions */
  --ease-smooth: cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: 160ms ease;
  --transition-normal: 280ms var(--ease-smooth);
}

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

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

body {
  font-family: 'Afacad', 'Afacad Flux', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--bg-main);
  color: var(--text-primary);
  min-height: 100vh;
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

a {
  color: inherit;
  text-decoration: none;
}

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

/* Ambient Background Canvas & Mesh (Refined Light Theme) */
.bg-mesh {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
  background: 
    radial-gradient(at 10% 15%, rgba(24, 82, 254, 0.05) 0px, transparent 50%),
    radial-gradient(at 90% 25%, rgba(99, 102, 241, 0.04) 0px, transparent 50%),
    radial-gradient(at 30% 85%, rgba(2, 132, 199, 0.04) 0px, transparent 50%);
}

.mesh-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.6;
}

.orb-1 {
  top: -8%;
  left: 25%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(24, 82, 254, 0.12) 0%, rgba(24, 82, 254, 0) 70%);
}

.orb-2 {
  top: 45%;
  right: -5%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.08) 0%, rgba(99, 102, 241, 0) 70%);
}

.orb-3 {
  bottom: -5%;
  left: 5%;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.1) 0%, rgba(56, 189, 248, 0) 70%);
}

.grid-overlay {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(10, 14, 26, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10, 14, 26, 0.025) 1px, transparent 1px);
  background-size: 54px 54px;
  opacity: 0.8;
}

#ambient-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* ==========================================================================
   Header (Light Frosted Minimalist)
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  transition: all var(--transition-normal);
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 6px 24px rgba(10, 14, 26, 0.06);
  border-bottom-color: var(--border-strong);
}

.header-container {
  max-width: var(--max-width);
  height: 100%;
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-group {
  display: flex;
  align-items: center;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 14px;
}

.logo-img {
  height: 30px;
  width: auto;
  object-fit: contain;
  /* Natural brand colors */
  filter: none;
}

.brand-divider {
  width: 1px;
  height: 18px;
  background: var(--border-strong);
}

.brand-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  background: var(--bg-surface-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: 999px;
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-blue);
  box-shadow: 0 0 6px var(--accent-blue);
  animation: pulse-dot 2s infinite ease-in-out;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 0.6; transform: scale(0.9); }
  50% { opacity: 1; transform: scale(1.2); }
}

.badge-text {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--accent-dark);
}

/* ==========================================================================
   Header Navigation Toggle & Dropdown (Symmetrical with Logo)
   ========================================================================== */
.header-nav-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.nav-menu-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px 8px 14px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--border-subtle);
  border-radius: 999px;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(10, 14, 26, 0.05);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all var(--transition-fast);
  user-select: none;
}

.nav-menu-toggle:hover {
  background: #ffffff;
  border-color: var(--accent-blue);
  color: var(--accent-blue);
  box-shadow: 0 4px 16px rgba(24, 82, 254, 0.15);
  transform: translateY(-1px);
}

.nav-menu-toggle.active {
  background: rgba(24, 82, 254, 0.08);
  border-color: var(--accent-blue);
  color: var(--accent-blue);
  box-shadow: 0 0 0 3px rgba(24, 82, 254, 0.12);
}

.toggle-icon-wrap {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(24, 82, 254, 0.1);
  color: var(--accent-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  transition: all var(--transition-fast);
}

.nav-menu-toggle:hover .toggle-icon-wrap,
.nav-menu-toggle.active .toggle-icon-wrap {
  background: var(--accent-blue);
  color: #ffffff;
}

.toggle-label {
  letter-spacing: 0.2px;
}

.toggle-chevron {
  font-size: 11px;
  opacity: 0.65;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), opacity var(--transition-fast);
}

.nav-menu-toggle:hover .toggle-chevron {
  opacity: 1;
}

.nav-menu-toggle.active .toggle-chevron {
  transform: rotate(180deg);
  opacity: 1;
}

/* Dropdown Menu Container */
.nav-dropdown {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  width: 340px;
  max-width: calc(100vw - 32px);
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border: 1px solid rgba(220, 226, 238, 0.9);
  border-radius: 18px;
  box-shadow: 0 20px 48px -10px rgba(10, 14, 26, 0.18), 0 0 0 1px rgba(24, 82, 254, 0.08);
  padding: 10px;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-8px) scale(0.97);
  transform-origin: top right;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-dropdown.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.nav-dropdown-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px 10px;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 6px;
}

.dropdown-tag {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.8px;
  color: var(--text-tertiary);
}

.dropdown-subtag {
  font-size: 10px;
  font-weight: 700;
  color: var(--accent-blue);
  background: rgba(24, 82, 254, 0.08);
  padding: 2px 8px;
  border-radius: 999px;
  letter-spacing: 0.5px;
}

.nav-dropdown-menu {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.nav-dropdown-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
  transition: all var(--transition-fast);
  position: relative;
}

.nav-dropdown-item:hover {
  background: rgba(24, 82, 254, 0.06);
  transform: translateX(2px);
}

.nav-dropdown-item.active {
  background: rgba(24, 82, 254, 0.09);
}

.item-icon-box {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(24, 82, 254, 0.08);
  color: var(--accent-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
  transition: all var(--transition-fast);
}

.nav-dropdown-item:hover .item-icon-box {
  background: var(--accent-blue);
  color: #ffffff;
  transform: scale(1.06);
}

.nav-dropdown-item.active .item-icon-box {
  background: var(--accent-blue);
  color: #ffffff;
}

.item-body {
  flex: 1;
  min-width: 0;
}

.item-title {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.3;
  transition: color var(--transition-fast);
}

.nav-dropdown-item:hover .item-title,
.nav-dropdown-item.active .item-title {
  color: var(--accent-blue);
}

.item-desc {
  font-size: 11.5px;
  color: var(--text-secondary);
  line-height: 1.3;
  margin-top: 2px;
}

.item-arrow {
  font-size: 11px;
  color: var(--text-tertiary);
  opacity: 0;
  transform: translateX(-4px);
  transition: all var(--transition-fast);
}

.nav-dropdown-item:hover .item-arrow {
  opacity: 1;
  transform: translateX(0);
  color: var(--accent-blue);
}

/* ==========================================================================
   Main Content Layout
   ========================================================================== */
main {
  position: relative;
  z-index: 10;
  padding-top: var(--header-height);
}

/* ==========================================================================
   Hero Section (Editorial Swiss Minimalist)
   ========================================================================== */
.hero-section {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 68px 28px 56px;
}

.hero-container {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 880px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.2px;
  color: var(--accent-blue);
  box-shadow: var(--shadow-sm);
  width: fit-content;
}

.pulse-ring {
  width: 7px;
  height: 7px;
  background: var(--accent-blue);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent-blue);
}

.hero-title {
  font-size: clamp(36px, 4.8vw, 56px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1px;
  color: var(--accent-dark);
}

.gradient-text {
  color: var(--accent-blue);
  background: linear-gradient(135deg, #1852fe 0%, #0c42eb 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 17px;
  line-height: 1.65;
  color: var(--text-secondary);
  max-width: 600px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 16px 24px;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  width: fit-content;
}

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

.stat-number {
  font-size: 24px;
  font-weight: 800;
  color: var(--accent-dark);
  font-family: 'Afacad', 'Afacad Flux', sans-serif;
  letter-spacing: -0.5px;
}

.stat-label {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.stat-divider {
  width: 1px;
  height: 32px;
  background: var(--border-subtle);
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 8px;
}

.btn-primary-large {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  background: var(--accent-blue);
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(24, 82, 254, 0.35);
  transition: all var(--transition-normal);
}

.btn-primary-large:hover {
  background: var(--accent-blue-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(24, 82, 254, 0.45);
}

.btn-secondary-large {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: var(--radius-md);
  background: #ffffff;
  border: 1px solid var(--border-strong);
  color: var(--accent-dark);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}

.btn-secondary-large:hover {
  border-color: var(--accent-blue);
  color: var(--accent-blue);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* Hero Visual Theme Card (Clean Elevated Card) */
.hero-visual-wrap {
  position: relative;
}

.hero-theme-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  background: #ffffff;
  box-shadow: 0 20px 48px rgba(10, 14, 26, 0.08);
  aspect-ratio: 16/10;
}

.theme-card-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 75% 25%, rgba(24, 82, 254, 0.1), transparent 65%);
  pointer-events: none;
}

.theme-banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 1.2s var(--ease-smooth);
}

.hero-theme-card:hover .theme-banner-img {
  transform: scale(1.04);
}

.theme-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(10, 14, 26, 0.88) 0%, rgba(10, 14, 26, 0.3) 55%, transparent 100%);
  padding: 26px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}

.theme-card-content h3 {
  font-size: 19px;
  font-weight: 700;
  margin: 6px 0;
  color: #ffffff;
}

.theme-card-content p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.85);
  max-width: 360px;
}

.live-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  background: rgba(16, 185, 129, 0.9);
  color: #ffffff;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.btn-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #ffffff;
  color: var(--accent-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
  transition: all var(--transition-fast);
}

.btn-circle:hover {
  background: var(--accent-blue);
  color: #ffffff;
  transform: scale(1.08);
}

/* ==========================================================================
   Section Header Shared
   ========================================================================== */
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 36px;
  gap: 20px;
}

.section-header.center {
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.section-badge {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.6px;
  color: var(--accent-blue);
  text-transform: uppercase;
  margin-bottom: 6px;
  display: inline-block;
}

.section-heading {
  font-size: clamp(26px, 3.2vw, 38px);
  font-weight: 800;
  color: var(--accent-dark);
  letter-spacing: -0.5px;
}

.section-desc {
  font-size: 15px;
  color: var(--text-secondary);
  margin-top: 6px;
}

/* Filter Bar (Light Minimalist) */
.filter-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #ffffff;
  padding: 5px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
}

.filter-tab {
  padding: 8px 18px;
  border-radius: 10px;
  border: none;
  background: transparent;
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-tab.active {
  background: var(--accent-blue);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(24, 82, 254, 0.25);
}

/* ==========================================================================
   Keynote Section & Grid
   ========================================================================== */
.keynotes-section {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 40px 28px 90px;
}

.keynote-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

/* Base Keynote Card */
.keynote-card {
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
  transition: all var(--transition-normal);
}

.keynote-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--border-strong);
}

/* Status Strips */
.card-status-strip {
  padding: 10px 24px;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  letter-spacing: 0.3px;
}

.status-upcoming {
  background: #f8fafc;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border-subtle);
}

.status-active {
  background: #ecfdf5;
  color: #047857;
  border-bottom: 1px solid #d1fae5;
}

/* Card Header */
.card-header {
  padding: 24px 28px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.card-number-badge {
  font-size: 14px;
  font-weight: 800;
  color: var(--accent-dark);
  letter-spacing: 1px;
}

.card-number-badge.highlight {
  color: var(--accent-blue);
}

.card-type-tag {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 6px;
  background: var(--bg-surface-subtle);
  color: var(--text-secondary);
  border: 1px solid var(--border-subtle);
}

.card-type-tag.highlight-tag {
  background: var(--accent-blue-light);
  color: var(--accent-blue);
  border-color: var(--accent-blue-subtle);
}

.card-type-tag.hardware-tag {
  background: #fffbeb;
  color: #b45309;
  border-color: #fef3c7;
}

/* Card Body */
.card-body {
  padding: 12px 28px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card-title {
  font-size: 24px;
  font-weight: 800;
  color: var(--accent-dark);
  line-height: 1.25;
  margin-bottom: 6px;
}

.card-subtitle {
  font-size: 14px;
  font-weight: 600;
  color: var(--accent-blue);
  margin-bottom: 14px;
}

.card-desc {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.card-features {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}

.feature-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  background: var(--bg-surface-subtle);
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
  border: 1px solid var(--border-subtle);
}

.feature-tag i {
  color: var(--accent-blue);
}

/* Sub Keynote Items (Keynote 02 The New Base) */
.sub-keynote-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 10px;
}

.sub-keynote-item {
  background: #f8fafc;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  transition: all var(--transition-fast);
}

.sub-keynote-item:hover {
  background: #ffffff;
  border-color: var(--accent-blue);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

.sub-kn-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}

.sub-kn-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.crm-icon {
  background: #eff6ff;
  color: #1852fe;
}

.hrm-icon {
  background: #f5f3ff;
  color: #7c3aed;
}

.work-icon {
  background: #ecfdf5;
  color: #059669;
}

.sub-kn-info h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--accent-dark);
}

.sub-kn-tagline {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
}

.sub-kn-text {
  font-size: 13px;
  line-height: 1.55;
  color: var(--text-secondary);
  margin-bottom: 14px;
}

.sub-kn-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.sub-kn-actions.full-width {
  width: 100%;
}

.keynote-card.active-card {
  cursor: pointer;
  transition: all var(--transition-fast);
}

.keynote-card.active-card:hover {
  border-color: var(--accent-blue);
  box-shadow: 0 16px 36px rgba(24, 82, 254, 0.12);
  transform: translateY(-4px);
}

.btn-slide-full {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 20px;
  border-radius: 8px;
  background: var(--accent-blue);
  color: #ffffff !important;
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
  box-shadow: 0 2px 8px rgba(24, 82, 254, 0.2);
}

.btn-slide-full:hover {
  background: var(--accent-blue-hover);
  color: #ffffff !important;
  box-shadow: 0 6px 18px rgba(24, 82, 254, 0.35);
  transform: translateY(-1px);
}

.btn-slide-full i {
  font-size: 13px;
  transition: transform var(--transition-fast);
}

.btn-slide-full:hover i {
  transform: translate(2px, -2px);
}

.card-footer-stacked {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

.card-ratio-tags {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  padding: 6px 10px;
  background: rgba(24, 82, 254, 0.04);
  border: 1px solid rgba(24, 82, 254, 0.1);
  border-radius: 8px;
}

.ratio-tag-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-tertiary);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.ratio-tag {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  text-decoration: none;
  transition: all var(--transition-fast);
}

.ratio-tag:hover {
  background: var(--accent-blue);
  color: #ffffff;
  border-color: var(--accent-blue);
  transform: translateY(-1px);
}

.btn-launch-slide {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 8px;
  background: var(--accent-blue);
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-launch-slide:hover {
  background: var(--accent-blue-hover);
  box-shadow: 0 4px 14px rgba(24, 82, 254, 0.3);
}

.btn-newtab {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: #ffffff;
  border: 1px solid var(--border-strong);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  transition: all var(--transition-fast);
}

.btn-newtab:hover {
  border-color: var(--accent-blue);
  color: var(--accent-blue);
  background: #f8fafc;
}

/* Simple sub items for Keynote 04 */
.sub-keynote-list-simple {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 14px;
}

.simple-sub-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px;
  background: #f8fafc;
  border-radius: 10px;
  border: 1px solid var(--border-subtle);
}

.sub-num {
  font-size: 13px;
  font-weight: 800;
  padding: 2px 8px;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  color: var(--accent-dark);
}

.muted-text {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
}

/* Card Footer */
.card-footer {
  padding: 16px 28px 24px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: #fafbfe;
}

.btn-card-disabled {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 8px;
  background: #f1f5f9;
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 600;
  cursor: not-allowed;
}

.btn-card-notify {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 8px;
  background: #ffffff;
  border: 1px solid var(--border-strong);
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-card-notify:hover {
  border-color: var(--accent-blue);
  color: var(--accent-blue);
  background: var(--accent-blue-light);
}

/* ==========================================================================
   Matrix & Architecture Section
   ========================================================================== */
.matrix-section {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 40px 28px 90px;
}

.matrix-container {
  display: grid;
  grid-template-columns: 1fr auto 1.2fr auto 1fr;
  align-items: center;
  gap: 20px;
  margin-top: 30px;
}

.matrix-col {
  height: 100%;
}

.matrix-box {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.matrix-box.center-box {
  border-color: var(--accent-blue);
  box-shadow: 0 12px 36px rgba(24, 82, 254, 0.12);
  background: #fafcff;
}

.matrix-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--accent-blue-light);
  color: var(--accent-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 16px;
}

.matrix-box h4 {
  font-size: 18px;
  font-weight: 800;
  color: var(--accent-dark);
  margin-bottom: 14px;
}

.matrix-box ul {
  list-style: none;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 13px;
  color: var(--text-secondary);
}

.matrix-box ul li {
  position: relative;
  padding-left: 18px;
}

.matrix-box ul li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--accent-blue);
  font-size: 16px;
  line-height: 1;
}

.os-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 14px;
}

.badge-pill {
  padding: 6px 14px;
  background: var(--accent-blue);
  color: #ffffff;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

.matrix-arrow {
  color: var(--accent-blue);
  font-size: 20px;
  opacity: 0.6;
}

/* ==========================================================================
   Notes / Bookmarks Section (Customer Notebook)
   ========================================================================== */
.notes-section {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 28px 90px;
}

.notes-card {
  background: #ffffff;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-md);
  padding: 32px 36px;
}

.notes-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 24px;
  gap: 20px;
}

.notes-header h3 {
  font-size: 22px;
  font-weight: 800;
  color: var(--accent-dark);
  margin: 4px 0 6px;
}

.notes-header p {
  font-size: 14px;
  color: var(--text-secondary);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: 8px;
  background: #f8fafc;
  border: 1px solid var(--border-strong);
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-secondary:hover {
  background: #fee2e2;
  border-color: #fca5a5;
  color: #b91c1c;
}

.notes-body textarea {
  width: 100%;
  min-height: 140px;
  padding: 16px 20px;
  background: #f8fafc;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  font-size: 14px;
  line-height: 1.6;
  color: var(--accent-dark);
  resize: vertical;
  outline: none;
  transition: all var(--transition-fast);
}

.notes-body textarea:focus {
  background: #ffffff;
  border-color: var(--accent-blue);
  box-shadow: 0 0 0 4px var(--accent-blue-light);
}

.notes-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 14px;
  font-size: 13px;
  color: var(--text-muted);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: 8px;
  background: var(--accent-blue);
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-primary:hover {
  background: var(--accent-blue-hover);
  box-shadow: 0 4px 14px rgba(24, 82, 254, 0.3);
}

/* ==========================================================================
   Thank You / Outro Section (Editorial Theme Element)
   ========================================================================== */
.thankyou-section {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 28px 80px;
}

.thankyou-card {
  background: #ffffff;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-md);
  padding: 48px 36px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.brand-badge-center {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  background: var(--bg-surface-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: 999px;
  margin-bottom: 20px;
}

.thankyou-title {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 900;
  letter-spacing: 2px;
  color: var(--accent-dark);
  margin-bottom: 12px;
}

.thankyou-sub {
  font-size: 15px;
  color: var(--text-secondary);
  max-width: 540px;
  line-height: 1.6;
  margin-bottom: 0;
}

.thankyou-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.thankyou-meta strong {
  color: var(--accent-blue);
  font-weight: 800;
  font-size: 14px;
}

.meta-slash {
  color: var(--border-strong);
}

/* ==========================================================================
   Interactive Slide Modal Viewer
   ========================================================================== */
.slide-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

.slide-modal.open {
  opacity: 1;
  visibility: visible;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 14, 26, 0.7);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.modal-content {
  position: relative;
  z-index: 10;
  background: #0b1120;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
  width: 96vw;
  max-width: 1440px;
  height: 90vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: all var(--transition-normal);
}

.slide-modal.is-fullscreen .modal-content {
  width: 100vw;
  height: 100vh;
  max-width: 100vw;
  border-radius: 0;
  border: none;
}

.modal-header {
  padding: 14px 24px;
  background: #0f172a;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-title-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.modal-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  background: rgba(24, 82, 254, 0.2);
  border: 1px solid rgba(24, 82, 254, 0.4);
  color: #60a5fa;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
}

.modal-title-group h3 {
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
}

.modal-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

.aspect-ratio-selector {
  display: flex;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 2px;
}

.ratio-btn {
  padding: 5px 10px;
  border-radius: 6px;
  border: none;
  background: transparent;
  color: #94a3b8;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}

.ratio-btn.active {
  background: var(--accent-blue);
  color: #ffffff;
}

.btn-icon-modal {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #cbd5e1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-icon-modal:hover {
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
}

.btn-icon-modal.close-btn:hover {
  background: #ef4444;
  color: #ffffff;
}

.modal-body {
  position: relative;
  flex: 1;
  background: #060913;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.modal-body iframe {
  width: 100%;
  height: 100%;
  border: none;
  background: transparent;
}

.iframe-loading-overlay {
  position: absolute;
  inset: 0;
  background: #060913;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: #94a3b8;
  font-size: 14px;
  z-index: 5;
  transition: opacity 0.3s ease;
}

.iframe-loading-overlay.hidden {
  opacity: 0;
  pointer-events: none;
}

.spinner {
  width: 36px;
  height: 36px;
  border: 3px solid rgba(255, 255, 255, 0.1);
  border-top-color: var(--accent-blue);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.modal-footer-bar {
  padding: 10px 24px;
  background: #0f172a;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: #64748b;
}

.helper-keys {
  display: flex;
  gap: 16px;
}

.helper-keys kbd {
  padding: 2px 6px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 4px;
  color: #cbd5e1;
  font-size: 11px;
}

/* ==========================================================================
   Consultation Modal (Editorial Light)
   ========================================================================== */
.consult-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

.consult-modal.open {
  opacity: 1;
  visibility: visible;
}

.consult-content {
  position: relative;
  z-index: 10;
  background: #ffffff;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-subtle);
  box-shadow: 0 24px 60px rgba(10, 14, 26, 0.18);
  width: 100%;
  max-width: 540px;
  padding: 36px;
}

.consult-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #f1f5f9;
  border: none;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 16px;
}

.consult-close-btn:hover {
  background: #fee2e2;
  color: #ef4444;
}

.consult-badge {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.2px;
  color: var(--accent-blue);
  margin-bottom: 6px;
}

.consult-header h3 {
  font-size: 22px;
  font-weight: 800;
  color: var(--accent-dark);
  margin-bottom: 6px;
}

.consult-header p {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.consult-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

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

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

.form-group label {
  font-size: 12px;
  font-weight: 700;
  color: var(--accent-dark);
}

.form-group input, .form-group select {
  padding: 10px 14px;
  background: #f8fafc;
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  font-size: 14px;
  color: var(--accent-dark);
  outline: none;
}

.form-group input:focus, .form-group select:focus {
  background: #ffffff;
  border-color: var(--accent-blue);
  box-shadow: 0 0 0 3px var(--accent-blue-light);
}

.btn-submit-consult {
  margin-top: 8px;
  padding: 12px 20px;
  border-radius: 8px;
  background: var(--accent-blue);
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all var(--transition-fast);
}

.btn-submit-consult:hover {
  background: var(--accent-blue-hover);
  box-shadow: 0 6px 18px rgba(24, 82, 254, 0.35);
}

/* ==========================================================================
   Toast Notifications
   ========================================================================== */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-left: 4px solid var(--accent-blue);
  box-shadow: 0 10px 30px rgba(10, 14, 26, 0.12);
  padding: 12px 18px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-dark);
  display: flex;
  align-items: center;
  gap: 10px;
  animation: slideInRight 0.3s ease;
}

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

/* ==========================================================================
   Footer (Minimalist Light Theme)
   ========================================================================== */
.site-footer {
  background: #ffffff;
  border-top: 1px solid var(--border-subtle);
  padding: 60px 28px 24px;
}

.footer-container {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 40px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 16px;
  color: var(--accent-dark);
  margin-bottom: 14px;
}

.footer-logo img {
  height: 26px;
  width: auto;
}

.footer-text {
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-secondary);
  max-width: 380px;
}

.footer-col h4 {
  font-size: 14px;
  font-weight: 800;
  color: var(--accent-dark);
  margin-bottom: 16px;
  letter-spacing: 0.5px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col ul li a {
  font-size: 13px;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
}

.footer-col ul li a:hover {
  color: var(--accent-blue);
}

.footer-col p {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-col p i {
  color: var(--accent-blue);
}

.footer-bottom {
  max-width: var(--max-width);
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
  text-align: center;
  font-size: 12px;
  color: var(--text-muted);
}

/* ==========================================================================
   Responsive Adaptations
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-section {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .keynote-grid {
    grid-template-columns: 1fr;
  }

  .matrix-container {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .matrix-arrow {
    transform: rotate(90deg);
    margin: 6px auto;
  }

  .footer-container {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .hero-stats {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    width: 100%;
  }

  .stat-divider {
    display: none;
  }

  .section-header {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ==========================================================================
   Slide Modal Viewer Stage & Fullscreen Controls
   ========================================================================== */
.slide-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.slide-modal.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 8, 24, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.modal-content {
  position: relative;
  z-index: 10;
  width: 95vw;
  max-width: 1600px;
  height: 90vh;
  max-height: 920px;
  background: #060a24;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-lg);
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.7), 0 0 50px rgba(24, 82, 254, 0.15);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.slide-modal.is-fullscreen .modal-content {
  width: 100vw;
  height: 100vh;
  max-width: 100vw;
  max-height: 100vh;
  border-radius: 0;
  border: none;
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
  background: #080f33;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: #ffffff;
  flex-shrink: 0;
}

.modal-title-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.modal-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  background: rgba(24, 82, 254, 0.2);
  border: 1px solid rgba(24, 82, 254, 0.4);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.8px;
  color: #79a6ff;
}

.modal-title-group h3 {
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 50vw;
}

.modal-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

.aspect-ratio-selector {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  padding: 2px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.ratio-btn {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.6);
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 4px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.ratio-btn:hover {
  color: #ffffff;
}

.ratio-btn.active {
  background: var(--accent-blue);
  color: #ffffff;
}

.btn-icon-modal {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
  color: rgba(255, 255, 255, 0.8);
  cursor: pointer;
  font-size: 13px;
  text-decoration: none;
  transition: all var(--transition-fast);
}

.btn-icon-modal:hover {
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
}

.btn-icon-modal.close-btn:hover {
  background: #ef4444;
  border-color: #ef4444;
  color: #ffffff;
}

.modal-body {
  position: relative;
  flex: 1;
  background: #05040f;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.modal-body iframe {
  width: 100%;
  height: 100%;
  border: none;
  background: transparent;
}

.iframe-loading-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  background: #060a24;
  color: #a9d6ff;
  font-size: 14px;
  font-weight: 600;
  z-index: 5;
  transition: opacity 0.25s ease;
}

.iframe-loading-overlay.hidden {
  opacity: 0;
  pointer-events: none;
}

.spinner {
  width: 38px;
  height: 38px;
  border: 3px solid rgba(24, 82, 254, 0.2);
  border-top-color: var(--accent-blue);
  border-radius: 50%;
  animation: spinLoader 0.8s linear infinite;
}

@keyframes spinLoader {
  to { transform: rotate(360deg); }
}

.modal-footer-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 24px;
  background: #080f33;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  flex-shrink: 0;
}

.helper-keys {
  display: flex;
  align-items: center;
  gap: 16px;
}

.helper-keys kbd {
  display: inline-block;
  padding: 2px 6px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 4px;
  color: #ffffff;
  font-size: 11px;
  font-family: inherit;
}

.modal-branding {
  font-weight: 600;
  color: rgba(255, 255, 255, 0.6);
}

/* ==========================================================================
   Consultation Modal
   ========================================================================== */
.consult-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.consult-modal.open {
  opacity: 1;
  pointer-events: auto;
}

.consult-content {
  position: relative;
  z-index: 10;
  width: 90vw;
  max-width: 560px;
  background: #ffffff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  padding: 36px;
  border: 1px solid var(--border-subtle);
}

.consult-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  background: #f1f5f9;
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.consult-close-btn:hover {
  background: #e2e8f0;
  color: var(--accent-dark);
}

.consult-badge {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.2px;
  color: var(--accent-blue);
  margin-bottom: 8px;
}

.consult-header h3 {
  font-size: 22px;
  font-weight: 800;
  color: var(--accent-dark);
  margin-bottom: 8px;
}

.consult-header p {
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.consult-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

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

.form-group label {
  font-size: 12px;
  font-weight: 700;
  color: var(--accent-dark);
}

.form-group input,
.form-group select {
  padding: 10px 14px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 14px;
  color: var(--accent-dark);
  background: #f8fafc;
  transition: all var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--accent-blue);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(24, 82, 254, 0.1);
}

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

.btn-submit-consult {
  margin-top: 8px;
  padding: 12px 20px;
  background: var(--accent-blue);
  color: #ffffff;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all var(--transition-fast);
}

.btn-submit-consult:hover {
  background: var(--accent-hover);
  box-shadow: 0 4px 14px rgba(24, 82, 254, 0.35);
}

/* ==========================================================================
   Toast Notifications
   ========================================================================== */
.toast-container {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 100000;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

.toast {
  background: #060a24;
  color: #ffffff;
  padding: 12px 20px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(24, 82, 254, 0.4);
  box-shadow: var(--shadow-lg), 0 0 20px rgba(24, 82, 254, 0.2);
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  pointer-events: auto;
  animation: toastIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.toast.fade-out {
  animation: toastOut 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

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

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

