/*
Theme Name: Driftboard Studio
Theme URI: https://driftboard.app
Author: Driftboard
Author URI: https://driftboard.app
Description: Official theme for Driftboard Studio — An infinite presentation canvas for Mac.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: driftboard-studio
Tags: dark, one-page, portfolio, app-landing
*/

/* ── Design Tokens ─────────────────────────────────────────────────────────── */

:root {
  --bg:           #09090c;
  --bg-mid:       #0f0f13;
  --surface:      #141418;
  --surface-2:    #1b1b20;
  --border:       rgba(255,255,255,0.07);
  --border-hover: rgba(255,255,255,0.14);

  --accent:       #4f8cff;
  --accent-glow:  rgba(79,140,255,0.25);
  --accent-green: #3ecf8e;
  --accent-amber: #f5a623;
  --accent-purple:#a78bfa;
  --accent-coral: #ff6b6b;

  --text-primary:   #eeeef2;
  --text-secondary: #8e8ea0;
  --text-muted:     #55556a;

  --radius-sm:  8px;
  --radius-md:  14px;
  --radius-lg:  22px;
  --radius-xl:  32px;

  --shadow-sm:  0 1px 3px rgba(0,0,0,0.4);
  --shadow-md:  0 4px 24px rgba(0,0,0,0.5);
  --shadow-lg:  0 12px 48px rgba(0,0,0,0.7);
  --shadow-glow: 0 0 48px rgba(79,140,255,0.18);

  --nav-h: 64px;
  --max-w: 1180px;

  --ease-out-expo: cubic-bezier(0.16,1,0.3,1);
  --ease-spring:   cubic-bezier(0.34,1.56,0.64,1);
}

/* ── Reset ─────────────────────────────────────────────────────────────────── */

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background: var(--bg);
  color: var(--text-primary);
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Inter', 'Helvetica Neue', sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a  { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }

/* ── Typography ────────────────────────────────────────────────────────────── */

h1, h2, h3, h4 {
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 700;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: '';
  display: inline-block;
  width: 20px; height: 1.5px;
  background: var(--accent);
  border-radius: 2px;
}

/* ── Layout Utilities ──────────────────────────────────────────────────────── */

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 120px 0;
}

.section--tight {
  padding: 80px 0;
}

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

.text-center { text-align: center; }
.text-gradient {
  background: linear-gradient(135deg, var(--text-primary) 0%, var(--text-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.text-accent {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-purple) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Scroll Animation ──────────────────────────────────────────────────────── */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease-out-expo), transform 0.7s var(--ease-out-expo);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ── Navigation ────────────────────────────────────────────────────────────── */

.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background 0.3s ease, border-color 0.3s ease, backdrop-filter 0.3s ease;
  border-bottom: 1px solid transparent;
}

.site-nav.scrolled {
  background: rgba(9,9,12,0.85);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-color: var(--border);
}

.nav-inner {
  max-width: var(--max-w);
  width: 100%;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}
.nav-logo img {
  width: 30px; height: 30px;
  border-radius: 7px;
}
.nav-logo-dot {
  color: var(--accent);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text-primary); }

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

/* ── Buttons ───────────────────────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  transition: all 0.2s var(--ease-out-expo);
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 0 0 1px rgba(79,140,255,0.4), var(--shadow-sm);
}
.btn-primary:hover {
  background: #6b9fff;
  box-shadow: 0 0 24px var(--accent-glow), 0 0 0 1px rgba(79,140,255,0.6);
  transform: translateY(-1px);
}

.btn-ghost {
  color: var(--text-secondary);
  border: 1px solid var(--border);
}
.btn-ghost:hover {
  color: var(--text-primary);
  border-color: var(--border-hover);
  background: var(--surface);
}

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

.btn svg {
  width: 16px; height: 16px;
  flex-shrink: 0;
}

/* ── Hero Section ──────────────────────────────────────────────────────────── */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--nav-h) + 60px) 24px 80px;
  overflow: hidden;
}

#hero-canvas {
  position: absolute;
  inset: 0;
  opacity: 0.45;
  pointer-events: none;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 10px;
  border-radius: 100px;
  border: 1px solid var(--border);
  background: var(--surface);
  font-size: 12px;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 36px;
  position: relative;
  z-index: 1;
}
.hero-badge-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent-green);
  box-shadow: 0 0 8px var(--accent-green);
  animation: pulse-dot 2.5s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%,100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.6; transform: scale(1.3); }
}

.hero-headline {
  font-size: clamp(48px, 7vw, 88px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.05;
  max-width: 900px;
  position: relative;
  z-index: 1;
  margin-bottom: 24px;
}

.hero-sub {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--text-secondary);
  max-width: 560px;
  line-height: 1.65;
  position: relative;
  z-index: 1;
  margin-bottom: 44px;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
  margin-bottom: 72px;
}

.hero-proof {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--text-muted);
  position: relative;
  z-index: 1;
}
.hero-proof svg {
  color: var(--accent-amber);
}

.hero-visual {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
}

.hero-window {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  aspect-ratio: 16/10;
  position: relative;
}

.hero-window-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  background: var(--surface-2);
}
.wdot {
  width: 12px; height: 12px;
  border-radius: 50%;
}
.wdot-r { background: #ff5f57; }
.wdot-y { background: #febc2e; }
.wdot-g { background: #28c840; }
.hero-window-title {
  margin-left: auto; margin-right: auto;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.01em;
}

.hero-window-body {
  width: 100%;
  height: calc(100% - 41px);
  background: var(--bg);
  position: relative;
  overflow: hidden;
}
.hero-window-body canvas {
  width: 100%; height: 100%;
}

/* ── Stats Strip ───────────────────────────────────────────────────────────── */

.stats-strip {
  padding: 40px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stats-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.stat-item {
  text-align: center;
  padding: 20px;
  border-right: 1px solid var(--border);
}
.stat-item:last-child { border-right: none; }
.stat-number {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--text-primary);
  display: block;
}
.stat-label {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 4px;
}

/* ── Features ──────────────────────────────────────────────────────────────── */

.features-header {
  max-width: 600px;
  margin: 0 auto 72px;
}
.features-header h2 {
  font-size: clamp(32px, 4vw, 52px);
  margin-bottom: 18px;
}
.features-header p {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.65;
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px;
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s var(--ease-out-expo);
}
.feature-card:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.feature-icon {
  width: 48px; height: 48px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  font-size: 22px;
}
.feature-card h3 {
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 10px;
}
.feature-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* Icon accent colors */
.icon-blue   { background: rgba(79,140,255,0.12); color: var(--accent); }
.icon-green  { background: rgba(62,207,142,0.12); color: var(--accent-green); }
.icon-purple { background: rgba(167,139,250,0.12); color: var(--accent-purple); }
.icon-amber  { background: rgba(245,166,35,0.12);  color: var(--accent-amber); }
.icon-coral  { background: rgba(255,107,107,0.12); color: var(--accent-coral); }

/* ── Feature Spotlight (large alternating) ─────────────────────────────────── */

.spotlight {
  padding: 120px 0;
}
.spotlight-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
  margin-bottom: 100px;
}
.spotlight-row:last-child { margin-bottom: 0; }
.spotlight-row.reverse { direction: rtl; }
.spotlight-row.reverse > * { direction: ltr; }

.spotlight-content h2 {
  font-size: clamp(28px, 3.5vw, 44px);
  margin-bottom: 18px;
  line-height: 1.18;
}
.spotlight-content p {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 28px;
}
.spotlight-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  background: rgba(79,140,255,0.1);
  color: var(--accent);
  border: 1px solid rgba(79,140,255,0.2);
  margin-bottom: 24px;
}

.spotlight-visual {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  aspect-ratio: 4/3;
  position: relative;
  overflow: hidden;
}
.spotlight-visual-inner {
  width: 100%; height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.spotlight-icon-large {
  font-size: 72px;
  opacity: 0.15;
}

/* ── Templates Section ─────────────────────────────────────────────────────── */

.templates-section {
  background: var(--bg-mid);
  padding: 120px 0;
}
.templates-header {
  text-align: center;
  margin-bottom: 56px;
}
.templates-header h2 {
  font-size: clamp(32px, 4vw, 52px);
  margin-bottom: 16px;
}
.templates-header p {
  font-size: 17px;
  color: var(--text-secondary);
}

.templates-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.template-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
  transition: border-color 0.25s, transform 0.25s var(--ease-out-expo), box-shadow 0.25s;
  cursor: pointer;
}
.template-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.template-thumb {
  aspect-ratio: 16/9;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.template-thumb-icon {
  font-size: 56px;
  opacity: 0.12;
}
.template-thumb-pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 50% 50%, var(--accent-glow) 0%, transparent 70%);
}

.template-info {
  padding: 20px 24px;
  border-top: 1px solid var(--border);
}
.template-info h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
}
.template-info p {
  font-size: 13px;
  color: var(--text-secondary);
}

/* ── How it Works ──────────────────────────────────────────────────────────── */

.how-section { padding: 120px 0; }
.how-header {
  text-align: center;
  margin-bottom: 72px;
}
.how-header h2 { font-size: clamp(32px, 4vw, 52px); margin-bottom: 16px; }
.how-header p  { font-size: 17px; color: var(--text-secondary); }

.steps-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 700px;
  margin: 0 auto;
}
.step {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 28px;
  align-items: flex-start;
  padding: 32px 0;
  border-bottom: 1px solid var(--border);
  position: relative;
}
.step:last-child { border-bottom: none; }
.step-num {
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  font-weight: 800;
  color: var(--accent);
  flex-shrink: 0;
}
.step-content h3 {
  font-size: 20px;
  margin-bottom: 10px;
}
.step-content p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ── Pricing ───────────────────────────────────────────────────────────────── */

.pricing-section {
  padding: 120px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.pricing-section::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(79,140,255,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.pricing-header { margin-bottom: 56px; }
.pricing-header h2 { font-size: clamp(32px, 4vw, 52px); margin-bottom: 16px; }
.pricing-header p  { font-size: 17px; color: var(--text-secondary); }

.pricing-card {
  max-width: 480px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 48px 40px;
  position: relative;
}
.pricing-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(79,140,255,0.3), rgba(167,139,250,0.15), transparent);
  z-index: -1;
}

.pricing-badge {
  display: inline-block;
  padding: 5px 14px;
  border-radius: 100px;
  background: rgba(62,207,142,0.12);
  border: 1px solid rgba(62,207,142,0.25);
  color: var(--accent-green);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 28px;
}

.pricing-name {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 8px;
}
.pricing-amount {
  font-size: 64px;
  font-weight: 800;
  letter-spacing: -0.05em;
  color: var(--text-primary);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 4px;
  margin: 16px 0 8px;
}
.pricing-amount .currency {
  font-size: 26px;
  font-weight: 700;
  margin-top: 14px;
  color: var(--text-secondary);
}
.pricing-once {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 36px;
}

.pricing-features {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 36px;
  text-align: left;
}
.pricing-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: var(--text-secondary);
}
.pricing-check {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: rgba(62,207,142,0.12);
  color: var(--accent-green);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: 12px;
}

.pricing-cta {
  width: 100%;
  justify-content: center;
  padding: 16px;
  font-size: 16px;
}
.pricing-note {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 16px;
}

/* ── CTA Banner ────────────────────────────────────────────────────────────── */

.cta-section {
  padding: 100px 0;
  background: var(--bg-mid);
  text-align: center;
}
.cta-inner {
  max-width: 680px;
  margin: 0 auto;
}
.cta-inner h2 {
  font-size: clamp(32px, 4.5vw, 56px);
  margin-bottom: 20px;
}
.cta-inner p {
  font-size: 17px;
  color: var(--text-secondary);
  margin-bottom: 40px;
}
.cta-inner .btn-primary {
  padding: 16px 36px;
  font-size: 17px;
}

/* ── Footer ────────────────────────────────────────────────────────────────── */

.site-footer {
  border-top: 1px solid var(--border);
  padding: 64px 0 40px;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
}

.footer-brand p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-top: 14px;
  max-width: 280px;
}

.footer-col h4 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col ul a {
  font-size: 14px;
  color: var(--text-secondary);
  transition: color 0.2s;
}
.footer-col ul a:hover { color: var(--text-primary); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
  gap: 12px;
}
.footer-copy {
  font-size: 13px;
  color: var(--text-muted);
}
.footer-legal {
  display: flex;
  gap: 24px;
}
.footer-legal a {
  font-size: 13px;
  color: var(--text-muted);
  transition: color 0.2s;
}
.footer-legal a:hover { color: var(--text-secondary); }

/* ── Inner Page ────────────────────────────────────────────────────────────── */

.page-hero {
  padding: calc(var(--nav-h) + 80px) 0 80px;
  text-align: center;
}
.page-hero h1 {
  font-size: clamp(36px, 5vw, 60px);
  margin-bottom: 16px;
}
.page-hero p {
  font-size: 18px;
  color: var(--text-secondary);
}

.page-content {
  padding: 80px 0;
  max-width: 760px;
  margin: 0 auto;
}
.page-content h2 { font-size: 28px; margin: 40px 0 16px; }
.page-content h3 { font-size: 21px; margin: 32px 0 12px; color: var(--text-secondary); }
.page-content p  { font-size: 16px; color: var(--text-secondary); line-height: 1.8; margin-bottom: 18px; }
.page-content a  { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.page-content ul { padding-left: 20px; list-style: disc; color: var(--text-secondary); line-height: 1.8; }

/* ── Mac Download Badge ────────────────────────────────────────────────────── */

.mac-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 20px 10px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  transition: all 0.2s;
}
.mac-badge:hover {
  border-color: var(--border-hover);
  background: var(--surface-2);
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}
.mac-badge svg {
  width: 24px; height: 24px;
  color: var(--text-primary);
}

/* ── Mobile Nav Toggle ─────────────────────────────────────────────────────── */

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 22px; height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 0.25s;
}

/* ── Responsive ────────────────────────────────────────────────────────────── */

@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .spotlight-row { grid-template-columns: 1fr; gap: 40px; }
  .spotlight-row.reverse { direction: ltr; }
}

@media (max-width: 768px) {
  .section { padding: 80px 0; }

  .nav-links, .nav-cta { display: none; }
  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; }

  .grid-2 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }

  .stats-inner { grid-template-columns: repeat(2,1fr); }
  .stat-item { border-right: none; border-bottom: 1px solid var(--border); }
  .stat-item:nth-child(odd) { border-right: 1px solid var(--border); }

  .templates-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .pricing-card { padding: 36px 24px; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { justify-content: center; }
}
