/* SoundBite AI - Warm Paper Theme Design System */

:root {
  /* Warm Paper Light Mode Palette (from src/constants/theme.ts) */
  --color-paper: #F9F7F2;
  --color-paper-light: #FAF8F5;
  --color-paper-card: #FFFFFF;
  --color-paper-border: #EAE5DC;
  --color-paper-darker: #E5DFD4;
  --color-terracotta: #B8583B;
  --color-terracotta-light: #F7E8E3;
  --color-terracotta-dark: #964833;
  --color-sage: #4D6455;
  --color-sage-light: #E7EDE8;
  --color-sage-soft: #8A9E92;
  --color-ochre: #8F662F;
  --color-ochre-light: #F9EFE3;
  --color-espresso: #2B2623;
  --color-espresso-muted: #5C5550;
  --color-espresso-subtle: #8C827A;
  --color-white: #FFFFFF;

  /* Semantic UI Tokens - Light */
  --bg-primary: var(--color-paper);
  --bg-card: var(--color-paper-card);
  --bg-card-subtle: var(--color-paper-light);
  --bg-hover: rgba(184, 88, 59, 0.06);
  --bg-accent-soft: var(--color-terracotta-light);
  --border-color: var(--color-paper-border);
  --border-subtle: var(--color-paper-darker);
  --text-main: var(--color-espresso);
  --text-muted: var(--color-espresso-muted);
  --text-subtle: var(--color-espresso-subtle);
  --accent-color: var(--color-terracotta);
  --accent-hover: var(--color-terracotta-dark);
  --accent-text: #FFFFFF;
  --tag-todo-bg: #FEE8E2;
  --tag-todo-text: #B8583B;
  --tag-idea-bg: #E7EDE8;
  --tag-idea-text: #4D6455;
  --tag-follow-bg: #F9EFE3;
  --tag-follow-text: #8F662F;

  --shadow-sm: 0 1px 3px rgba(43, 38, 35, 0.05);
  --shadow-card: 0 4px 16px rgba(90, 70, 50, 0.06);
  --shadow-lg: 0 12px 32px rgba(90, 70, 50, 0.08);
  --shadow-cta: 0 6px 16px rgba(184, 88, 59, 0.28);

  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-full: 9999px;
  --nav-height: 68px;
  --max-width: 1200px;
}

/* Dark Mode Tokens (Espresso Night) */
html.dark {
  --color-paper: #151210;
  --color-paper-light: #1C1815;
  --color-paper-card: #221D1A;
  --color-paper-border: #362E29;
  --color-paper-darker: #453A34;
  --color-terracotta: #D97254;
  --color-terracotta-light: #38231C;
  --color-terracotta-dark: #B8583B;
  --color-sage: #6E947F;
  --color-sage-light: #212C26;
  --color-sage-soft: #8A9E92;
  --color-ochre: #E2A758;
  --color-ochre-light: #332717;
  --color-espresso: #F9F7F2;
  --color-espresso-muted: #B8AEA6;
  --color-espresso-subtle: #877D76;

  --bg-primary: var(--color-paper);
  --bg-card: var(--color-paper-card);
  --bg-card-subtle: var(--color-paper-light);
  --bg-hover: rgba(217, 114, 84, 0.12);
  --bg-accent-soft: rgba(217, 114, 84, 0.15);
  --border-color: var(--color-paper-border);
  --border-subtle: var(--color-paper-darker);
  --text-main: var(--color-espresso);
  --text-muted: var(--color-espresso-muted);
  --text-subtle: var(--color-espresso-subtle);
  --accent-color: var(--color-terracotta);
  --accent-hover: #E2866B;
  --accent-text: #FFFFFF;
  --tag-todo-bg: rgba(217, 114, 84, 0.2);
  --tag-todo-text: #FF9B7F;
  --tag-idea-bg: rgba(110, 148, 127, 0.2);
  --tag-idea-text: #96C1A9;
  --tag-follow-bg: rgba(226, 167, 88, 0.2);
  --tag-follow-text: #F3C385;

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
  --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 12px 36px rgba(0, 0, 0, 0.55);
  --shadow-cta: 0 6px 20px rgba(217, 114, 84, 0.35);
}

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

html {
  font-family: var(--font-sans);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: var(--bg-primary);
  color: var(--text-main);
  transition: background-color 0.25s ease, color 0.25s ease;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  line-height: 1.6;
  overflow-x: hidden;
}

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

button {
  font-family: inherit;
  border: none;
  background: none;
  cursor: pointer;
}

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

/* Container */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* Header & Navigation */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
  background: rgba(249, 247, 242, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-color);
  transition: background-color 0.25s ease, border-color 0.25s ease;
}

html.dark .header {
  background: rgba(21, 18, 16, 0.85);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
}

.logo-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-badge {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
}

.logo-badge:hover {
  transform: scale(1.04);
}

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

.brand-text {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-main);
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.brand-tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent-color);
  background: var(--bg-accent-soft);
  padding: 2px 7px;
  border-radius: var(--radius-full);
}

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

.nav-link {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.15s ease;
}

.nav-link:hover, .nav-link.active {
  color: var(--text-main);
}

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

/* Icon Buttons */
.icon-btn {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  background: var(--bg-card);
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  transition: background-color 0.15s ease, transform 0.15s ease, border-color 0.15s ease;
}

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

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

/* Action Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: var(--accent-color);
  color: var(--accent-text);
  font-size: 14px;
  font-weight: 600;
  padding: 9px 18px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-cta);
  transition: all 0.2s ease;
}

.btn-primary:hover {
  background-color: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(184, 88, 59, 0.35);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: var(--bg-card);
  color: var(--text-main);
  border: 1px solid var(--border-color);
  font-size: 14px;
  font-weight: 600;
  padding: 9px 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
}

.btn-secondary:hover {
  background-color: var(--bg-card-subtle);
  border-color: var(--border-subtle);
  transform: translateY(-1px);
}

.mobile-menu-btn {
  display: none;
}

/* Mobile Nav Drawer */
.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 16px;
  padding: 20px 24px;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border-color);
}

.mobile-nav.open {
  display: flex;
}

.mobile-nav a {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-muted);
  padding: 8px 0;
}

.mobile-nav a:hover, .mobile-nav a.active {
  color: var(--text-main);
}

/* Hero Section */
.hero {
  padding: 72px 0 54px 0;
  text-align: center;
  position: relative;
}

.hero-badge-container {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}

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

@keyframes pulse-dot {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

.hero-badge-container span {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-muted);
}

.hero-icon-wrapper {
  margin: 0 auto 28px;
  width: 88px;
  height: 88px;
  border-radius: 22px;
  overflow: hidden;
  background: var(--bg-card);
  border: 1.5px solid var(--border-color);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.hero-icon-wrapper:hover {
  transform: rotate(-3deg) scale(1.05);
}

.hero-icon-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-title {
  font-size: clamp(34px, 5.5vw, 62px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.035em;
  color: var(--text-main);
  max-width: 840px;
  margin: 0 auto 20px;
}

.hero-title .highlight {
  color: var(--accent-color);
  display: inline-block;
  position: relative;
}

.hero-subtitle {
  font-size: clamp(16px, 2.2vw, 19px);
  font-weight: 400;
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto 36px;
}

.hero-ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 54px;
}

.hero-ctas .btn-primary, .hero-ctas .btn-secondary {
  padding: 13px 26px;
  font-size: 15px;
}

/* Interactive Studio Preview Card */
.studio-preview {
  max-width: 880px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  text-align: left;
  transition: border-color 0.25s ease;
}

.preview-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  background: var(--bg-card-subtle);
  border-bottom: 1px solid var(--border-color);
}

.window-dots {
  display: flex;
  gap: 6px;
}

.window-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border-subtle);
}

.preview-title {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

.preview-body {
  padding: 24px;
}

/* Audio Player Visualizer */
.audio-player-box {
  background: var(--bg-card-subtle);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 16px 20px;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.audio-player-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.audio-play-btn {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background: var(--accent-color);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-cta);
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.audio-play-btn:hover {
  background: var(--accent-hover);
  transform: scale(1.05);
}

.waveform-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 3px;
  height: 40px;
  cursor: pointer;
  padding: 0 4px;
}

.waveform-bar {
  flex: 1;
  min-width: 2px;
  max-width: 5px;
  height: 20%;
  background: var(--border-subtle);
  border-radius: 4px;
  transition: height 0.15s ease, background-color 0.2s ease;
}

.waveform-bar.played {
  background: var(--accent-color);
}

.waveform-bar.animating {
  animation: wave-pulse 1s infinite alternate ease-in-out;
}

@keyframes wave-pulse {
  0% { transform: scaleY(0.4); }
  100% { transform: scaleY(1.3); }
}

.audio-time {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  min-width: 48px;
  text-align: right;
}

/* Studio Tabs */
.studio-tabs {
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 12px;
  margin-bottom: 20px;
  overflow-x: auto;
}

.studio-tab-btn {
  font-size: 13.5px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: var(--radius-md);
  color: var(--text-muted);
  transition: all 0.15s ease;
  white-space: nowrap;
}

.studio-tab-btn.active {
  background: var(--bg-card-subtle);
  color: var(--accent-color);
  border: 1px solid var(--border-color);
}

.studio-tab-btn:hover:not(.active) {
  color: var(--text-main);
  background: var(--bg-hover);
}

.tab-content-panel {
  display: none;
  animation: fadeIn 0.2s ease;
}

.tab-content-panel.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

/* App Memo Header */
.memo-header {
  margin-bottom: 28px;
}

.memo-date {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.memo-title {
  font-family: var(--font-sans);
  font-size: 26px;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin: 0;
}

/* Tab Panels Content */
.memo-heading {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 12px;
}

.summary-text {
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 18px;
}

.tag-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.tag-pill {
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

.tag-todo { background: var(--tag-todo-bg); color: var(--tag-todo-text); }
.tag-idea { background: var(--tag-idea-bg); color: var(--tag-idea-text); }
.tag-followup { background: var(--tag-follow-bg); color: var(--tag-follow-text); }

/* Checklist */
.action-item-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.action-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 14px;
  background: var(--bg-card-subtle);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  transition: all 0.15s ease;
}

.action-checkbox {
  width: 19px;
  height: 19px;
  border-radius: 6px;
  border: 1.5px solid var(--accent-color);
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  margin-top: 2px;
  flex-shrink: 0;
  transition: all 0.15s ease;
}

.action-checkbox.checked {
  background: var(--accent-color);
}

.action-checkbox svg {
  stroke: #FFFFFF;
  opacity: 0;
  transition: opacity 0.15s ease;
}

.action-checkbox.checked svg {
  opacity: 1;
}

.action-text {
  font-size: 14px;
  color: var(--text-main);
  font-weight: 500;
  line-height: 1.4;
  flex: 1;
}

.action-item.done .action-text {
  text-decoration: line-through;
  color: var(--text-subtle);
}

/* Bullet list & Point Cards (matching mobile app cards) */
.bullet-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.bullet-list li {
  background: var(--bg-card-subtle);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 13px 16px;
  font-size: 14px;
  color: var(--text-main);
  font-weight: 500;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  line-height: 1.5;
  transition: all 0.15s ease;
}

.bullet-list li:hover {
  background: var(--bg-card);
  border-color: rgba(184, 88, 59, 0.35);
}

.bullet-list li svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--accent-color);
}

.bullet-list li span:last-child {
  flex: 1;
}

.bullet-dot {
  color: var(--accent-color);
  font-size: 18px;
  line-height: 1.1;
  margin-top: 1px;
  flex-shrink: 0;
}

/* Transcript Box */
.transcript-box {
  background: var(--bg-card-subtle);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 16px;
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.7;
  font-style: italic;
}

/* Features Grid Section */
.features-section {
  padding: 96px 0;
  scroll-margin-top: 40px;
}

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

.section-tag {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-color);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.2;
  color: var(--text-main);
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.6;
}

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

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 26px 22px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: all 0.22s ease;
}

.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card);
  border-color: var(--border-subtle);
}

.feature-icon-badge {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--bg-accent-soft);
  color: var(--accent-color);
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-card h3 {
  font-size: 15.5px;
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: -0.01em;
}

.feature-card p {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Deep Dive Showcase Section */
.deep-dive-section {
  padding: 84px 0;
  background: var(--bg-card-subtle);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  transition: background-color 0.25s ease, border-color 0.25s ease;
}

.deep-dive-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.deep-dive-left {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.deep-dive-left h2 {
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.deep-dive-left > p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
}

.pillar-items {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 8px;
}

.pillar-item {
  display: flex;
  gap: 16px;
}

.pillar-icon {
  width: 34px;
  height: 34px;
  border-radius: var(--radius-md);
  background: var(--bg-accent-soft);
  color: var(--accent-color);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pillar-item h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 4px;
}

.pillar-item p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Live AI Processing Card */
.ai-terminal-card {
  background: #181513;
  color: #F9F7F2;
  border: 1px solid rgba(234, 229, 220, 0.12);
  border-radius: var(--radius-xl);
  padding: 24px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  line-height: 1.6;
  box-shadow: var(--shadow-lg);
}

.terminal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 12px;
  margin-bottom: 18px;
}

.terminal-dots {
  display: flex;
  gap: 6px;
}

.terminal-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
}

.terminal-label {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.4);
}

.terminal-content {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.terminal-line {
  display: flex;
  gap: 8px;
}

.term-prompt {
  color: var(--accent-color);
}

.term-success {
  color: #4ADE80;
}

.term-info {
  color: #60A5FA;
}

.term-comment {
  color: rgba(255, 255, 255, 0.4);
  font-style: italic;
}

.terminal-footer {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.35);
}

/* Privacy Section */
.privacy-highlight-section {
  padding: 88px 0;
  text-align: center;
}

.privacy-highlight-content {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.privacy-highlight-content h2 {
  font-size: clamp(26px, 3.5vw, 38px);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.privacy-highlight-content p {
  font-size: 15.5px;
  color: var(--text-muted);
  line-height: 1.7;
}

.privacy-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 700;
  color: var(--accent-color);
  transition: gap 0.15s ease;
}

.privacy-link:hover {
  gap: 10px;
}

/* Support Banner / CTA Card */
.cta-banner-section {
  padding: 0 0 96px 0;
}

.cta-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 48px;
  box-shadow: var(--shadow-card);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.cta-left h3 {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.cta-left p {
  font-size: 14.5px;
  color: var(--text-muted);
  max-width: 500px;
  line-height: 1.6;
}

.cta-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
  flex-wrap: wrap;
}

/* Footer */
.footer {
  margin-top: auto;
  border-top: 1px solid var(--border-color);
  background: var(--bg-primary);
  padding: 64px 0 36px;
  transition: background-color 0.25s ease, border-color 0.25s ease;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 48px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 320px;
}

.footer-desc {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.6;
}

.footer-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--text-subtle);
}

.footer-meta .separator {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--border-subtle);
}

.footer-columns {
  display: flex;
  gap: 56px;
}

.footer-column {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col-title {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-subtle);
}

.footer-column a {
  font-size: 13.5px;
  color: var(--text-muted);
  transition: color 0.15s ease;
}

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

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12.5px;
  color: var(--text-subtle);
  flex-wrap: wrap;
  gap: 16px;
}

/* Documentation / Support Page Styles */
.page-header {
  text-align: center;
  max-width: 740px;
  margin: 48px auto 40px;
}

.page-title {
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: 14px;
}

.page-subtitle {
  font-size: 15.5px;
  color: var(--text-muted);
  line-height: 1.6;
}

.support-direct-card {
  max-width: 680px;
  margin: 0 auto 48px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 36px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.support-direct-card h2 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
}

.support-direct-card p {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 24px;
  line-height: 1.6;
}

.support-direct-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}

.support-channels-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 64px;
}

.channel-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
}

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

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

.channel-title {
  font-size: 15px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 4px;
}

.channel-card p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* FAQ Accordion */
.faq-wrap {
  max-width: 780px;
  margin: 0 auto 96px;
}

.faq-section-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 8px;
}

.faq-section-title svg {
  color: var(--accent-color);
}

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

.faq-question-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  font-size: 15.5px;
  font-weight: 600;
  color: var(--text-main);
  text-align: left;
  transition: color 0.15s ease;
}

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

.faq-question-btn svg {
  color: var(--text-subtle);
  transition: transform 0.25s ease;
  flex-shrink: 0;
  margin-left: 12px;
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0, 1, 0, 1), padding 0.3s ease;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  max-height: 800px;
  padding-bottom: 18px;
  transition: max-height 0.35s ease-in-out, padding 0.2s ease;
}

/* Legal / Privacy Article Styles */
.article-container {
  max-width: 780px;
  margin: 48px auto 96px;
}

.article-header {
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 24px;
  margin-bottom: 36px;
}

.article-title {
  font-size: clamp(30px, 4vw, 42px);
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: 10px;
}

.article-date {
  font-size: 13.5px;
  color: var(--text-subtle);
}

.article-cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 40px;
}

.article-feature-box {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 20px;
  display: flex;
  gap: 14px;
  box-shadow: var(--shadow-sm);
}

.article-feature-box svg {
  color: var(--accent-color);
  flex-shrink: 0;
  margin-top: 2px;
}

.article-feature-box h3 {
  font-size: 14.5px;
  font-weight: 700;
  margin-bottom: 4px;
}

.article-feature-box p {
  font-size: 12.5px;
  color: var(--text-muted);
  line-height: 1.5;
}

.article-content {
  display: flex;
  flex-direction: column;
  gap: 32px;
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--text-muted);
}

.article-content strong {
  color: var(--text-main);
}

.article-section h2 {
  font-size: 19px;
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: -0.015em;
  margin-bottom: 10px;
}

.article-section ul {
  list-style-type: disc;
  padding-left: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 8px;
}

/* Authentication & Password Reset Pages */
.auth-container {
  padding: 60px 20px 100px;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: calc(100vh - var(--nav-height) - 200px);
}

.auth-card {
  width: 100%;
  max-width: 440px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 36px 32px;
  box-shadow: var(--shadow-card);
}

.auth-header {
  text-align: center;
  margin-bottom: 28px;
}

.auth-icon-badge {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  overflow: hidden;
  margin: 0 auto 16px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
}

.auth-icon-badge img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.auth-title {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-main);
  margin-bottom: 8px;
}

.auth-subtitle {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.form-label {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-main);
}

.input-wrap {
  position: relative;
  width: 100%;
}

.form-input {
  width: 100%;
  height: 44px;
  padding: 0 42px 0 14px;
  background: var(--bg-card-subtle);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  font-family: var(--font-sans);
  font-size: 14.5px;
  color: var(--text-main);
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.form-input:focus {
  border-color: var(--accent-color);
  box-shadow: 0 0 0 3px rgba(184, 88, 59, 0.14);
}

.input-toggle {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.15s ease;
}

.input-toggle:hover {
  color: var(--text-main);
}

.form-hint {
  font-size: 12px;
  color: var(--text-subtle);
}

.auth-alert {
  padding: 12px 14px;
  border-radius: var(--radius-md);
  font-size: 13.5px;
  line-height: 1.45;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 18px;
}

.auth-alert svg {
  flex-shrink: 0;
  margin-top: 1px;
}

.auth-alert.error {
  background: rgba(184, 88, 59, 0.08);
  border: 1px solid rgba(184, 88, 59, 0.25);
  color: var(--accent-color);
}

.auth-alert.success {
  background: rgba(77, 100, 85, 0.1);
  border: 1px solid rgba(77, 100, 85, 0.28);
  color: var(--color-sage);
}

.auth-alert.info {
  background: var(--bg-card-subtle);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
}

.btn-full {
  width: 100%;
  height: 44px;
  justify-content: center;
  font-size: 14.5px;
  font-weight: 600;
  border-radius: var(--radius-md);
}

.state-box {
  text-align: center;
  padding: 10px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.state-icon-circle {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
}

.state-icon-circle.success {
  background: rgba(77, 100, 85, 0.12);
  color: var(--color-sage);
}

.state-icon-circle.error {
  background: rgba(184, 88, 59, 0.12);
  color: var(--accent-color);
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .deep-dive-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .nav-links, .nav-actions .btn-primary {
    display: none;
  }
  .mobile-menu-btn {
    display: flex;
  }
  .cta-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 32px 24px;
  }
  .support-channels-grid {
    grid-template-columns: 1fr;
  }
  .article-cards-grid {
    grid-template-columns: 1fr;
  }
  .footer-columns {
    gap: 36px;
  }
}

@media (max-width: 580px) {
  .features-grid {
    grid-template-columns: 1fr;
  }
  .hero-ctas {
    flex-direction: column;
    width: 100%;
  }
  .hero-ctas .btn-primary, .hero-ctas .btn-secondary {
    width: 100%;
  }
  .footer-top {
    flex-direction: column;
  }
  .footer-columns {
    flex-wrap: wrap;
    gap: 32px;
  }
}
