@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@300;400;500;700&family=Instrument+Serif:ital@0;1&display=swap');

/* Animated border angle for rotating gradient effect */
@property --border-angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

@keyframes rotateBorder {
  to {
    --border-angle: 360deg;
  }
}

/* ============================================
   GLOBAL STYLES
   ============================================ */

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

:root {
  --bg: #0A0A0A;
  --surface: #131517;
  --surface-alt: #1A1C1F;
  --border: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(255, 255, 255, 0.15);
  --text: #FFFFFF;
  --text-secondary: #888888;
  --text-muted: #555555;
  --accent: #8DE815;
  --accent-dim: rgba(141, 232, 21, 0.12);
  --accent-hover: #9DF025;
  --font-primary: 'DM Sans', sans-serif;
  --font-serif: 'Instrument Serif', serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-weight: 400;
  font-size: 1rem;
  overflow-x: hidden;
}

body::selection {
  background-color: var(--accent);
  color: #000;
}

::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

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

::-webkit-scrollbar-thumb {
  background: var(--accent);
  border-radius: 10px;
}

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

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* ============================================
   CONTAINER & LAYOUT
   ============================================ */

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* .reveal is a marker class — GSAP sets initial opacity/transform via inline styles.
   No CSS opacity here, so content stays visible if GSAP fails to load. */
.reveal {
  /* animated by GSAP */
}

/* ============================================
   HEADER & NAVBAR
   ============================================ */

header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(10px);
  background-color: rgba(10, 10, 10, 0.8);
  border-bottom: 1px solid var(--border);
}

.navbar {
  width: 100%;
  padding: 1rem 0;
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
  font-size: 1.25rem;
}

.navbar-logo img {
  height: 28px;
  width: auto;
}

.navbar-center {
  display: flex;
  gap: 2rem;
  align-items: center;
  justify-content: center;
}

.navbar-center a {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.navbar-center a:hover {
  color: var(--text);
}

.navbar-cta {
  margin: 0;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
}

.hamburger span {
  width: 24px;
  height: 2px;
  background-color: var(--text);
  transition: all 0.3s ease;
  border-radius: 1px;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translateY(10px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translateY(-10px);
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 60px;
  left: 0;
  right: 0;
  background-color: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 1.5rem;
  z-index: 99;
}

.mobile-menu.active {
  display: flex;
  flex-direction: column;
}

.mobile-menu-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 98;
}

.mobile-menu-overlay.active {
  display: block;
}

.mobile-menu-nav {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mobile-menu-nav a {
  color: var(--text-secondary);
  text-decoration: none;
  padding: 0.75rem 0;
  transition: color 0.3s ease;
}

.mobile-menu-nav a:hover {
  color: var(--text);
}

.mobile-menu-nav .btn {
  width: 100%;
  justify-content: center;
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
  padding-top: 120px;
  padding-bottom: 80px;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  border-radius: 100px;
  background-color: var(--accent-dim);
  border: 1px solid var(--accent);
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
}

.badge-dot {
  width: 8px;
  height: 8px;
  background-color: var(--accent);
  border-radius: 50%;
  display: inline-block;
  animation: pulse 2s infinite;
}

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

.hero-headline {
  font-family: var(--font-serif);
  font-size: clamp(3rem, 8vw, 5rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.hero-headline em {
  font-style: italic;
  color: var(--accent);
  font-family: var(--font-serif);
}

.hero-sub {
  max-width: 700px;
  margin: 0 auto 2rem;
  color: var(--text-secondary);
  font-size: 1.125rem;
  line-height: 1.6;
}

.hero-cta {
  margin-bottom: 3rem;
}

.hero-screenshot {
  max-width: 900px;
  margin: 3rem auto 0;
}

.macOS-window-frame {
  border-radius: 12px;
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(141, 232, 21, 0.1);
}

.macOS-window-frame img {
  width: 100%;
  display: block;
}

.hero-trust-badges {
  margin-top: 1.5rem;
  color: var(--text-secondary);
  font-size: 0.875rem;
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: 100px;
  font-weight: 700;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  white-space: nowrap;
  gap: 0.5rem;
}

.btn-primary {
  background-color: var(--accent);
  color: #000;
  box-shadow: 0 0 20px rgba(141, 232, 21, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  background-color: var(--accent-hover);
  box-shadow: 0 0 30px rgba(141, 232, 21, 0.5);
}

.btn-secondary {
  background-color: transparent;
  border: 1px solid var(--border);
  color: var(--text);
  box-shadow: none;
}

.btn-secondary:hover {
  border-color: var(--accent);
  box-shadow: 0 0 20px var(--accent);
  color: var(--accent);
}

.btn-sm {
  padding: 10px 24px;
  font-size: 0.9375rem;
}

.btn-lg {
  padding: 18px 40px;
  font-size: 1.0625rem;
}

.button-group {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================
   SECTIONS
   ============================================ */

.section {
  padding: 6rem 0;
}

.section-eyebrow {
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.section-eyebrow::before {
  content: '';
  width: 24px;
  height: 1px;
  background-color: var(--accent);
  flex-shrink: 0;
}

.section-headline {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.section-headline em {
  font-style: italic;
  color: var(--accent);
}

.headline-sup {
  font-family: var(--font-primary);
  font-size: 0.22em;
  font-weight: 500;
  font-style: normal;
  color: var(--accent);
  vertical-align: super;
  letter-spacing: 0.02em;
  white-space: nowrap;
  opacity: 0.7;
}

/* ============================================
   HOW IT WORKS (STEPS)
   ============================================ */

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

.step-item {
  text-align: center;
  padding: 0;
}

.step-number {
  width: 48px;
  height: 48px;
  border: 2px solid var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--accent);
  font-size: 1.125rem;
  margin: 0 auto 1.5rem;
}

.step-title {
  font-family: var(--font-serif);
  font-size: 1.375rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.step-desc {
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ============================================
   THREE MODES
   ============================================ */

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

.mode-card {
  position: relative;
  display: flex;
  flex-direction: column;
}

.mode-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background-color: var(--accent-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 1.5rem;
}

.mode-icon svg {
  color: currentColor;
}

.mode-title {
  font-family: var(--font-serif);
  font-size: 1.375rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.mode-desc {
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1rem;
}

/* Keyboard keys shortcut row */
.mode-keys {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: auto;
  padding-top: 0.5rem;
}

.mode-keys-label {
  font-family: var(--font-primary);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: lowercase;
  letter-spacing: 0.02em;
}

.mode-key {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 14px;
  background: rgba(141, 232, 21, 0.08);
  border: 1px solid rgba(141, 232, 21, 0.25);
  border-radius: 8px;
  font-family: var(--font-primary);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(141, 232, 21, 0.08);
}

.mode-keys-plus {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-muted);
}

/* ============================================
   CARDS
   ============================================ */

.card {
  padding: 2rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  background-color: var(--surface);
  transition: all 0.3s ease;
}

.card:hover {
  border-color: var(--border-hover);
  transform: translateY(-2px);
}

/* Mode cards use their own rotating-border system — override .card defaults */
.card.mode-card {
  background:
    linear-gradient(var(--surface), var(--surface)) padding-box,
    linear-gradient(var(--border), var(--border)) border-box;
  border: 1.5px solid transparent;
}

/* Green card (Translation) — green rotating border */
.card.mode-card--green:hover {
  background:
    linear-gradient(var(--surface), var(--surface)) padding-box,
    conic-gradient(from var(--border-angle), transparent 25%, var(--accent) 50%, transparent 75%) border-box;
  border-color: transparent;
  animation: rotateBorder 3s linear infinite;
  box-shadow: 0 0 28px rgba(141, 232, 21, 0.12), 0 16px 48px rgba(0, 0, 0, 0.3);
}

/* White card (Dictation) — white rotating border */
.card.mode-card--white:hover {
  background:
    linear-gradient(var(--surface), var(--surface)) padding-box,
    conic-gradient(from var(--border-angle), transparent 25%, rgba(255, 255, 255, 0.8) 50%, transparent 75%) border-box;
  border-color: transparent;
  animation: rotateBorder 3s linear infinite;
  box-shadow: 0 0 28px rgba(255, 255, 255, 0.08), 0 16px 48px rgba(0, 0, 0, 0.3);
}

/* Purple card (AI Assistant) — purple rotating border */
.card.mode-card--purple:hover {
  background:
    linear-gradient(var(--surface), var(--surface)) padding-box,
    conic-gradient(from var(--border-angle), transparent 25%, #D946EF 50%, transparent 75%) border-box;
  border-color: transparent;
  animation: rotateBorder 3s linear infinite;
  box-shadow: 0 0 28px rgba(217, 70, 239, 0.15), 0 16px 48px rgba(0, 0, 0, 0.3);
}

.card-accent {
  position: relative;
  overflow: hidden;
}

.card-accent::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, var(--accent), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  border-radius: 12px;
}

.card-accent:hover::before {
  opacity: 0.05;
}

/* Match overlay gradient to each card's pill color */
.mode-card--white.card-accent::before {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), transparent);
}

.mode-card--purple.card-accent::before {
  background: linear-gradient(135deg, #D946EF, transparent);
}

/* ============================================
   SUPERPROMPT CALLOUT
   ============================================ */

.section-superprompt {
  padding: 6rem 0;
}

.superprompt-card {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  padding: 3rem;
}

.superprompt-label {
  display: inline-flex;
  padding: 6px 20px;
  background-color: var(--accent);
  color: #000;
  border-radius: 100px;
  font-weight: 700;
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
}

/* ============================================
   BENEFITS
   ============================================ */

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

.benefit-card {
  position: relative;
}

.benefit-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background-color: var(--accent-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 1.25rem;
}

.benefit-icon svg {
  color: currentColor;
}

.benefit-card h3 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.benefit-card p {
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ============================================
   PRICING
   ============================================ */

.section-pricing {
  padding: 6rem 0;
}

.pricing-container {
  max-width: 480px;
  margin: 0 auto;
  margin-top: 3rem;
}

.pricing-card {
  padding: 3rem;
  text-align: center;
  position: relative;
  overflow: visible;
}

.pricing-price {
  font-size: 4rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}

.pricing-subtitle {
  color: var(--text-secondary);
  margin-top: 0.5rem;
  margin-bottom: 2rem;
}

.pricing-features {
  list-style: none;
  text-align: left;
  margin-bottom: 2rem;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
  color: var(--text);
}

.pricing-features li svg {
  color: var(--accent);
  flex-shrink: 0;
  width: 20px;
  height: 20px;
}

/* Pricing Ribbon — sticker on the side */
.pricing-ribbon {
  position: absolute;
  top: 24px;
  right: -14px;
  padding: 8px 20px 8px 16px;
  background: linear-gradient(135deg, var(--accent), #b8f200);
  color: #000;
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 6px 6px 0 6px;
  box-shadow:
    0 4px 16px rgba(141, 232, 21, 0.3),
    0 0 40px rgba(141, 232, 21, 0.1);
  animation: ribbon-glow 3s ease-in-out infinite;
  z-index: 2;
  white-space: nowrap;
}

/* Little fold under the ribbon */
.pricing-ribbon::after {
  content: '';
  position: absolute;
  top: 100%;
  right: 0;
  width: 14px;
  height: 10px;
  background: linear-gradient(135deg, #7a9900 50%, transparent 50%);
}

@keyframes ribbon-glow {
  0%, 100% {
    box-shadow:
      0 4px 16px rgba(141, 232, 21, 0.3),
      0 0 40px rgba(141, 232, 21, 0.1);
  }
  50% {
    box-shadow:
      0 4px 24px rgba(141, 232, 21, 0.45),
      0 0 60px rgba(141, 232, 21, 0.15);
  }
}

.pricing-note {
  color: var(--text-secondary);
  font-size: 0.875rem;
  margin-top: 1rem;
}

.pricing-card .btn {
  width: 100%;
}

/* ============================================
   FAQ
   ============================================ */

.section-faq {
  padding: 6rem 0;
}

.faq-accordion {
  max-width: 800px;
  margin: 0 auto;
  margin-top: 3rem;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 0;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text);
  font-size: 1.0625rem;
  font-weight: 500;
  text-align: left;
  transition: color 0.3s ease;
}

.faq-question:hover {
  color: var(--accent);
}

.faq-question svg {
  color: var(--accent);
  transition: transform 0.3s ease;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.faq-item.active .faq-question svg {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

.faq-answer p {
  padding-bottom: 1.5rem;
  color: var(--text-secondary);
}

/* ============================================
   FINAL CTA
   ============================================ */

.section-final-cta {
  text-align: center;
  padding: 6rem 0;
  position: relative;
  background: radial-gradient(
    ellipse at center,
    rgba(141, 232, 21, 0.05) 0%,
    transparent 70%
  );
}

.section-final-cta .section-headline {
  font-size: clamp(2.5rem, 6vw, 4rem);
}

.final-cta-subtitle {
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 2rem;
}

.section-final-cta .button-group {
  justify-content: center;
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
  border-top: 1px solid var(--border);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}

.footer-col {
  display: flex;
  flex-direction: column;
}

.footer-brand {
  grid-column: span 1;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text);
  text-decoration: none;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.125rem;
  transition: color 0.3s ease;
}

.footer-logo:hover {
  color: var(--accent);
}

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

.footer-brand > p {
  color: var(--text-secondary);
  margin-top: 0.5rem;
  font-size: 0.875rem;
  line-height: 1.6;
}

.footer-col h4 {
  font-family: var(--font-serif);
  margin-bottom: 1rem;
  font-size: 1rem;
  font-weight: 700;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 0.5rem;
}

.footer-col ul a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.3s ease;
  font-size: 0.9375rem;
}

.footer-col ul a:hover {
  color: var(--text);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  margin-top: 3rem;
  padding-top: 1.5rem;
  text-align: center;
}

.footer-bottom p {
  color: var(--text-muted);
  font-size: 0.875rem;
}

/* ============================================
   COMPARISON TABLE
   ============================================ */

.section-comparison {
  padding: 6rem 0;
}

.comparison-subtitle {
  color: var(--text-secondary);
  font-size: 1.125rem;
  margin-bottom: 3rem;
}

.comparison-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 0 -1rem;
  padding: 0 1rem;
  scrollbar-width: thin;
}

.comparison-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 0.9375rem;
  min-width: 700px;
}

/* Feature column width */
.comparison-feature-col {
  width: 38%;
  text-align: left;
}

/* Header */
.comparison-table thead th {
  padding: 1.25rem 1rem;
  text-align: center;
  font-weight: 500;
  font-size: 0.8125rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: var(--bg);
  z-index: 2;
}

.comparison-table thead th:first-child {
  text-align: left;
  font-size: 0.75rem;
}

/* TYPERR column header — highlighted */
.comparison-typerr-col {
  background: rgba(141, 232, 21, 0.04) !important;
}

.comparison-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--accent);
  letter-spacing: 0.02em;
  text-transform: none;
}

.comparison-brand img {
  border-radius: 6px;
}

/* Body rows */
.comparison-table tbody tr {
  transition: background 0.15s ease;
}

.comparison-table tbody tr:hover {
  background: rgba(255, 255, 255, 0.02);
}

.comparison-table tbody td {
  padding: 1rem;
  text-align: center;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}

.comparison-table tbody td:first-child {
  text-align: left;
}

/* Feature name cell */
.comparison-feature-name {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.comparison-feature-label {
  color: var(--text);
  font-weight: 500;
  font-size: 0.9375rem;
}

.comparison-killer {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 8px;
  font-family: var(--font-primary);
  font-size: 0.5625rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #000;
  background: var(--accent);
  border-radius: 100px;
  vertical-align: middle;
  line-height: 1.6;
}

.comparison-feature-hint {
  color: var(--text-muted);
  font-size: 0.8125rem;
  font-weight: 300;
  line-height: 1.4;
}

/* TYPERR column glow strip */
.comparison-table tbody td.comparison-typerr-col {
  background: rgba(141, 232, 21, 0.04);
  position: relative;
}

/* Highlight rows where TYPERR is unique */
.comparison-highlight-row td.comparison-typerr-col {
  background: rgba(141, 232, 21, 0.08);
}

/* Check / Cross / Partial icons */
.comparison-check {
  color: var(--accent);
  font-size: 1.25rem;
  font-weight: 700;
}

.comparison-cross {
  color: #555;
  font-size: 1.125rem;
  font-weight: 400;
}

.comparison-partial {
  color: #888;
  font-size: 1.125rem;
  font-weight: 500;
}

/* Pricing tags inside table */
.comparison-tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 100px;
  font-weight: 700;
  font-size: 0.8125rem;
  letter-spacing: 0.02em;
  background: var(--accent);
  color: #000;
}

.comparison-tag-neutral {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-secondary);
}

.comparison-tag-negative {
  background: rgba(255, 80, 80, 0.12);
  color: #ff6b6b;
}

/* Footnote */
.comparison-footnote {
  color: var(--text-muted);
  font-size: 0.8125rem;
  margin-top: 1.5rem;
  font-style: italic;
}

/* CTA below table */
.comparison-cta {
  text-align: center;
  margin-top: 2.5rem;
}

/* ============================================
   AI USE CASES MARQUEE
   ============================================ */

.section-usecases {
  padding-bottom: 4rem;
  overflow: hidden;
}

.usecases-sub {
  color: var(--text-secondary);
  font-size: 1.125rem;
  margin-bottom: 2.5rem;
  text-align: center;
}

.marquee-wrap {
  overflow: hidden;
  padding: 6px 0;
  -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
  mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}

.marquee-track {
  display: flex;
  gap: 12px;
  width: max-content;
  will-change: transform;
}

.marquee-left {
  animation: marqueeLeft 40s linear infinite;
}

.marquee-right {
  animation: marqueeRight 45s linear infinite;
}

.marquee-left-slow {
  animation: marqueeLeft 55s linear infinite;
}

@keyframes marqueeLeft {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes marqueeRight {
  0% { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}

.marquee-tag {
  flex-shrink: 0;
  padding: 10px 22px;
  border-radius: 100px;
  font-family: var(--font-primary);
  font-size: 0.9375rem;
  font-weight: 500;
  white-space: nowrap;
  color: var(--text-secondary);
  background: var(--surface-alt);
  border: 1px solid var(--border);
  transition: border-color 0.3s ease, color 0.3s ease;
}

.marquee-tag:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.marquee-tag--accent {
  color: var(--accent);
  border-color: rgba(141, 232, 21, 0.2);
  background: rgba(141, 232, 21, 0.04);
}

.marquee-tag--accent:hover {
  border-color: var(--accent);
  background: rgba(141, 232, 21, 0.08);
}

/* ============================================
   STEP VISUALS (How It Works)
   ============================================ */

.step-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.step-visual svg {
  filter: drop-shadow(0 0 12px rgba(141, 232, 21, 0.15));
}

/* ============================================
   MODE PILL GRAPHICS (Three Modes)
   ============================================ */

.mode-pill {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 8px 20px 8px 8px;
  border-radius: 999px;
  background: rgba(20, 20, 22, 0.95);
  border: 1.5px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 1.5rem;
  position: relative;
}

.mode-pill-badge {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  flex-shrink: 0;
}

.mode-pill-wave {
  width: 110px;
  height: 40px;
  flex-shrink: 0;
}

/* ── Green Variant (Dictation) ── */
.mode-pill--green {
  border-color: rgba(141, 232, 21, 0.3);
  box-shadow: 0 0 30px rgba(141, 232, 21, 0.15), 0 0 60px rgba(141, 232, 21, 0.06);
}

.mode-pill--green .mode-pill-badge {
  background: var(--accent);
  color: #000;
}

.mode-pill--green .mode-pill-wave {
  color: var(--accent);
}

/* ── White Variant (Translation) ── */
.mode-pill--white {
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 0 30px rgba(255, 255, 255, 0.08), 0 0 60px rgba(255, 255, 255, 0.03);
}

.mode-pill--white .mode-pill-badge {
  background: rgba(255, 255, 255, 0.95);
  color: #000;
}

.mode-pill--white .mode-pill-wave {
  color: rgba(255, 255, 255, 0.9);
}

/* ── Purple Variant (AI Assistant) ── */
.mode-pill--purple {
  border-color: rgba(217, 70, 239, 0.3);
  box-shadow: 0 0 30px rgba(217, 70, 239, 0.18), 0 0 60px rgba(217, 70, 239, 0.07);
}

.mode-pill--purple .mode-pill-badge {
  background: #D946EF;
  color: #000;
}

.mode-pill--purple .mode-pill-wave {
  color: #D946EF;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

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

  .modes-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .comparison-table {
    font-size: 0.875rem;
  }
}

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

  .navbar-center {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .navbar-cta {
    display: none;
  }

  .hero {
    padding-top: 80px;
    padding-bottom: 60px;
  }

  .steps-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .modes-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .benefits-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .comparison-table {
    font-size: 0.8125rem;
    min-width: 580px;
  }

  .comparison-table thead th {
    padding: 1rem 0.5rem;
    font-size: 0.6875rem;
  }

  .comparison-table tbody td {
    padding: 0.75rem 0.5rem;
  }

  .comparison-feature-hint {
    display: none;
  }

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

  .footer-brand {
    grid-column: span 1;
  }

  .pricing-container {
    max-width: 100%;
  }

  .pricing-ribbon {
    right: -8px;
    font-size: 0.6875rem;
    padding: 6px 14px 6px 12px;
    top: 16px;
  }

  .pricing-ribbon::after {
    width: 8px;
    height: 7px;
  }

  .button-group {
    flex-direction: column;
  }

  .button-group .btn {
    width: 100%;
  }

  .section-headline {
    font-size: clamp(1.5rem, 5vw, 2.5rem);
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }

  .hero {
    padding-top: 60px;
    padding-bottom: 40px;
  }

  .hero-badge {
    font-size: 0.75rem;
    padding: 0.5rem 1rem;
  }

  .hero-headline {
    font-size: clamp(1.75rem, 6vw, 3rem);
  }

  .hero-sub {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }

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

  .hero-screenshot {
    margin-top: 1.5rem;
  }

  .section {
    padding: 3rem 0;
  }

  .section-eyebrow {
    font-size: 0.75rem;
  }

  .step-number {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  .step-title {
    font-size: 1.125rem;
  }

  .mode-icon {
    width: 48px;
    height: 48px;
  }

  .benefit-icon {
    width: 40px;
    height: 40px;
  }

  .btn {
    padding: 12px 24px;
    font-size: 0.9375rem;
  }

  .btn-lg {
    padding: 14px 28px;
    font-size: 1rem;
  }

  .pricing-price {
    font-size: 2.5rem;
  }

  .faq-question {
    font-size: 1rem;
    padding: 1rem 0;
  }

  .footer {
    padding: 2rem 0 1rem;
  }

  .footer-grid {
    gap: 1.5rem;
  }

  .footer-logo {
    font-size: 1rem;
  }
}

/* ============================================
   REDUCED MOTION
   ============================================ */

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .badge-dot {
    animation: none;
  }
}

/* ========================================
   SCROLL PROGRESS BAR
   ======================================== */
#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: var(--color-accent);
  z-index: 10000;
  transition: width 50ms linear;
}

/* Header scrolled state */
header.scrolled {
  border-bottom-color: var(--color-border-hover);
}

header.scrolled .navbar-inner {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}
