/* ============================================
   Nowl.io Landing Page Styles
   Matching app design: Inter + Crimson Text, warm coral/cream palette
   ============================================ */

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('./fonts/inter/inter-variable.woff2') format('woff2');
}

@font-face {
  font-family: 'Crimson Text';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('./fonts/crimson-text/crimson-text-400.woff2') format('woff2');
}

@font-face {
  font-family: 'Crimson Text';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('./fonts/crimson-text/crimson-text-400-italic.woff2') format('woff2');
}

@font-face {
  font-family: 'Crimson Text';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('./fonts/crimson-text/crimson-text-600.woff2') format('woff2');
}

@font-face {
  font-family: 'Crimson Text';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('./fonts/crimson-text/crimson-text-700.woff2') format('woff2');
}

@font-face {
  font-family: 'Tsukimi Rounded';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('./fonts/tsukimi-rounded/tsukimi-rounded-500.woff2') format('woff2');
}

@font-face {
  font-family: 'Tsukimi Rounded';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('./fonts/tsukimi-rounded/tsukimi-rounded-600.woff2') format('woff2');
}

@font-face {
  font-family: 'Tsukimi Rounded';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('./fonts/tsukimi-rounded/tsukimi-rounded-700.woff2') format('woff2');
}

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

:root {
  /* Light theme - matching app's warm paper aesthetic */
  --color-bg: hsl(36, 33%, 97%);
  --color-bg-elevated: hsl(36, 40%, 98%);
  --color-bg-card: hsl(36, 40%, 98%);
  --color-border: hsl(30, 20%, 88%);
  --color-text: hsl(24, 10%, 20%);
  --color-text-muted: hsl(24, 8%, 50%);
  --color-text-subtle: hsl(24, 8%, 60%);
  --color-primary: hsl(12, 76%, 61%);
  --color-primary-light: hsl(12, 76%, 95%);
  --color-primary-dark: hsl(12, 76%, 45%);
  --color-accent: hsl(24, 60%, 95%);
  --color-accent-dark: hsl(12, 76%, 45%);
  --gradient-primary: linear-gradient(135deg, hsl(12, 76%, 61%) 0%, hsl(12, 76%, 45%) 100%);
  --gradient-glow: radial-gradient(circle at center, hsl(12, 76%, 61%, 0.1) 0%, transparent 70%);
  --shadow-sm: 0 1px 3px hsl(24, 10%, 20%, 0.05), 0 4px 12px hsl(24, 10%, 20%, 0.08);
  --shadow-md: 0 4px 12px hsl(24, 10%, 20%, 0.08), 0 12px 24px hsl(24, 10%, 20%, 0.06);
  --shadow-lg: 0 12px 24px hsl(24, 10%, 20%, 0.1), 0 24px 48px hsl(24, 10%, 20%, 0.08);
  --shadow-glow: 0 0 40px hsl(12, 76%, 61%, 0.2);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --font-display: 'Crimson Text', Georgia, serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --font-logo: 'Tsukimi Rounded', system-ui, sans-serif;
  --transition-fast: 0.15s ease;
  --transition-base: 0.25s ease;
  --transition-slow: 0.4s ease;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================
   Navigation
   ============================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: hsl(36, 33%, 97%, 0.9);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--color-border);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-logo);
  font-size: 1.5rem;
  font-weight: 600;
}

.logo-icon {
  font-size: 1.75rem;
}

.logo-icon-box {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--color-primary);
  border-radius: 10px;
  color: white;
  box-shadow: 0 1px 3px hsl(24, 10%, 20%, 0.1), 0 4px 12px hsl(12, 76%, 61%, 0.15);
}

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

.logo-text {
  color: black;
}

.logo-nowl {
  color: black;
}

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

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-links a {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color var(--transition-fast);
}

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

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

.lang-switcher {
  position: relative;
}

.lang-switcher-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: transparent;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-text-muted);
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.lang-switcher-btn:hover,
.lang-switcher-btn.active {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.lang-switcher-btn svg {
  flex-shrink: 0;
}

.lang-chevron {
  transition: transform var(--transition-fast);
}

.lang-switcher-btn.active .lang-chevron {
  transform: rotate(180deg);
}

.lang-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  flex-direction: column;
  min-width: 160px;
  max-height: 320px;
  overflow-y: auto;
  background: var(--color-bg-elevated);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  z-index: 1001;
}

.lang-option {
  display: block;
  width: 100%;
  padding: 8px 16px;
  background: none;
  border: none;
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--color-text);
  cursor: pointer;
  text-align: left;
  transition: background var(--transition-fast);
}

.lang-option:hover {
  background: var(--color-primary-light);
  color: var(--color-primary);
}

/* ============================================
   Buttons
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-lg);
  border: none;
  cursor: pointer;
  transition: all var(--transition-base);
}

.btn-primary {
  background: var(--color-primary);
  color: white;
  box-shadow: var(--shadow-sm), 0 0 20px hsl(12, 76%, 61%, 0.2);
}

.btn-primary:hover {
  transform: translateY(-2px);
  background: var(--color-primary-dark);
  box-shadow: var(--shadow-md), 0 0 30px hsl(12, 76%, 61%, 0.3);
}

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

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

.btn-large {
  padding: 16px 32px;
  font-size: 1rem;
}

.btn-full {
  width: 100%;
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

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

.orb-1 {
  width: 600px;
  height: 600px;
  background: hsl(12, 76%, 85%);
  top: -200px;
  right: -100px;
  animation-delay: 0s;
}

.orb-2 {
  width: 400px;
  height: 400px;
  background: hsl(24, 60%, 85%);
  bottom: -100px;
  left: -100px;
  animation-delay: -7s;
}

.orb-3 {
  width: 300px;
  height: 300px;
  background: hsl(12, 76%, 75%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.2;
  animation-delay: -14s;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(20px, -30px) scale(1.05); }
  50% { transform: translate(-20px, 20px) scale(0.95); }
  75% { transform: translate(30px, 10px) scale(1.02); }
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin-bottom: 32px;
  box-shadow: var(--shadow-sm);
}

.badge-dot {
  width: 8px;
  height: 8px;
  background: var(--color-primary);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.2); }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 5vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 24px;
  letter-spacing: -0.01em;
  color: var(--color-text);
}

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

.text-black {
  color: black;
}

.hero-description {
  font-size: 1.25rem;
  color: var(--color-text-muted);
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 64px;
}

.hero-stats {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}

.stat {
  text-align: center;
}

.stat-number {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-primary);
}

.stat-label {
  font-size: 0.875rem;
  color: var(--color-text-subtle);
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--color-border);
}

/* ============================================
   Section Common Styles
   ============================================ */
section {
  padding: 100px 0;
}

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

.section-tag {
  display: inline-block;
  padding: 6px 14px;
  background: var(--color-primary-light);
  border: 1px solid hsl(12, 76%, 61%, 0.2);
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
  color: var(--color-text);
}

.section-description {
  font-size: 1.125rem;
  color: var(--color-text-muted);
}

/* ============================================
   Voice Workflow Section
   ============================================ */
.voice-workflow {
  background: var(--color-bg);
  padding: 100px 0;
}

.workflow-step {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  margin-bottom: 100px;
}

.workflow-step:last-child {
  margin-bottom: 0;
}

.workflow-step-reverse {
  direction: rtl;
}

.workflow-step-reverse > * {
  direction: ltr;
}

.workflow-step-content {
  max-width: 500px;
}

.workflow-step-number {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 12px;
  letter-spacing: 0.1em;
}

.workflow-step-content h3 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--color-text);
}

.workflow-step-content > p {
  font-size: 1.1rem;
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: 24px;
}

.workflow-features {
  list-style: none;
  padding: 0;
  margin: 0;
}

.workflow-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  color: var(--color-text);
  font-weight: 500;
}

.workflow-features svg {
  stroke: var(--color-primary);
  flex-shrink: 0;
}

/* Demo Cards */
.demo-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.demo-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
}

.demo-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: var(--color-accent);
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-text);
}

.demo-badge.recording {
  background: hsl(0, 70%, 95%);
  color: hsl(0, 70%, 45%);
}

.demo-badge.success {
  background: hsl(150, 60%, 95%);
  color: hsl(150, 60%, 35%);
}

.recording-dot {
  width: 8px;
  height: 8px;
  background: hsl(0, 70%, 50%);
  border-radius: 50%;
  animation: pulse 1.5s ease-in-out infinite;
}

.demo-time {
  font-family: monospace;
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

/* Waveform */
.demo-waveform {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 24px 20px;
  background: var(--color-bg);
}

.waveform-bar {
  width: 6px;
  background: var(--color-primary);
  border-radius: 3px;
  animation: wave 1s ease-in-out infinite;
}

.waveform-bar:nth-child(1) { animation-delay: 0s; }
.waveform-bar:nth-child(2) { animation-delay: 0.1s; }
.waveform-bar:nth-child(3) { animation-delay: 0.2s; }
.waveform-bar:nth-child(4) { animation-delay: 0.3s; }
.waveform-bar:nth-child(5) { animation-delay: 0.4s; }
.waveform-bar:nth-child(6) { animation-delay: 0.5s; }
.waveform-bar:nth-child(7) { animation-delay: 0.6s; }
.waveform-bar:nth-child(8) { animation-delay: 0.7s; }
.waveform-bar:nth-child(9) { animation-delay: 0.8s; }
.waveform-bar:nth-child(10) { animation-delay: 0.9s; }
.waveform-bar:nth-child(11) { animation-delay: 1s; }
.waveform-bar:nth-child(12) { animation-delay: 1.1s; }

@keyframes wave {
  0%, 100% { transform: scaleY(1); }
  50% { transform: scaleY(0.5); }
}

/* Transcript Demo */
.demo-transcript {
  padding: 20px;
}

.demo-transcript .transcript-line {
  font-size: 0.95rem;
  color: var(--color-text);
  line-height: 1.7;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--color-border);
}

.demo-transcript .transcript-line:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.demo-transcript .speaker {
  display: inline-block;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  margin-right: 8px;
  vertical-align: middle;
}

.demo-transcript .speaker-alex {
  background: hsl(12, 76%, 95%);
  color: hsl(12, 76%, 45%);
}

.demo-transcript .speaker-jordan {
  background: hsl(200, 70%, 95%);
  color: hsl(200, 70%, 40%);
}

.demo-footer {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 16px 20px;
  background: var(--color-bg);
  border-top: 1px solid var(--color-border);
}

.demo-stat {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.demo-stat svg {
  stroke: var(--color-primary);
}

/* Live Transcript (kept for other uses) */
.demo-transcript-live {
  padding: 20px;
}

.transcript-line {
  font-size: 0.95rem;
  color: var(--color-text);
  line-height: 1.6;
  margin-bottom: 12px;
}

.transcript-line:last-child {
  margin-bottom: 0;
}

.timestamp {
  display: inline-block;
  font-family: monospace;
  font-size: 0.75rem;
  color: var(--color-primary);
  background: var(--color-primary-light);
  padding: 2px 6px;
  border-radius: 4px;
  margin-right: 8px;
}

/* Speakers Demo */
.demo-speakers {
  padding: 20px;
}

.speaker-line {
  display: flex;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--color-border);
}

.speaker-line:last-child {
  border-bottom: none;
}

.speaker-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 0.75rem;
  font-weight: 600;
  flex-shrink: 0;
}

.speaker-content {
  flex: 1;
}

.speaker-name {
  font-weight: 600;
  color: var(--color-text);
  font-size: 0.9rem;
  margin-bottom: 4px;
  display: block;
}

.speaker-guess {
  font-weight: 400;
  font-size: 0.75rem;
  color: var(--color-primary);
  background: var(--color-primary-light);
  padding: 2px 8px;
  border-radius: var(--radius-full);
  margin-left: 8px;
}

.speaker-content p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin: 0;
}

/* Summary Demo */
.demo-summary {
  padding: 20px;
}

.summary-section {
  margin-bottom: 20px;
}

.summary-section:last-child {
  margin-bottom: 0;
}

.summary-section h4 {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 8px;
}

.summary-section > p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin: 0;
}

.summary-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.summary-section li {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  padding: 6px 0;
  padding-left: 16px;
  position: relative;
}

.summary-section li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--color-primary);
}

.summary-section li strong {
  color: var(--color-text);
}

/* Chat Demo */
.demo-chat {
  padding: 20px;
}

.chat-bubble {
  padding: 14px 18px;
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  font-size: 0.9rem;
  line-height: 1.6;
}

.chat-bubble:last-child {
  margin-bottom: 0;
}

.chat-bubble.user {
  background: var(--color-accent);
  color: var(--color-text);
  margin-left: 24px;
}

.chat-bubble.assistant {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  margin-right: 24px;
}

.chat-bubble p {
  margin: 0 0 8px 0;
  color: var(--color-text-muted);
}

.chat-bubble p:last-child {
  margin-bottom: 0;
}

.chat-bubble a {
  color: var(--color-primary);
  text-decoration: underline;
}

.chat-bubble strong {
  color: var(--color-text);
}

/* ============================================
   More Features Section
   ============================================ */
.more-features {
  background: var(--color-bg-elevated);
  padding: 100px 0;
}

.features-grid-small {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.feature-card-small {
  padding: 24px;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  text-align: center;
  transition: all var(--transition-base);
}

.feature-card-small:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-primary);
}

.feature-icon-small {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-primary-light);
  border-radius: var(--radius-md);
  margin: 0 auto 16px;
}

.feature-icon-small svg {
  stroke: var(--color-primary);
}

.feature-card-small h4 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--color-text);
}

.feature-card-small p {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin: 0;
}

.features-summary {
  text-align: center;
  margin-top: 48px;
  padding: 0 24px;
}

.features-summary-text {
  font-size: 1.125rem;
  color: var(--color-text-muted);
  line-height: 1.7;
  max-width: 600px;
  margin: 0 auto;
}

/* ============================================
   How It Works Section
   ============================================ */
.how-it-works {
  background: var(--color-bg);
}

.steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 600px;
  margin: 0 auto;
}

.step {
  display: flex;
  gap: 24px;
  padding: 32px 0;
}

.step-number {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1;
  min-width: 80px;
}

.step-content h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--color-text);
}

.step-content p {
  color: var(--color-text-muted);
}

.step-connector {
  width: 2px;
  height: 40px;
  background: linear-gradient(180deg, var(--color-primary) 0%, hsl(24, 60%, 75%) 100%);
  margin-left: 39px;
  opacity: 0.5;
}

/* ============================================
   Pricing Section
   ============================================ */
.pricing {
  background: var(--color-bg-elevated);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}

.pricing-card {
  position: relative;
  padding: 40px 32px;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  transition: all var(--transition-base);
  box-shadow: var(--shadow-sm);
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.pricing-popular {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-glow);
}

.popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 6px 16px;
  background: var(--color-primary);
  color: white;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.pricing-header {
  text-align: center;
  margin-bottom: 32px;
}

.pricing-header h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--color-text);
}

.price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
}

.price-amount {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  color: var(--color-text);
}

.price-period {
  color: var(--color-text-muted);
}

.pricing-features {
  list-style: none;
  margin-bottom: 32px;
}

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

.pricing-features li:last-child {
  border-bottom: none;
}

.pricing-features svg {
  stroke: var(--color-primary);
  flex-shrink: 0;
}

/* ============================================
   CTA Section
   ============================================ */
.cta {
  background: var(--color-bg);
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-glow);
  opacity: 0.5;
}

.cta-content {
  position: relative;
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
  padding: 80px 24px;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

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

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

/* ============================================
   Footer
   ============================================ */
.footer {
  background: var(--color-bg-elevated);
  border-top: 1px solid var(--color-border);
  padding: 64px 0 32px;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 64px;
  margin-bottom: 48px;
}

.footer-brand p {
  color: var(--color-text-muted);
  margin-top: 16px;
  max-width: 280px;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

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

.footer-column a {
  display: block;
  color: var(--color-text-muted);
  font-size: 0.95rem;
  padding: 8px 0;
  transition: color var(--transition-fast);
}

.footer-column a:hover {
  color: var(--color-primary);
}

.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid var(--color-border);
  text-align: center;
}

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

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .lang-switcher-btn #lang-switcher-label {
    display: none;
  }

  .lang-switcher-btn {
    padding: 6px 8px;
  }

  .lang-dropdown {
    right: -40px;
  }

  .hero {
    padding: 100px 0 60px;
  }

  .hero-stats {
    gap: 24px;
  }

  .stat-divider {
    display: none;
  }

  .feature-highlight {
    grid-column: span 1;
  }

  .step {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .step-number {
    min-width: auto;
  }

  .step-connector {
    margin: 0 auto;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .footer-links {
    grid-template-columns: 1fr 1fr;
  }
}

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

  .hero-cta {
    flex-direction: column;
    align-items: center;
  }

  .btn-large {
    width: 100%;
  }

  .footer-links {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   AI Highlight in Hero
   ============================================ */
.ai-highlight {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  max-width: 500px;
  margin: 0 auto 40px;
}

.hero-chat-demo {
  width: 100%;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 12px;
  box-shadow: var(--shadow-sm);
}

.hero-chat-message {
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  margin-bottom: 6px;
}

.hero-chat-message:last-child {
  margin-bottom: 0;
}

.hero-chat-message.user {
  background: var(--color-accent);
}

.hero-chat-message.assistant {
  background: var(--color-bg);
  border: 1px solid hsl(12, 76%, 61%, 0.15);
}

.hero-chat-avatar {
  display: inline;
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--color-primary);
  margin-right: 6px;
}

.hero-chat-message p {
  display: inline;
  color: var(--color-text);
  font-size: 0.8rem;
  line-height: 1.4;
  margin: 0;
}

.hero-chat-sources {
  display: block;
  font-size: 0.65rem;
  color: var(--color-text-subtle);
  margin-top: 4px;
}

.ai-query-box {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 20px 24px;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md), 0 0 0 4px hsl(12, 76%, 61%, 0.08);
  position: relative;
  overflow: hidden;
}

.ai-query-box::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--gradient-primary);
}

.ai-query-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-primary);
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 4px 12px hsl(12, 76%, 61%, 0.3);
}

.ai-query-icon svg {
  stroke: white;
  width: 24px;
  height: 24px;
}

.ai-query-text {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-style: italic;
  color: var(--color-text);
  line-height: 1.4;
  text-align: center;
}

.ai-query-cursor {
  display: inline-block;
  width: 2px;
  height: 1.2em;
  background: var(--color-primary);
  margin-left: 2px;
  animation: blink 1s step-end infinite;
}

@keyframes blink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}

.ai-response-preview {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  background: transparent;
  color: var(--color-text-muted);
}

.ai-response-sparkle {
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ai-response-sparkle svg {
  stroke: var(--color-primary);
  width: 16px;
  height: 16px;
}

@keyframes sparkle {
  0%, 100% { transform: scale(1) rotate(0deg); }
  50% { transform: scale(1.1) rotate(10deg); }
}

.ai-response-text {
  font-weight: 500;
  color: var(--color-text-muted);
  font-size: 0.875rem;
}

/* ============================================
   AI Assistant Section
   ============================================ */
.ai-section {
  background: white;
  padding: 100px 0;
}

.ai-section-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.ai-section-text .section-title {
  text-align: left;
}

.ai-section-text .section-description {
  text-align: left;
  margin-bottom: 32px;
}

.ai-features-list {
  list-style: none;
  margin-bottom: 32px;
}

.ai-features-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  color: var(--color-text);
  font-weight: 500;
}

.ai-features-list svg {
  stroke: var(--color-primary);
  flex-shrink: 0;
}

/* Chat Demo */
.chat-demo {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-lg);
}

.chat-message {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px;
  border-radius: var(--radius-md);
  margin-bottom: 16px;
}

.chat-message:last-child {
  margin-bottom: 0;
}

.chat-message.user {
  background: var(--color-accent);
  border: 1px solid var(--color-border);
}

.chat-message.assistant {
  background: var(--color-bg-card);
  border: 1px solid hsl(12, 76%, 61%, 0.2);
}

.chat-avatar {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-primary);
}

.chat-message p {
  color: var(--color-text);
  line-height: 1.6;
  margin: 0;
}

.chat-message ul {
  list-style: none;
  padding: 0;
  margin: 12px 0 0 0;
}

.chat-message ul li {
  padding: 8px 0;
  border-bottom: 1px solid var(--color-border);
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.chat-message ul li:last-child {
  border-bottom: none;
}

.chat-message ul li strong {
  color: var(--color-text);
}

.chat-sources {
  font-size: 0.75rem;
  color: var(--color-text-subtle);
  margin-top: 8px;
}

/* ============================================
   Responsive - AI Section
   ============================================ */
@media (max-width: 768px) {
  .ai-highlight {
    padding: 0 16px;
  }
  
  .ai-query-box {
    flex-direction: column;
    text-align: center;
    padding: 24px 20px;
  }
  
  .ai-query-box::before {
    left: 0;
    right: 0;
    top: 0;
    bottom: auto;
    width: auto;
    height: 4px;
  }
  
  .ai-response-preview {
    flex-direction: column;
    text-align: center;
    padding: 16px 20px;
    border-radius: var(--radius-lg);
  }
  
  .ai-section-content {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  
  .ai-section-text .section-title,
  .ai-section-text .section-description {
    text-align: center;
  }
  
  .ai-features-list li {
    justify-content: center;
  }
  
  .ai-section-text .btn {
    width: 100%;
    justify-content: center;
  }
}

/* ============================================
   Responsive - Workflow Section
   ============================================ */
@media (max-width: 900px) {
  .workflow-step {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .workflow-step-reverse {
    direction: ltr;
  }
  
  .workflow-step-content {
    max-width: 100%;
    text-align: center;
  }
  
  .workflow-features li {
    justify-content: center;
  }
  
  .features-grid-small {
    grid-template-columns: repeat(2, 1fr);
  }
}

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