/* ==========================================================================
   RowerCore Website Stylesheet
   Theme: Refined Athletic Minimalist & High-Performance Telemetry
   ========================================================================== */

:root {
  /* Colors - Athletic Dark (Default) */
  --bg-main: #070a0f;
  --bg-surface: #0e141f;
  --bg-card: #131a27;
  --bg-card-hover: #182233;
  --bg-input: #0a0f18;
  --bg-header: rgba(7, 10, 15, 0.75);
  --bg-header-scrolled: rgba(7, 10, 15, 0.94);
  --bg-drawer: rgba(7, 10, 15, 0.98);
  --bg-footer: #040609;
  --bg-highlight: rgba(255, 255, 255, 0.04);

  --accent-orange: #ff5722;
  --accent-orange-bright: #ff7043;
  --accent-orange-subtle: rgba(255, 87, 34, 0.12);
  --accent-orange-border: rgba(255, 87, 34, 0.35);

  --accent-cyan: #00e5ff;
  --accent-cyan-subtle: rgba(0, 229, 255, 0.1);
  --accent-green: #10b981;

  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;

  --border-light: rgba(255, 255, 255, 0.08);
  --border-medium: rgba(255, 255, 255, 0.16);
  --border-focus: rgba(255, 87, 34, 0.5);

  --gradient-text-start: #ffffff;
  --shadow-card: 0 18px 40px rgba(0, 0, 0, 0.6);

  /* Fonts */
  --font-display: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-telemetry: 'JetBrains Mono', monospace;

  /* Layout */
  --max-width: 1140px;
  --header-height: 72px;
}

[data-theme="light"] {
  /* Colors - Modern Athletic Light Theme */
  --bg-main: #f8fafc;
  --bg-surface: #ffffff;
  --bg-card: #ffffff;
  --bg-card-hover: #f1f5f9;
  --bg-input: #ffffff;
  --bg-header: rgba(255, 255, 255, 0.88);
  --bg-header-scrolled: rgba(255, 255, 255, 0.97);
  --bg-drawer: rgba(255, 255, 255, 0.98);
  --bg-footer: #f1f5f9;
  --bg-highlight: rgba(15, 23, 42, 0.03);

  --accent-orange: #ea580c;
  --accent-orange-bright: #f97316;
  --accent-orange-subtle: rgba(234, 88, 12, 0.09);
  --accent-orange-border: rgba(234, 88, 12, 0.25);

  --accent-cyan: #0284c7;
  --accent-cyan-subtle: rgba(2, 132, 199, 0.08);
  --accent-green: #059669;

  --text-main: #0f172a;
  --text-muted: #475569;
  --text-dim: #64748b;

  --border-light: rgba(15, 23, 42, 0.08);
  --border-medium: rgba(15, 23, 42, 0.16);
  --border-focus: rgba(234, 88, 12, 0.4);

  --gradient-text-start: #0f172a;
  --shadow-card: 0 10px 30px rgba(15, 23, 42, 0.05);
  color-scheme: light;
}

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

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

[data-theme="light"] {
  color-scheme: light;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

/* Ambient glow */
.ambient-glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(140px);
  z-index: 0;
}
.glow-top {
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 350px;
  background: radial-gradient(circle, rgba(255, 87, 34, 0.14) 0%, rgba(0, 229, 255, 0.06) 60%, transparent 80%);
}
.glow-bottom {
  bottom: 300px;
  right: -80px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0, 229, 255, 0.08) 0%, transparent 70%);
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* Typography */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-main);
  letter-spacing: -0.02em;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.text-gradient {
  background: linear-gradient(135deg, var(--gradient-text-start) 20%, var(--accent-orange-bright) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section {
  padding: 80px 0;
  position: relative;
}

.section-intro {
  margin-bottom: 48px;
}
.section-intro.text-center {
  text-align: center;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}
.section-heading {
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  margin-bottom: 14px;
}
.section-sub {
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--text-muted);
}

.badge-feature {
  display: inline-block;
  font-family: var(--font-telemetry);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--accent-orange-bright);
  background: var(--accent-orange-subtle);
  border: 1px solid var(--accent-orange-border);
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 14px;
  text-transform: uppercase;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  border-radius: 10px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-orange-bright) 0%, var(--accent-orange) 100%);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(255, 87, 34, 0.35);
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(255, 87, 34, 0.5);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--border-medium);
  color: var(--text-main);
}
.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--border-focus);
  transform: translateY(-1px);
}
[data-theme="light"] .btn-outline {
  background: rgba(15, 23, 42, 0.03);
  border-color: var(--border-medium);
  color: var(--text-main);
}
[data-theme="light"] .btn-outline:hover {
  background: rgba(15, 23, 42, 0.08);
  border-color: var(--border-focus);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.88rem;
  border-radius: 8px;
}
.btn-lg {
  padding: 13px 24px;
  font-size: 0.98rem;
}
.btn-full {
  width: 100%;
}
.btn-svg {
  width: 18px;
  height: 18px;
}

/* ==================== HEADER ==================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  background: var(--bg-header);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: all 0.25s ease;
}
.site-header.scrolled {
  background: var(--bg-header-scrolled);
  border-bottom-color: var(--border-light);
  height: 64px;
}
.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
}
.brand-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}
.accent-dot {
  color: var(--accent-orange);
}

.desktop-nav .nav-list {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
}
.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
}
.nav-link:hover,
.nav-link.active {
  color: var(--text-main);
}
.highlighted-nav {
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-badge {
  font-family: var(--font-telemetry);
  font-size: 0.65rem;
  font-weight: 700;
  background: var(--accent-orange);
  color: #fff;
  padding: 1px 6px;
  border-radius: 4px;
  letter-spacing: 0.05em;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Theme Toggle Button */
.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  color: var(--text-main);
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
  flex-shrink: 0;
}
.theme-toggle:hover {
  border-color: var(--border-medium);
  background: var(--bg-card-hover);
  transform: translateY(-1px);
}
.theme-toggle svg {
  width: 18px;
  height: 18px;
}

/* Toggle visibility of sun/moon icons based on data-theme */
[data-theme="dark"] .theme-icon-sun,
:root:not([data-theme="light"]) .theme-icon-sun {
  display: block;
}
[data-theme="dark"] .theme-icon-moon,
:root:not([data-theme="light"]) .theme-icon-moon {
  display: none;
}

[data-theme="light"] .theme-icon-sun {
  display: none;
}
[data-theme="light"] .theme-icon-moon {
  display: block;
}

.mobile-theme-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  margin-top: 6px;
}
.mobile-theme-label {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-main);
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 32px;
  height: 24px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 2px;
}
.mobile-toggle span {
  width: 100%;
  height: 2px;
  background-color: var(--text-main);
  border-radius: 2px;
  transition: all 0.2s ease;
}

/* Mobile Drawer */
.mobile-drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: var(--bg-drawer);
  backdrop-filter: blur(20px);
  z-index: 999;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px 30px;
  transform: translateY(-100%);
  transition: transform 0.35s ease;
}
.mobile-drawer.open {
  transform: translateY(0);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  text-align: center;
}
.mobile-link {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text-muted);
}
.mobile-link:hover {
  color: var(--accent-orange-bright);
}
.mobile-drawer-btn {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* ==================== HERO SECTION ==================== */
.hero-section {
  padding-top: calc(var(--header-height) + 40px);
  padding-bottom: 60px;
}
.hero-container {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  align-items: center;
  gap: 48px;
}
.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-telemetry);
  font-size: 0.74rem;
  color: var(--accent-cyan);
  background: var(--accent-cyan-subtle);
  border: 1px solid rgba(0, 229, 255, 0.25);
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 20px;
}
.pill-dot {
  width: 6px;
  height: 6px;
  background: var(--accent-cyan);
  border-radius: 50%;
}

.hero-title {
  font-size: clamp(2.3rem, 4vw, 3.4rem);
  line-height: 1.12;
  margin-bottom: 18px;
}
.hero-sub {
  font-size: 1.08rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 28px;
  max-width: 580px;
}
.hero-actions {
  display: flex;
  gap: 14px;
  margin-bottom: 34px;
  flex-wrap: wrap;
}

.hero-highlights {
  display: flex;
  gap: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--border-light);
  flex-wrap: wrap;
}
.highlight-item {
  display: flex;
  align-items: center;
  gap: 10px;
}
.highlight-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--accent-orange-subtle);
  border: 1px solid var(--accent-orange-border);
  color: var(--accent-orange-bright);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.highlight-icon svg {
  width: 17px;
  height: 17px;
}
.highlight-item strong {
  display: block;
  font-size: 0.85rem;
  color: var(--text-main);
  line-height: 1.2;
}
.highlight-item span {
  font-size: 0.74rem;
  color: var(--text-dim);
}

/* ==================== DEVICE FRAMES (SMARTPHONE & TABLET) ==================== */
/* Universal Smartphone Mockup (Portrait) */
.phone-frame {
  position: relative;
  width: 100%;
  max-width: 270px;
  background: #0d121c;
  border-radius: 40px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 
    0 20px 48px -10px rgba(0, 0, 0, 0.85),
    0 0 0 1px rgba(255, 255, 255, 0.05),
    inset 0 1px 1px rgba(255, 255, 255, 0.2);
  margin: 0 auto;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.phone-screen {
  position: relative;
  border-radius: 30px;
  overflow: hidden;
  background: #000;
  aspect-ratio: 1344 / 2992;
  display: block;
}

.phone-screen img,
.phone-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.phone-speaker {
  position: absolute;
  top: 13px;
  left: 50%;
  transform: translateX(-50%);
  width: 42px;
  height: 3px;
  background: #1e2635;
  border-radius: 3px;
  z-index: 10;
  pointer-events: none;
}

.phone-camera {
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: 9px;
  height: 9px;
  background: #070a0f;
  border: 1.5px solid #1a2230;
  border-radius: 50%;
  z-index: 10;
  pointer-events: none;
}

.phone-glare {
  position: absolute;
  inset: 0;
  border-radius: 30px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.06) 0%, transparent 40%);
  pointer-events: none;
  z-index: 6;
}

/* Universal Tablet Mockup (Landscape) */
.tablet-frame {
  position: relative;
  width: 100%;
  background: #0d121c;
  border-radius: 20px;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 
    0 24px 50px -10px rgba(0, 0, 0, 0.8),
    0 0 0 1px rgba(255, 255, 255, 0.05),
    inset 0 1px 1px rgba(255, 255, 255, 0.15);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.tablet-screen {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: #000;
  aspect-ratio: 2992 / 1344;
  display: block;
}

.tablet-screen img,
.tablet-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.status-indicator {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
}

/* Hero Device Composition */
.hero-media {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-device-composition {
  position: relative;
  width: 100%;
  max-width: 520px;
}
.hero-tablet {
  width: 100%;
  max-width: 480px;
  margin-left: auto;
}
.hero-phone {
  position: absolute;
  bottom: -35px;
  left: -15px;
  width: 38%;
  max-width: 180px;
  z-index: 5;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(255, 255, 255, 0.15);
  border-radius: 28px;
  padding: 6px;
}
.hero-phone .phone-speaker {
  width: 26px;
  height: 2px;
  top: 10px;
}
.hero-phone .phone-camera {
  width: 7px;
  height: 7px;
  top: 13px;
}
.hero-phone .phone-screen {
  border-radius: 22px;
}


/* ==================== SCHEDULED WORKOUTS SECTION ==================== */
.schedules-section {
  background: linear-gradient(180deg, transparent 0%, rgba(14, 20, 31, 0.5) 100%);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}
.schedules-showcase-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: center;
  gap: 48px;
}

.schedule-details-col {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.schedule-feature-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.feature-icon-bubble {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--accent-orange-subtle);
  border: 1px solid var(--accent-orange-border);
  color: var(--accent-orange-bright);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.feature-icon-bubble svg {
  width: 20px;
  height: 20px;
}
.feature-text h3 {
  font-size: 1.15rem;
  margin-bottom: 6px;
}
.feature-text p {
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--text-muted);
}
.feature-text strong {
  color: var(--text-main);
}

.schedule-visual-col {
  display: flex;
  justify-content: center;
  align-items: center;
}
.schedules-device-pair {
  display: flex;
  gap: 16px;
  justify-content: center;
  align-items: flex-start;
  width: 100%;
  max-width: 480px;
}
.schedule-device-item {
  flex: 1;
  max-width: 220px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.schedule-phone-left {
  transform: translateY(-8px) rotate(-1.5deg);
}
.schedule-phone-right {
  transform: translateY(12px) rotate(1.5deg);
}
.schedule-device-item:hover {
  transform: translateY(-6px) rotate(0deg);
  z-index: 8;
}
.schedule-device-item:hover .phone-frame {
  border-color: var(--accent-orange-border);
}
.device-caption-text {
  margin-top: 14px;
  font-family: var(--font-telemetry);
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--text-muted);
  text-align: center;
  white-space: nowrap;
  letter-spacing: 0.04em;
}

/* ==================== ALL FEATURES SUITE GRID ==================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.feature-box {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 18px;
  padding: 28px 24px;
  transition: transform 0.2s ease, border-color 0.2s ease;
  display: flex;
  flex-direction: column;
}
.feature-box:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.18);
  background: var(--bg-card-hover);
}
.highlighted-feature-box {
  border-color: rgba(255, 87, 34, 0.35);
  background: linear-gradient(180deg, rgba(255, 87, 34, 0.05) 0%, var(--bg-card) 100%);
}
.badge-new-inline {
  font-family: var(--font-telemetry);
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--accent-orange-bright);
  background: var(--accent-orange-subtle);
  border: 1px solid var(--accent-orange-border);
  padding: 2px 7px;
  border-radius: 4px;
  margin-left: 6px;
  vertical-align: middle;
}
.box-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--accent-orange-subtle);
  border: 1px solid var(--accent-orange-border);
  color: var(--accent-orange-bright);
  margin-bottom: 16px;
  transition: transform 0.2s ease, background 0.2s ease;
}
.box-icon svg {
  width: 22px;
  height: 22px;
}
.feature-box:hover .box-icon {
  transform: scale(1.05);
  background: rgba(255, 87, 34, 0.2);
}
.feature-box h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
  color: var(--text-main);
}
.feature-box p {
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--text-muted);
}
.feature-detail-list {
  list-style: none;
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-top: 1px solid var(--border-light);
  padding-top: 14px;
}
.feature-detail-list li {
  font-size: 0.84rem;
  color: var(--text-muted);
  position: relative;
  padding-left: 18px;
  line-height: 1.5;
}
.feature-detail-list li::before {
  content: '›';
  color: var(--accent-orange-bright);
  font-weight: 700;
  position: absolute;
  left: 0;
  font-size: 1.1rem;
  top: -2px;
}
.feature-detail-list li strong {
  color: var(--text-main);
}
.feature-detail-list li code {
  font-family: var(--font-telemetry);
  background: rgba(255, 255, 255, 0.07);
  padding: 1px 5px;
  border-radius: 4px;
  font-size: 0.8em;
}

/* ==================== COCKPIT SECTION ==================== */
.cockpit-content-wrap {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  align-items: center;
  gap: 44px;
}
.cockpit-text p {
  font-size: 1rem;
  margin-bottom: 20px;
}
.clean-bullet-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.clean-bullet-list li {
  font-size: 0.9rem;
  color: var(--text-muted);
  position: relative;
  padding-left: 20px;
}
.clean-bullet-list li::before {
  content: '•';
  color: var(--accent-orange-bright);
  font-size: 1.4rem;
  position: absolute;
  left: 0;
  top: -3px;
}
.clean-bullet-list li strong {
  color: var(--text-main);
}

.cockpit-image-box {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cockpit-tablet {
  width: 100%;
}
.cockpit-meta-bar {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.cockpit-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-telemetry);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-muted);
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  padding: 5px 14px;
  border-radius: 100px;
  letter-spacing: 0.04em;
}

/* ==================== GALLERY ==================== */
.simple-gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.gallery-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 20px;
  cursor: pointer;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
  padding: 16px 12px 14px 12px;
}
.gallery-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent-orange-border);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.7);
}
.gallery-phone-wrap {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-bottom: 12px;
}
.gallery-phone {
  max-width: 180px;
  border-radius: 30px;
  padding: 7px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.75);
}
.gallery-phone .phone-screen {
  border-radius: 24px;
}
.gallery-phone .phone-speaker {
  width: 26px;
  height: 2px;
  top: 9px;
}
.gallery-phone .phone-camera {
  width: 6px;
  height: 6px;
  top: 13px;
}
.card-caption {
  padding: 4px 6px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.card-caption strong {
  font-size: 0.92rem;
  color: var(--text-main);
}
.card-caption span {
  font-size: 0.76rem;
  color: var(--text-dim);
}

/* ==================== COMPATIBILITY ==================== */
.compatibility-container {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 32px;
}
.compat-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.compat-item {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 14px 16px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.compat-check {
  color: var(--accent-green);
  font-weight: 700;
  font-family: var(--font-telemetry);
  font-size: 1rem;
}
.compat-item strong {
  font-size: 0.92rem;
  display: block;
  margin-bottom: 2px;
}
.compat-item p {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.compat-connect-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: 14px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.compat-card-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: flex-start;
  font-family: var(--font-telemetry);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #10b981;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 4px 10px;
  border-radius: 100px;
  margin-bottom: 12px;
}
.android-tag-svg {
  width: 14px;
  height: 14px;
  color: #10b981;
}
.compat-connect-card h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}
.compat-os-note {
  font-size: 0.86rem;
  line-height: 1.5;
  color: var(--text-muted);
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-light);
}
.setup-steps {
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 0.88rem;
  color: var(--text-muted);
}
.setup-steps li {
  line-height: 1.45;
}

/* ==================== CONTACT SECTION ==================== */
.contact-box {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 20px;
  padding: 44px;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 44px;
}
.contact-intro p {
  font-size: 0.95rem;
  margin-bottom: 22px;
}
.email-highlight-row {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: 10px;
  padding: 12px 16px;
  margin-bottom: 10px;
}
.email-link {
  font-family: var(--font-telemetry);
  font-size: 1rem;
  font-weight: 700;
  color: var(--accent-orange-bright);
}
.btn-copy {
  margin-left: auto;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 6px;
  padding: 6px 12px;
  color: var(--text-main);
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}
.btn-copy:hover {
  background: var(--accent-orange-subtle);
  border-color: var(--accent-orange-border);
  color: var(--accent-orange-bright);
}
.copy-feedback {
  font-family: var(--font-telemetry);
  font-size: 0.76rem;
  color: var(--accent-green);
  opacity: 0;
  transition: opacity 0.2s ease;
}
.copy-feedback.show {
  opacity: 1;
}

.simple-contact-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-field label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
}
.input-text {
  background: var(--bg-input);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 10px 12px;
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.input-text:focus {
  border-color: var(--accent-orange);
  box-shadow: 0 0 0 3px var(--accent-orange-subtle);
}
select.input-text option {
  background: var(--bg-card);
  color: var(--text-main);
}
.btn-send-email {
  padding: 16px 28px;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  border-radius: 12px;
  gap: 10px;
  margin-top: 6px;
  box-shadow: 0 6px 22px rgba(255, 87, 34, 0.4);
}
.btn-send-email:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(255, 87, 34, 0.55);
}
.btn-send-email .btn-svg {
  width: 20px;
  height: 20px;
}

.btn-send-email:disabled {
  opacity: 0.75;
  cursor: not-allowed;
  transform: none !important;
}

.btn-spinner {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: spin 0.75s linear infinite;
  display: inline-block;
}

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

.form-status-alert {
  display: flex;
  gap: 14px;
  padding: 16px 18px;
  border-radius: 10px;
  margin-top: 8px;
  font-size: 0.9rem;
  line-height: 1.5;
  animation: fadeIn 0.3s ease;
}

.form-status-icon {
  font-size: 1.25rem;
  font-weight: 700;
  flex-shrink: 0;
  line-height: 1.2;
}

.form-status-body strong {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.form-status-body p {
  margin: 0;
  font-size: 0.88rem;
}

.form-status-actions {
  margin-top: 10px;
}

.form-status-success {
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #a7f3d0;
}
.form-status-success .form-status-icon {
  color: var(--accent-green);
}
.form-status-success strong {
  color: #ecfdf5;
}

.form-status-error {
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.35);
  color: #fca5a5;
}
.form-status-error .form-status-icon {
  color: #ef4444;
}
.form-status-error strong {
  color: #fef2f2;
}

[data-theme="light"] .form-status-success {
  background: #ecfdf5;
  border-color: #a7f3d0;
  color: #065f46;
}
[data-theme="light"] .form-status-success strong {
  color: #064e3b;
}

[data-theme="light"] .form-status-error {
  background: #fef2f2;
  border-color: #fecaca;
  color: #991b1b;
}
[data-theme="light"] .form-status-error strong {
  color: #7f1d1d;
}

.form-status-actions .btn-outline {
  padding: 8px 16px;
  font-size: 0.82rem;
  font-weight: 600;
  border-radius: 6px;
}

.text-link {
  color: var(--accent-orange-bright);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.text-link:hover {
  color: #ffffff;
}

.form-note {
  font-size: 0.75rem;
  color: var(--text-dim);
  text-align: center;
  margin-top: 6px;
}

/* ==================== FOOTER ==================== */
.site-footer {
  border-top: 1px solid var(--border-light);
  padding: 40px 0;
  background: var(--bg-footer);
}
.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}
.footer-left {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
}
.footer-logo {
  width: 22px;
  height: 22px;
  border-radius: 4px;
}
.footer-desc {
  font-size: 0.82rem;
  color: var(--text-dim);
}
.footer-contact {
  font-size: 0.82rem;
  color: var(--text-muted);
}
.footer-contact a {
  color: var(--accent-orange-bright);
}

.footer-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}
.footer-links {
  display: flex;
  gap: 16px;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.footer-links a:hover {
  color: var(--accent-orange-bright);
}
.footer-copy {
  font-size: 0.78rem;
  color: var(--text-dim);
}

/* ==================== LIGHTBOX MODAL ==================== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.lightbox.active {
  opacity: 1;
  pointer-events: auto;
}
.lightbox-overlay {
  position: absolute;
  inset: 0;
  background: rgba(4, 6, 9, 0.9);
  backdrop-filter: blur(10px);
}
.lightbox-panel {
  position: relative;
  z-index: 2001;
  max-width: 85vw;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.lightbox-close-btn {
  position: absolute;
  top: -40px;
  right: 0;
  background: transparent;
  border: none;
  font-size: 2rem;
  color: #fff;
  cursor: pointer;
}
.lightbox-photo {
  max-height: 78vh;
  max-width: 85vw;
  object-fit: contain;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.9);
}
.lightbox-info {
  margin-top: 14px;
  text-align: center;
}
.lightbox-info h3 {
  font-size: 1.15rem;
  margin-bottom: 2px;
}
.lightbox-info p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1024px) {
  .simple-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .hero-container,
  .schedules-showcase-grid,
  .cockpit-content-wrap,
  .compatibility-container,
  .contact-box {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .schedules-device-pair {
    margin-top: 14px;
  }

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

  .compat-list {
    grid-template-columns: 1fr;
  }

  .desktop-nav {
    display: none;
  }
  .mobile-toggle {
    display: flex;
  }

  .footer-right {
    align-items: flex-start;
  }
}

@media (max-width: 600px) {
  .hero-actions {
    flex-direction: column;
  }
  .hero-actions .btn {
    width: 100%;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .simple-gallery-grid {
    grid-template-columns: 1fr;
  }
  .hero-phone {
    width: 44%;
    max-width: 145px;
    bottom: -22px;
    left: -5px;
  }
  .schedules-device-pair {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }
  .schedule-phone-left,
  .schedule-phone-right {
    transform: none;
    max-width: 250px;
    width: 100%;
  }
  .contact-box {
    padding: 24px;
  }
}

/* ==================== LIGHT THEME POLISH OVERRIDES ==================== */
[data-theme="light"] .schedules-section {
  background: linear-gradient(180deg, transparent 0%, rgba(241, 245, 249, 0.85) 100%);
}

[data-theme="light"] .phone-frame,
[data-theme="light"] .tablet-frame {
  box-shadow: 
    0 18px 42px -10px rgba(15, 23, 42, 0.22),
    0 2px 10px rgba(15, 23, 42, 0.08);
  border-color: rgba(15, 23, 42, 0.16);
}

[data-theme="light"] .gallery-card:hover {
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.12);
}

[data-theme="light"] .feature-detail-list li code {
  background: rgba(15, 23, 42, 0.06);
  color: var(--text-main);
}

[data-theme="light"] .lightbox-overlay {
  background: rgba(15, 23, 42, 0.8);
}

[data-theme="light"] .lightbox-photo {
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.45);
}

[data-theme="light"] .lightbox-info h3 {
  color: #ffffff;
}

[data-theme="light"] .lightbox-info p {
  color: #cbd5e1;
}
