/* Stylesheet for Call Recorder Landing Page - Clean Light Theme */

/* ==========================================================================
   1. VARIABLES & DESIGN TOKENS
   ========================================================================== */
:root {
  /* Color Palette - Premium Light Theme matching tapeacall.com */
  --bg-primary: hsl(0, 0%, 100%);
  --bg-secondary: hsl(210, 20%, 98%);
  --bg-tertiary: hsl(210, 20%, 95%);
  --card-bg: hsl(0, 0%, 100%);
  --card-border: hsl(210, 14%, 90%);
  
  --accent-red: hsl(355, 78%, 52%);
  --accent-red-hover: hsl(355, 78%, 45%);
  --accent-red-glow: hsla(355, 78%, 52%, 0.15);
  
  --accent-blue: hsl(210, 85%, 50%);
  --accent-blue-hover: hsl(210, 85%, 42%);
  --accent-blue-glow: hsla(210, 85%, 50%, 0.15);
  
  --accent-purple: hsl(265, 70%, 55%);
  --accent-orange: hsl(25, 85%, 50%);
  
  --text-primary: hsl(220, 24%, 12%);
  --text-secondary: hsl(220, 12%, 40%);
  --text-muted: hsl(220, 8%, 60%);
  
  --gold: hsl(45, 90%, 50%);
  --green: hsl(145, 65%, 40%);
  --red-static: hsl(0, 80%, 50%);
  
  /* Phone Frame variables (Fixed dark mode) */
  --phone-bg: #0b0c0e;
  --phone-text: #f5f6f8;
  --phone-muted: #808893;
  --phone-card: #18191c;
  --phone-border: #282a30;
  
  /* Fonts */
  --font-display: 'Outfit', 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  
  /* Layout */
  --container-max-width: 1200px;
  --header-height: 80px;
  
  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   2. RESET & BASE STYLES
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  background-color: var(--bg-primary);
  color: var(--text-primary);
}

body {
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

button, input, select {
  font-family: inherit;
  background: none;
  border: none;
  color: inherit;
}

button {
  cursor: pointer;
}

/* Utilities */
.container {
  width: 100%;
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.text-center { text-align: center; }
.text-gray { color: var(--text-muted); }
.text-white { color: white; }
.text-red { color: var(--accent-red); }
.text-green { color: var(--green); }
.font-semibold { font-weight: 600; }
.font-medium { font-weight: 500; }
.font-normal { font-weight: 400; }
.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }
.w-full { width: 100%; }
.text-sm { font-size: 0.875rem; }
.text-xs { font-size: 0.75rem; }
.text-lg { font-size: 1.125rem; }
.hidden { display: none !important; }

/* ==========================================================================
   3. COMPONENTS & BUTTONS
   ========================================================================== */
/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: 9999px;
  font-weight: 600;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--accent-red);
  color: white;
  box-shadow: 0 4px 14px var(--accent-red-glow);
}

.btn-primary:hover {
  background-color: var(--accent-red-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--accent-red-glow);
}

.btn-secondary {
  background-color: var(--bg-secondary);
  color: var(--text-primary);
  border: 1px solid var(--card-border);
}

.btn-secondary:hover {
  background-color: var(--bg-tertiary);
  transform: translateY(-2px);
}

.btn-text {
  color: var(--text-secondary);
  font-weight: 500;
  transition: color var(--transition-fast);
}

.btn-text:hover {
  color: var(--text-primary);
  text-decoration: underline;
}

/* Premium Card */
.glass-card {
  background-color: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 1.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

.hover-glow {
  transition: all var(--transition-normal);
}

.hover-glow:hover {
  transform: translateY(-5px);
  border-color: var(--accent-red-glow);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

/* Logo Design */
.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--text-primary);
}

.logo span span {
  color: var(--accent-red);
}

.logo-icon {
  position: relative;
  width: 32px;
  height: 20px;
  background-color: #222;
  border-radius: 4px;
  border: 2px solid var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4px;
}

.tape-reel {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 2px dashed #fff;
  animation: spin 6s linear infinite;
}

.tape-dot {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background-color: var(--accent-red);
}

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

/* Section Headers */
.section-header {
  margin-bottom: 4rem;
}

.section-tag {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-red);
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: 2.75rem;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* ==========================================================================
   4. NAVIGATION HEADER
   ========================================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--card-border);
  z-index: 1000;
  display: flex;
  align-items: center;
}

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

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.25rem;
}

.nav-links a {
  font-weight: 600;
  color: var(--text-secondary);
}

.nav-links a:hover {
  color: var(--accent-red);
}

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

.menu-toggle {
  display: none;
  font-size: 1.5rem;
  color: var(--text-primary);
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: var(--header-height);
  left: 0;
  width: 100%;
  background-color: var(--bg-primary);
  border-bottom: 1px solid var(--card-border);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  transform: translateY(-120%);
  transition: transform var(--transition-normal);
  z-index: 999;
}

.mobile-menu.active {
  transform: translateY(0);
}

.mobile-link {
  font-size: 1.125rem;
  font-weight: 600;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--card-border);
}

.mobile-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

/* ==========================================================================
   5. HERO SECTION
   ========================================================================== */
.hero-section {
  position: relative;
  padding-top: calc(var(--header-height) + 5rem);
  padding-bottom: 8rem;
  background-color: var(--bg-primary);
  background-image: radial-gradient(circle at 80% 20%, hsla(355, 78%, 52%, 0.04), transparent 40%),
                    radial-gradient(circle at 10% 70%, hsla(210, 85%, 50%, 0.03), transparent 45%);
}

.hero-container {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 4rem;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: hsla(355, 78%, 52%, 0.08);
  border: 1px solid hsla(355, 78%, 52%, 0.15);
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  margin-bottom: 1.5rem;
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--accent-red);
  box-shadow: 0 0 8px var(--accent-red);
}

.badge-text {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent-red);
}

.hero-title {
  font-family: var(--font-display);
  font-size: 3.75rem;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 2.5rem;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  margin-bottom: 3rem;
}

.store-badge {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background-color: #0b0c0e;
  color: white;
  padding: 0.6rem 1.25rem;
  border-radius: 0.75rem;
  transition: all var(--transition-fast);
}

.store-badge:hover {
  background-color: #1c1e22;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.store-badge i {
  font-size: 1.75rem;
}

.badge-texts {
  display: flex;
  flex-direction: column;
}

.badge-texts span {
  font-size: 0.65rem;
  text-transform: uppercase;
  color: hsl(220, 10%, 70%);
}

.badge-texts strong {
  font-size: 1rem;
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.1;
}

.hero-social-proof {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.hero-social-proof .stars {
  display: flex;
  gap: 0.15rem;
  color: var(--gold);
}

.hero-social-proof span {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

/* Phone Mockup Frame */
.phone-wrapper {
  position: relative;
  width: 100%;
  max-width: 320px;
  height: 640px;
  margin: 0 auto;
  border: 12px solid #1a1a1a;
  border-radius: 40px;
  background-color: black;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
  overflow: hidden;
}

.glow-effect::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(
    transparent, 
    var(--accent-red-glow), 
    transparent 30%
  );
  animation: rotateGlow 8s linear infinite;
  z-index: 0;
}

@keyframes rotateGlow {
  100% { transform: rotate(360deg); }
}

.phone-notch {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 110px;
  height: 25px;
  background-color: #1a1a1a;
  border-bottom-left-radius: 15px;
  border-bottom-right-radius: 15px;
  z-index: 10;
}

.phone-screen {
  position: relative;
  width: 100%;
  height: 100%;
  background-color: #0b0c0e;
  border-radius: 28px;
  overflow: hidden;
  z-index: 1;
}

.phone-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.live-rec-dot {
  position: absolute;
  top: 36px;
  right: 24px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--red-static);
  box-shadow: 0 0 10px var(--red-static);
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 0, 0, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(255, 0, 0, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 0, 0, 0); }
}

.hero-waves {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  transform: rotate(180deg);
}

.hero-waves svg {
  position: relative;
  display: block;
  width: calc(100% + 1.3px);
  height: 50px;
}

.hero-waves .shape-fill {
  fill: var(--bg-secondary);
}

/* ==========================================================================
   6. PRESS SECTION
   ========================================================================== */
.press-section {
  background-color: var(--bg-secondary);
  padding: 3.5rem 0;
  border-bottom: 1px solid var(--card-border);
}

.press-title {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 2rem;
}

.press-slider {
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  width: 100%;
}

.press-slider::before, .press-slider::after {
  content: "";
  position: absolute;
  top: 0;
  width: 100px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.press-slider::before {
  left: 0;
  background: linear-gradient(to right, var(--bg-secondary), transparent);
}

.press-slider::after {
  right: 0;
  background: linear-gradient(to left, var(--bg-secondary), transparent);
}

.press-track {
  display: inline-block;
  animation: marquee 25s linear infinite;
}

.press-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 3rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-muted);
  opacity: 0.6;
  transition: all var(--transition-fast);
}

.press-logo:hover {
  opacity: 0.9;
  color: var(--text-primary);
}

/* ==========================================================================
   7. INTERACTIVE RECORDER SIMULATOR
   ========================================================================== */
.simulator-section {
  padding: 6rem 0;
  background-color: var(--bg-primary);
}

.simulator-wrapper {
  max-width: 900px;
  margin: 0 auto;
  padding: 3rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03);
}

.sim-steps {
  display: flex;
  justify-content: space-around;
  margin-bottom: 3.5rem;
  position: relative;
}

.sim-steps::before {
  content: '';
  position: absolute;
  top: 18px;
  left: 10%;
  width: 80%;
  height: 2px;
  background-color: var(--card-border);
  z-index: 0;
}

.sim-step-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  z-index: 1;
}

.step-num {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-color: var(--bg-secondary);
  border: 2px solid var(--card-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--text-secondary);
  transition: all var(--transition-normal);
}

.step-txt {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--text-muted);
  transition: all var(--transition-normal);
}

.sim-step-item.active .step-num {
  background-color: var(--accent-red);
  border-color: var(--accent-red);
  box-shadow: 0 0 12px var(--accent-red-glow);
  color: white;
}

.sim-step-item.active .step-txt {
  color: var(--text-primary);
}

/* Grid Layout */
.sim-grid {
  display: grid;
  grid-template-columns: 1fr 1.22fr;
  gap: 3rem;
  align-items: center;
}

/* Simulated Phone UI inside Simulator (Fixed Dark UI for realism) */
.sim-phone {
  position: relative;
  width: 100%;
  max-width: 290px;
  height: 520px;
  margin: 0 auto;
  border: 10px solid #1a1a1a;
  border-radius: 35px;
  background-color: black;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
  overflow: hidden;
}

.phone-screen-container {
  width: 100%;
  height: 100%;
  background-color: var(--phone-bg);
  border-radius: 25px;
  overflow: hidden;
  padding: 1rem;
  display: flex;
  flex-direction: column;
}

.phone-state {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  padding-top: 1rem;
}

.phone-state.active {
  display: flex;
}

.sim-phone-header {
  display: flex;
  justify-content: space-between;
  width: 100%;
  font-size: 0.65rem;
  color: var(--phone-muted);
}

.sim-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background-color: var(--phone-card);
  border: 1px solid var(--phone-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.25rem;
  color: var(--phone-text);
  margin-top: 2rem;
}

.sim-contact-name {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  text-align: center;
  margin-top: 1rem;
  color: var(--phone-text);
}

.sim-contact-status {
  font-size: 0.8125rem;
  color: var(--phone-muted);
}

.sim-main-btn {
  width: 100%;
  background: linear-gradient(135deg, var(--accent-red), hsl(355, 78%, 46%));
  border-radius: 0.75rem;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  font-weight: 600;
  font-size: 0.875rem;
  margin-bottom: 2rem;
  box-shadow: 0 4px 15px var(--accent-red-glow);
  color: white;
  transition: all var(--transition-fast);
}

.sim-main-btn i {
  font-size: 1.5rem;
  margin-bottom: 0.25rem;
}

.sim-main-btn:hover {
  transform: scale(1.02);
}

.sim-main-btn.stop-red {
  background: linear-gradient(135deg, hsl(0, 75%, 50%), hsl(0, 75%, 40%));
  box-shadow: 0 4px 15px rgba(255, 0, 0, 0.2);
}

/* Call Control Grid */
.call-controls-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem 1rem;
  width: 100%;
  margin-bottom: 2rem;
}

.ctrl-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.65rem;
  color: var(--phone-muted);
}

.ctrl-btn i {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--phone-card);
  border: 1px solid var(--phone-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
  color: var(--phone-text);
  transition: all var(--transition-fast);
}

.ctrl-btn.disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.ctrl-btn.merge-highlight i {
  background-color: var(--accent-red);
  border-color: var(--accent-red);
  color: white;
  animation: pulse-red-border 1.5s infinite;
}

@keyframes pulse-red-border {
  0% { box-shadow: 0 0 0 0 rgba(230, 57, 70, 0.7); }
  70% { box-shadow: 0 0 0 10px rgba(230, 57, 70, 0); }
  100% { box-shadow: 0 0 0 0 rgba(230, 57, 70, 0); }
}

/* Recording screen styles */
.live-rec-banner {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background-color: hsla(355, 78%, 56%, 0.15);
  border: 1px solid hsla(355, 78%, 56%, 0.25);
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  margin-top: 1.5rem;
}

.live-rec-banner .pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--accent-red);
  animation: pulse 1.5s infinite;
}

.duration-timer {
  font-size: 0.8125rem;
  font-weight: 700;
  font-family: monospace;
  color: var(--phone-text);
}

/* Audio Waveform Animation */
.wave-visualizer {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 4px;
  height: 50px;
  width: 100%;
  margin: 2rem 0;
}

.wave-bar {
  width: 4px;
  height: 10px;
  background-color: var(--accent-red);
  border-radius: 2px;
  animation: bounceWave 0.8s ease-in-out infinite alternate;
}

.wave-bar:nth-child(2) { animation-delay: 0.15s; }
.wave-bar:nth-child(3) { animation-delay: 0.3s; }
.wave-bar:nth-child(4) { animation-delay: 0.45s; }
.wave-bar:nth-child(5) { animation-delay: 0.6s; }
.wave-bar:nth-child(6) { animation-delay: 0.2s; }
.wave-bar:nth-child(7) { animation-delay: 0.35s; }

@keyframes bounceWave {
  0% { height: 10px; }
  100% { height: 45px; }
}

/* Completion screen styles */
.completion-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  margin-top: 2rem;
  color: var(--phone-text);
}

.completion-success i {
  font-size: 3rem;
  color: var(--green);
}

.completion-success h4 {
  font-family: var(--font-display);
  font-size: 1.25rem;
}

.saved-call-card {
  width: 100%;
  background-color: var(--phone-card);
  border: 1px solid var(--phone-border);
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 1.5rem 0;
}

.call-card-icon i {
  font-size: 1.5rem;
  color: var(--accent-red);
}

.call-card-details h5 {
  font-size: 0.8125rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 150px;
  color: var(--phone-text);
}

.call-card-details span {
  font-size: 0.6875rem;
  color: var(--phone-muted);
}

.completion-actions {
  display: flex;
  gap: 0.5rem;
  width: 100%;
}

.completion-actions button {
  flex: 1;
}

/* Console logs & Transcripts */
.sim-console {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  height: 100%;
  justify-content: center;
}

.console-box {
  background-color: #0d1117;
  border: 1px solid #21262d;
  border-radius: 0.75rem;
  font-family: monospace;
  font-size: 0.75rem;
  color: #c9d1d9;
  overflow: hidden;
}

.console-header {
  background-color: #161b22;
  padding: 0.5rem 1rem;
  border-bottom: 1px solid #21262d;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.console-header .dots {
  display: flex;
  gap: 4px;
}

.console-header .dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.dot-red { background-color: #ff5f56; }
.dot-yellow { background-color: #ffbd2e; }
.dot-green { background-color: #27c93f; }

.console-title {
  color: #8b949e;
}

.console-body {
  padding: 1rem;
  height: 130px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  scroll-behavior: smooth;
}

.log-line {
  line-height: 1.4;
}

.log-time {
  color: #8b949e;
}

.log-line.system { color: #8b949e; }
.log-line.process { color: #58a6ff; }
.log-line.success { color: #3fb950; }
.log-line.alert { color: #f85149; }

/* Transcription Box (Light styled to fit light theme body) */
.transcription-box {
  background-color: var(--bg-secondary);
  border: 1px solid var(--card-border);
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.02);
}

.trans-box-header {
  background-color: var(--bg-tertiary);
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--card-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 700;
  font-size: 0.8125rem;
}

.language-badge {
  font-size: 0.6875rem;
  background-color: var(--card-border);
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  color: var(--text-secondary);
  font-weight: 600;
}

.trans-body {
  padding: 1.25rem;
  height: 140px;
  overflow-y: auto;
  font-size: 0.875rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.trans-speaker {
  font-weight: 700;
  color: var(--accent-red);
}

.trans-text {
  color: var(--text-primary);
}

.trans-time {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-left: 0.5rem;
}

/* ==========================================================================
   8. CORE FEATURES
   ========================================================================== */
.features-section {
  padding: 6.5rem 0;
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--card-border);
  border-bottom: 1px solid var(--card-border);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.feature-card {
  padding: 2.5rem;
}

.feature-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: white;
  margin-bottom: 1.5rem;
}

.bg-red-gradient { background: linear-gradient(135deg, var(--accent-red), hsl(355, 70%, 40%)); }
.bg-blue-gradient { background: linear-gradient(135deg, var(--accent-blue), hsl(210, 80%, 40%)); }
.bg-purple-gradient { background: linear-gradient(135deg, var(--accent-purple), hsl(265, 75%, 45%)); }
.bg-orange-gradient { background: linear-gradient(135deg, var(--accent-orange), hsl(25, 80%, 40%)); }

.feature-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.feature-description {
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ==========================================================================
   9. APP SHOWCASE ROW
   ========================================================================== */
.showcase-section {
  padding: 6.5rem 0;
  background-color: var(--bg-primary);
}

.showcase-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.showcase-title {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 900;
  line-height: 1.2;
  margin-top: 1rem;
  margin-bottom: 1.5rem;
}

.showcase-description {
  font-size: 1.125rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  line-height: 1.7;
}

.showcase-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.showcase-bullets li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 600;
  color: var(--text-primary);
}

.showcase-bullets li i {
  color: var(--accent-red);
}

.glass-photo-frame {
  background-color: var(--bg-secondary);
  border: 1px solid var(--card-border);
  padding: 1rem;
  border-radius: 2rem;
  width: 100%;
  max-width: 340px;
  margin: 0 auto;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

.showcase-img {
  border-radius: 1.5rem;
  width: 100%;
}

/* ==========================================================================
   10. HOW IT WORKS
   ========================================================================== */
.how-it-works-section {
  padding: 6.5rem 0;
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--card-border);
  border-bottom: 1px solid var(--card-border);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  position: relative;
}

.step-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2rem;
  position: relative;
}

.step-num-circle {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--accent-red);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  box-shadow: 0 4px 12px var(--accent-red-glow);
  margin-bottom: 1.5rem;
}

.step-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

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

/* ==========================================================================
   11. COMPARISON GRID
   ========================================================================== */
.comparison-section {
  padding: 6.5rem 0;
  background-color: var(--bg-primary);
}

.table-responsive {
  overflow-x: auto;
  width: 100%;
}

.comparison-table {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  border-collapse: collapse;
  text-align: left;
}

.comparison-table th, .comparison-table td {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--card-border);
}

.comparison-table th {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 800;
  color: var(--text-primary);
}

.comparison-table th:first-child, .comparison-table td:first-child {
  font-weight: 700;
  width: 40%;
}

.comparison-table th.highlight-col, .comparison-table td.highlight-col {
  background-color: hsla(355, 78%, 52%, 0.02);
  border-left: 2px solid hsla(355, 78%, 52%, 0.15);
  border-right: 2px solid hsla(355, 78%, 52%, 0.15);
  text-align: center;
  width: 30%;
}

.comparison-table th.highlight-col {
  border-top: 2px solid var(--accent-red);
  color: var(--accent-red);
  font-weight: 900;
}

.comparison-table td:last-child {
  color: var(--text-muted);
  text-align: center;
  width: 30%;
}

.comparison-table tr:last-child td {
  border-bottom: none;
}

.comparison-table tr:last-child td.highlight-col {
  border-bottom: 2px solid var(--accent-red);
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
}

/* ==========================================================================
   12. TESTIMONIALS SECTION
   ========================================================================== */
.testimonials-section {
  padding: 6.5rem 0;
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--card-border);
  border-bottom: 1px solid var(--card-border);
}

.testimonials-slider {
  max-width: 700px;
  margin: 0 auto;
  position: relative;
}

.testimonials-wrapper {
  position: relative;
  height: 250px;
  overflow: hidden;
}

.testimonial-card {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding: 2.5rem;
  opacity: 0;
  transform: translateX(50px);
  pointer-events: none;
  transition: all var(--transition-slow);
}

.testimonial-card.active {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

.stars-gold {
  color: var(--gold);
  margin-bottom: 1.25rem;
}

.testimonial-quote {
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  font-style: italic;
  color: var(--text-primary);
}

.testimonial-user {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.user-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--accent-red);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.875rem;
}

.user-info h4 {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--text-primary);
}

.user-info span {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2rem;
}

.slider-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--card-border);
  background-color: var(--bg-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.slider-btn:hover {
  border-color: var(--accent-red-glow);
  color: var(--accent-red);
  background-color: var(--bg-secondary);
}

.slider-dots {
  display: flex;
  gap: 8px;
}

.slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--card-border);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.slider-dot.active {
  background-color: var(--accent-red);
  width: 24px;
  border-radius: 4px;
}

/* ==========================================================================
   13. PRICING SECTION
   ========================================================================== */
.pricing-section {
  padding: 6.5rem 0;
  background-color: var(--bg-primary);
}

/* Toggle Switch */
.pricing-toggle-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 2.5rem;
}

.toggle-label {
  font-weight: 700;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
}

.toggle-label.active {
  color: var(--text-primary);
}

.save-tag {
  font-size: 0.6875rem;
  background-color: var(--accent-red);
  color: white;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  margin-left: 0.25rem;
}

.switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 26px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--bg-secondary);
  border: 1px solid var(--card-border);
  transition: .3s;
}

.toggle-slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: var(--text-muted);
  transition: .3s;
}

input:checked + .toggle-slider {
  background-color: var(--accent-red);
  border-color: var(--accent-red);
}

input:checked + .toggle-slider:before {
  background-color: white;
  transform: translateX(24px);
}

.toggle-slider.round {
  border-radius: 34px;
}

.toggle-slider.round:before {
  border-radius: 50%;
}

/* Grid Layout */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 4rem;
  align-items: stretch;
}

.pricing-card {
  padding: 3rem 2rem;
  display: flex;
  flex-direction: column;
  position: relative;
}

.pricing-card.popular-card {
  border-color: var(--accent-red);
  box-shadow: 0 15px 40px rgba(230, 57, 70, 0.05);
}

.popular-badge {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: var(--accent-red);
  color: white;
  font-size: 0.6875rem;
  font-weight: 800;
  padding: 0.35rem 1rem;
  border-radius: 9999px;
  letter-spacing: 0.05em;
}

.plan-name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.plan-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.plan-price {
  margin-bottom: 2.5rem;
  display: flex;
  align-items: baseline;
}

.price-currency {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
}

.price-value {
  font-size: 3.5rem;
  font-family: var(--font-display);
  font-weight: 900;
  line-height: 1;
}

.price-period {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-left: 0.5rem;
}

.price-text {
  font-size: 2.25rem;
  font-family: var(--font-display);
  font-weight: 900;
  line-height: 1.6;
}

.plan-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-grow: 1;
}

.plan-features li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9375rem;
  font-weight: 500;
}

.plan-features li i.fa-check { color: var(--green); }
.plan-features li i.fa-xmark { color: var(--text-muted); }
.plan-features li.disabled {
  color: var(--text-muted);
  text-decoration: line-through;
}

/* ==========================================================================
   14. FAQ ACCORDION
   ========================================================================== */
.faq-section {
  padding: 6.5rem 0;
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--card-border);
  border-bottom: 1px solid var(--card-border);
}

.faq-wrapper {
  max-width: 750px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background-color: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 0.75rem;
  overflow: hidden;
  transition: all var(--transition-normal);
}

.faq-trigger {
  width: 100%;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  transition: color var(--transition-fast);
}

.faq-trigger i {
  color: var(--text-muted);
  transition: transform var(--transition-normal);
}

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

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-normal) ease-out;
}

.faq-content p {
  padding: 0 1.5rem 1.5rem 1.5rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.faq-item.active {
  border-color: rgba(0, 0, 0, 0.1);
}

.faq-item.active .faq-trigger i {
  transform: rotate(180deg);
  color: var(--accent-red);
}

/* ==========================================================================
   15. CTA BANNER SECTION
   ========================================================================== */
.cta-banner {
  padding: 6.5rem 0;
  background-color: var(--bg-primary);
}

.cta-container {
  padding: 4.5rem;
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.cta-container::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background-color: var(--accent-red-glow);
  filter: blur(100px);
  z-index: 0;
}

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

.cta-title {
  font-family: var(--font-display);
  font-size: 2.75rem;
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.cta-subtitle {
  font-size: 1.125rem;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  line-height: 1.6;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
}

.cta-graphic {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 1;
}

.cta-graphic i {
  font-size: 7rem;
  color: var(--accent-red);
  opacity: 0.85;
  filter: drop-shadow(0 0 15px var(--accent-red-glow));
}

/* ==========================================================================
   16. FOOTER
   ========================================================================== */
.footer {
  background-color: #0d1117;
  border-top: 1px solid #21262d;
  color: #c9d1d9;
  padding: 6.5rem 0 3.5rem 0;
}

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

.footer .logo {
  color: white;
}

.footer .logo-icon {
  border-color: white;
}

.brand-desc {
  color: #8b949e;
  font-size: 0.9375rem;
  max-width: 300px;
}

.social-icons {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.social-icons a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-color: #161b22;
  border: 1px solid #21262d;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #8b949e;
  transition: all var(--transition-fast);
}

.social-icons a:hover {
  background-color: var(--accent-red);
  color: white;
  border-color: var(--accent-red);
  transform: translateY(-2px);
}

.footer-links-col h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  color: white;
}

.footer-links-col a {
  display: block;
  font-size: 0.9375rem;
  color: #8b949e;
  margin-bottom: 0.75rem;
}

.footer-links-col a:hover {
  color: white;
}

.footer-bottom {
  border-top: 1px solid #21262d;
  padding-top: 2rem;
  text-align: center;
  font-size: 0.8125rem;
  color: #8b949e;
}

.disclaimer {
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ==========================================================================
   17. MEDIA QUERIES (RESPONSIVENESS)
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 2rem;
  }
  
  .hero-title {
    font-size: 3rem;
  }
}

@media (max-width: 768px) {
  .header {
    height: 70px;
  }
  
  .menu-toggle {
    display: block;
  }
  
  .nav-links, .nav-actions {
    display: none;
  }
  
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 4rem;
  }
  
  .hero-badge {
    justify-content: center;
  }
  
  .hero-ctas {
    justify-content: center;
  }
  
  .hero-social-proof {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .sim-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .showcase-row {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
  }
  
  .showcase-bullets {
    align-items: center;
  }
  
  .steps-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .cta-container {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 3rem 2rem;
  }
  
  .cta-buttons {
    justify-content: center;
    flex-direction: column;
  }
  
  .cta-graphic {
    display: none;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .brand-desc {
    max-width: 100%;
  }
}
