/* ============================================
   Modern Components CSS
   For v2 Refactoring
   ============================================ */

/* CSS Custom Properties for theming */
:root {
  --color-primary: #f0ad4e;
  --color-primary-dark: #ec971f;
  --color-secondary: #d9534f;
  --color-text-dark: #333;
  --color-text-light: #fff;
  --color-bg-light: #f5f5f5;
  --color-border: #ddd;
  --transition-speed: 0.3s ease;
  --border-radius: 4px;
}

/* Announcement Bar - Single, Sleek Dismissible Bar */
#announcement-bar {
  background: linear-gradient(90deg, #fff7e0, #ffe0a8);
  border-bottom: 3px solid var(--color-primary);
  padding: 14px 0;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 99998;
}

/* Adjust header to appear below announcement bar */
#header.fixed-top {
  top: 0px !important;
  /* Allow for v2 banner 
  top: 48px !important; */
}

/* Adjust body content to account for header positioning */
/* Note: Don't add extra padding - header positioning is fixed */

#announcement-bar .container {
  position: relative;
}

.announcement-content {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  font-weight: 600;
}

.announcement-icon {
  font-size: 1.3em;
  margin-right: 4px;
}

.announcement-label {
  color: #d9534f;
  font-size: 0.9em;
  min-width: 60px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 700;
}

.announcement-text {
  color: #333;
  font-size: 0.95em;
  flex: 1;
  min-width: 200px;
  text-align: center;
}

.announcement-link {
  color: #d9534f;
  font-weight: 700;
  text-decoration: underline;
  margin-left: 8px;
  transition: opacity var(--transition-speed);
}

.announcement-link:hover {
  opacity: 0.8;
}

#announcement-close-btn {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 24px;
  line-height: 1;
  border: none;
  background: transparent;
  color: #666;
  cursor: pointer;
  padding: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 3px;
  transition: background-color var(--transition-speed);
}

#announcement-close-btn:hover {
  background-color: rgba(0, 0, 0, 0.1);
}

#announcement-close-btn:focus {
  outline: 2px solid #333;
  outline-offset: 2px;
}

/* Beta Badge */
.badge-beta {
  background-color: var(--color-primary);
  color: var(--color-text-dark);
  font-size: 0.65em;
  padding: 2px 6px;
  margin-left: 6px;
  border-radius: 3px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: inline-block;
}

/* Navigation CTA Button */
.nav-cta {
  margin-left: 8px !important;
  padding: 6px 12px !important;
  font-size: 0.9em;
}

.nav-cta i {
  margin-right: 4px;
}

@media (max-width: 768px) {
  .nav-cta {
    display: block;
    width: 100%;
    margin: 12px 0 !important;
    text-align: center;
  }

  .announcement-content {
    flex-direction: column;
    gap: 8px;
  }

  .announcement-text {
    font-size: 0.85em;
  }
}

/* Segmented Toggle Switch for v1/v2 Version Selection */
.version-toggle-container {
  text-align: center;
  margin: 30px 0;
}

.version-toggle {
  display: inline-flex;
  background-color: #ffffff;
  border-radius: 24px;
  padding: 4px;
  gap: 0;
  margin: 20px auto;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  border: 1px solid #e0e0e0;
  position: relative;
  margin-left: auto;
  margin-right: auto;
}

.version-toggle-btn {
  padding: 16px 36px;
  border: none;
  background-color: #ffffff;
  color: #999;
  font-weight: 600;
  font-size: 1em;
  cursor: pointer;
  border-radius: 20px;
  transition: color var(--transition-speed), font-weight var(--transition-speed);
  position: relative;
  z-index: 2;
  letter-spacing: 0.5px;
  flex: 1;
  text-align: center;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 400px;
}

.version-toggle-btn i {
  font-size: 1.5em;
}

.version-text {
  font-size: 1.4em;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.version-desc {
  font-size: 0.95em;
  font-weight: 500;
  text-transform: capitalize;
  color: inherit;
  flex-basis: 100%;
}

.version-toggle-btn:hover {
  color: #666;
}

.version-toggle-btn.active {
  background-color: transparent;
  color: #000000;
  font-weight: 700;
}

.version-toggle-slider {
  position: absolute;
  top: 4px;
  left: 4px;
  height: calc(100% - 8px);
  width: calc(50% - 4px);
  background-color: #ff9500;
  border-radius: 20px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  z-index: 1;
  transition: left 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
  pointer-events: none;
}

.version-toggle-slider.active {
  left: calc(50% + 4px);
}

.version-toggle-badge {
  font-size: 0.65em;
  background-color: var(--color-secondary);
  color: white;
  padding: 1px 4px;
  border-radius: 2px;
  margin-left: 4px;
  display: inline-block;
}

/* OS Tabs for Download Section */
.os-tabs-wrapper {
  margin: 20px 0;
}

.os-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  border-bottom: 2px solid var(--color-border);
  margin-bottom: 20px;
  list-style: none;
  padding: 0;
}

.os-tab {
  margin: 0;
  padding: 0;
}

.os-tab-btn {
  display: block;
  padding: 12px 16px;
  border: none;
  background: transparent;
  color: #666;
  font-weight: 600;
  cursor: pointer;
  border-bottom: 3px solid transparent;
  transition: all var(--transition-speed);
  position: relative;
  margin-bottom: -2px;
  font-size: 0.95em;
}

.os-tab-btn:hover {
  color: var(--color-primary);
  background-color: #f9f9f9;
}

.os-tab-btn.active {
  color: var(--color-primary-dark);
  border-bottom-color: var(--color-primary);
  font-weight: 700;
}

.os-content {
  display: none;
}

.os-content.active {
  display: block;
  animation: fadeIn 0.3s ease;
}

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

/* OS Download Cards */
.download-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin: 20px 0;
}

.download-card {
  background: #f9f9f9;
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius);
  padding: 20px;
  transition: all var(--transition-speed);
  display: flex;
  flex-direction: column;
}

.download-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border-color: var(--color-primary);
  transform: translateY(-2px);
}

.download-card-icon {
  font-size: 2em;
  color: var(--color-primary);
  margin-bottom: 12px;
}

.download-card-title {
  font-weight: 700;
  color: var(--color-text-dark);
  margin-bottom: 8px;
  font-size: 1.1em;
}

.download-card-desc {
  color: #666;
  font-size: 0.9em;
  margin-bottom: 12px;
  flex-grow: 1;
}

.download-btn {
  display: inline-block;
  padding: 8px 12px;
  background-color: var(--color-primary);
  color: var(--color-text-dark);
  text-decoration: none;
  border-radius: 3px;
  font-weight: 600;
  font-size: 0.85em;
  text-align: center;
  transition: background-color var(--transition-speed);
}

.download-btn:hover {
  background-color: var(--color-primary-dark);
  color: white;
  text-decoration: none;
}

.recommended-badge {
  display: inline-block;
  background-color: #5cb85c;
  color: white;
  padding: 4px 8px;
  border-radius: 3px;
  font-size: 0.7em;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 12px;
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin: 40px 0;
}

.feature-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius);
  padding: 24px;
  text-align: center;
  transition: all var(--transition-speed);
}

.feature-card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  transform: translateY(-4px);
  border-color: var(--color-primary);
}

.feature-icon {
  font-size: 2.5em;
  color: var(--color-primary);
  margin-bottom: 16px;
}

.feature-title {
  font-weight: 700;
  font-size: 1.1em;
  color: var(--color-text-dark);
  margin-bottom: 12px;
}

.feature-description {
  color: #666;
  line-height: 1.6;
  font-size: 0.95em;
}

/* v2 Beta Callout Section */
.v2-beta-section {
  background: linear-gradient(135deg, #f9f9f9 0%, #fff 100%);
  border-left: 4px solid var(--color-primary);
  border-radius: 4px;
  padding: 40px;
  margin: 40px 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.v2-beta-badge {
  display: inline-block;
  background-color: var(--color-primary);
  color: white;
  padding: 6px 12px;
  border-radius: 3px;
  font-size: 0.75em;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.v2-beta-title {
  font-size: 1.8em;
  font-weight: 700;
  color: var(--color-text-dark);
  margin-bottom: 20px;
}

.v2-comparison {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin: 20px 0;
}

.v2-comparison-col {
  padding: 20px;
  background: white;
  border-radius: 4px;
  border: 1px solid var(--color-border);
}

.v2-comparison-col h3 {
  font-weight: 700;
  margin-bottom: 16px;
  font-size: 1.2em;
  color: var(--color-text-dark);
}

.v2-feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.v2-feature-list li {
  padding: 8px 0;
  border-bottom: 1px solid #f0f0f0;
  font-size: 0.95em;
  color: #666;
}

.v2-feature-list li:last-child {
  border-bottom: none;
}

.v2-feature-list .checkmark {
  color: #5cb85c;
  font-weight: 700;
  margin-right: 8px;
}

.v2-feature-list .dash {
  color: #ccc;
  margin-right: 8px;
}

.v2-feature-list .new-badge {
  background-color: var(--color-primary);
  color: var(--color-text-dark);
  font-size: 0.65em;
  padding: 2px 6px;
  border-radius: 2px;
  margin-left: 8px;
  font-weight: 700;
  text-transform: uppercase;
}

@media (max-width: 768px) {
  .v2-comparison {
    grid-template-columns: 1fr;
  }

  .v2-beta-section {
    padding: 24px;
  }

  .v2-beta-title {
    font-size: 1.4em;
  }
}

/* Accordion (FAQ) */
details {
  margin-bottom: 12px;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  overflow: hidden;
}

details summary {
  padding: 16px;
  background-color: #f9f9f9;
  cursor: pointer;
  font-weight: 600;
  user-select: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background-color var(--transition-speed);
}

details summary:hover {
  background-color: #f0f0f0;
}

details summary::after {
  content: '▼';
  display: inline-block;
  margin-left: 12px;
  transition: transform var(--transition-speed);
  color: var(--color-primary);
  font-size: 0.8em;
  flex-shrink: 0;
}

details[open] summary::after {
  transform: rotate(-180deg);
}

details[open] summary {
  background-color: #f0f0f0;
}

.accordion-content {
  padding: 16px;
  background-color: white;
  line-height: 1.6;
  color: #666;
}

.accordion-content p {
  margin: 0 0 12px 0;
}

.accordion-content p:last-child {
  margin-bottom: 0;
}

.accordion-beta-badge {
  display: inline-block;
  background-color: var(--color-primary);
  color: var(--color-text-dark);
  font-size: 0.65em;
  padding: 2px 6px;
  border-radius: 2px;
  margin-left: 8px;
  font-weight: 700;
  text-transform: uppercase;
}

/* Voice Command Cards (Alexa mockup-style) */
.voice-command-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
  margin: 20px 0;
}

.voice-command-card {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  color: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform var(--transition-speed);
}

.voice-command-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.voice-command-icon {
  font-size: 2em;
  color: var(--color-primary);
  margin-bottom: 12px;
}

.voice-command-text {
  font-size: 0.9em;
  line-height: 1.6;
  font-style: italic;
}

.voice-command-category {
  font-size: 0.75em;
  text-transform: uppercase;
  color: #999;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

/* Trust Strip (Hero Section) */
.trust-strip {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  margin: 24px 0;
  font-size: 0.95em;
  font-weight: 600;
  color: #fff;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.trust-item::before {
  content: '✓';
  color: #5cb85c;
  font-weight: 700;
  font-size: 1.1em;
}

/* ============================================
   Download Section - v1/v2 Toggle & OS Tabs
   ============================================ */

/* ============================================
   Typography & Font Updates
   ============================================ */
h1, h2, h3, h4, h5, h6,
.download-card-title,
.download-card-header,
.version-toggle-btn,
.version-text,
.version-desc,
.platform-tab-btn,
.download-card-title {
  font-family: 'Inter', system-ui, sans-serif;
}

/* Keep Black Ops One font for logo */
.logo h1 {
  font-family: 'Black Ops One', cursive !important;
}

/* Keep monospace only for version numbers and architecture tags */
.download-card-version,
code {
  font-family: 'Roboto Mono', 'Courier New', monospace;
}

/* ============================================
   Color & Contrast Improvements
   ============================================ */
.download-card-compat {
  color: #475569;
  font-size: 0.9em;
  margin: 8px 0 0;
  line-height: 1.4;
}

/* Download Button - High Contrast */
.download-btn {
  flex: 1;
  min-width: 100px;
  padding: 10px 14px;
  background: #0F172A;
  color: #FFFFFF;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-decoration: none;
  font-size: 0.9em;
  font-family: 'Inter', system-ui, sans-serif;
}

.download-btn:hover {
  background: #0284C7;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.3);
  color: #FFFFFF;
}

.download-btn.btn-secondary {
  background: white;
  color: #0F172A;
  border: 2px solid #0F172A;
}

.download-btn.btn-secondary:hover {
  background: #0F172A;
  color: white;
}

.download-btn-small {
  flex: 1;
  min-width: 80px;
  padding: 8px 12px;
  font-size: 0.85em;
}

/* ============================================
   Primary OS Spotlight Card
   ============================================ */
.primary-os-spotlight {
  background: linear-gradient(135deg, #f8fbff, #f0f7ff);
  border: 2px solid #0284C7;
  border-radius: 12px;
  padding: 32px;
  margin-bottom: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: 0 8px 24px rgba(2, 132, 199, 0.15);
}

.primary-os-spotlight .download-card-modern {
  background: white;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  padding: 24px;
  width: 100%;
  max-width: 500px;
  height: auto;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.primary-os-spotlight .download-card-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 20px;
  gap: 12px;
  width: 100%;
}

.primary-os-spotlight .download-card-icon {
  width: 64px;
  height: 64px;
  background: #E0F2FE;
  border-radius: 12px;
}

.primary-os-spotlight .download-card-icon img {
  width: 48px;
  height: 48px;
}

.primary-os-spotlight .download-card-title {
  font-size: 1.5em;
  font-weight: 700;
  color: #0F172A;
  margin-bottom: 8px;
}

.primary-os-spotlight .download-card-compat {
  color: #64748B;
  font-size: 1em;
  margin: 12px 0;
  max-width: 500px;
}

.primary-os-spotlight .download-card-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 20px;
  width: 100%;
}

.primary-os-spotlight .download-btn {
  flex: 0 1 auto;
  padding: 12px 24px;
  font-size: 0.95em;
}

.primary-os-spotlight .secondary-links {
  margin-top: 16px;
}

.primary-os-spotlight .secondary-links a {
  color: #0284C7;
  font-size: 0.9em;
  text-decoration: none;
  display: inline-block;
  margin: 0 12px;
}

.primary-os-spotlight .secondary-links a:hover {
  text-decoration: underline;
}

/* ============================================
   Platform Tab Bar
   ============================================ */
.platform-tabs-wrapper {
  margin: 30px 0 40px;
  text-align: center;
}

.platform-tabs-label {
  font-family: 'Inter', system-ui, sans-serif;
  display: block;
  color: #64748B;
  font-weight: 600;
  margin-bottom: 12px;
  font-size: 0.95em;
}

.platform-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  list-style: none;
  padding: 0;
  margin: 0;
}

.platform-tab-btn {
  padding: 10px 18px;
  border: 2px solid #E2E8F0;
  background: white;
  color: #475569;
  cursor: pointer;
  font-weight: 600;
  border-radius: 8px;
  transition: all 0.3s ease;
  font-size: 0.9em;
  font-family: 'Inter', system-ui, sans-serif;
  display: inline-block;
}

.platform-tab-btn:hover {
  border-color: #0284C7;
  color: #0284C7;
  background: #F0F9FF;
}

.platform-tab-btn.active {
  background: #0284C7;
  color: white;
  border-color: #0284C7;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.25);
}

/* ============================================
   Card Alignment & Layout Consolidation
   ============================================ */
.download-cards-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin: 30px 0;
}

.download-card-modern {
  background: white;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  padding: 40px 24px;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  text-align: center;
}

.download-card-modern:hover {
  border-color: #0284C7;
  box-shadow: 0 8px 20px rgba(2, 132, 199, 0.15);
  transform: translateY(-4px);
}

.download-card-modern.recommended {
  border: 2px solid #0284C7;
  background: linear-gradient(135deg, #F0F9FF, #F7FEFD);
  position: relative;
}

.download-card-modern.recommended::before {
  content: 'RECOMMENDED';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: #0284C7;
  color: white;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.75em;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.download-card-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 16px;
  gap: 12px;
  width: 100%;
}

.download-card-header > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  width: 100%;
}

.download-card-icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #F1F5F9;
  border-radius: 8px;
  flex-shrink: 0;
}

.download-card-icon img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.download-card-icon i {
  font-size: 2.2em;
  color: #0284C7;
}

.download-card-title {
  margin: 0;
  font-size: 1.5em;
  font-weight: 700;
  color: #0F172A;
  font-family: 'Inter', system-ui, sans-serif;
}

.download-card-version {
  display: inline-block;
  background: #F1F5F9;
  color: #64748B;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 0.8em;
  margin-top: 6px;
  font-weight: 500;
  font-family: 'Roboto Mono', monospace;
}

.download-card-compat {
  color: #64748B;
  font-size: 0.95em;
  margin: 12px 0 0;
  line-height: 1.6;
  font-family: 'Inter', system-ui, sans-serif;
  max-width: 100%;
}

.download-card-links {
  margin-top: 16px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 100%;
}

.download-card-links a {
  color: #0284C7;
  text-decoration: none;
  font-size: 0.95em;
  display: inline-block;
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 500;
}

.download-card-links a:hover {
  text-decoration: underline;
}

.download-card-links a i {
  margin-right: 6px;
}

.download-card-buttons {
  display: flex;
  gap: 10px;
  margin-top: auto;
  flex-direction: column;
  width: 100%;
  align-items: center;
  justify-content: center;
}

.download-card-buttons .download-btn {
  min-width: 180px;
  width: auto;
  max-width: 280px;
}

.download-card-buttons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 10px;
  width: 100%;
}

/* ============================================
   Beta Toggle & Info Banner
   ============================================ */
.version-toggle-btn {
  font-family: 'Inter', system-ui, sans-serif;
}

.v2-beta-notice {
  background: linear-gradient(135deg, #E0F2FE, #F0F9FF);
  border: 2px solid #0284C7;
  border-radius: 8px;
  padding: 20px;
  margin-top: 20px;
  text-align: center;
}

.v2-beta-notice-title {
  color: #0284C7;
  font-weight: 700;
  margin-bottom: 8px;
  font-size: 1.1em;
  font-family: 'Inter', system-ui, sans-serif;
}

.v2-beta-notice-text {
  color: #0F172A;
  margin-bottom: 12px;
  font-size: 0.95em;
  font-family: 'Inter', system-ui, sans-serif;
}

.beta-notice-banner {
  background: #FEF3C7;
  border: 1px solid #FCD34D;
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.beta-notice-banner::before {
  content: "ℹ";
  font-size: 1.5em;
  color: #F59E0B;
  flex-shrink: 0;
}

.v2-beta-license-note {
  background: white;
  padding: 12px;
  border-radius: 6px;
  color: #0284C7;
  font-weight: 500;
  font-size: 0.9em;
  display: inline-block;
  margin-top: 10px;
  font-family: 'Inter', system-ui, sans-serif;
}

  position: absolute;
  top: -14px;
  left: 20px;
  background: #17a2b8;
  color: white;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.7em;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.comparison-title {
  font-size: 1.5em;
  font-weight: 600;
  color: #333;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.comparison-title i {
  font-size: 1.2em;
  color: var(--color-primary);
}

.comparison-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid #f0f0f0;
}

.comparison-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.comparison-icon {
  margin-right: 12px;
  font-size: 1.1em;
  flex-shrink: 0;
  margin-top: 2px;
}

.comparison-icon.check {
  color: #28a745;
}

.comparison-icon.feature {
  color: var(--color-primary);
}

.comparison-text {
  color: #555;
  font-size: 0.95em;
  line-height: 1.4;
}

.comparison-text strong {
  color: #333;
  font-weight: 600;
}

.comparison-badge {
  display: inline-block;
  background: #fff3cd;
  color: #856404;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.75em;
  font-weight: 600;
  margin-left: 6px;
}

/* v2 CTA Button Container */
.v2-cta-container {
  text-align: center;
  margin-top: 50px;
}

.v2-cta-button {
  display: inline-block;
  background: #17a2b8;
  color: white;
  padding: 16px 40px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 1.05em;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(23, 162, 184, 0.3);
}

.v2-cta-button:hover {
  background: #138496;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(23, 162, 184, 0.4);
  text-decoration: none;
  color: white;
}

.v2-cta-button i {
  margin-right: 8px;
}

/* v2 Comparison Container - Two-column grid for v1/v2 comparison */
.v2-comparison-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin: 40px 0;
}

.comparison-column {
  padding: 30px;
  background: white;
  border-radius: 8px;
  border: 1px solid #e0e0e0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.comparison-column:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.comparison-column.v2-featured {
  border: 2px solid var(--color-primary);
  box-shadow: 0 4px 16px rgba(242, 158, 11, 0.15);
  transform: scale(1.02);
}

/* Hidden content for v1/v2 toggle */
.version-content {
  display: none;
}

.version-content.active {
  display: block;
  animation: fadeIn 0.3s ease;
}

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

/* Responsive adjustments */
@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }

  .download-cards {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  }
}

@media (max-width: 768px) {
  .os-tabs {
    gap: 4px;
  }

  .os-tab-btn {
    padding: 10px 12px;
    font-size: 0.85em;
  }

  .download-cards {
    grid-template-columns: 1fr;
  }

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

  .voice-command-cards {
    grid-template-columns: 1fr;
  }

  .trust-strip {
    gap: 16px;
    font-size: 0.85em;
  }

  #announcement-close-btn {
    right: 8px;
  }

  .v2-comparison-container {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .comparison-column.v2-featured {
    transform: scale(1);
  }

  .v2-beta-title {
    font-size: 1.6em;
  }

  .comparison-title {
    font-size: 1.2em;
  }
}

/* Utility classes */
.text-center {
  text-align: center;
}

.mt-20 {
  margin-top: 20px;
}

.mb-20 {
  margin-bottom: 20px;
}

.mt-40 {
  margin-top: 40px;
}

.mb-40 {
  margin-bottom: 40px;
}

/* ============================================
   Z-Index Fix: Content above cover overlays
   ============================================ */

/* Ensure cover spans don't block interaction or render above content */
.cover,
span.cover {
  pointer-events: none !important;
  z-index: 1 !important;
}

/* Ensure containers have higher z-index than covers */
.container {
  position: relative;
  z-index: 2;
}

/* Ensure all major content sections have proper z-index */
section > .container,
section > .row,
section > div:not(.cover) {
  position: relative;
  z-index: 2;
}

/* Ensure text and interactive elements are above covers */
.heading,
.info-box,
.btn,
.text-white,
.text-gray-2,
h1, h2, h3, h4, h5, h6,
p {
  position: relative;
  z-index: 3;
}

/* Contact Us section specifically - ensure it's readable */
#section-8 {
  position: relative;
}

#section-8 .container {
  position: relative;
  z-index: 10;
}

#section-8 .cover {
  z-index: 1 !important;
}

/* Services section - ensure features are visible */
.services-section .container {
  position: relative;
  z-index: 10;
}

.services-section .cover {
  z-index: 1 !important;
}

/* Voice commands section background fix */
.voice-commands-section {
  position: relative;
  z-index: 1;
}

.voice-commands-section .container {
  position: relative;
  z-index: 2;
}

/* ============================================
   Hero/Intro Section - Announcement Bar Adjustment
   ============================================ */

/* Adjust intro caption padding to account for announcement bar + header
   Original padding-top: 60px
   Add 48px for announcement bar + header positioning
*/
#intro .intro-caption {
  padding-top: 108px !important;
}

/* Lighten the cover overlay slightly for better visibility */
#intro .cover {
  background-color: rgba(0, 7, 10, 0.3) !important;
}

/* Ensure intro content is properly positioned and visible */
#intro .intro-caption h1,
#intro .intro-caption p,
#intro .trust-strip {
  position: relative;
  z-index: 10;
}

/* ============================================
   Platform Selector & Featured Card
   ============================================ */

.platform-selector-wrapper {
  display: flex;
  justify-content: center;
  margin: 40px 0;
}

.platform-selector-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

.platform-selector-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border: 2px solid #E2E8F0;
  border-radius: 8px;
  background: white;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 13px;
  font-weight: 500;
  color: #0F172A;
  text-align: center;
}

.platform-selector-btn img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.platform-selector-btn:hover {
  border-color: #0284C7;
  background: #f8fbff;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.15);
}

.platform-selector-btn.active {
  border-color: #0284C7;
  background: linear-gradient(135deg, #f8fbff, #f0f7ff);
  box-shadow: 0 6px 16px rgba(2, 132, 199, 0.25);
  color: #0284C7;
}

.featured-download-card {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  min-height: auto;
  position: relative;
  margin: 40px 0;
}

.featured-download-card .download-card-modern {
  width: 100%;
  max-width: 450px;
  animation: slideIn 0.4s ease-out;
}

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

.featured-download-card .download-card-modern.exiting {
  animation: slideOut 0.3s ease-out forwards;
}

@keyframes slideOut {
  to {
    opacity: 0;
    transform: translateY(-10px);
  }
}
