:root {
  --primary: #007aff;
  --primary-hover: #0062cc;
  --bg: #000000;
  --bg-alt: #111111;
  --fg: #ffffff;
  --fg-muted: #888888;
  --border: #333333;
  --glass: rgba(255, 255, 255, 0.05);
  --glass-border: rgba(255, 255, 255, 0.1);
  --accent-orange: #ff9500;
  --accent-purple: #af52de;
  --accent-green: #34c759;
  --container-width: 1100px;
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 8px;
}

@media (prefers-color-scheme: light) {
  :root {
    --bg: #ffffff;
    --bg-alt: #f5f5f7;
    --fg: #000000;
    --fg-muted: #666666;
    --border: #e5e5e5;
    --glass: rgba(0, 0, 0, 0.05);
    --glass-border: rgba(0, 0, 0, 0.1);
  }
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    sans-serif;
  background-color: var(--bg);
  color: var(--fg);
  line-height: 1.6;
  overflow-x: hidden;
}

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

/* Typography */
h1,
h2,
h3,
h4 {
  font-weight: 700;
  letter-spacing: -0.02em;
}

h1 {
  font-size: 4rem;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.text-gradient {
  background: linear-gradient(135deg, #007aff 0%, #af52de 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-muted {
  color: var(--fg-muted);
  font-size: 0.9rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background-color: var(--primary);
  color: white;
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-1px);
}

.btn-secondary {
  background-color: var(--glass);
  color: var(--fg);
  border: 1px solid var(--glass-border);
}

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

.btn-outline {
  background-color: transparent;
  color: var(--fg);
  border: 1.5px solid var(--primary);
}

.btn-outline:hover {
  background-color: var(--primary);
  color: white;
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.1rem;
  border-radius: var(--radius-md);
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
}

/* Nav */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(var(--bg), 0.8);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
  padding: 1rem 0;
}

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

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

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

.logo-img {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.logo-img img {
  width: 100%;
  border-radius: 10px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav-menu a {
  text-decoration: none;
  color: var(--fg);
  font-size: 0.95rem;
  font-weight: 500;
  opacity: 0.8;
  transition: opacity 0.2s;
}

.nav-menu a:hover {
  opacity: 1;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Hero */
.hero {
  padding-top: 10rem;
  padding-bottom: 5rem;
  text-align: center;
}

.badge {
  display: inline-block;
  padding: 0.4rem 1rem;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--fg-muted);
  max-width: 700px;
  margin: 0 auto 2.5rem;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin-bottom: 4rem;
}

.hero-preview {
  margin-top: 2rem;
  perspective: 1000px;
}

.hero-trust {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 1rem;
}

/* Transcription Flow Animation */
.transcription-flow {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 3rem;
  max-width: 1000px;
  margin: 0 auto;
  padding: 4rem 2rem;
  position: relative;
}

/* Sound Input (Left) */
.sound-input {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1.5rem;
}

.sound-waves {
  position: relative;
  height: 180px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.wave-particle {
  position: absolute;
  right: 0;
  display: flex;
  align-items: center;
  gap: 2px;
  opacity: 0;
  animation: wave-flow 3.5s ease-in-out infinite;
}

.mini-bar {
  width: 2px;
  height: 6px;
  background: var(--primary);
  border-radius: 10px;
  box-shadow: 0 0 10px var(--primary);
  animation: mini-wave-pulse 0.6s ease-in-out infinite;
}

.mini-bar:nth-child(1) {
  height: 4px;
  animation-delay: 0.1s;
}
.mini-bar:nth-child(2) {
  height: 10px;
  animation-delay: 0.2s;
}
.mini-bar:nth-child(3) {
  height: 6px;
  animation-delay: 0.3s;
}

/* Variety in internal pulse delays for each particle */
.wave-particle:nth-child(1) .mini-bar {
  animation-delay: -0.1s;
  animation-duration: 0.5s;
}
.wave-particle:nth-child(2) .mini-bar {
  animation-delay: -0.4s;
  animation-duration: 0.7s;
}
.wave-particle:nth-child(3) .mini-bar {
  animation-delay: -0.2s;
  animation-duration: 0.6s;
}
.wave-particle:nth-child(4) .mini-bar {
  animation-delay: -0.5s;
  animation-duration: 0.8s;
}
.wave-particle:nth-child(5) .mini-bar {
  animation-delay: -0.3s;
  animation-duration: 0.55s;
}
.wave-particle:nth-child(6) .mini-bar {
  animation-delay: -0.6s;
  animation-duration: 0.65s;
}

@keyframes mini-wave-pulse {
  0%,
  100% {
    transform: scaleY(1);
  }
  50% {
    transform: scaleY(1.8);
  }
}

.wave-particle:nth-child(1) {
  animation-delay: 0s;
  top: 20%;
}
.wave-particle:nth-child(2) {
  animation-delay: 0.7s;
  top: 40%;
}
.wave-particle:nth-child(3) {
  animation-delay: 1.4s;
  top: 60%;
}
.wave-particle:nth-child(4) {
  animation-delay: 2.1s;
  top: 80%;
}
.wave-particle:nth-child(5) {
  animation-delay: 1s;
  top: 30%;
}
.wave-particle:nth-child(6) {
  animation-delay: 2.8s;
  top: 70%;
}

@keyframes wave-flow {
  0% {
    transform: translateX(-400px) scale(0.6);
    opacity: 0;
  }
  15% {
    opacity: 1;
  }
  85% {
    opacity: 1;
  }
  100% {
    transform: translateX(0) scale(1.2);
    opacity: 0;
  }
}

.input-label,
.output-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--fg-muted);
  font-size: 0.9rem;
  font-weight: 500;
}

.input-label i,
.output-label i {
  width: 18px;
  height: 18px;
  color: var(--primary);
}

/* Center Processing */
.processing-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  z-index: 2;
}

.hud-pill-active {
  background: rgba(20, 20, 20, 0.8);
  backdrop-filter: blur(40px);
  border: 2px solid rgba(255, 255, 255, 1);
  border-radius: 100px;
  padding: 0.75rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
  animation: hud-float 3s ease-in-out infinite;
  min-width: 150px;
  margin-top: calc(
    (180px - 44px) / 2
  ); /* Half of (editor height - pill height) to center it within the same 180px visual space */
  margin-bottom: calc((180px - 44px) / 2);
}

.hud-recording-indicator {
  position: relative;
  width: 10px;
  height: 10px;
  flex-shrink: 0;
}

.red-dot {
  width: 10px;
  height: 10px;
  background: #ff3b30;
  border-radius: 50%;
  position: relative;
  z-index: 2;
}

.red-dot-pulse {
  position: absolute;
  top: 0;
  left: 0;
  width: 10px;
  height: 10px;
  background: #ff3b30;
  border-radius: 50%;
  animation: red-dot-pulse 2s ease-in-out infinite;
  opacity: 0.5;
}

@keyframes red-dot-pulse {
  0% {
    transform: scale(1);
    opacity: 0.5;
  }
  100% {
    transform: scale(2.5);
    opacity: 0;
  }
}

.waveform-active {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 20px;
  flex-grow: 1;
  justify-content: center;
}

.waveform-active span {
  width: 3px;
  background: var(--primary);
  border-radius: 10px;
  animation: waveform-pulse 1.2s ease-in-out infinite;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

@keyframes waveform-pulse {
  0%,
  100% {
    transform: scaleY(1);
    opacity: 0.8;
  }
  50% {
    transform: scaleY(2.2);
    opacity: 1;
  }
}

.waveform-active span:nth-child(1) {
  height: 6px;
  animation-delay: 0.1s;
  animation-duration: 1s;
}
.waveform-active span:nth-child(2) {
  height: 12px;
  animation-delay: 0.3s;
  animation-duration: 1.4s;
}
.waveform-active span:nth-child(3) {
  height: 8px;
  animation-delay: 0.5s;
  animation-duration: 1.1s;
}
.waveform-active span:nth-child(4) {
  height: 16px;
  animation-delay: 0.2s;
  animation-duration: 1.3s;
}
.waveform-active span:nth-child(5) {
  height: 10px;
  animation-delay: 0.6s;
  animation-duration: 1.5s;
}
.waveform-active span:nth-child(6) {
  height: 18px;
  animation-delay: 0.4s;
  animation-duration: 1.2s;
}
.waveform-active span:nth-child(7) {
  height: 9px;
  animation-delay: 0.7s;
  animation-duration: 1.6s;
}
.waveform-active span:nth-child(8) {
  height: 14px;
  animation-delay: 0.2s;
  animation-duration: 1.1s;
}
.waveform-active span:nth-child(9) {
  height: 7px;
  animation-delay: 0.5s;
  animation-duration: 1.4s;
}
.waveform-active span:nth-child(10) {
  height: 11px;
  animation-delay: 0.3s;
  animation-duration: 1.2s;
}
.waveform-active span:nth-child(11) {
  height: 15px;
  animation-delay: 0.1s;
  animation-duration: 1.5s;
}

.processing-label {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--fg-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  height: 1.2rem; /* Give it a fixed height to match the others with icons */
}

/* Text Editor Box (Right) */
.text-output {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.5rem;
}

.text-editor-box {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  width: 100%;
  height: 180px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(20px);
}

.editor-header {
  background: var(--bg-alt);
  padding: 0.5rem 0.75rem;
  display: flex;
  gap: 5px;
  border-bottom: 1px solid var(--border);
}

.editor-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border);
}

.editor-body {
  padding: 1rem;
  flex-grow: 1;
  position: relative;
  overflow: hidden;
  mask-image: linear-gradient(
    to bottom,
    transparent,
    black 15%,
    black 85%,
    transparent
  );
}

.scrolling-content {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  position: absolute;
  top: 1rem;
  left: 1rem;
  right: 1rem;
}

.editor-line {
  font-size: 0.95rem;
  color: var(--fg);
  line-height: 1.5;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.4s ease;
  text-align: left;
}

.editor-line.visible {
  opacity: 1;
  transform: translateY(0);
}

.editor-line.fading {
  opacity: 0.3;
  transform: translateY(-5px);
}

/* Features */
.features {
  padding: 8rem 0;
  background-color: var(--bg-alt);
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header p {
  color: var(--fg-muted);
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.feature-card {
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  transition:
    transform 0.3s ease,
    border-color 0.3s ease;
}

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

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.icon-blue {
  background: rgba(0, 122, 255, 0.1);
  color: var(--primary);
}
.icon-orange {
  background: rgba(255, 149, 0, 0.1);
  color: var(--accent-orange);
}
.icon-purple {
  background: rgba(175, 82, 222, 0.1);
  color: var(--accent-purple);
}
.icon-green {
  background: rgba(52, 199, 89, 0.1);
  color: var(--accent-green);
}

.feature-card h3 {
  margin-bottom: 1rem;
  font-size: 1.4rem;
}

.feature-card p {
  color: var(--fg-muted);
}

/* Split Layout */
.how-it-works {
  padding: 8rem 0;
}

.split-layout {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: 5rem;
}

.step-list {
  list-style: none;
  margin-top: 3rem;
}

.step-list li {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.step-num {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
}

.step-list h4 {
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

.step-list p {
  color: var(--fg-muted);
}

.glass-card {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(20px);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.glass-header {
  padding: 1.5rem;
  border-bottom: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 600;
}

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

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

.item-meta {
  font-size: 0.8rem;
  color: var(--fg-muted);
  margin-bottom: 0.5rem;
}

.item-text {
  font-size: 0.95rem;
  font-weight: 500;
}

/* Privacy */
.privacy-security {
  padding: 5rem 0;
}

.card-dark {
  background: linear-gradient(135deg, #111 0%, #000 100%);
  border: 1px solid #222;
  border-radius: var(--radius-lg);
  padding: 4rem;
  text-align: center;
}

.security-icon {
  width: 64px;
  height: 64px;
  color: var(--accent-green);
  margin-bottom: 2rem;
}

.card-dark h2 {
  margin-bottom: 1.5rem;
}

.card-dark p {
  color: var(--fg-muted);
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.1rem;
}

/* CTA */
.cta {
  padding: 8rem 0;
  text-align: center;
}

.cta h2 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

.cta p {
  font-size: 1.2rem;
  color: var(--fg-muted);
  margin-bottom: 3rem;
}

.large-name {
  padding: 1rem 0;
  text-align: center;
}

.large-name-content {
  font-size: calc(clamp(2rem, 10vw, 20rem) * 2);
  text-align: center;
}

/* Footer */
footer {
  padding: 5rem 0;
  border-top: 1px solid var(--border);
  background: var(--bg-alt);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 4rem;
}

.footer-brand {
  max-width: 300px;
}

.footer-brand .logo {
  margin-bottom: 1.5rem;
}

.logo-icon-sm {
  width: 24px;
  height: 24px;
  background: var(--primary);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.logo-icon-sm i {
  width: 14px;
  height: 14px;
}

.footer-links {
  display: flex;
  gap: 4rem;
}

.link-group h5 {
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  color: var(--fg-muted);
}

.link-group a {
  display: block;
  text-decoration: none;
  color: var(--fg);
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
  opacity: 0.7;
  transition: opacity 0.2s;
}

.link-group a:hover {
  opacity: 1;
}

/* Responsive */
/* Hero Badges */
.hero-badges {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.badge-outline {
  background: transparent;
  border: 1px solid var(--primary);
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.badge-outline i {
  width: 14px;
  height: 14px;
}

/* History Section */
.history {
  padding: 8rem 0;
  background: var(--bg-alt);
  margin-bottom: 4rem;
}

.reverse {
  direction: ltr; /* Ensure layout direction is standard */
}

@media (min-width: 901px) {
  .reverse {
    grid-template-columns: 1.2fr 0.8fr;
  }
  .reverse .split-visual {
    order: -1;
  }
}

.app-window {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5);
  display: grid;
  grid-template-columns: 200px 1fr;
  height: 400px;
  overflow: hidden;
}

.window-sidebar {
  background: rgba(255, 255, 255, 0.03);
  border-right: 1px solid var(--border);
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.sidebar-item {
  padding: 0.6rem 1rem;
  border-radius: 8px;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--fg-muted);
  transition: all 0.2s;
}

.sidebar-item i {
  width: 16px;
  height: 16px;
}

.sidebar-item.active {
  background: var(--primary);
  color: white;
}

.window-content {
  background: var(--bg);
  overflow-y: auto;
}

.history-list {
  display: flex;
  flex-direction: column;
}

.history-item {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border);
  transition: background 0.2s;
}

.history-item:hover {
  background: rgba(255, 255, 255, 0.02);
}

.item-body {
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
  color: var(--fg);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.item-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mode-badge {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  padding: 2px 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  color: var(--fg-muted);
}

.item-time {
  font-size: 11px;
  color: var(--fg-muted);
}

.feature-bullets {
  list-style: none;
  margin-top: 2rem;
}

.feature-bullets li {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.feature-bullets li i {
  width: 20px;
  height: 20px;
  color: var(--primary);
}

@media (max-width: 900px) {
  .app-window {
    grid-template-columns: 1fr;
    height: auto;
  }
  .window-sidebar {
    display: none;
  }
}

.comparison-container {
  max-width: 100%;
  position: relative;
}

.comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0;
  background: var(--bg-alt);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.3);
}

.comp-head {
  padding: 2rem;
  font-weight: 800;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-bottom: 1px solid var(--border);
  height: 80px;
  display: flex;
  align-items: center;
}

.comp-cell {
  padding: 1.5rem 2rem;
  border-bottom: 1px solid var(--border);
  height: 70px;
  display: flex;
  align-items: center;
  font-size: 0.95rem;
}

.comparison-features .comp-cell {
  font-weight: 600;
  color: var(--fg-muted);
}

.comparison-features .comp-head {
  color: var(--fg-muted);
  font-size: 0.8rem;
}

/* Cloud Column */
.cloud-col {
  background: rgba(255, 255, 255, 0.02);
}

.status-bad {
  color: var(--fg-muted);
  opacity: 0.6;
  text-decoration: line-through;
  font-size: 0.9rem;
}

/* Inscribe Column (Highlighted) */
.inscribe-col {
  background: rgba(0, 122, 255, 0.05);
  position: relative;
  border-left: 1px solid var(--primary);
  border-right: 1px solid var(--primary);
  box-shadow: 0 0 40px rgba(0, 122, 255, 0.1);
  z-index: 1;
}

.inscribe-col .comp-head {
  color: var(--primary);
  background: rgba(0, 122, 255, 0.1);
}

.status-good {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--fg);
  font-weight: 600;
}

.status-good i {
  width: 20px;
  height: 20px;
  color: var(--primary);
}

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

.column-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: white;
  padding: 4px 16px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 12px rgba(0, 122, 255, 0.4);
}

@media (max-width: 800px) {
  .comparison-grid {
    grid-template-columns: 1fr 1fr;
  }
  .comparison-features {
    display: none;
  }
  .comp-head {
    justify-content: center;
  }
  .comp-cell {
    justify-content: center;
    text-align: center;
  }
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--fg);
  opacity: 0.8;
}

.trust-item i {
  width: 16px;
  height: 16px;
  color: var(--primary);
}

/* Privacy Grid */
.privacy-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
  align-items: center;
  background: linear-gradient(
    180deg,
    var(--bg-alt) 0%,
    rgba(0, 122, 255, 0.05) 100%
  );
  padding: 6rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.privacy-grid::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

.privacy-banner {
  margin-top: 2rem;
  background: rgba(0, 122, 255, 0.1);
  border: 1px solid rgba(0, 122, 255, 0.2);
  border-radius: var(--radius-md);
  padding: 1rem 2rem;
}

.banner-content {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.95rem;
  color: var(--fg);
  justify-content: center;
}

.banner-content i,
.banner-content svg {
  color: var(--primary);
  width: 40px;
  height: 40px;
}

.badge-success {
  background: rgba(52, 199, 89, 0.1);
  color: var(--accent-green);
  border-color: rgba(52, 199, 89, 0.2);
}

.lead {
  font-size: 1.25rem;
  color: var(--fg-muted);
  margin-bottom: 3rem;
}

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

.p-feature {
  display: flex;
  gap: 1.5rem;
}

.p-feature i,
.p-feature svg {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  color: var(--primary);
}

.p-feature h4 {
  margin-bottom: 0.25rem;
}

.p-feature p {
  color: var(--fg-muted);
  font-size: 0.95rem;
}

.privacy-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.security-shield {
  position: relative;
  width: 280px;
  height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.shield-inner {
  position: relative;
  width: 100px;
  height: 100px;
  background: rgba(52, 199, 89, 0.1);
  border: 2px solid var(--accent-green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
  box-shadow:
    0 0 30px rgba(52, 199, 89, 0.3),
    inset 0 0 20px rgba(52, 199, 89, 0.2);
  /* animation: shield-float 4s ease-in-out infinite; */
}

.shield-inner > i,
.shield-inner > svg {
  width: 100px;
  height: 100px;
  font-size: 5rem;
  color: var(--accent-green);
  filter: drop-shadow(0 0 10px rgba(52, 199, 89, 0.5));
}

.shield-scanner {
  position: absolute;
  width: 140px;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--accent-green),
    transparent
  );
  z-index: 6;
  opacity: 0.5;
  animation: scan-line 3s linear infinite;
  pointer-events: none;
}

.shield-hex-grid {
  position: absolute;
  width: 180px;
  height: 180px;
  background-image: radial-gradient(
    circle at center,
    rgba(52, 199, 89, 0.1) 1px,
    transparent 1px
  );
  background-size: 15px 15px;
  border-radius: 50%;
  opacity: 0.3;
  z-index: 2;
}

.shield-rings {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.ring-tech {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 220px;
  height: 220px;
  border: 1px dashed rgba(52, 199, 89, 0.4);
  border-radius: 50%;
  animation: rotate-tech 20s linear infinite;
}

.ring-tech::before {
  content: "";
  position: absolute;
  top: -5px;
  left: 50%;
  width: 10px;
  height: 10px;
  background: var(--accent-green);
  border-radius: 50%;
  box-shadow: 0 0 15px var(--accent-green);
}

.ring-pulse {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border: 1px solid var(--accent-green);
  border-radius: 50%;
  opacity: 0;
  animation: serious-pulse 4s cubic-bezier(0.165, 0.84, 0.44, 1) infinite;
}

.ring-pulse:nth-child(2) {
  width: 100px;
  height: 100px;
  animation-delay: 0s;
}

.ring-pulse:nth-child(3) {
  width: 100px;
  height: 100px;
  animation-delay: 2s;
}

@keyframes shield-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes scan-line {
  0% {
    transform: translateY(-60px);
    opacity: 0;
  }
  50% {
    opacity: 0.8;
  }
  100% {
    transform: translateY(60px);
    opacity: 0;
  }
}

@keyframes rotate-tech {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

@keyframes serious-pulse {
  0% {
    width: 100px;
    height: 100px;
    opacity: 0.5;
    border-width: 2px;
  }
  100% {
    width: 280px;
    height: 280px;
    opacity: 0;
    border-width: 1px;
  }
}

.nav-desktop-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--fg);
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1001;
}

.mobile-menu-toggle i {
  width: 24px;
  height: 24px;
}

@media (max-width: 900px) {
  h1 {
    font-size: 3rem;
  }
  .split-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    height: 100vh;
    background: var(--bg);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    transition: right 0.3s ease;
    z-index: 1000;
    border-left: 1px solid var(--border);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
  }

  .nav-menu.active {
    right: 0;
  }

  .nav-menu a {
    font-size: 1.5rem;
    opacity: 1;
  }

  .nav-desktop-actions {
    display: none;
  }

  .mobile-menu-toggle {
    display: block;
  }

  .btn-support {
    padding: 0.4rem 0.8rem;
    font-size: 0.85rem;
  }

  .hero-preview {
    margin-top: 2rem;
  }

  .transcription-flow {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    gap: 2rem;
    padding: 2rem 1rem;
  }

  .sound-input,
  .text-output {
    align-items: center;
  }

  .text-editor-box {
    height: 150px;
  }

  .sound-waves {
    height: 80px;
    width: 100%;
    position: relative;
    display: flex;
    justify-content: center;
  }

  .editor-line {
    text-align: center;
  }

  .wave-particle {
    animation: wave-flow-mobile 3.5s ease-in-out infinite;
    right: auto;
    position: absolute;
  }

  .wave-particle:nth-child(1) {
    left: 10%;
    top: 50%;
  }
  .wave-particle:nth-child(2) {
    left: 25%;
    top: 50%;
  }
  .wave-particle:nth-child(3) {
    left: 40%;
    top: 50%;
  }
  .wave-particle:nth-child(4) {
    left: 60%;
    top: 50%;
  }
  .wave-particle:nth-child(5) {
    left: 75%;
    top: 50%;
  }
  .wave-particle:nth-child(6) {
    left: 90%;
    top: 50%;
  }

  @keyframes wave-flow-mobile {
    0% {
      transform: translateY(-60px) scale(0.6);
      opacity: 0;
    }
    20% {
      opacity: 1;
    }
    80% {
      opacity: 1;
    }
    100% {
      transform: translateY(60px) scale(1.2);
      opacity: 0;
    }
  }

  .privacy-grid {
    grid-template-columns: 1fr;
    padding: 2rem;
    text-align: center;
  }
  .p-feature {
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
  }
  .privacy-visual {
    order: -1;
    margin-bottom: 2rem;
  }
  .security-shield {
    width: 240px;
    height: 240px;
  }
  .ring-pulse:nth-child(3) {
    display: none;
  }
}

@media (max-width: 600px) {
  h1 {
    font-size: 2.5rem;
  }
  .footer-content {
    flex-direction: column;
    gap: 3rem;
  }
  .footer-links {
    flex-direction: column;
    gap: 2.5rem;
  }
}
