/* ============================================
   DOG COMMAND CENTER — Landing Page Styles
   Art direction: operational, honest, facility-owner.
   Dark slate + warm amber accent. Not playful pet brand.
   ============================================ */

/* --- Design Tokens --- */
:root {
  /* Type Scale (fluid) */
  --text-xs:   clamp(0.75rem,  0.7rem  + 0.25vw, 0.875rem);
  --text-sm:   clamp(0.875rem, 0.8rem  + 0.35vw, 1rem);
  --text-base: clamp(1rem,     0.95rem + 0.25vw, 1.125rem);
  --text-lg:   clamp(1.125rem, 1rem    + 0.75vw, 1.5rem);
  --text-xl:   clamp(1.5rem,   1.2rem  + 1.25vw, 2.25rem);
  --text-2xl:  clamp(2rem,     1.2rem  + 2.5vw,  3.5rem);

  /* Spacing (4px base) */
  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-5:  1.25rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-full: 9999px;

  /* Transition */
  --transition-interactive: 180ms cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  /* Content widths */
  --content-narrow: 640px;
  --content-default: 960px;
  --content-wide: 1200px;

  /* Fonts */
  --font-display: 'Cabinet Grotesk', 'Arial Black', sans-serif;
  --font-body: 'Satoshi', 'Inter', sans-serif;
}

/* --- Light Mode (default) --- */
:root, [data-theme="light"] {
  --color-bg:             #f5f3ef;
  --color-surface:        #ffffff;
  --color-surface-2:      #faf9f7;
  --color-surface-offset: #eceae5;
  --color-border:         #d6d3cc;
  --color-divider:        #e2dfda;

  --color-text:           #1a1815;
  --color-text-muted:     #6b6860;
  --color-text-faint:     #a09d96;

  /* Primary: warm amber/orange — operational, not cutesy */
  --color-primary:        #c2610a;
  --color-primary-hover:  #a8520a;
  --color-primary-active: #8e430b;
  --color-primary-light:  #fef3e8;

  /* Accent: deep slate for hero bg */
  --color-slate:          #1e2328;
  --color-slate-light:    #2a3038;
  --color-slate-muted:    #8b939e;

  --shadow-sm: 0 1px 2px oklch(0.2 0.01 60 / 0.06);
  --shadow-md: 0 4px 12px oklch(0.2 0.01 60 / 0.08);
  --shadow-lg: 0 12px 32px oklch(0.2 0.01 60 / 0.12);
}

/* --- Dark Mode --- */
[data-theme="dark"] {
  --color-bg:             #121416;
  --color-surface:        #1a1c1f;
  --color-surface-2:      #1f2225;
  --color-surface-offset: #16181b;
  --color-border:         #2e3136;
  --color-divider:        #252830;

  --color-text:           #d8d5cf;
  --color-text-muted:     #8a877f;
  --color-text-faint:     #5c5a54;

  --color-primary:        #e8842e;
  --color-primary-hover:  #d4741f;
  --color-primary-active: #c06515;
  --color-primary-light:  #2a2018;

  --color-slate:          #0e1013;
  --color-slate-light:    #181b1f;
  --color-slate-muted:    #6b737e;

  --shadow-sm: 0 1px 2px oklch(0 0 0 / 0.2);
  --shadow-md: 0 4px 12px oklch(0 0 0 / 0.3);
  --shadow-lg: 0 12px 32px oklch(0 0 0 / 0.4);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    --color-bg:             #121416;
    --color-surface:        #1a1c1f;
    --color-surface-2:      #1f2225;
    --color-surface-offset: #16181b;
    --color-border:         #2e3136;
    --color-divider:        #252830;
    --color-text:           #d8d5cf;
    --color-text-muted:     #8a877f;
    --color-text-faint:     #5c5a54;
    --color-primary:        #e8842e;
    --color-primary-hover:  #d4741f;
    --color-primary-active: #c06515;
    --color-primary-light:  #2a2018;
    --color-slate:          #0e1013;
    --color-slate-light:    #181b1f;
    --color-slate-muted:    #6b737e;
    --shadow-sm: 0 1px 2px oklch(0 0 0 / 0.2);
    --shadow-md: 0 4px 12px oklch(0 0 0 / 0.3);
    --shadow-lg: 0 12px 32px oklch(0 0 0 / 0.4);
  }
}

/* ============================================
   LAYOUT
   ============================================ */

.container {
  max-width: var(--content-wide);
  margin-inline: auto;
  padding-inline: var(--space-4);
}
@media (min-width: 768px) {
  .container { padding-inline: var(--space-8); }
}

/* ============================================
   HEADER / NAV
   ============================================ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: oklch(from var(--color-bg) l c h / 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-divider);
  transition: box-shadow 0.3s var(--ease-out);
}
.site-header.scrolled {
  box-shadow: var(--shadow-sm);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  text-decoration: none;
  color: var(--color-text);
}
.logo svg {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}
.logo-text {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--text-sm);
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.nav-links {
  display: none;
  list-style: none;
  gap: var(--space-6);
  align-items: center;
}
@media (min-width: 768px) {
  .nav-links { display: flex; }
}
.nav-links a {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  text-decoration: none;
  font-weight: 500;
  transition: color var(--transition-interactive);
}
.nav-links a:hover {
  color: var(--color-text);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.theme-toggle {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  color: var(--color-text-muted);
  transition: color var(--transition-interactive), background var(--transition-interactive);
}
.theme-toggle:hover {
  color: var(--color-text);
  background: var(--color-surface-offset);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--text-sm);
  padding: var(--space-2) var(--space-5);
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: background var(--transition-interactive),
              color var(--transition-interactive),
              box-shadow var(--transition-interactive),
              transform var(--transition-interactive);
  cursor: pointer;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--color-primary);
  color: #fff;
}
.btn-primary:hover {
  background: var(--color-primary-hover);
  box-shadow: var(--shadow-md);
}
.btn-primary:active {
  background: var(--color-primary-active);
}

.btn-outline {
  background: transparent;
  color: var(--color-text);
  border: 1px solid var(--color-border);
}
.btn-outline:hover {
  background: var(--color-surface-offset);
  border-color: var(--color-text-faint);
}

.btn-lg {
  padding: var(--space-3) var(--space-8);
  font-size: var(--text-base);
  border-radius: var(--radius-lg);
}

.btn-nav {
  display: none;
}
@media (min-width: 768px) {
  .btn-nav { display: inline-flex; }
}

/* Mobile menu button */
.mobile-menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: var(--color-text);
}
@media (min-width: 768px) {
  .mobile-menu-btn { display: none; }
}

.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 100;
  background: var(--color-bg);
  padding: var(--space-4);
}
.mobile-nav.open { display: flex; flex-direction: column; }
.mobile-nav-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-8);
}
.mobile-nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}
.mobile-nav-links a {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-text);
  text-decoration: none;
}
.mobile-nav-links .btn {
  margin-top: var(--space-4);
  text-align: center;
}

/* ============================================
   HERO
   ============================================ */

.hero {
  background: var(--color-slate);
  color: #e8e6e1;
  padding: clamp(var(--space-12), 8vw, var(--space-24)) 0;
  overflow: hidden;
}

.hero-inner {
  display: grid;
  gap: var(--space-8);
  align-items: center;
}
@media (min-width: 768px) {
  .hero-inner {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-12);
  }
}

.hero-eyebrow {
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-primary);
  margin-bottom: var(--space-3);
}
[data-theme="dark"] .hero-eyebrow,
:root:not([data-theme]) .hero-eyebrow {
  color: #e8842e;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: #f5f3ef;
  margin-bottom: var(--space-4);
}

.hero-sub {
  font-size: var(--text-base);
  line-height: 1.6;
  color: #a8a49d;
  max-width: 48ch;
  margin-bottom: var(--space-6);
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  align-items: center;
  margin-bottom: var(--space-5);
}

.hero-proof {
  font-size: var(--text-xs);
  color: #7a776f;
}
.hero-proof strong {
  color: #a8a49d;
}

.hero-visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--color-slate-light);
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Placeholder screenshot mockup */
.hero-mockup {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: var(--space-4);
}
.mockup-bar {
  display: flex;
  gap: var(--space-1);
  padding-bottom: var(--space-3);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: var(--space-3);
}
.mockup-dot {
  width: 8px;
  height: 8px;
  border-radius: var(--radius-full);
  background: rgba(255,255,255,0.15);
}
.mockup-content {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-2);
}
.mockup-card {
  background: rgba(255,255,255,0.05);
  border-radius: var(--radius-sm);
  padding: var(--space-3);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.mockup-card-name {
  font-size: 11px;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
}
.mockup-card-breed {
  font-size: 10px;
  color: rgba(255,255,255,0.35);
}
.mockup-badges {
  display: flex;
  gap: 3px;
  flex-wrap: wrap;
  margin-top: auto;
}
.mockup-badge {
  display: inline-block;
  font-size: 8px;
  font-weight: 600;
  padding: 2px 5px;
  border-radius: var(--radius-full);
  line-height: 1.2;
}
.mockup-badge.red { background: #a13544; color: #fff; }
.mockup-badge.amber { background: #c2610a; color: #fff; }
.mockup-badge.blue { background: #006494; color: #fff; }
.mockup-badge.green { background: #437a22; color: #fff; }
.mockup-badge.slate { background: rgba(255,255,255,0.1); color: rgba(255,255,255,0.6); }

/* ============================================
   SECTIONS (shared)
   ============================================ */

.section {
  padding: clamp(var(--space-12), 8vw, var(--space-24)) 0;
}
.section-alt {
  background: var(--color-surface-offset);
}

.section-header {
  text-align: left;
  max-width: 56ch;
  margin-bottom: var(--space-10);
}
.section-header h2 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--color-text);
  margin-bottom: var(--space-2);
}
.section-header p {
  font-size: var(--text-base);
  color: var(--color-text-muted);
}

/* ============================================
   HOW IT WORKS
   ============================================ */

.steps-grid {
  display: grid;
  gap: var(--space-6);
}
@media (min-width: 768px) {
  .steps-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-8);
  }
}

.step {
  display: flex;
  gap: var(--space-4);
  align-items: flex-start;
}
@media (min-width: 768px) {
  .step { flex-direction: column; }
}

.step-number {
  width: 40px;
  height: 40px;
  min-width: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--text-sm);
  color: var(--color-primary);
  background: var(--color-primary-light);
  border-radius: var(--radius-md);
}

.step h3 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  margin-bottom: var(--space-1);
  color: var(--color-text);
}
.step p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* ============================================
   FEATURES
   ============================================ */

.feature-block {
  display: grid;
  gap: var(--space-8);
  align-items: center;
  padding: clamp(var(--space-8), 5vw, var(--space-16)) 0;
  border-bottom: 1px solid var(--color-divider);
}
.feature-block:last-child {
  border-bottom: none;
}
@media (min-width: 768px) {
  .feature-block {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-12);
  }
  .feature-block.reverse .feature-content { order: 2; }
  .feature-block.reverse .feature-visual { order: 1; }
}

.feature-tag {
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-primary);
  margin-bottom: var(--space-2);
}

.feature-content h3 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-3);
  color: var(--color-text);
}
.feature-content p {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.65;
  margin-bottom: var(--space-3);
}
.feature-stat {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
}
.feature-stat strong {
  color: var(--color-text-muted);
}

.feature-visual {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.feature-visual.has-padding {
  padding: var(--space-4);
  aspect-ratio: 4 / 3;
}

/* Real app screenshots */
.feature-screenshot {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-lg);
}

/* Coming soon placeholder */
.feature-coming-soon {
  width: 100%;
  aspect-ratio: 4 / 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  background: var(--color-surface-offset);
  padding: var(--space-8);
}
.feature-coming-soon-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  background: var(--color-primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}
.feature-coming-soon-text {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text-muted);
  text-align: center;
}
.feature-coming-soon-sub {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  text-align: center;
}

/* Feature visual mockups */
.mock-runcard-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-2);
  width: 100%;
}
.mock-runcard {
  background: var(--color-surface-offset);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-sm);
  padding: var(--space-3);
}
.mock-runcard-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-2);
}
.mock-runcard-name {
  font-weight: 700;
  font-size: var(--text-xs);
  color: var(--color-text);
}
.mock-runcard-name-only {
  font-weight: 700;
  font-size: var(--text-xs);
  color: var(--color-text);
  margin-bottom: var(--space-2);
}
.mock-runcard-breed {
  font-size: 10px;
  color: var(--color-text-faint);
}
.mock-runcard-row {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: var(--color-text-muted);
  padding: 2px 0;
  border-top: 1px solid var(--color-divider);
}

/* Icon grid mockup */
.mock-icon-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-2);
  width: 100%;
}
.mock-icon-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-1);
  padding: var(--space-2);
  background: var(--color-surface-offset);
  border-radius: var(--radius-sm);
  text-align: center;
}
.mock-icon-circle {
  width: 28px;
  height: 28px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
}
.mock-icon-label {
  font-size: 9px;
  font-weight: 500;
  color: var(--color-text-muted);
  line-height: 1.2;
}

/* Kennel map mockup */
.mock-kennel-map {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.mock-kennel-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-2);
}
.mock-kennel {
  background: var(--color-surface-offset);
  border: 1.5px solid var(--color-divider);
  border-radius: var(--radius-sm);
  padding: var(--space-2) var(--space-3);
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-height: 60px;
}
.mock-kennel.occupied {
  background: var(--color-surface);
  border-color: var(--color-border);
}
.mock-kennel.fav {
  border-color: var(--color-primary);
  border-width: 2px;
}
.mock-kennel.alert {
  border-color: #a13544;
  background: #a135440d;
}
.mock-kennel.empty {
  opacity: 0.5;
  border-style: dashed;
}
.mock-kennel.drag {
  border-color: #006494;
  border-style: dashed;
  border-width: 2px;
  background: #0064940d;
}
.mock-kennel-id {
  font-size: 9px;
  font-weight: 700;
  color: var(--color-text-faint);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.mock-kennel-dog {
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-text);
}
.mock-kennel-dog.empty-label {
  color: var(--color-text-faint);
  font-weight: 400;
  font-style: italic;
}
.mock-kennel-dog.drag-label {
  color: #006494;
}
.mock-kennel-badge {
  font-size: 8px;
  font-weight: 600;
  color: var(--color-primary);
  line-height: 1.3;
}
.mock-kennel-badge.auto {
  color: var(--color-text-faint);
}
.mock-kennel-badge.warn {
  color: #a13544;
}
.mock-kennel-badge.drag-badge {
  color: #006494;
}

/* Task board mockup */
.mock-taskboard {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.mock-task-row {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3);
  background: var(--color-surface-offset);
  border-radius: var(--radius-sm);
}
.mock-task-check {
  width: 18px;
  height: 18px;
  min-width: 18px;
  border-radius: var(--radius-sm);
  border: 2px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
}
.mock-task-check.done {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
}
.mock-task-check.done::after {
  content: '✓';
  font-size: 11px;
  font-weight: 700;
}
.mock-task-text {
  flex: 1;
  font-size: var(--text-xs);
  color: var(--color-text);
}
.mock-task-text.done-text {
  text-decoration: line-through;
  color: var(--color-text-faint);
}
.mock-task-time {
  font-size: 10px;
  color: var(--color-text-faint);
}
.mock-task-user {
  font-size: 10px;
  font-weight: 600;
  color: var(--color-text-muted);
  background: var(--color-surface);
  padding: 2px 6px;
  border-radius: var(--radius-full);
}

/* ============================================
   SOCIAL PROOF
   ============================================ */

.proof-section {
  background: var(--color-slate);
  color: #e8e6e1;
  padding: clamp(var(--space-12), 8vw, var(--space-20)) 0;
}

.proof-inner {
  display: grid;
  gap: var(--space-8);
  align-items: center;
}
@media (min-width: 768px) {
  .proof-inner {
    grid-template-columns: auto 1fr;
    gap: var(--space-12);
  }
}

.proof-avatar {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-full);
  background: var(--color-slate-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--text-xl);
  color: var(--color-primary);
  flex-shrink: 0;
}
[data-theme="dark"] .proof-avatar {
  color: #e8842e;
}

.proof-quote {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 600;
  line-height: 1.4;
  color: #e8e6e1;
  margin-bottom: var(--space-3);
}

.proof-attribution {
  font-size: var(--text-sm);
  color: #7a776f;
}
.proof-attribution strong {
  color: #a8a49d;
}

.proof-stats {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-6);
  margin-top: var(--space-6);
  padding-top: var(--space-6);
  border-top: 1px solid rgba(255,255,255,0.08);
}
.proof-stat {
  display: flex;
  flex-direction: column;
}
.proof-stat-number {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--text-lg);
  color: #e8e6e1;
  font-variant-numeric: tabular-nums;
}
.proof-stat-label {
  font-size: var(--text-xs);
  color: #7a776f;
}

/* ============================================
   PRICING
   ============================================ */

/* Free tier standalone card */
.pricing-free-standalone {
  margin-bottom: var(--space-10);
}
.price-card-free {
  background: var(--color-surface);
  border: 2px solid var(--color-primary);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
}
.price-card-free-inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}
@media (min-width: 768px) {
  .price-card-free-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-8);
  }
}
.price-card-free-left {
  flex-shrink: 0;
}
.price-card-free-middle {
  flex: 1;
}
.price-features-inline {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2) var(--space-5);
}
.price-features-inline li {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  display: flex;
  align-items: center;
  gap: var(--space-2);
  line-height: 1.5;
}
.price-features-inline li::before {
  content: '';
  width: 16px;
  height: 16px;
  min-width: 16px;
  background: var(--color-primary);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%23000' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round' viewBox='0 0 24 24'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%23000' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round' viewBox='0 0 24 24'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat;
}
.price-card-free-right {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
  flex-shrink: 0;
}
.price-card-free-right .price-dollar {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--text-xl);
  color: var(--color-text);
}

/* Paid tiers header */
.pricing-paid-header {
  margin-bottom: var(--space-6);
}
.pricing-paid-label {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Paid tiers grid: 3-across */
.pricing-grid-paid {
  display: grid;
  gap: var(--space-6);
}
@media (min-width: 768px) {
  .pricing-grid-paid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-5);
  }
}

.price-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  position: relative;
}

.price-card.featured {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 1px var(--color-primary), var(--shadow-md);
}

.price-badge {
  position: absolute;
  top: calc(var(--space-3) * -1);
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-primary);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 14px;
  border-radius: var(--radius-full);
  white-space: nowrap;
}

.price-card-header {
  margin-bottom: var(--space-5);
}
.price-tier {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--text-lg);
  color: var(--color-text);
  margin-bottom: var(--space-1);
}
.price-desc {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

.price-amount {
  display: flex;
  align-items: baseline;
  gap: var(--space-1);
  margin-bottom: var(--space-5);
}
.price-dollar {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--text-xl);
  color: var(--color-text);
  font-variant-numeric: tabular-nums;
}
.price-period {
  font-size: var(--text-sm);
  color: var(--color-text-faint);
}

.price-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-bottom: var(--space-6);
  flex: 1;
}
.price-features li {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  display: flex;
  align-items: flex-start;
  gap: var(--space-2);
  line-height: 1.5;
}
.price-features li::before {
  content: '';
  width: 16px;
  height: 16px;
  min-width: 16px;
  margin-top: 3px;
  background: var(--color-primary);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%23000' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round' viewBox='0 0 24 24'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%23000' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round' viewBox='0 0 24 24'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat;
}
.price-features li.disabled {
  color: var(--color-text-faint);
}
.price-features li.disabled::before {
  background: var(--color-text-faint);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%23000' stroke-width='2.5' stroke-linecap='round' viewBox='0 0 24 24'%3E%3Cpath d='M5 12h14'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%23000' stroke-width='2.5' stroke-linecap='round' viewBox='0 0 24 24'%3E%3Cpath d='M5 12h14'/%3E%3C/svg%3E") center / contain no-repeat;
}

.price-card .btn {
  width: 100%;
}

/* ============================================
   FAQ
   ============================================ */

.faq-list {
  max-width: 720px;
  display: flex;
  flex-direction: column;
}

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

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: var(--space-4) 0;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--text-base);
  color: var(--color-text);
  text-align: left;
  gap: var(--space-4);
  cursor: pointer;
}
.faq-question:hover {
  color: var(--color-primary);
}

.faq-icon {
  width: 20px;
  height: 20px;
  min-width: 20px;
  color: var(--color-text-faint);
  transition: transform 0.3s var(--ease-out);
}
.faq-item.open .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.35s var(--ease-out), padding 0.35s var(--ease-out);
}
.faq-item.open .faq-answer {
  max-height: 300px;
}
.faq-answer-inner {
  padding-bottom: var(--space-5);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.65;
}

/* ============================================
   FINAL CTA
   ============================================ */

.final-cta {
  background: var(--color-slate);
  color: #e8e6e1;
  padding: clamp(var(--space-12), 8vw, var(--space-20)) 0;
  text-align: center;
}
.final-cta h2 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 800;
  color: #f5f3ef;
  margin-bottom: var(--space-3);
}
.final-cta p {
  font-size: var(--text-base);
  color: #a8a49d;
  max-width: 48ch;
  margin: 0 auto var(--space-6);
}

/* ============================================
   FOOTER
   ============================================ */

.site-footer {
  padding: var(--space-8) 0;
  border-top: 1px solid var(--color-divider);
}
.footer-inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  align-items: center;
  text-align: center;
}
@media (min-width: 768px) {
  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.footer-copy {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
}
.footer-links {
  display: flex;
  gap: var(--space-4);
}
.footer-links a {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  text-decoration: none;
  transition: color var(--transition-interactive);
}
.footer-links a:hover {
  color: var(--color-text-muted);
}

/* ============================================
   SCROLL ANIMATIONS (CSS-only)
   ============================================ */

.fade-in {
  opacity: 1;
}

@supports (animation-timeline: scroll()) {
  .fade-in {
    opacity: 0;
    animation: reveal-fade linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 100%;
  }
}

@keyframes reveal-fade {
  to { opacity: 1; }
}
