@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,400&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

:root {
  /* Colors - Premium Editorial Light Mode */
  --bg-darker: #FAF9F6; /* Alabaster base */
  --bg-primary: #FFFFFF; /* Pure White paper */
  --bg-secondary: #F4F2EE; /* Warm sand offset */
  --bg-card: #FFFFFF; /* White card */
  --bg-card-hover: #FDFDFB;
  --text-primary: #1A1A1A; /* Deep Charcoal */
  --text-secondary: #5A5A5C; /* Medium Gray */
  --text-muted: #8E8E93; /* Muted Slate */
  --accent-gold: #8E7044; /* Antique Gold */
  --accent-gold-hover: #AA8B5C;
  --accent-gold-rgb: 142, 112, 68;
  --border-muted: rgba(0, 0, 0, 0.08); /* Hairline gray border */
  --border-light: rgba(0, 0, 0, 0.12);
  --border-gold: rgba(142, 112, 68, 0.25);
  
  /* Fonts */
  --font-serif: 'Cormorant Garamond', serif;
  --font-sans: 'Plus Jakarta Sans', sans-serif;
  
  /* Transitions */
  --transition-smooth: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.3s ease;
  
  /* Spacing */
  --container-width: 1200px;
}

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

html {
  scroll-behavior: smooth;
  background-color: var(--bg-darker);
  color: var(--text-primary);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
}

body {
  overflow-x: hidden;
  background: radial-gradient(circle at 50% -20%, #FAF6EE 0%, var(--bg-darker) 100%);
  min-height: 100vh;
  line-height: 1.6;
}

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

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

/* Typography Utility */
.serif {
  font-family: var(--font-serif);
}

.gold-text {
  color: var(--accent-gold);
}

/* Layout Elements */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 2rem;
}

.section-padding {
  padding: 8rem 0;
}

@media (max-width: 768px) {
  .section-padding {
    padding: 5rem 0;
  }
}

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  max-width: 100vw;
  overflow: hidden;
  z-index: 100;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-muted);
  background-color: rgba(250, 249, 246, 0.85);
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 5rem;
  gap: 1.5rem;
}

.logo {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  letter-spacing: 0.08em;
  font-weight: 400;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  white-space: nowrap;
  flex-shrink: 0;
}

.logo span {
  font-size: 0.7rem;
  font-family: var(--font-sans);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent-gold);
  border: 1px solid var(--border-gold);
  padding: 0.1rem 0.4rem;
  border-radius: 2px;
  white-space: nowrap;
}

nav {
  display: flex;
  justify-content: center;
  flex-grow: 1;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 1.5rem;
  flex-wrap: nowrap;
}

nav a {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-secondary);
  font-weight: 600;
  transition: var(--transition-fast);
  white-space: nowrap;
}

nav a:hover {
  color: var(--text-primary);
}

.status-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  background-color: #1b8b82; /* Muted teal for light mode */
  border-radius: 50%;
  margin-right: 0.5rem;
  box-shadow: 0 0 10px rgba(27, 139, 130, 0.4);
  animation: pulse 2s infinite;
  flex-shrink: 0;
}

@keyframes pulse {
  0% { transform: scale(0.9); opacity: 0.6; }
  50% { transform: scale(1.2); opacity: 1; box-shadow: 0 0 14px rgba(27, 139, 130, 0.6); }
  100% { transform: scale(0.9); opacity: 0.6; }
}

.status-indicator {
  display: flex;
  align-items: center;
  white-space: nowrap;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-shrink: 0;
}


@media (max-width: 1200px) {
  /* Hide indicator text on mid-sized screens to secure menu space */
  .status-indicator span:last-child {
    display: none;
  }
}

@media (max-width: 950px) {
  /* Hide indicator indicator on smaller viewports */
  .status-indicator {
    display: none;
  }
}

@media (max-width: 820px) {
  /* Hide central links on mobile and small tablets, keeping layout clean */
  nav {
    display: none;
  }
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 6rem;
  overflow: hidden;
  z-index: 1; /* Establishes a local stacking context to keep background image above the body background */
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  filter: grayscale(1) contrast(1.05) brightness(0.95); /* Rich, natural details and contrast */
  opacity: 0.7; /* Higher opacity to make the speaker look realistic and high-quality */
}

/* Horizontal gradient mask to secure text readability on the left/center */
.hero-bg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, var(--bg-darker) 25%, rgba(250, 249, 246, 0.85) 50%, transparent 75%);
  z-index: 1;
}

/* Vertical gradient mask to fade the image bottom into the body */
.hero-bg::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 80%;
  background: linear-gradient(to bottom, transparent 20%, var(--bg-darker) 100%);
  z-index: 2;
}

.hero-content {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.hero-tagline {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.35em;
  color: var(--accent-gold);
  font-weight: 600;
  animation: fadeInDown 1s ease;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: 4rem;
  font-weight: 300;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--text-primary);
  animation: fadeInUp 1s ease 0.2s both;
}

.hero-title span {
  font-style: italic;
  font-weight: 400;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary);
  font-weight: 300;
  max-width: 750px;
  line-height: 1.7;
  animation: fadeInUp 1s ease 0.4s both;
}

.hero-cta-wrapper {
  position: relative;
  margin-top: 1.5rem;
  animation: fadeInUp 1s ease 0.6s both;
  z-index: 10;
}

/* Primary Premium Button */
.btn-premium {
  position: relative;
  background: var(--bg-primary);
  color: var(--accent-gold);
  border: 1px solid var(--accent-gold);
  padding: 1.25rem 2.5rem;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-weight: 600;
  transition: var(--transition-smooth);
  box-shadow: 0 10px 30px rgba(142, 112, 68, 0.05), inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.btn-premium::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(142, 112, 68, 0.05), transparent);
  transform: translateX(-100%);
  transition: 0.8s;
}

.btn-premium:hover::before {
  transform: translateX(100%);
}

.btn-premium:hover {
  background-color: var(--accent-gold);
  color: var(--bg-primary);
  border-color: var(--accent-gold);
  box-shadow: 0 15px 40px rgba(142, 112, 68, 0.2);
}

/* Interactive Dropdown Calendar Menu */
.booking-dropdown {
  position: absolute;
  top: calc(100% + 15px);
  left: 50%;
  transform: translateX(-50%) translateY(15px);
  width: 320px;
  background-color: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 4px;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-smooth);
  box-shadow: 0 20px 50px rgba(0,0,0,0.1);
  padding: 1.5rem;
  text-align: left;
  z-index: 50;
}

.booking-dropdown.active {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.booking-dropdown-title {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-gold);
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--border-muted);
  padding-bottom: 0.5rem;
  font-weight: 600;
}

.booking-options {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.booking-option {
  width: 100%;
  text-align: left;
  padding: 0.75rem 1rem;
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-muted);
  font-size: 0.8rem;
  color: var(--text-primary);
  transition: var(--transition-fast);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.booking-option:hover {
  background-color: rgba(142, 112, 68, 0.05);
  border-color: var(--accent-gold);
  padding-left: 1.25rem;
}

.booking-option span.icon {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--accent-gold);
  opacity: 0.8;
}

/* Modals */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(245, 244, 240, 0.85); /* Light blurred cover */
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  z-index: 200;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-smooth);
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-container {
  width: 90%;
  max-width: 550px;
  background-color: var(--bg-primary);
  border: 1px solid var(--border-light);
  padding: 3rem 2.5rem;
  position: relative;
  transform: translateY(30px);
  transition: var(--transition-smooth);
  box-shadow: 0 30px 60px rgba(0,0,0,0.08);
}

.modal-overlay.active .modal-container {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  color: var(--text-secondary);
  font-size: 1.5rem;
  transition: var(--transition-fast);
}

.modal-close:hover {
  color: var(--text-primary);
}

.modal-title {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 300;
  margin-bottom: 0.5rem;
}

.modal-subtitle {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 2rem;
}

/* Form Calendar Step-by-Step */
.booking-step {
  display: none;
}

.booking-step.active {
  display: block;
  animation: fadeIn 0.4s ease;
}

/* Calendar Grid */
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.4rem;
  margin: 1.5rem 0;
}

.calendar-header-day {
  text-align: center;
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 600;
}

.calendar-day {
  aspect-ratio: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 0.85rem;
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-muted);
  color: var(--text-secondary);
  transition: var(--transition-fast);
}

.calendar-day.empty {
  background: none;
  border: none;
  pointer-events: none;
}

.calendar-day:not(.empty):hover {
  background-color: rgba(142, 112, 68, 0.1);
  border-color: var(--accent-gold);
  color: var(--text-primary);
}

.calendar-day.selected {
  background-color: var(--accent-gold);
  border-color: var(--accent-gold);
  color: var(--bg-primary);
  font-weight: 600;
}

.calendar-day.disabled {
  opacity: 0.25;
  pointer-events: none;
}

.time-slots {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  margin-top: 1rem;
}

.time-slot {
  padding: 0.5rem;
  font-size: 0.8rem;
  text-align: center;
  border: 1px solid var(--border-muted);
  background-color: var(--bg-secondary);
  color: var(--text-secondary);
  transition: var(--transition-fast);
}

.time-slot:hover {
  border-color: var(--accent-gold);
  color: var(--text-primary);
}

.time-slot.selected {
  background-color: rgba(142, 112, 68, 0.08);
  border-color: var(--accent-gold);
  color: var(--accent-gold);
  font-weight: 600;
}

/* Form Controls */
.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}

.form-input {
  width: 100%;
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-muted);
  padding: 0.85rem 1rem;
  color: var(--text-primary);
  font-family: inherit;
  font-size: 0.9rem;
  transition: var(--transition-fast);
}

.form-input:focus {
  outline: none;
  border-color: var(--accent-gold);
  background-color: var(--bg-primary);
}

.btn-group {
  display: flex;
  justify-content: space-between;
  margin-top: 2rem;
  gap: 1rem;
}

.btn-secondary {
  border: 1px solid var(--border-muted);
  padding: 0.85rem 1.5rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-secondary);
  transition: var(--transition-fast);
}

.btn-secondary:hover {
  border-color: var(--text-primary);
  color: var(--text-primary);
}

.btn-primary-form {
  flex-grow: 1;
  background-color: var(--accent-gold);
  color: var(--bg-primary);
  padding: 0.85rem 1.5rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 600;
  transition: var(--transition-fast);
  text-align: center;
}

.btn-primary-form:hover {
  background-color: var(--accent-gold-hover);
  color: var(--bg-primary);
}

/* Success State */
.success-screen {
  text-align: center;
  padding: 2rem 0;
}

.success-icon {
  font-size: 3rem;
  color: var(--accent-gold);
  margin-bottom: 1.5rem;
}

/* Section Header */
.section-header {
  margin-bottom: 4.5rem;
}

.section-tag {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--accent-gold);
  display: block;
  margin-bottom: 1rem;
}

.section-title {
  font-family: var(--font-serif);
  font-size: 2.8rem;
  font-weight: 300;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

/* Speaker Section */
.speaker-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
}

@media (max-width: 992px) {
  .speaker-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

.showreel-container {
  position: relative;
  aspect-ratio: 1/1;
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-muted);
  cursor: pointer;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0,0,0,0.06);
}

.showreel-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
  filter: grayscale(1);
  transition: var(--transition-smooth);
}

.showreel-container:hover .showreel-img {
  transform: scale(1.05);
  opacity: 0.95;
  filter: grayscale(0.2);
}

.showreel-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: flex-end;
  padding: 2.2rem;
  background: linear-gradient(to top, rgba(250,249,246,0.75) 0%, rgba(250,249,246,0.1) 40%, transparent 100%);
  transition: var(--transition-smooth);
}

.showreel-play-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: #1C1B19;
  color: #FAF9F6;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1rem;
  transition: var(--transition-smooth);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  flex-shrink: 0;
}

.showreel-container:hover .showreel-play-btn {
  transform: scale(1.05);
  background-color: var(--accent-gold);
  box-shadow: 0 10px 30px rgba(142, 112, 68, 0.35);
}

.showreel-text {
  margin-top: 0;
  margin-left: 1.25rem;
  margin-bottom: 0.95rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2rem;
  color: var(--text-primary);
  font-weight: 600;
  align-self: flex-end;
}

/* Topics list */
.topics-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.topic-card {
  border-left: 2px solid var(--border-muted);
  padding-left: 1.5rem;
  transition: var(--transition-smooth);
}

.topic-card:hover {
  border-left-color: var(--accent-gold);
}

.topic-num {
  font-size: 0.75rem;
  color: var(--accent-gold);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 600;
  margin-bottom: 0.25rem;
  display: block;
}

.topic-title {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--text-primary);
  line-height: 1.3;
}

/* Video Modal */
.video-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  background-color: #1C1B19;
  border: 1px solid var(--border-light);
}

.mock-video-visual {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, #F4F2EE 0%, #FAF9F6 80%);
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.mock-wave {
  width: 2px;
  height: 40px;
  background-color: var(--accent-gold);
  margin: 0 3px;
  animation: audioWave 1.2s infinite ease-in-out alternate;
}

@keyframes audioWave {
  0% { transform: scaleY(0.1); }
  100% { transform: scaleY(1); }
}

.mock-video-controls {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: var(--bg-primary);
  border-top: 1px solid var(--border-muted);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 1.5rem;
  z-index: 5;
}

.play-pause-btn {
  color: var(--accent-gold);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.progress-bar {
  flex-grow: 1;
  margin: 0 1.5rem;
  height: 2px;
  background-color: var(--border-muted);
  position: relative;
}

.progress-fill {
  position: absolute;
  top: 0;
  left: 0;
  width: 0%;
  height: 100%;
  background-color: var(--accent-gold);
  transition: width 0.1s linear;
}

.video-time {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-family: monospace;
}

/* Solutions Columns Layout */
.solutions-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
}

@media (max-width: 992px) {
  .solutions-grid {
    grid-template-columns: 1fr;
    gap: 4rem;
  }
}

.solution-column {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.solution-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.benefit-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.benefit-item {
  border-bottom: 1px solid var(--border-muted);
  padding-bottom: 1.5rem;
}

.benefit-item:last-child {
  border-bottom: none;
}

.benefit-title {
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.benefit-dot {
  width: 4px;
  height: 4px;
  background-color: var(--accent-gold);
  border-radius: 50%;
}

.benefit-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* GEO Live Simulator Widget */
.geo-simulator {
  background-color: var(--bg-primary);
  border: 1px solid var(--border-light);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.04);
  margin-top: 2rem;
}

.simulator-header {
  background-color: var(--bg-secondary);
  border-bottom: 1px solid var(--border-muted);
  padding: 0.75rem 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.simulator-dots {
  display: flex;
  gap: 0.4rem;
}

.simulator-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: rgba(0, 0, 0, 0.1);
}

.simulator-title {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  font-weight: 600;
}

.simulator-body {
  padding: 1.5rem;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  background-color: var(--bg-primary);
}

.chat-bubble {
  max-width: 85%;
  padding: 1rem 1.25rem;
  border-radius: 4px;
  font-size: 0.85rem;
  line-height: 1.5;
}

.chat-bubble.user {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-muted);
  color: var(--text-primary);
  align-self: flex-end;
  border-bottom-right-radius: 0;
}

.chat-bubble.ai {
  background-color: rgba(142, 112, 68, 0.02);
  border: 1px solid var(--border-gold);
  color: var(--text-secondary);
  align-self: flex-start;
  border-bottom-left-radius: 0;
}

.chat-bubble.ai strong {
  color: var(--text-primary);
}

.chat-bubble.ai .citation {
  display: inline-block;
  font-size: 0.75rem;
  background-color: rgba(142, 112, 68, 0.08);
  color: var(--accent-gold);
  padding: 0.1rem 0.4rem;
  border-radius: 2px;
  margin-left: 0.25rem;
  font-weight: 600;
  border: 1px solid rgba(142, 112, 68, 0.2);
  transition: var(--transition-fast);
}

.chat-bubble.ai .citation:hover {
  background-color: var(--accent-gold);
  color: var(--bg-primary);
}

.typing-cursor {
  display: inline-block;
  width: 2px;
  height: 14px;
  background-color: var(--accent-gold);
  margin-left: 2px;
  animation: blink 0.8s infinite;
  vertical-align: middle;
}

@keyframes blink {
  0%, 100% { opacity: 0; }
  50% { opacity: 1; }
}

.simulator-controls {
  padding: 1rem 1.5rem;
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-muted);
  display: flex;
  justify-content: flex-end;
}

.btn-simulate {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-gold);
  border: 1px solid var(--border-gold);
  padding: 0.4rem 0.8rem;
  transition: var(--transition-fast);
}

.btn-simulate:hover {
  background-color: var(--accent-gold);
  color: var(--bg-primary);
}

/* Just-In-Time UI Demo Widget */
.jit-simulator {
  background-color: var(--bg-primary);
  border: 1px solid var(--border-light);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.04);
  margin-top: 2rem;
}

.jit-tabs {
  display: flex;
  background-color: var(--bg-secondary);
  border-bottom: 1px solid var(--border-muted);
}

.jit-tab {
  flex-grow: 1;
  padding: 1rem;
  text-align: center;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  border-right: 1px solid var(--border-muted);
  transition: var(--transition-fast);
}

.jit-tab:last-child {
  border-right: none;
}

.jit-tab:hover {
  color: var(--text-secondary);
}

.jit-tab.active {
  color: var(--accent-gold);
  background-color: var(--bg-primary);
  font-weight: 600;
  box-shadow: inset 0 -2px 0 var(--accent-gold);
}

.jit-body {
  padding: 3rem 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--bg-primary);
}

/* Smartphone Mockup Frame */
.phone-mockup {
  position: relative;
  width: 290px;
  height: 520px;
  background-color: #0b0b0a;
  border: 10px solid #1C1B19;
  border-radius: 36px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.08), inset 0 0 2px rgba(255,255,255,0.2);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.phone-speaker {
  position: absolute;
  top: 5px;
  left: 50%;
  transform: translateX(-50%);
  width: 35px;
  height: 3px;
  background-color: #222;
  border-radius: 2px;
  z-index: 101;
}

.phone-dynamic-island {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 70px;
  height: 16px;
  background-color: #000000;
  border-radius: 10px;
  z-index: 100;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 0;
  color: #fff;
  font-size: 0.55rem;
  white-space: nowrap;
}

.phone-dynamic-island.expanded {
  width: 220px;
  height: 32px;
  border-radius: 8px;
  background-color: #111111;
  box-shadow: 0 10px 20px rgba(0,0,0,0.3);
  padding: 0 10px;
}

.island-notification-text {
  opacity: 0;
  transition: opacity 0.3s ease;
  font-weight: 500;
}

.phone-dynamic-island.expanded .island-notification-text {
  opacity: 1;
}

.phone-screen {
  position: relative;
  width: 100%;
  height: 100%;
  background-color: var(--bg-darker);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-sizing: border-box;
}

.phone-status-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 18px 0;
  font-size: 0.6rem;
  font-weight: 600;
  color: var(--text-primary);
  z-index: 90;
  user-select: none;
}

.status-icons {
  display: flex;
  gap: 4px;
}

.phone-viewport {
  flex: 1;
  padding: 12px;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  overflow-x: hidden;
  box-sizing: border-box;
  position: relative;
}

/* Hide scrollbar in phone screen */
.phone-viewport::-webkit-scrollbar {
  display: none;
}

.phone-home-indicator {
  position: absolute;
  bottom: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 3px;
  background-color: rgba(0,0,0,0.25);
  border-radius: 2px;
  z-index: 99;
}

/* App Views & Components */
.phone-app-container {
  display: flex;
  flex-direction: column;
  height: 100%;
  animation: viewFadeIn 0.35s ease-out;
}

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

.phone-app-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.85rem;
  border-bottom: 1px solid var(--border-muted);
  padding-bottom: 0.5rem;
}

.phone-app-logo {
  font-family: var(--font-serif);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.phone-app-tag {
  font-size: 0.55rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-gold);
  border: 1px solid var(--border-gold);
  padding: 0.1rem 0.4rem;
  border-radius: 2px;
  font-weight: 600;
}

.phone-app-hero {
  margin-bottom: 1rem;
}

.phone-app-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
  line-height: 1.3;
}

.phone-app-desc {
  font-size: 0.7rem;
  color: var(--text-secondary);
  line-height: 1.4;
  margin-bottom: 1rem;
}

.phone-user-card {
  background-color: var(--bg-primary);
  border: 1px solid var(--border-muted);
  border-radius: 4px;
  padding: 0.65rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.user-avatar-pwa {
  width: 24px;
  height: 24px;
  border-radius: 4px;
  background-color: var(--accent-gold);
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  font-size: 0.55rem;
  font-weight: 700;
}

.user-name {
  font-size: 0.7rem;
  font-weight: 600;
}

.user-status {
  font-size: 0.55rem;
  color: var(--text-muted);
}

.phone-btn-primary {
  display: block;
  width: 100%;
  background-color: var(--accent-gold);
  color: var(--bg-primary);
  text-align: center;
  padding: 0.65rem;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  transition: var(--transition-fast);
  margin-bottom: 0.4rem;
  border-radius: 2px;
}

.phone-btn-primary:hover {
  background-color: var(--accent-gold-hover);
}

.phone-btn-secondary {
  display: block;
  width: 100%;
  background: none;
  border: 1px solid var(--border-muted);
  color: var(--text-secondary);
  text-align: center;
  padding: 0.65rem;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: 2px;
  transition: var(--transition-fast);
}

.phone-btn-secondary:hover {
  border-color: var(--text-primary);
  color: var(--text-primary);
}

/* Home Screen & Installation Styles */
.phone-homescreen {
  height: 100%;
  background: linear-gradient(135deg, #1C1B19 0%, #3a3835 100%);
  padding: 20px 10px;
  box-sizing: border-box;
  animation: fadeBlend 0.4s ease-in-out;
}

@keyframes fadeBlend {
  from { opacity: 0; }
  to { opacity: 1; }
}

.homescreen-icon-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  justify-items: center;
}

.homescreen-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.homescreen-icon span {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.1rem;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.homescreen-icon label {
  font-size: 0.5rem;
  color: rgba(255,255,255,0.8);
  font-weight: 500;
  text-shadow: 0 1px 2px rgba(0,0,0,0.6);
}

.homescreen-icon-pwa-animate {
  background-color: var(--accent-gold);
  font-size: 0.65rem !important;
  font-weight: 700;
  animation: pwaBounce 1.2s cubic-bezier(0.175, 0.885, 0.32, 1.275) both;
}

@keyframes pwaBounce {
  0% { transform: scale(0); opacity: 0; }
  60% { transform: scale(1.15); opacity: 1; }
  100% { transform: scale(1); opacity: 1; }
}

/* iOS-style Installation bottom sheet */
.phone-sheet-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #FFFFFF;
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
  box-shadow: 0 -8px 25px rgba(0,0,0,0.15);
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 95;
  box-sizing: border-box;
}

.phone-sheet-overlay.active {
  transform: translateY(0);
}

.pwa-install-sheet {
  padding: 16px;
  display: flex;
  flex-direction: column;
}

.sheet-drag-handle {
  width: 36px;
  height: 4px;
  background-color: rgba(0,0,0,0.1);
  border-radius: 2px;
  align-self: center;
  margin-bottom: 12px;
}

.sheet-app-info {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.sheet-app-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background-color: var(--accent-gold);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
}

.sheet-app-title {
  font-size: 0.78rem;
  font-weight: 600;
}

.sheet-app-domain {
  font-size: 0.6rem;
  color: var(--text-muted);
}

.sheet-prompt {
  font-size: 0.7rem;
  color: var(--text-secondary);
  line-height: 1.4;
  margin-bottom: 14px;
}

.sheet-btn-row {
  display: flex;
  gap: 10px;
}

.sheet-btn-cancel, .sheet-btn-add {
  flex: 1;
  padding: 8px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  border-radius: 4px;
  text-align: center;
}

.sheet-btn-cancel {
  background-color: var(--bg-secondary);
  color: var(--text-secondary);
  cursor: pointer;
}

.sheet-btn-add {
  background-color: #1C1B19;
  color: #fff;
  cursor: pointer;
}

/* JIT Dashboard View styles */
.dash-welcome {
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.dash-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-bottom: 1rem;
}

.dash-item {
  background-color: var(--bg-primary);
  border: 1px solid var(--border-muted);
  border-radius: 4px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.dash-item span {
  font-size: 0.55rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.dash-item strong {
  font-size: 0.75rem;
  font-weight: 600;
}

.dash-tip {
  font-size: 0.6rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: auto;
  border-top: 1px solid var(--border-muted);
  padding-top: 8px;
}

.jit-alert-banner {
  background-color: rgba(214, 40, 40, 0.06);
  border: 1px solid rgba(214, 40, 40, 0.15);
  color: #d62828;
  padding: 8px;
  font-size: 0.65rem;
  font-weight: 600;
  border-radius: 2px;
  margin-bottom: 0.75rem;
  text-align: center;
}

.payment-bill-card {
  border: 1px solid var(--border-gold);
  border-radius: 4px;
  padding: 10px;
  background-color: rgba(197, 168, 128, 0.03);
  margin-bottom: 1rem;
}

.bill-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.65rem;
  margin-bottom: 4px;
}

.bill-row:last-child {
  margin-bottom: 0;
}

.bill-row span {
  color: var(--text-muted);
}

.bill-row strong {
  color: var(--text-primary);
}

/* Chat & Comm styling inside phone */
.chat-feed {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 0.85rem;
}

.chat-message {
  padding: 8px 10px;
  border-radius: 8px;
  max-width: 85%;
  font-size: 0.65rem;
  line-height: 1.3;
}

.chat-message.received {
  background-color: var(--bg-primary);
  border: 1px solid var(--border-muted);
  align-self: flex-start;
  border-bottom-left-radius: 2px;
}

.chat-message .sender {
  font-weight: 600;
  color: var(--accent-gold);
  font-size: 0.55rem;
  margin-bottom: 2px;
}

.virtual-ticket {
  border: 1px dashed var(--accent-gold);
  border-radius: 6px;
  background-color: var(--bg-primary);
  overflow: hidden;
  margin-bottom: 1rem;
}

.ticket-header {
  background-color: var(--accent-gold);
  color: white;
  padding: 6px;
  text-align: center;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.ticket-body {
  padding: 10px;
}

.ticket-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.6rem;
  margin-bottom: 4px;
}

.ticket-row:last-child {
  margin-bottom: 0;
}

.ticket-row span {
  color: var(--text-muted);
}

.ticket-row strong {
  color: var(--text-primary);
}

/* Live Video Player mockup inside PWA */
.video-player-mock {
  position: relative;
  width: 100%;
  height: 140px;
  background-color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  overflow: hidden;
}

.video-overlay-bar {
  position: absolute;
  top: 8px;
  left: 8px;
  right: 8px;
  display: flex;
  justify-content: space-between;
  z-index: 10;
}

.live-badge {
  background-color: #d62828;
  padding: 2px 6px;
  border-radius: 2px;
  font-size: 0.5rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  animation: livePulse 1.5s infinite;
}

@keyframes livePulse {
  0% { opacity: 0.7; }
  50% { opacity: 1; }
  100% { opacity: 0.7; }
}

.viewers-count {
  font-size: 0.5rem;
  background-color: rgba(0,0,0,0.6);
  padding: 2px 6px;
  border-radius: 2px;
}

.video-speaker-silhouette {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, #2C2A29 0%, #000000 100%);
  padding: 20px;
  box-sizing: border-box;
}

.silhouette-title {
  font-family: var(--font-serif);
  font-size: 0.85rem;
  font-weight: 500;
  margin-top: 10px;
}

.silhouette-subtitle {
  font-size: 0.55rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.chat-header {
  font-size: 0.6rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 6px;
  border-bottom: 1px solid var(--border-muted);
  padding-bottom: 4px;
}

.live-chat-messages {
  height: 80px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 8px;
}

.live-chat-msg {
  font-size: 0.58rem;
  line-height: 1.3;
}

.live-chat-msg strong {
  color: var(--accent-gold);
}

/* Spinner element */
.spinner-pwa {
  display: inline-block;
  width: 10px;
  height: 10px;
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: 50%;
  border-top-color: white;
  animation: pwaSpin 1s linear infinite;
  margin-right: 4px;
}

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

/* Success Checkmark Circle */
.success-checkmark-circle {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: rgba(52, 199, 89, 0.1);
  color: #34C759;
  border: 2px solid #34C759;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: 1rem;
  animation: checkPop 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) both;
}

@keyframes checkPop {
  0% { transform: scale(0); }
  70% { transform: scale(1.15); }
  100% { transform: scale(1); }
}

.success-message {
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.4;
}

/* Animated sound wave bars for player */
.wave-bar-container {
  display: flex;
  gap: 3px;
  align-items: flex-end;
  height: 20px;
}

.wave-bar {
  width: 3px;
  height: 100%;
  background-color: var(--accent-gold);
  border-radius: 1px;
  animation: soundBounce 0.8s ease-in-out infinite alternate;
}

.wave-bar:nth-child(2) { animation-delay: 0.15s; }
.wave-bar:nth-child(3) { animation-delay: 0.3s; }
.wave-bar:nth-child(4) { animation-delay: 0.45s; }

@keyframes soundBounce {
  from { height: 4px; }
  to { height: 20px; }
}

/* Bento Grid Proof of Work */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 250px;
  gap: 1.5rem;
}

@media (max-width: 992px) {
  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .bento-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
  }
}

.bento-card {
  position: relative;
  background-color: var(--bg-primary);
  border: 1px solid var(--border-light);
  padding: 2.2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  transition: var(--transition-smooth);
  box-shadow: 0 5px 15px rgba(0,0,0,0.01);
}

.bento-card:hover {
  border-color: var(--accent-gold);
  transform: translateY(-2px);
  box-shadow: 0 15px 35px rgba(142,112,68,0.06);
}

/* Spans in Bento */
.bento-colspan-2 {
  grid-column: span 2;
}

.bento-rowspan-2 {
  grid-row: span 2;
}

@media (max-width: 992px) {
  .bento-colspan-2 {
    grid-column: span 2;
  }
  .bento-rowspan-2 {
    grid-row: span 1;
  }
}

@media (max-width: 768px) {
  .bento-colspan-2 {
    grid-column: span 1;
  }
  .bento-rowspan-2 {
    grid-row: span 1;
  }
}

/* Bento content styling */
.bento-tag {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent-gold);
  font-weight: 600;
  display: inline-block;
  margin-bottom: 1.5rem;
}

.bento-title {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 300;
  line-height: 1.3;
  margin-bottom: 0.75rem;
}

.bento-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.bento-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-primary);
  margin-top: 1.5rem;
  transition: var(--transition-fast);
  font-weight: 600;
}

.bento-link:hover {
  color: var(--accent-gold);
  gap: 0.75rem;
}

.bento-link span.arrow {
  transition: var(--transition-fast);
}

.bento-link:hover span.arrow {
  transform: translateX(3px);
}

/* Card 1: Expert Status */
.expert-badge-wrapper {
  position: absolute;
  right: -20px;
  bottom: -20px;
  width: 160px;
  height: 160px;
  opacity: 0.08;
  transition: var(--transition-smooth);
}

.bento-card:hover .expert-badge-wrapper {
  opacity: 0.18;
  transform: rotate(10deg) scale(1.05);
}

.expert-badge-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Card 2: Publication cover */
.bento-pub-bg {
  position: absolute;
  top: 0;
  right: 0;
  width: 40%;
  height: 100%;
  z-index: 1;
}

@media (max-width: 768px) {
  .bento-pub-bg {
    position: relative;
    width: 100%;
    height: 180px;
    margin-top: 1.5rem;
  }
}

.pub-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.75;
  filter: grayscale(1);
  transition: var(--transition-smooth);
}

.bento-card:hover .pub-img {
  opacity: 0.95;
  filter: grayscale(0.4);
}

.bento-pub-content {
  position: relative;
  z-index: 2;
  max-width: 55%;
}

@media (max-width: 768px) {
  .bento-pub-content {
    max-width: 100%;
  }
}

/* Card 3: R&D Lab */
.bento-schema-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.schema-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
  filter: grayscale(0.5) contrast(0.85);
  transition: var(--transition-smooth);
}

.bento-card:hover .schema-img {
  opacity: 0.65;
  filter: grayscale(0.1) contrast(1);
  transform: scale(1.03);
}

.bento-schema-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Footer styling */
footer {
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-muted);
  padding: 6rem 0 3rem 0;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 3rem;
  margin-bottom: 5rem;
}

.footer-logo {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  letter-spacing: 0.05em;
}

.footer-tagline {
  font-size: 1.3rem;
  font-weight: 300;
  max-width: 600px;
  line-height: 1.6;
  color: var(--text-secondary);
}

.footer-socials {
  display: flex;
  gap: 2rem;
}

.footer-social-link {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-secondary);
  transition: var(--transition-fast);
  border-bottom: 1px solid transparent;
}

.footer-social-link:hover {
  color: var(--accent-gold);
  border-bottom-color: var(--accent-gold);
}

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

@media (max-width: 768px) {
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

/* Keyframes animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Responsive improvements for fonts and grid elements */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }
  .hero-subtitle {
    font-size: 1rem;
  }
  .section-title {
    font-size: 2.2rem;
  }
  .modal-container {
    padding: 2rem 1.5rem;
  }
}

/* Language Switcher CSS */
body.lang-ru .en-text {
  display: none !important;
}
body.lang-en .ru-text {
  display: none !important;
}

.lang-switch-btn {
  background: none;
  border: 1px solid var(--border-muted);
  color: var(--text-secondary);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: var(--transition-fast);
  padding: 0.3rem 0.6rem;
  border-radius: 2px;
  text-transform: uppercase;
}

.lang-switch-btn:hover {
  border-color: var(--accent-gold);
  color: var(--accent-gold);
}

/* --- Mobile Layout & Horizontal Scroll Fixes --- */

/* Ecosystem Loop Grid Layout */
.ecosystem-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

@media (max-width: 992px) {
  .ecosystem-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

@media (max-width: 576px) {
  .ecosystem-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* Base HTML/Body Overflows */
html, body {
  overflow-x: hidden;
  width: 100%;
}

/* Responsive Grid and Spacing Overrides */
@media (max-width: 768px) {
  .container {
    padding: 0 1.25rem !important;
  }
  
  /* Header Mobile Optimization */
  header .container {
    gap: 0.5rem;
  }
  
  .logo {
    font-size: 1.05rem;
    gap: 0.35rem;
  }
  
  .logo span {
    font-size: 0.6rem;
    padding: 0.05rem 0.25rem;
  }
  
  .nav-right {
    gap: 0.75rem;
  }
  

  /* JIT Simulator & Phone Mockup Optimization */
  .jit-body {
    padding: 2rem 0.75rem;
  }
  
  .bento-card {
    padding: 1.5rem;
  }
}

@media (max-width: 480px) {
  .logo span {
    display: none !important;
  }
  .jit-tab {
    font-size: 0.65rem;
    padding: 0.75rem 0.5rem;
  }
}

@media (max-width: 576px) {
  .bento-card div[style*="justify-content: space-between"] {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 0.5rem;
  }
}

