/* TinyNote Landing — modern product page */

:root,
[data-theme="dark"] {
  color-scheme: dark;
  --bg-deep: #0a0b10;
  --bg-surface: #12141c;
  --bg-elevated: #1a1d28;
  --bg-card: rgba(255, 255, 255, 0.03);
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);
  --text-primary: #f4f5f7;
  --text-secondary: #9ba3b5;
  --text-muted: #6b7288;
  --accent: #5b9fd4;
  --accent-bright: #7ec8f0;
  --accent-glow: rgba(91, 159, 212, 0.35);
  --accent-secondary: #a78bfa;
  --gradient-hero: linear-gradient(135deg, #5b9fd4 0%, #7ec8f0 40%, #a78bfa 100%);
  --gradient-subtle: linear-gradient(180deg, rgba(91, 159, 212, 0.12) 0%, transparent 60%);
  --shadow-lg: 0 24px 80px rgba(0, 0, 0, 0.45);
  --nav-scrolled-bg: rgba(10, 11, 16, 0.82);
  --orb-1-color: rgba(91, 159, 212, 0.22);
  --orb-2-color: rgba(167, 139, 250, 0.15);
  --grid-line: rgba(255, 255, 255, 0.03);
  --btn-primary-text: #0a0b10;
  --btn-ghost-hover-border: rgba(255, 255, 255, 0.25);
  --btn-ghost-hover-bg: rgba(255, 255, 255, 0.04);
  --hero-badge-bg: rgba(91, 159, 212, 0.12);
  --hero-badge-border: rgba(91, 159, 212, 0.25);
  --hero-highlight-border: rgba(91, 159, 212, 0.22);
  --hero-highlight-bg: linear-gradient(160deg, rgba(91, 159, 212, 0.1), rgba(91, 159, 212, 0.03));
  --feature-icon-bg: rgba(91, 159, 212, 0.12);
  --feature-icon-border: rgba(91, 159, 212, 0.2);
  --accent-surface: rgba(91, 159, 212, 0.06);
  --accent-surface-strong: rgba(91, 159, 212, 0.08);
  --accent-border: rgba(91, 159, 212, 0.35);
  --accent-border-soft: rgba(91, 159, 212, 0.28);
  --accent-border-medium: rgba(91, 159, 212, 0.3);
  --purple-surface: rgba(167, 139, 250, 0.12);
  --purple-border: rgba(167, 139, 250, 0.25);
  --table-row-label-bg: rgba(255, 255, 255, 0.02);
  --table-highlight-bg: rgba(91, 159, 212, 0.04);
  --copy-banner-bg: linear-gradient(135deg, rgba(91, 159, 212, 0.08), rgba(167, 139, 250, 0.05));
  --cta-card-bg: linear-gradient(145deg, rgba(91, 159, 212, 0.08), rgba(167, 139, 250, 0.06));
  --priority-card-bg: linear-gradient(145deg, rgba(91, 159, 212, 0.08), rgba(91, 159, 212, 0.02));
  --mobile-menu-bg: rgba(10, 11, 16, 0.96);
  --mobile-menu-hover: rgba(255, 255, 255, 0.04);
  --theme-toggle-bg: rgba(255, 255, 255, 0.04);
  --theme-toggle-hover-bg: rgba(255, 255, 255, 0.08);
}

[data-theme="light"] {
  color-scheme: light;
  --bg-deep: #f3f5f8;
  --bg-surface: #ffffff;
  --bg-elevated: #eef1f6;
  --bg-card: rgba(255, 255, 255, 0.92);
  --border: rgba(15, 23, 42, 0.08);
  --border-strong: rgba(15, 23, 42, 0.12);
  --text-primary: #141820;
  --text-secondary: #4b5568;
  --text-muted: #7a8494;
  --accent: #3d8fd4;
  --accent-bright: #2a7bc2;
  --accent-glow: rgba(61, 143, 212, 0.22);
  --accent-secondary: #8b6fd4;
  --gradient-hero: linear-gradient(135deg, #4a9fd8 0%, #6eb8e8 40%, #9b7fe8 100%);
  --gradient-subtle: linear-gradient(180deg, rgba(91, 159, 212, 0.08) 0%, transparent 60%);
  --shadow-lg: 0 20px 64px rgba(15, 23, 42, 0.1);
  --nav-scrolled-bg: rgba(243, 245, 248, 0.9);
  --orb-1-color: rgba(91, 159, 212, 0.18);
  --orb-2-color: rgba(167, 139, 250, 0.12);
  --grid-line: rgba(15, 23, 42, 0.05);
  --btn-primary-text: #0a0b10;
  --btn-ghost-hover-border: rgba(15, 23, 42, 0.18);
  --btn-ghost-hover-bg: rgba(15, 23, 42, 0.04);
  --hero-badge-bg: rgba(91, 159, 212, 0.1);
  --hero-badge-border: rgba(91, 159, 212, 0.22);
  --hero-highlight-border: rgba(91, 159, 212, 0.28);
  --hero-highlight-bg: linear-gradient(160deg, rgba(91, 159, 212, 0.12), rgba(255, 255, 255, 0.9));
  --feature-icon-bg: rgba(91, 159, 212, 0.1);
  --feature-icon-border: rgba(91, 159, 212, 0.22);
  --accent-surface: rgba(91, 159, 212, 0.08);
  --accent-surface-strong: rgba(91, 159, 212, 0.1);
  --accent-border: rgba(91, 159, 212, 0.32);
  --accent-border-soft: rgba(91, 159, 212, 0.26);
  --accent-border-medium: rgba(91, 159, 212, 0.28);
  --purple-surface: rgba(167, 139, 250, 0.1);
  --purple-border: rgba(167, 139, 250, 0.22);
  --table-row-label-bg: rgba(15, 23, 42, 0.02);
  --table-highlight-bg: rgba(91, 159, 212, 0.07);
  --copy-banner-bg: linear-gradient(135deg, rgba(91, 159, 212, 0.1), rgba(167, 139, 250, 0.06));
  --cta-card-bg: linear-gradient(145deg, rgba(91, 159, 212, 0.1), rgba(167, 139, 250, 0.07));
  --priority-card-bg: linear-gradient(145deg, rgba(91, 159, 212, 0.1), rgba(255, 255, 255, 0.95));
  --mobile-menu-bg: rgba(243, 245, 248, 0.98);
  --mobile-menu-hover: rgba(15, 23, 42, 0.04);
  --theme-toggle-bg: rgba(15, 23, 42, 0.04);
  --theme-toggle-hover-bg: rgba(15, 23, 42, 0.07);
}

:root {
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;
  --font-sans: "DM Sans", "Noto Sans SC", system-ui, sans-serif;
  --nav-height: 72px;
  --max-width: 1180px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

body {
  font-family: var(--font-sans);
  background: var(--bg-deep);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background-color 0.35s var(--ease-out), color 0.35s var(--ease-out);
}

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

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

/* Background atmosphere */
.bg-atmosphere {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.5;
}

.bg-orb-1 {
  width: 560px;
  height: 560px;
  background: var(--orb-1-color);
  top: -180px;
  right: -120px;
}

.bg-orb-2 {
  width: 480px;
  height: 480px;
  background: var(--orb-2-color);
  bottom: 20%;
  left: -160px;
}

.bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, black 20%, transparent 75%);
}

/* Layout */
.container {
  width: min(var(--max-width), calc(100% - 48px));
  margin-inline: auto;
}

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

/* Navigation */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  z-index: 100;
  transition: background 0.35s var(--ease-out), border-color 0.35s;
}

.nav.scrolled {
  background: var(--nav-scrolled-bg);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

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

.nav-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 600;
  font-size: 1.3rem;
}

.nav-logo {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: block;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 4px 20px var(--accent-glow);
}

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

.theme-toggle {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-strong);
  background: var(--theme-toggle-bg);
  color: var(--text-secondary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s, background 0.2s, border-color 0.2s, transform 0.2s var(--ease-out);
}

.theme-toggle:hover {
  color: var(--accent-bright);
  background: var(--theme-toggle-hover-bg);
  border-color: var(--accent-border);
}

.theme-toggle:active {
  transform: scale(0.95);
}

.theme-toggle svg {
  width: 20px;
  height: 20px;
}

.theme-icon-moon {
  display: none;
}

[data-theme="light"] .theme-icon-sun {
  display: none;
}

[data-theme="light"] .theme-icon-moon {
  display: block;
}

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

.nav-links a {
  font-size: 0.9rem;
  color: var(--text-secondary);
  transition: color 0.2s;
}

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

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  cursor: pointer;
  padding: 8px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: transform 0.2s var(--ease-out), box-shadow 0.2s, background 0.2s;
  white-space: nowrap;
}

.btn:active {
  transform: scale(0.97);
}

.btn-primary {
  background: var(--gradient-hero);
  color: var(--btn-primary-text);
  box-shadow: 0 4px 24px var(--accent-glow);
}

.btn-primary:hover {
  box-shadow: 0 8px 32px var(--accent-glow);
}

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--border-strong);
}

.btn-ghost:hover {
  color: var(--text-primary);
  border-color: var(--btn-ghost-hover-border);
  background: var(--btn-ghost-hover-bg);
}

.btn-lg {
  padding: 14px 28px;
  font-size: 1rem;
  border-radius: var(--radius-md);
}

.btn-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* Hero */
.hero {
  padding: calc(var(--nav-height) + 64px) 0 80px;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--hero-badge-bg);
  border: 1px solid var(--hero-badge-border);
  color: var(--accent-bright);
  font-size: 0.8rem;
  font-weight: 500;
  margin-bottom: 28px;
}

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

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4.25rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.hero-title .gradient-text {
  background: var(--gradient-hero);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-secondary);
  max-width: 620px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

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

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px 40px;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.hero-meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-meta-item svg {
  width: 16px;
  height: 16px;
  color: var(--accent);
}

/* Hero highlight stats — top priority */
.hero-highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 720px;
  margin: 0 auto 40px;
}

.hero-highlight-card {
  padding: 20px 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--hero-highlight-border);
  background: var(--hero-highlight-bg);
  text-align: center;
}

.hero-highlight-value {
  font-size: clamp(1.5rem, 3vw, 1.85rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--accent-bright);
  line-height: 1.2;
  margin-bottom: 6px;
}

.hero-highlight-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.hero-highlight-desc {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.45;
}

/* Product screenshots — preserve aspect ratio, no crop */
.screenshot-frame {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-strong);
  background: var(--bg-surface);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  line-height: 0;
}

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

/* Hero screenshot */
.hero-visual {
  position: relative;
  margin-top: 48px;
}

.hero-visual-frame {
  position: relative;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-strong);
  background: var(--bg-surface);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  line-height: 0;
}

.hero-visual-glow {
  position: absolute;
  bottom: -40%;
  left: 10%;
  right: 10%;
  height: 60%;
  background: radial-gradient(ellipse, var(--accent-glow), transparent 70%);
  filter: blur(40px);
  pointer-events: none;
}

/* Section common */
.section {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}

.section-desc {
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto;
  font-size: 1.05rem;
}

/* Features bento */
.features-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}

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

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

.feature-card.span-4 { grid-column: span 4; }
.feature-card.span-6 { grid-column: span 6; }
.feature-card.span-8 { grid-column: span 8; }
.feature-card.span-12 { grid-column: span 12; }

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--feature-icon-bg);
  border: 1px solid var(--feature-icon-border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: var(--accent-bright);
}

.feature-icon svg {
  width: 22px;
  height: 22px;
}

.feature-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.feature-desc {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.65;
}

/* Theme showcase */
.theme-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.theme-card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  background: var(--bg-surface);
  transition: transform 0.35s var(--ease-out);
}

.theme-card:hover {
  transform: scale(1.02);
}

.theme-card-label {
  padding: 14px 20px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 8px;
}

.theme-card-label .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.theme-card-label .dot.light { background: #f0f2f5; }
.theme-card-label .dot.dark { background: #2a2d38; border: 1px solid var(--border-strong); }

.theme-card .screenshot-frame {
  border: none;
  border-radius: 0;
  box-shadow: none;
}

/* Deep features (sync / backup) */
.deep-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 80px;
}

.deep-feature:last-child {
  margin-bottom: 0;
}

.deep-feature.reverse {
  direction: rtl;
}

.deep-feature.reverse > * {
  direction: ltr;
}

.deep-feature-content .section-label {
  text-align: left;
}

.deep-feature-title {
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}

.deep-feature-desc {
  color: var(--text-secondary);
  margin-bottom: 20px;
  line-height: 1.7;
}

.deep-feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.deep-feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--text-secondary);
}

.deep-feature-list li svg {
  width: 18px;
  height: 18px;
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 2px;
}

.deep-feature-visual .screenshot-frame {
  width: 100%;
}

/* Workflow */
.workflow-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  counter-reset: step;
}

.workflow-step {
  position: relative;
  padding: 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--bg-card);
}

.workflow-step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.05em;
  display: block;
  margin-bottom: 12px;
}

.workflow-step h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.workflow-step p {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* Copy efficiency banner */
.copy-banner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 40px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-strong);
  background: var(--copy-banner-bg);
}

.copy-banner-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
  line-height: 1.25;
}

.copy-banner-desc {
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 20px;
}

.copy-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.copy-compare-item {
  padding: 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--bg-card);
}

.copy-compare-item.is-good {
  border-color: var(--accent-border);
  background: var(--accent-surface);
}

.copy-compare-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.copy-compare-item.is-good .copy-compare-label {
  color: var(--accent);
}

.copy-compare-text {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* Comparison table */
.compare-table-wrap {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  background: var(--bg-surface);
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.compare-table thead th {
  padding: 16px 20px;
  text-align: left;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  background: var(--bg-elevated);
  border-bottom: 1px solid var(--border);
}

.compare-table thead th:last-child {
  color: var(--accent-bright);
}

.compare-table tbody tr {
  border-bottom: 1px solid var(--border);
}

.compare-table tbody tr:last-child {
  border-bottom: none;
}

.compare-table td {
  padding: 16px 20px;
  vertical-align: top;
  line-height: 1.6;
  color: var(--text-secondary);
}

.compare-table td:first-child {
  font-weight: 600;
  color: var(--text-primary);
  width: 18%;
  background: var(--table-row-label-bg);
}

.compare-table td:last-child {
  color: var(--text-primary);
  background: var(--table-highlight-bg);
}

.compare-scenarios {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 32px;
}

.compare-scenario {
  padding: 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--bg-card);
}

.compare-scenario h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.compare-scenario p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

.compare-scenario.is-tinynote {
  border-color: var(--accent-border-medium);
  background: var(--accent-surface);
}

.compare-scenario.is-tinynote h4 {
  color: var(--accent-bright);
}

/* Iteration note */
.iteration-card {
  margin-top: 32px;
  padding: 28px 32px;
  border-radius: var(--radius-lg);
  border: 1px dashed var(--border-strong);
  background: var(--bg-card);
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.iteration-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: var(--radius-sm);
  background: var(--purple-surface);
  border: 1px solid var(--purple-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-secondary);
}

.iteration-icon svg {
  width: 22px;
  height: 22px;
}

.iteration-content h4 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.iteration-content p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.feature-card.is-priority {
  border-color: var(--accent-border-soft);
  background: var(--priority-card-bg);
}

/* CTA */
.cta-section {
  padding: 80px 0 120px;
}

.cta-card {
  position: relative;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-strong);
  background: var(--cta-card-bg);
  padding: 64px 48px;
  text-align: center;
  overflow: hidden;
}

.cta-card::before {
  content: "";
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--accent-glow), transparent 65%);
  pointer-events: none;
}

.cta-card h2 {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
  margin-bottom: 14px;
  position: relative;
}

.cta-card p {
  color: var(--text-secondary);
  max-width: 480px;
  margin: 0 auto 28px;
  position: relative;
}

.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  position: relative;
}

/* Footer */
.footer {
  border-top: 1px solid var(--border);
  padding: 48px 0 32px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-top: 12px;
  max-width: 280px;
}

.footer-col h5 {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 0.9rem;
  color: var(--text-secondary);
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--accent-bright);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-bottom a {
  color: var(--text-secondary);
  transition: color 0.2s;
}

.footer-bottom a:hover {
  color: var(--accent-bright);
}

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Mobile nav */
.mobile-menu {
  display: none;
  position: fixed;
  inset: var(--nav-height) 0 0 0;
  background: var(--mobile-menu-bg);
  backdrop-filter: blur(16px);
  z-index: 99;
  padding: 24px;
  flex-direction: column;
  gap: 8px;
}

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

.mobile-menu a {
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-size: 1rem;
}

.mobile-menu a:hover {
  background: var(--mobile-menu-hover);
  color: var(--text-primary);
}

/* Responsive */
@media (max-width: 1024px) {
  .feature-card.span-4,
  .feature-card.span-6,
  .feature-card.span-8 {
    grid-column: span 6;
  }

  .deep-feature {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .deep-feature.reverse {
    direction: ltr;
  }

  .workflow-steps {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .copy-banner {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .compare-scenarios {
    grid-template-columns: 1fr;
  }

  .compare-table td:first-child {
    width: 28%;
  }
}

@media (max-width: 768px) {
  .nav-links,
  .nav-actions .btn-ghost {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .feature-card.span-4,
  .feature-card.span-6,
  .feature-card.span-8,
  .feature-card.span-12 {
    grid-column: span 12;
  }

  .theme-showcase {
    grid-template-columns: 1fr;
  }

  .workflow-steps {
    grid-template-columns: 1fr;
  }

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

  .cta-card {
    padding: 48px 24px;
  }

  .hero {
    padding-bottom: 48px;
  }

  .hero-highlights {
    grid-template-columns: 1fr;
    max-width: 320px;
  }

  .copy-compare {
    grid-template-columns: 1fr;
  }

  .compare-table-wrap {
    overflow-x: auto;
  }

  .compare-table {
    font-size: 0.82rem;
  }

  .compare-table td,
  .compare-table th {
    padding: 12px 14px;
  }

  .iteration-card {
    flex-direction: column;
  }
}
