/* ====================================
   Lexi AI Landing Page
   Innovative, modern design with
   interactive animations & effects
   ==================================== */

/* CSS Variables */
:root {
  /* Clean White Theme */
  --bg-primary: #FFFFFF;
  --bg-secondary: #F8F9FA;
  --bg-tertiary: #FFFFFF;
  --bg-dark: #111111;
  --bg-dark-card: #1a1a1a;
  --bg-card: rgba(255, 255, 255, 0.85);
  --bg-card-hover: rgba(255, 255, 255, 0.95);

  /* Text Colors */
  --text-primary: #111111;
  --text-secondary: #555555;
  --text-muted: #999999;
  --text-light: #ffffff;

  /* Vibrant Accents */
  --accent-red: #E53935;
  --accent-teal: #00BFA5;
  --accent-purple: #7C3AED;
  --accent-blue: #2979FF;
  --accent-pink: #EC407A;
  --accent-orange: #FF6D00;
  --accent-yellow: #FFD600;

  --border-subtle: rgba(0, 0, 0, 0.04);
  --border-light: rgba(0, 0, 0, 0.08);
  --border-medium: rgba(0, 0, 0, 0.12);

  /* Typography */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Spacing */
  --section-padding: 120px;
  --container-max: 1200px;

  /* Effects */
  --shadow-glow: 0 0 80px rgba(124, 58, 237, 0.08);
  --shadow-card: 0 2px 16px rgba(0, 0, 0, 0.05);
  --shadow-card-hover: 0 8px 40px rgba(0, 0, 0, 0.08);

  /* Transitions */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 300ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--bg-primary);
  overflow-x: hidden;
  position: relative;
}

/* Custom cursor only enabled when JS loads */
body.cursor-enabled {
  cursor: none;
}

body.cursor-enabled * {
  cursor: none;
}

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

img {
  max-width: 100%;
  display: block;
}

/* ========================================
   CUSTOM CURSOR
   ======================================== */
.custom-cursor {
  position: fixed;
  width: 20px;
  height: 20px;
  border: 2px solid rgba(0, 0, 0, 0.4);
  border-radius: 50%;
  pointer-events: none;
  z-index: 10000;
  transition: width 0.2s cubic-bezier(0.4, 0, 0.2, 1),
    height 0.2s cubic-bezier(0.4, 0, 0.2, 1),
    border-color 0.2s ease,
    border-width 0.2s ease,
    background 0.2s ease,
    opacity 0.2s ease,
    transform 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  transform: translate(-50%, -50%);
  background: transparent;
  will-change: transform;
  opacity: 0;
  left: -100px;
  top: -100px;
}

body.cursor-enabled .custom-cursor {
  opacity: 1;
}

.custom-cursor-dot {
  position: fixed;
  width: 4px;
  height: 4px;
  background: var(--text-primary);
  border-radius: 50%;
  pointer-events: none;
  z-index: 10001;
  transform: translate(-50%, -50%);
  transition: width 0.15s ease, height 0.15s ease, background 0.15s ease, transform 0.15s ease, opacity 0.2s ease;
  will-change: transform;
  opacity: 0;
  left: -100px;
  top: -100px;
}

body.cursor-enabled .custom-cursor-dot {
  opacity: 1;
}

body.cursor-hover .custom-cursor {
  width: 48px;
  height: 48px;
  border-color: var(--accent-purple);
  border-width: 1.5px;
  background: rgba(124, 58, 237, 0.05);
}

body.cursor-hover .custom-cursor-dot {
  width: 6px;
  height: 6px;
  background: var(--accent-purple);
  transform: translate(-50%, -50%) scale(1.2);
}

body.cursor-active .custom-cursor {
  width: 16px;
  height: 16px;
  border-color: var(--text-primary);
  background: rgba(0, 0, 0, 0.1);
}

body.cursor-active .custom-cursor-dot {
  transform: translate(-50%, -50%) scale(0.8);
}

/* ========================================
   SCROLL PROGRESS BAR
   ======================================== */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: var(--bg-dark);
  width: 0%;
  z-index: 10001;
  transition: width 0.1s linear;
  border-radius: 0 2px 2px 0;
}

/* ========================================
   NOISE TEXTURE OVERLAY
   ======================================== */
.noise-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  opacity: 0.015;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px 256px;
}

/* Background Effects */
.bg-orbs {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.08;
  animation: float 20s ease-in-out infinite;
}

.orb-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--accent-purple) 0%, transparent 70%);
  top: -200px;
  right: -100px;
}

.orb-2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--accent-teal) 0%, transparent 70%);
  bottom: 20%;
  left: -150px;
  animation-delay: -7s;
}

.orb-3 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--accent-orange) 0%, transparent 70%);
  top: 50%;
  right: 10%;
  animation-delay: -14s;
}

@keyframes float {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  25% {
    transform: translate(30px, -30px) scale(1.05);
  }

  50% {
    transform: translate(-20px, 20px) scale(0.95);
  }

  75% {
    transform: translate(-30px, -10px) scale(1.02);
  }
}

/* ========================================
   SCROLL-TRIGGERED REVEAL ANIMATIONS
   ======================================== */
.reveal-up {
  opacity: 0;
  transform: translateY(60px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-up.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-text {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-text.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Split text letter animation */
.split-text .char {
  display: inline-block;
  opacity: 0;
  transform: translateY(40px) rotateX(-40deg);
  transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  transform-origin: center bottom;
}

.split-text.animate .char {
  opacity: 1;
  transform: translateY(0) rotateX(0);
}

.split-text .char-space {
  display: inline-block;
  width: 0.3em;
}

/* ========================================
   NAVIGATION
   ======================================== */
.navbar {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  width: calc(100% - 48px);
  max-width: 1000px;
  transition: top 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.3s ease;
}

.navbar.scrolled {
  top: 12px;
}

.navbar.hidden {
  top: -100px;
  opacity: 0;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 10px 10px 20px;
  background: var(--bg-tertiary);
  border-radius: 100px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.04);
  border: 1px solid var(--border-subtle);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  backdrop-filter: blur(20px);
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

.logo-icon {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-dark);
  border-radius: 7px;
  color: white;
}

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

.nav-center {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-center a {
  padding: 8px 14px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: 100px;
  transition: all var(--transition-fast);
  position: relative;
}

.nav-center a::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 20px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 1px;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-center a:hover::after {
  transform: translateX(-50%) scaleX(1);
}

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

.nav-link-outline {
  border: 1px solid var(--border-light) !important;
  color: var(--text-primary) !important;
  background: transparent !important;
}

.nav-link-outline:hover {
  background: rgba(0, 0, 0, 0.03) !important;
  border-color: var(--border-medium) !important;
}

.nav-link-outline::after {
  display: none !important;
}

.nav-download-btn {
  padding: 10px 18px;
  font-size: 0.85rem;
  font-weight: 600;
  color: white;
  background: var(--bg-dark);
  border-radius: 100px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.nav-download-btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.5s ease, height 0.5s ease;
}

.nav-download-btn:hover::before {
  width: 300px;
  height: 300px;
}

.nav-download-btn:hover {
  background: #000;
  transform: scale(1.02);
}

/* ========================================
   BUTTONS
   ======================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 12px;
  border: none;
  cursor: none;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
}

.btn:hover::before {
  width: 400px;
  height: 400px;
}

.btn-primary {
  background: var(--bg-dark);
  color: white;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 30px rgba(0, 0, 0, 0.2);
}

.btn-large {
  padding: 18px 36px;
  font-size: 1rem;
  border-radius: 16px;
}

.btn-dark {
  background: var(--bg-dark);
  color: white;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.12);
}

.btn-dark:hover {
  background: #000;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 2px solid var(--accent-purple);
  box-shadow: none;
}

.btn-outline:hover {
  background: var(--accent-purple);
  color: white;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 40px rgba(123, 94, 167, 0.25);
}

.apple-icon {
  width: 20px;
  height: 20px;
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  padding-top: 160px;
  padding-bottom: 60px;
  overflow: hidden;
}

.hero-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 40px;
  text-align: center;
  position: relative;
  z-index: 2;
}

.hero-title {
  font-size: clamp(2.8rem, 8vw, 5rem);
  line-height: 1.2;
  margin-bottom: 32px;
  letter-spacing: -0.02em;
}

.title-light {
  font-family: var(--font-display);
  font-weight: 400;
  font-style: italic;
  color: #AAAAAA;
  display: block;
  font-size: 0.85em;
  margin-bottom: 4px;
  letter-spacing: 0;
}

.title-bold {
  font-family: var(--font-body);
  font-weight: 700;
  font-style: normal;
  color: var(--text-primary);
  display: block;
}

.hero-subtitle {
  max-width: 520px;
  margin: 0 auto 36px;
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.hero-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.hero-note {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ========================================
   HERO DEMO WINDOW
   ======================================== */
.hero-demo {
  margin-top: 60px;
  display: flex;
  justify-content: center;
  perspective: 1200px;
}

.demo-window {
  width: 100%;
  max-width: 680px;
  background: var(--bg-tertiary);
  border-radius: 16px;
  border: 1px solid var(--border-light);
  box-shadow: 0 20px 80px rgba(0, 0, 0, 0.1),
    0 4px 20px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  transform: rotateX(2deg);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.6s ease;
}

.demo-window:hover {
  transform: rotateX(0deg) translateY(-4px);
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.12),
    0 8px 30px rgba(0, 0, 0, 0.08);
}

.demo-topbar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 20px;
  background: rgba(0, 0, 0, 0.03);
  border-bottom: 1px solid var(--border-subtle);
}

.demo-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.demo-dot.red {
  background: #ff5f57;
}

.demo-dot.yellow {
  background: #febc2e;
}

.demo-dot.green {
  background: #28c840;
}

.demo-title {
  flex: 1;
  text-align: center;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-right: 36px;
}

.demo-body {
  padding: 32px;
  min-height: 160px;
}

.demo-voice-input {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 20px;
  background: var(--bg-secondary);
  border-radius: 12px;
  margin-bottom: 24px;
}

.voice-indicator {
  position: relative;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-dark);
  border-radius: 50%;
  color: white;
  flex-shrink: 0;
}

.voice-ring {
  position: absolute;
  inset: -4px;
  border: 2px solid var(--accent-teal);
  border-radius: 50%;
  animation: voiceRing 1.5s ease-out infinite;
}

@keyframes voiceRing {
  0% {
    transform: scale(1);
    opacity: 0.6;
  }

  100% {
    transform: scale(1.6);
    opacity: 0;
  }
}

.voice-status {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.voice-wave {
  display: flex;
  align-items: center;
  gap: 2px;
  height: 24px;
  margin-left: auto;
}

.voice-wave span {
  width: 2.5px;
  background: var(--accent-teal);
  border-radius: 2px;
  animation: voiceWave 1.2s ease-in-out infinite;
}

.voice-wave span:nth-child(1) {
  height: 6px;
  animation-delay: 0s;
}

.voice-wave span:nth-child(2) {
  height: 12px;
  animation-delay: 0.1s;
}

.voice-wave span:nth-child(3) {
  height: 18px;
  animation-delay: 0.15s;
}

.voice-wave span:nth-child(4) {
  height: 10px;
  animation-delay: 0.2s;
}

.voice-wave span:nth-child(5) {
  height: 22px;
  animation-delay: 0.25s;
}

.voice-wave span:nth-child(6) {
  height: 16px;
  animation-delay: 0.3s;
}

.voice-wave span:nth-child(7) {
  height: 24px;
  animation-delay: 0.35s;
}

.voice-wave span:nth-child(8) {
  height: 14px;
  animation-delay: 0.4s;
}

.voice-wave span:nth-child(9) {
  height: 20px;
  animation-delay: 0.45s;
}

.voice-wave span:nth-child(10) {
  height: 8px;
  animation-delay: 0.5s;
}

@keyframes voiceWave {

  0%,
  100% {
    transform: scaleY(0.4);
  }

  50% {
    transform: scaleY(1);
  }
}

.demo-typed-area {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--text-primary);
  min-height: 52px;
}

.demo-typed-text {
  font-size: 1.05rem;
  line-height: 1.7;
}

.demo-cursor {
  display: inline;
  color: var(--accent-teal);
  font-weight: 300;
  animation: cursorBlink 1s step-end infinite;
}

@keyframes cursorBlink {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0;
  }
}

/* ========================================
   STATS TICKER
   ======================================== */
.stats-ticker {
  position: relative;
  z-index: 2;
  overflow: hidden;
  padding: 28px 0;
  background: var(--bg-dark);
  color: white;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.ticker-track {
  display: flex;
  align-items: center;
  gap: 48px;
  animation: tickerScroll 20s linear infinite;
  width: max-content;
  white-space: nowrap;
}

@keyframes tickerScroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.ticker-item {
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: 6px;
}

.ticker-number {
  font-size: 1.4rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--accent-teal);
}

.ticker-divider {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.3);
}

/* ========================================
   COMMON SECTION STYLES
   ======================================== */
section {
  position: relative;
  z-index: 2;
}

.section-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: var(--section-padding) 40px;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 80px;
}

.section-label {
  display: inline-block;
  padding: 6px 14px;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-light);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent-teal);
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: var(--shadow-card);
}

.section-title {
  font-family: var(--font-body);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  color: var(--text-primary);
}

.section-title-serif {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin-bottom: 20px;
  color: var(--text-primary);
}

.section-title-serif em {
  font-style: italic;
}

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

/* ========================================
   DIFFERENT TONES SECTION
   ======================================== */
.tones-section {
  padding: 80px 0;
}

.tones-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 60px;
}

.tones-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.tone-card {
  background: var(--bg-tertiary);
  border: 1px solid var(--border-light);
  border-radius: 20px;
  padding: 28px;
  position: relative;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  gap: 20px;
  transform-style: preserve-3d;
  will-change: transform;
}

.tone-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
  border-color: var(--border-medium);
}

.tone-app-bar {
  display: flex;
  align-items: center;
  gap: 10px;
}

.tone-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.tone-app-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.tone-input {
  padding: 16px;
  background: var(--bg-secondary);
  border-radius: 12px;
}

.tone-input .tone-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.tone-input p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-style: italic;
  line-height: 1.5;
}

.tone-output {
  padding: 16px;
  background: var(--bg-dark);
  border-radius: 12px;
  flex: 1;
}

.tone-output .tone-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 8px;
}

.tone-output p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
}

.tone-badge {
  display: inline-block;
  align-self: flex-start;
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  background: var(--bg-secondary);
  color: var(--text-secondary);
  border: 1px solid var(--border-light);
}

/* ========================================
   PERSONAL DICTIONARY SECTION
   ======================================== */
.dictionary-section {
  padding: 80px 0;
}

.dictionary-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 80px;
  align-items: center;
}

.dictionary-content {
  padding-left: 40px;
}

.dictionary-visual {
  display: flex;
  justify-content: center;
}

.word-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  max-width: 480px;
  justify-content: center;
  align-items: center;
}

.word-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 12px 22px;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-light);
  border-radius: 100px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-primary);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: none;
}

.word-chip:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  border-color: var(--border-medium);
}

/* Floating animation for word chips */
.float-chip {
  animation: floatChip 4s ease-in-out infinite;
  animation-delay: var(--float-delay, 0s);
}

@keyframes floatChip {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

.float-chip:hover {
  animation-play-state: paused;
  transform: translateY(-4px) scale(1.05);
}

.word-chip.large {
  padding: 14px 28px;
  font-size: 1.05rem;
  font-weight: 600;
}

.word-chip.accent {
  background: var(--bg-dark);
  color: white;
  border-color: var(--bg-dark);
}

.word-chip.accent:hover {
  background: #000;
}

.word-chip.new-word {
  border-style: dashed;
  border-color: var(--border-medium);
  color: var(--text-muted);
  cursor: none;
  gap: 8px;
}

.word-chip.new-word:hover {
  border-color: var(--accent-teal);
  color: var(--accent-teal);
}

/* ========================================
   SHORTCUTS SECTION
   ======================================== */
.shortcuts-section {
  padding: 80px 0;
}

.shortcuts-layout {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 80px;
  align-items: center;
}

.shortcuts-content {
  padding-right: 40px;
}

.shortcut-flow {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.shortcut-row {
  display: flex;
  align-items: center;
  gap: 16px;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.shortcut-row:hover {
  transform: translateX(8px);
}

.shortcut-row.faded {
  opacity: 0.35;
}

.shortcut-row.faded:hover {
  opacity: 0.6;
}

.shortcut-trigger-box {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-light);
  border-radius: 14px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-primary);
  white-space: nowrap;
  min-width: 200px;
  transition: all 0.3s ease;
}

.shortcut-row:hover .shortcut-trigger-box {
  border-color: var(--accent-teal);
  box-shadow: 0 4px 16px rgba(42, 157, 143, 0.1);
}

.shortcut-trigger-box svg {
  color: var(--text-muted);
  flex-shrink: 0;
}

.shortcut-arrow {
  color: var(--text-muted);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  transition: transform 0.3s ease;
}

.shortcut-row:hover .shortcut-arrow {
  transform: translateX(4px);
  color: var(--accent-teal);
}

.shortcut-result-box {
  padding: 14px 20px;
  background: var(--bg-dark);
  color: rgba(255, 255, 255, 0.9);
  border-radius: 14px;
  font-size: 0.85rem;
  line-height: 1.5;
  flex: 1;
  transition: all 0.3s ease;
}

.shortcut-row:hover .shortcut-result-box {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

/* ========================================
   AI AUTO EDITS SECTION
   ======================================== */
.autoedits-section {
  padding: 80px 0;
  background: var(--bg-secondary);
}

.autoedits-header {
  text-align: center;
  max-width: 660px;
  margin: 0 auto 60px;
}

.autoedits-sparkle {
  display: block;
  font-size: 1.5rem;
  color: var(--accent-orange);
  margin-bottom: 16px;
  letter-spacing: 8px;
  animation: sparkleFloat 3s ease-in-out infinite;
}

@keyframes sparkleFloat {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-6px);
  }
}

.autoedits-demo {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.autoedits-panel {
  padding: 32px;
  border-radius: 20px;
}

.autoedits-panel.raw {
  background: var(--bg-tertiary);
  border: 1px solid var(--border-light);
  border-radius: 20px 20px 0 0;
}

.autoedits-panel.clean {
  background: var(--bg-dark);
  color: white;
  border-radius: 0 0 20px 20px;
}

.panel-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.autoedits-panel.clean .panel-label {
  color: rgba(255, 255, 255, 0.4);
}

.raw-text {
  font-size: 0.95rem;
  line-height: 1.9;
  color: var(--text-secondary);
}

.raw-text .filler {
  text-decoration: line-through;
  color: var(--accent-red);
  opacity: 0.6;
}

.raw-text .typo {
  color: var(--accent-orange);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-style: wavy;
  text-underline-offset: 3px;
}

.edit-annotations {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.annotation {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 100px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.annotation.removed {
  background: rgba(217, 79, 61, 0.1);
  color: var(--accent-red);
  border: 1px solid rgba(217, 79, 61, 0.2);
}

.annotation.fixed {
  background: rgba(224, 123, 57, 0.1);
  color: var(--accent-orange);
  border: 1px solid rgba(224, 123, 57, 0.2);
}

.annotation.added {
  background: rgba(42, 157, 143, 0.1);
  color: var(--accent-teal);
  border: 1px solid rgba(42, 157, 143, 0.2);
}

.autoedits-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 32px;
  background: linear-gradient(180deg, var(--bg-tertiary) 0%, var(--bg-dark) 100%);
  height: 48px;
}

.divider-line {
  flex: 1;
  height: 1px;
  background: var(--border-light);
}

.divider-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--accent-teal);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  animation: bounceDown 2s ease-in-out infinite;
}

@keyframes bounceDown {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(4px);
  }
}

.clean-text {
  font-size: 1rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.9);
}

/* ========================================
   SMART ACTIONS SECTION
   ======================================== */
.smart-actions-section {
  padding: var(--section-padding) 0;
  background: var(--bg-primary);
}

.smart-actions-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 60px;
}

/* Action Demo Window */
.smart-actions-demo {
  max-width: 860px;
  margin: 0 auto 80px;
}

.action-demo-window {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: 0 4px 32px rgba(0, 0, 0, 0.06), 0 1px 4px rgba(0, 0, 0, 0.04);
  background: var(--bg-primary);
}

.action-demo-topbar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border-subtle);
}

.action-demo-app {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8125rem;
  color: var(--text-secondary);
  margin-left: 8px;
}

.action-demo-body {
  padding: 0;
}

/* Selected Text Area */
.action-demo-selected {
  padding: 24px 28px;
  border-bottom: 1px solid var(--border-subtle);
}

.action-selected-label,
.action-result-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.action-selected-text {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--text-primary);
  background: var(--bg-secondary);
  padding: 16px 20px;
  border-radius: 10px;
  border-left: 3px solid var(--accent-blue);
  margin: 0;
}

/* Voice Command Bar */
.action-voice-command {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 28px;
  background: #111;
  color: #fff;
}

.action-voice-indicator {
  position: relative;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.action-voice-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(34, 197, 94, 0.4);
  animation: actionVoiceRing 1.5s ease-out infinite;
}

@keyframes actionVoiceRing {
  0% {
    transform: scale(1);
    opacity: 1;
  }

  100% {
    transform: scale(1.8);
    opacity: 0;
  }
}

.action-voice-indicator svg {
  color: #22c55e;
}

.action-command-text {
  font-size: 0.9375rem;
  font-style: italic;
  color: rgba(255, 255, 255, 0.9);
  flex: 1;
}

.action-hotkey {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}

.action-hotkey kbd {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 26px;
  padding: 0 8px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.7);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.action-hotkey-plus {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.35);
}

/* Result Area */
.action-demo-result {
  padding: 24px 28px;
  background: rgba(34, 197, 94, 0.03);
  border-top: 1px solid rgba(34, 197, 94, 0.1);
}

.action-result-label {
  color: #16a34a;
}

.action-result-label svg {
  stroke: #16a34a;
}

.action-result-text {
  font-size: 0.9375rem;
  line-height: 1.8;
  color: var(--text-primary);
  margin: 0;
  padding: 16px 20px;
  background: rgba(34, 197, 94, 0.05);
  border-radius: 10px;
  border-left: 3px solid #22c55e;
}

/* Action Types Grid */
.action-types-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 900px;
  margin: 0 auto 60px;
}

.action-type-card {
  padding: 36px 32px;
  background: var(--bg-primary);
  border: 1px solid var(--border-light);
  border-radius: 20px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow-card);
}

.action-type-card:hover {
  border-color: var(--border-medium);
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-2px);
}

.action-type-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.action-type-icon.text-action {
  background: rgba(41, 121, 255, 0.08);
  color: var(--accent-blue);
}

.action-type-icon.voice-action {
  background: rgba(124, 58, 237, 0.08);
  color: var(--accent-purple);
}

.action-type-card h3 {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 10px;
}

.action-type-card p {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--text-secondary);
  margin: 0 0 24px;
}

/* Action Examples */
.action-examples {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.action-example-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: var(--bg-secondary);
  border-radius: 10px;
  font-size: 0.8125rem;
  transition: all 0.2s ease;
}

.action-example-row:hover {
  background: rgba(0, 0, 0, 0.04);
}

.action-say {
  color: var(--text-primary);
  font-style: italic;
  flex: 1;
  min-width: 0;
}

.action-arrow {
  color: var(--text-muted);
  flex-shrink: 0;
  font-size: 0.75rem;
}

.action-result {
  color: var(--text-secondary);
  font-size: 0.75rem;
  flex-shrink: 0;
  white-space: nowrap;
}

/* Features Strip */
.action-features-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
  padding-top: 40px;
  border-top: 1px solid var(--border-subtle);
}

.action-feature {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  border-radius: 12px;
  transition: all 0.3s ease;
}

.action-feature:hover {
  background: var(--bg-secondary);
}

.action-feature-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--bg-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--text-primary);
}

.action-feature strong {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.action-feature span {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

/* Responsive */
@media (max-width: 768px) {
  .action-types-grid {
    grid-template-columns: 1fr;
  }

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

  .action-voice-command {
    flex-wrap: wrap;
  }

  .action-hotkey {
    margin-left: auto;
  }
}

@media (max-width: 480px) {
  .action-features-strip {
    grid-template-columns: 1fr;
  }

  .action-example-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .action-arrow {
    display: none;
  }
}

/* ========================================
   LANGUAGES SECTION
   ======================================== */
.langs-section {
  padding: 80px 0;
  overflow: hidden;
}

.langs-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 50px;
}

.langs-marquee-wrap {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent 0%, black 10%, black 90%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 10%, black 90%, transparent 100%);
}

.langs-marquee {
  display: flex;
  gap: 20px;
  animation: marqueeScroll 30s linear infinite;
  width: max-content;
}

.langs-marquee:hover {
  animation-play-state: paused;
}

@keyframes marqueeScroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.lang-card {
  flex-shrink: 0;
  width: 160px;
  padding: 24px 20px;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.lang-card:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
  border-color: var(--border-medium);
}

.lang-flag {
  font-size: 2rem;
  line-height: 1;
}

.lang-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
}

.lang-greeting {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-style: italic;
}

/* ========================================
   HOW IT WORKS SECTION
   ======================================== */
.how-it-works {
  background: var(--bg-secondary);
  padding: 100px 0;
}

.steps-container {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 20px;
}

.step {
  flex: 1;
  max-width: 280px;
  text-align: center;
}

.step-number {
  font-family: var(--font-body);
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--text-primary);
  opacity: 0.1;
  margin-bottom: 24px;
  transition: opacity 0.5s ease;
}

.step:hover .step-number {
  opacity: 0.25;
}

.step-visual {
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.step-icon-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.step-icon-wrapper kbd {
  padding: 18px 28px;
  background: var(--bg-tertiary);
  border: 2px solid var(--border-medium);
  border-bottom: 4px solid var(--border-medium);
  border-radius: 12px;
  font-family: var(--font-body);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-primary);
  transition: all 0.3s ease;
}

.step:hover .step-icon-wrapper kbd {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.step-icon-wrapper.speaking {
  width: 72px;
  height: 72px;
  background: var(--bg-dark);
  border-radius: 50%;
  color: white;
}

.step-icon-wrapper.speaking svg {
  width: 28px;
  height: 28px;
}

.sound-waves {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.sound-waves span {
  position: absolute;
  border: 2px solid rgba(0, 0, 0, 0.15);
  border-radius: 50%;
  animation: soundWave 2s ease-out infinite;
}

.sound-waves span:nth-child(1) {
  width: 72px;
  height: 72px;
  animation-delay: 0s;
}

.sound-waves span:nth-child(2) {
  width: 92px;
  height: 92px;
  animation-delay: 0.4s;
}

.sound-waves span:nth-child(3) {
  width: 112px;
  height: 112px;
  animation-delay: 0.8s;
}

@keyframes soundWave {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.6;
  }

  100% {
    transform: translate(-50%, -50%) scale(1.5);
    opacity: 0;
  }
}

.step-icon-wrapper.typing {
  min-width: 180px;
  padding: 14px 20px;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  box-shadow: var(--shadow-card);
}

.typed-text {
  font-family: 'SF Mono', 'Fira Code', monospace;
  font-size: 1rem;
  color: var(--text-primary);
}

.typing-cursor {
  display: inline-block;
  width: 2px;
  height: 18px;
  background: var(--accent-teal);
  margin-left: 2px;
  animation: blink 1s step-end infinite;
  vertical-align: middle;
}

@keyframes blink {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0;
  }
}

.step-connector {
  width: 100px;
  flex-shrink: 0;
  padding-top: 160px;
}

.step h3 {
  font-family: var(--font-body);
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text-primary);
}

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

/* ========================================
   PLATFORMS SECTION
   ======================================== */
.platforms-section {
  padding: 80px 0;
}

.platforms-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 80px;
  align-items: center;
}

.platforms-content {
  padding-left: 40px;
}

.platform-badges {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
}

.platform-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-light);
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 500;
}

.platform-badge svg {
  width: 16px;
  height: 16px;
}

.platforms-visual {
  display: flex;
  justify-content: center;
}

/* Laptop Mockup */
.laptop-mockup {
  width: 100%;
  max-width: 560px;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.laptop-mockup:hover {
  transform: translateY(-8px);
}

.laptop-screen {
  background: var(--bg-dark);
  border-radius: 16px 16px 0 0;
  padding: 12px 12px 0;
  border: 3px solid #333;
  border-bottom: none;
}

.laptop-notch {
  width: 80px;
  height: 6px;
  background: #333;
  border-radius: 0 0 8px 8px;
  margin: 0 auto 12px;
}

.laptop-content {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  border-radius: 8px 8px 0 0;
  min-height: 300px;
  position: relative;
  overflow: hidden;
}

.laptop-window {
  margin: 20px;
  background: var(--bg-dark-card);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.laptop-window-header {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.laptop-window-controls {
  display: flex;
  gap: 8px;
}

.laptop-window-controls .ctrl {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.ctrl.close {
  background: #ff5f57;
}

.ctrl.minimize {
  background: #febc2e;
}

.ctrl.maximize {
  background: #28c840;
}

.laptop-window-title {
  flex: 1;
  text-align: center;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
  margin-right: 44px;
}

.laptop-window-body {
  padding: 20px;
}

.laptop-text-content {
  color: white;
}

.laptop-typing {
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 12px;
  position: relative;
}

.laptop-typing::after {
  content: '|';
  color: var(--accent-teal);
  animation: blink 1s step-end infinite;
}

.laptop-typed {
  font-size: 0.9rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 8px;
}

.laptop-typed.faded {
  opacity: 0.4;
}

/* Lexi Pill Overlay */
.lexi-pill-overlay {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
}

.lexi-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px 10px 14px;
  background: rgba(217, 79, 61, 0.95);
  border-radius: 100px;
  color: white;
  position: relative;
  box-shadow: 0 4px 20px rgba(217, 79, 61, 0.4);
}

.lexi-pill svg {
  width: 18px;
  height: 18px;
  position: relative;
  z-index: 2;
}

.pill-text {
  font-size: 0.85rem;
  font-weight: 500;
}

.pill-pulse {
  position: absolute;
  left: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  animation: pillPulse 1.5s ease-out infinite;
}

.pill-pulse.delay-1 {
  animation-delay: 0.5s;
}

@keyframes pillPulse {
  0% {
    transform: translateY(-50%) scale(1);
    opacity: 0.6;
  }

  100% {
    transform: translateY(-50%) scale(2);
    opacity: 0;
  }
}

/* Laptop Base */
.laptop-base {
  background: linear-gradient(180deg, #444 0%, #333 100%);
  height: 16px;
  border-radius: 0 0 4px 4px;
  position: relative;
}

.laptop-base::before {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 40%;
  height: 8px;
  background: linear-gradient(180deg, #444 0%, #555 100%);
  border-radius: 0 0 8px 8px;
}

.laptop-keyboard {
  width: 30%;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  margin: 6px auto 0;
}

/* ========================================
   CTA SECTION
   ======================================== */
.cta-section {
  padding: 120px 40px;
}

.cta-container {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  padding: 80px 50px;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-light);
  border-radius: 32px;
  text-align: center;
  overflow: hidden;
  box-shadow: var(--shadow-card), var(--shadow-glow);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.cta-container:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1), var(--shadow-glow);
}

.cta-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(123, 94, 167, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.cta-content {
  position: relative;
  z-index: 1;
}

.cta-content h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 500;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.cta-content p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 32px;
}

.cta-note {
  display: block;
  margin-top: 16px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
}

.footer-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 80px 40px 60px;
  display: flex;
  justify-content: space-between;
}

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

.footer-brand .logo {
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.footer-links {
  display: flex;
  gap: 80px;
}

.footer-column h4 {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.footer-column a {
  display: block;
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 12px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.footer-column a:hover {
  color: var(--text-primary);
  transform: translateX(4px);
}

.footer-bottom {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 24px 40px;
  border-top: 1px solid var(--border-subtle);
  text-align: center;
}

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

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */
@media (max-width: 1024px) {
  .tones-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin: 0 auto;
  }

  .dictionary-layout,
  .shortcuts-layout,
  .platforms-layout {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .dictionary-content,
  .shortcuts-content,
  .platforms-content {
    text-align: center;
    padding: 0;
    order: -1;
  }

  .steps-container {
    flex-direction: column;
    align-items: center;
    gap: 40px;
  }

  .step-connector {
    display: none;
  }
}

@media (max-width: 768px) {
  :root {
    --section-padding: 80px;
  }

  /* Disable custom cursor on mobile/tablet */
  body,
  body * {
    cursor: auto !important;
  }

  .custom-cursor,
  .custom-cursor-dot {
    display: none !important;
  }

  .navbar {
    top: 12px;
    width: calc(100% - 24px);
  }

  .nav-container {
    padding: 10px 10px 10px 16px;
  }

  .nav-center {
    display: none;
  }

  .nav-download-btn {
    padding: 8px 16px;
    font-size: 0.8rem;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .section-title-serif {
    font-size: 2rem;
  }

  .shortcut-row {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }

  .shortcut-trigger-box {
    min-width: unset;
  }

  .shortcut-arrow {
    text-align: center;
    transform: rotate(90deg);
  }

  .footer-container {
    flex-direction: column;
    gap: 48px;
  }

  .footer-links {
    gap: 40px;
    flex-wrap: wrap;
  }

  .cta-container {
    padding: 60px 32px;
  }
}

@media (max-width: 480px) {

  .nav-container,
  .section-container {
    padding-left: 20px;
    padding-right: 20px;
  }

  .hero {
    padding-top: 120px;
  }

  .btn-large {
    padding: 14px 28px;
    font-size: 0.9rem;
  }

  .tone-card {
    padding: 20px;
  }

  .autoedits-panel {
    padding: 20px;
  }

  .shortcut-trigger-box {
    padding: 10px 14px;
    font-size: 0.8rem;
  }

  .shortcut-result-box {
    padding: 10px 14px;
    font-size: 0.8rem;
  }
}

/* Selection */
::selection {
  background: rgba(123, 94, 167, 0.2);
  color: var(--text-primary);
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

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

::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.15);
  border-radius: 5px;
  border: 2px solid var(--bg-primary);
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 0, 0, 0.25);
}

/* ========================================
   SMOOTH PAGE LOAD
   ======================================== */
@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

body {
  animation: fadeIn 0.6s ease-out;
}