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

:root {
  --bg: #FAF9F6;
  --bg-elev: #F2F0EA;
  --bg-card: #FFFFFF;
  --surface: #F5F3ED;
  --surface-2: #EDEAE1;
  --border: #E4E0D6;
  --border-strong: #CFC9B9;
  --text: #14110C;
  --text-muted: #57534A;
  --text-faint: #8A8477;
  --accent: #0D9488;
  --accent-hover: #0F766E;
  --accent-ink: #FFFFFF;
  --accent-soft: #E6F7F5;
  --accent-line: #A7E8E0;
  --accent-border: #5EEAD4;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --font-display: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --nav-bg: rgba(250, 249, 246, 0.65);
  --overlay-bg: rgba(20, 17, 12, 0.85);

  --shadow-xs: 0 1px 2px rgba(20,17,12,0.05);
  --shadow-sm: 0 1px 2px rgba(20,17,12,0.04), 0 4px 12px -4px rgba(20,17,12,0.08);
  --shadow-md: 0 2px 4px rgba(20,17,12,0.04), 0 12px 28px -10px rgba(20,17,12,0.12);
  --shadow-lg: 0 4px 8px rgba(20,17,12,0.04), 0 24px 48px -16px rgba(20,17,12,0.16);
  --shadow-xl: 0 8px 16px rgba(20,17,12,0.06), 0 40px 80px -24px rgba(20,17,12,0.22);
  --glow-accent: 0 12px 32px -10px rgba(13,148,136,0.35);
}

[data-theme="dark"] {
  --bg: #0A0907;
  --bg-elev: #131110;
  --bg-card: #171412;
  --surface: #1B1816;
  --surface-2: #211D1A;
  --border: #2A2522;
  --border-strong: #3D362E;
  --text: #F5F0E8;
  --text-muted: #A8A195;
  --text-faint: #6E685C;
  --accent: #2DD4BF;
  --accent-hover: #5EEAD4;
  --accent-ink: #04211E;
  --accent-soft: rgba(45, 212, 191, 0.10);
  --accent-line: rgba(45, 212, 191, 0.22);
  --accent-border: rgba(45, 212, 191, 0.40);
  --nav-bg: rgba(10, 9, 7, 0.65);
  --overlay-bg: rgba(0, 0, 0, 0.88);

  --shadow-xs: 0 1px 2px rgba(0,0,0,0.5);
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.4), 0 4px 12px -4px rgba(0,0,0,0.5);
  --shadow-md: 0 2px 4px rgba(0,0,0,0.4), 0 12px 28px -10px rgba(0,0,0,0.6);
  --shadow-lg: 0 4px 8px rgba(0,0,0,0.5), 0 24px 48px -16px rgba(0,0,0,0.8);
  --shadow-xl: 0 8px 16px rgba(0,0,0,0.5), 0 40px 80px -24px rgba(0,0,0,0.9);
  --glow-accent: 0 12px 32px -10px rgba(45,212,191,0.45);
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  letter-spacing: -0.008em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  min-height: 100vh;
  transition: background 0.4s ease, color 0.4s ease;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; color: inherit; }

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 32px;
  position: relative;
  z-index: 3;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.bg-server {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  display: block;
}

.bg-vignette {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 90% 70% at 50% 42%,
      transparent 0%,
      transparent 32%,
      var(--bg) 96%),
    linear-gradient(180deg,
      var(--bg) 0%,
      transparent 20%,
      transparent 78%,
      var(--bg) 100%);
}

.bg-noise {
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0.28;
  background-image: radial-gradient(rgba(20, 17, 12, 0.06) 1px, transparent 1px);
  background-size: 4px 4px;
  mask-image: radial-gradient(ellipse 85% 65% at 50% 0%, #000 30%, transparent 82%);
  -webkit-mask-image: radial-gradient(ellipse 85% 65% at 50% 0%, #000 30%, transparent 82%);
}

[data-theme="dark"] .bg-noise {
  background-image: radial-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px);
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--nav-bg);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid var(--border);
  transition: background 0.4s ease, border-color 0.4s ease;
}

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

.logo-link { display: flex; align-items: center; gap: 11px; }

.logo-image {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border-strong);
  flex-shrink: 0;
  background: var(--bg-elev);
  box-shadow: var(--shadow-xs);
  transition: transform 0.3s var(--ease), box-shadow 0.3s ease;
}
.logo-link:hover .logo-image {
  transform: scale(1.05) rotate(-2deg);
  box-shadow: var(--shadow-sm);
}
.logo-image img { width: 100%; height: 100%; object-fit: cover; }

.logo-text {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.038em;
  color: var(--text);
}
.logo-text span {
  color: var(--accent);
  position: relative;
}

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

.nav-links a {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 9px 15px;
  border-radius: 8px;
  position: relative;
  transition: color 0.2s ease, background 0.2s ease;
}

.nav-links a:hover { color: var(--text); background: var(--surface-2); }

.nav-links a.active {
  color: var(--text);
  background: var(--surface-2);
}

.nav-support {
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
  margin-left: 10px;
  padding: 9px 16px !important;
  border: 1px solid var(--accent-border);
  background: var(--accent-soft);
  color: var(--accent) !important;
  border-radius: 999px !important;
  transition: all 0.25s var(--ease);
}
.nav-support:hover {
  background: var(--accent);
  color: var(--accent-ink) !important;
  border-color: var(--accent);
  transform: translateY(-1px);
  box-shadow: var(--glow-accent);
}
.nav-support svg { width: 13px; height: 13px; fill: currentColor; flex-shrink: 0; }

.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin-left: 10px;
  border-radius: 8px;
  border: 1px solid var(--border-strong);
  background: var(--bg-card);
  color: var(--text-muted);
  transition: all 0.25s var(--ease);
  flex-shrink: 0;
}
.theme-toggle:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--accent);
  transform: translateY(-1px) rotate(15deg);
}
.theme-toggle svg { width: 16px; height: 16px; display: block; }
.theme-toggle .icon-moon { display: none; }
[data-theme="dark"] .theme-toggle .icon-sun { display: none; }
[data-theme="dark"] .theme-toggle .icon-moon { display: block; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.nav-toggle span {
  width: 20px;
  height: 1.5px;
  background: var(--text);
  border-radius: 2px;
}

.hero { padding: 108px 0 80px; }

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 72px;
  align-items: center;
}

.hero-content h1 {
  font-family: var(--font-display);
  font-size: clamp(42px, 5.4vw, 68px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.055em;
  color: var(--text);
  margin-top: 18px;
}

.title-line { display: block; }
.hero-content .highlight {
  color: var(--accent);
  position: relative;
  display: inline-block;
}
.hero-content .highlight::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0.08em;
  width: 100%;
  height: 6px;
  background: var(--accent-line);
  z-index: -1;
  border-radius: 3px;
  transform-origin: left;
  animation: highlightIn 1s var(--ease-out) 0.3s both;
}

@keyframes highlightIn {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

.hero-sub {
  color: var(--text-muted);
  font-size: 17.5px;
  line-height: 1.65;
  margin-top: 26px;
  max-width: 48ch;
  letter-spacing: -0.01em;
}

.hero-buttons { display: flex; gap: 14px; margin-top: 40px; flex-wrap: wrap; }

.hero-visual { position: relative; }

.hero-preview-card {
  position: relative;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out);
  transform: perspective(1200px) rotateY(-3deg) rotateX(1deg);
}
.hero-preview-card:hover {
  transform: perspective(1200px) rotateY(0) rotateX(0) translateY(-6px);
  box-shadow:
    0 12px 24px rgba(20,17,12,0.08),
    0 48px 96px -32px rgba(20,17,12,0.30);
}
[data-theme="dark"] .hero-preview-card:hover {
  box-shadow:
    0 12px 24px rgba(0,0,0,0.6),
    0 48px 96px -32px rgba(0,0,0,0.95);
}

.hero-preview-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg,
    rgba(255,255,255,0.6),
    rgba(255,255,255,0) 30%,
    rgba(255,255,255,0) 70%,
    rgba(255,255,255,0.3));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: 3;
}

.preview-titlebar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}

.preview-titlebar .dot { width: 11px; height: 11px; border-radius: 50%; flex-shrink: 0; }
.preview-titlebar .dot.red { background: #FF5F57; box-shadow: inset 0 0 0 0.5px rgba(0,0,0,0.15); }
.preview-titlebar .dot.yellow { background: #FEBC2E; box-shadow: inset 0 0 0 0.5px rgba(0,0,0,0.15); }
.preview-titlebar .dot.green { background: #28C840; box-shadow: inset 0 0 0 0.5px rgba(0,0,0,0.15); }

.preview-title {
  margin-left: 10px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.02em;
  color: var(--text-faint);
}

.preview-body {
  position: relative;
  cursor: pointer;
  overflow: hidden;
  background: var(--surface);
}

.preview-body img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.8s var(--ease-out);
}
.preview-body:hover img { transform: scale(1.03); }

.image-overlay {
  position: absolute;
  inset: 0;
  background: var(--overlay-bg);
  backdrop-filter: blur(6px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  opacity: 0;
  transition: opacity 0.3s ease;
  color: #fff;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.preview-body:hover .image-overlay { opacity: 1; }

.overlay-icon {
  width: 28px;
  height: 28px;
  stroke: #fff;
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 30px;
  border-radius: 10px;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 12.5px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
  transition: all 0.25s var(--ease);
  white-space: nowrap;
}

.btn-primary {
  background: var(--text);
  color: var(--bg);
  border-color: var(--text);
  box-shadow: var(--shadow-sm);
}
.btn-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 40%, rgba(255,255,255,0.15));
  opacity: 0;
  transition: opacity 0.3s ease;
}
.btn-primary:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-ink);
  transform: translateY(-2px);
  box-shadow: var(--glow-accent);
}
.btn-primary:hover::before { opacity: 1; }

.btn-secondary {
  border-color: var(--border-strong);
  background: var(--bg-card);
  color: var(--text);
  box-shadow: var(--shadow-xs);
}
.btn-secondary:hover {
  border-color: var(--text);
  background: var(--surface-2);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

section#features { padding: 108px 0; position: relative; z-index: 3; }
section#pricing { padding: 108px 0; position: relative; z-index: 3; }
section#about { padding: 24px 0 108px; position: relative; z-index: 3; }

.section-header { max-width: 680px; margin-bottom: 56px; }
.section-header.center-header {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.page-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
  font-weight: 500;
  padding: 6px 14px;
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
  border-radius: 999px;
  backdrop-filter: blur(8px);
}

.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 46px);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1.05;
  color: var(--text);
}
.section-header h2 .accent { color: var(--accent); }

.page-subtitle {
  color: var(--text-muted);
  margin-top: 18px;
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: -0.01em;
}

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

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  padding: 34px 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out), border-color 0.3s ease;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.feature-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 0%),
    var(--accent-soft) 0%,
    transparent 60%);
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent-border);
}
.feature-card:hover::before { opacity: 1; }
.feature-card:hover::after { opacity: 0.5; }

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  transition: all 0.4s var(--ease-out);
  position: relative;
  z-index: 1;
}
.feature-card:hover .feature-icon {
  background: var(--accent);
  color: var(--accent-ink);
  border-color: var(--accent);
  transform: scale(1.08) rotate(-4deg);
  box-shadow: var(--glow-accent);
}

.icon-svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

.feature-card h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text);
  position: relative;
  z-index: 1;
}

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

.pricing-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  padding: 42px 38px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out), border-color 0.3s ease;
}
.pricing-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.pricing-card.featured {
  border-color: var(--accent-border);
  background: linear-gradient(180deg, var(--accent-soft) 0%, var(--bg-card) 45%);
  box-shadow:
    0 1px 2px rgba(20,17,12,0.04),
    0 16px 40px -14px rgba(13,148,136,0.30);
}
.pricing-card.featured:hover {
  box-shadow:
    0 2px 4px rgba(20,17,12,0.05),
    0 32px 64px -18px rgba(13,148,136,0.42);
}

.pricing-badge {
  position: absolute;
  top: -13px;
  left: 38px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--text);
  color: var(--bg);
  border: 1px solid var(--text);
  box-shadow: var(--shadow-xs);
}

.pricing-badge.accent-badge {
  background: var(--accent);
  color: var(--accent-ink);
  border-color: var(--accent);
  box-shadow: var(--glow-accent);
}

.pricing-name {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--text);
  margin-bottom: 16px;
}

.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 16px;
}

.price-amount {
  font-family: var(--font-display);
  font-size: 52px;
  font-weight: 800;
  letter-spacing: -0.055em;
  color: var(--text);
  line-height: 1;
}

.price-period {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-muted);
}

.pricing-desc {
  color: var(--text-muted);
  font-size: 14.5px;
  line-height: 1.65;
  margin-bottom: 30px;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--border);
}

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 38px;
  flex: 1;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14.5px;
  color: var(--text);
  letter-spacing: -0.005em;
}

.pricing-features li svg {
  width: 16px;
  height: 16px;
  stroke: var(--accent);
  stroke-width: 2.75;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
  padding: 4px;
  background: var(--accent-soft);
  border-radius: 50%;
  box-sizing: content-box;
}

.pricing-btn { width: 100%; }

.pricing-note {
  text-align: center;
  margin-top: 40px;
  font-size: 14px;
  color: var(--text-muted);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

.pricing-note a {
  color: var(--accent);
  font-weight: 600;
  border-bottom: 1px solid var(--accent-border);
  transition: border-color 0.2s ease, color 0.2s ease;
}
.pricing-note a:hover {
  border-bottom-color: var(--accent);
  color: var(--accent-hover);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr;
  max-width: 780px;
  margin: 0 auto;
}
.about-content .section-header { margin-bottom: 30px; }

.about-text p {
  color: var(--text-muted);
  font-size: 16px;
  margin-bottom: 20px;
  line-height: 1.75;
  letter-spacing: -0.008em;
}
.about-text .lead {
  color: var(--text);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.55;
  letter-spacing: -0.025em;
  margin-bottom: 20px;
}

.highlight-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius-sm);
  padding: 18px 24px;
  margin-top: 32px;
  position: relative;
}
.highlight-box p {
  font-size: 13px;
  color: var(--text-muted);
  font-family: var(--font-mono);
  line-height: 1.7;
  margin: 0;
  letter-spacing: 0;
}

.image-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(0, 0, 0, 0.95);
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.image-modal[style*="flex"] { display: flex !important; }

.modal-content {
  max-width: 90vw;
  max-height: 88vh;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 60px 120px -20px rgba(0,0,0,0.9);
  animation: modalIn 0.4s var(--ease-out);
}

@keyframes modalIn {
  from { opacity: 0; transform: scale(0.96); }
  to { opacity: 1; transform: scale(1); }
}

.modal-close {
  position: absolute;
  top: 28px; right: 34px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  line-height: 1;
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  transition: all 0.25s var(--ease);
  backdrop-filter: blur(8px);
}
.modal-close:hover {
  color: #fff;
  background: rgba(255,255,255,0.12);
  transform: rotate(90deg) scale(1.05);
}

.biscuit-banner {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(160%);
  z-index: 90;
  width: calc(100% - 48px);
  max-width: 780px;
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  box-shadow:
    0 4px 12px rgba(20,17,12,0.06),
    0 32px 64px -20px rgba(20,17,12,0.28);
  opacity: 0;
  transition: transform 0.6s var(--ease-out), opacity 0.6s var(--ease-out);
  pointer-events: none;
}

.biscuit-banner.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  pointer-events: auto;
}

[data-theme="dark"] .biscuit-banner {
  box-shadow:
    0 4px 12px rgba(0,0,0,0.5),
    0 32px 64px -20px rgba(0,0,0,0.85);
}

.biscuit-content {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 24px 28px;
}

.biscuit-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border-radius: 12px;
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}
.biscuit-icon svg { width: 26px; height: 26px; }

.biscuit-text { flex: 1; min-width: 0; }
.biscuit-text strong {
  display: block;
  font-family: var(--font-display);
  font-size: 16.5px;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--text);
  margin-bottom: 4px;
}
.biscuit-text p {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.55;
  margin: 0;
}

.biscuit-actions { display: flex; gap: 10px; flex-shrink: 0; }
.biscuit-actions .btn { padding: 12px 20px; font-size: 11.5px; }

footer {
  border-top: 1px solid var(--border);
  padding: 40px 0;
  position: relative;
  z-index: 3;
  background: var(--bg-elev);
  transition: background 0.4s ease, border-color 0.4s ease;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-left { display: flex; align-items: center; gap: 10px; }
.footer-left .logo-image { width: 26px; height: 26px; border-radius: 7px; }
.footer-left .logo-text { font-size: 15px; font-weight: 700; }

.footer-links { display: flex; gap: 26px; flex-wrap: wrap; align-items: center; }
.footer-links a {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color 0.2s ease;
  font-weight: 500;
  position: relative;
}
.footer-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 100%;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s var(--ease);
}
.footer-links a:hover { color: var(--accent); }
.footer-links a:hover::after { transform: scaleX(1); transform-origin: left; }

.support-link { display: flex; align-items: center; gap: 6px; }
.support-link::after { display: none; }
.support-link .icon-svg { width: 13px; height: 13px; fill: currentColor; stroke: none; }

.copy {
  font-size: 12px;
  color: var(--text-faint);
  font-family: var(--font-mono);
  white-space: nowrap;
  letter-spacing: 0.02em;
}

@media (max-width: 960px) {
  .hero { padding: 72px 0 48px; }
  .hero-grid { grid-template-columns: 1fr; gap: 56px; }
  .hero-preview-card { transform: none; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; }
  section#features { padding: 76px 0; }
  section#pricing { padding: 76px 0; }
  section#about { padding: 24px 0 76px; }
  footer { padding: 32px 0; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 20px; }
  .footer-links { gap: 18px; }
  .copy { width: 100%; text-align: left; }
}

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

  .nav-links {
    position: fixed;
    top: 72px; left: 0; right: 0;
    background: var(--bg-elev);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: stretch;
    padding: 14px 20px 20px;
    gap: 4px;
    transform: translateY(-160%);
    transition: transform 0.32s var(--ease);
    box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.25);
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { padding: 13px 14px; }
  .nav-support { margin-left: 0; margin-top: 6px; justify-content: center; }
  .nav-toggle { display: flex; }
  .theme-toggle { margin-left: auto; margin-right: 6px; }

  .hero-buttons { flex-direction: column; align-items: stretch; }
  .hero-buttons .btn { width: 100%; }

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

  .pricing-card { padding: 34px 26px; }
  .pricing-badge { left: 26px; }
  .price-amount { font-size: 42px; }

  section#features { padding: 60px 0; }
  section#pricing { padding: 60px 0; }
  section#about { padding: 24px 0 60px; }

  .biscuit-banner { bottom: 16px; width: calc(100% - 32px); }
  .biscuit-content {
    flex-direction: column;
    text-align: center;
    padding: 22px 20px;
    gap: 16px;
  }
  .biscuit-icon { width: 42px; height: 42px; }
  .biscuit-actions { width: 100%; flex-direction: column; }
  .biscuit-actions .btn { width: 100%; }

  .footer-links { gap: 14px 18px; }
  .footer-links a { font-size: 11px; }
}