/* ==========================================================================
   PORTFOLIO.INK - Landing Page Styles
   Dark theme with electric blue accent, Bebas Neue display, Inter body
   ========================================================================== */

/* --------------------------------------------------------------------------
   CSS Custom Properties
   -------------------------------------------------------------------------- */
:root {
  --color-ink: #0a0a0b;
  --color-ink-light: #111113;
  --color-ink-medium: #161618;
  --color-surface: #1e1e21;
  --color-surface-elevated: #252528;
  --color-border: #2a2a2e;
  --color-border-subtle: #1f1f22;

  --color-text-primary: #f5f5f7;
  --color-text-secondary: #a1a1a6;
  --color-text-tertiary: #6e6e73;

  --color-accent: #2563EB;
  --color-accent-light: #3B82F6;
  --color-accent-glow: rgba(37, 99, 235, 0.2);
  --color-accent-subtle: rgba(37, 99, 235, 0.1);

  --color-success: #22c55e;
  --color-danger: #ef4444;

  --color-crimson: #C41E3A;
  --color-crimson-light: #E63950;
  --color-crimson-glow: rgba(196, 30, 58, 0.25);
  --color-crimson-subtle: rgba(196, 30, 58, 0.1);

  --color-gold: #c9a227;
  --color-gold-light: #e3b92f;
  --color-gold-glow: rgba(201, 162, 39, 0.2);
  --color-gold-subtle: rgba(201, 162, 39, 0.1);

  --font-display: 'Bebas Neue', Impact, sans-serif;
  --font-body: 'Inter', -apple-system, system-ui, 'Segoe UI', sans-serif;

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 20px;
}

/* --------------------------------------------------------------------------
   Section Themes (Artist = Crimson, Studio = Gold)
   -------------------------------------------------------------------------- */
.theme-artist {
  --color-accent: var(--color-crimson);
  --color-accent-light: var(--color-crimson-light);
  --color-accent-glow: var(--color-crimson-glow);
  --color-accent-subtle: var(--color-crimson-subtle);
}

.theme-studio {
  --color-accent: var(--color-gold);
  --color-accent-light: var(--color-gold-light);
  --color-accent-glow: var(--color-gold-glow);
  --color-accent-subtle: var(--color-gold-subtle);
}

.theme-hosting {
  --color-accent: #2563EB;
  --color-accent-light: #3B82F6;
  --color-accent-glow: rgba(37, 99, 235, 0.2);
  --color-accent-subtle: rgba(37, 99, 235, 0.1);
}

/* Gold text on buttons needs to be dark for contrast */
.theme-studio .btn-primary {
  color: #0a0a0b;
}
.theme-studio .btn-primary:hover {
  color: #0a0a0b;
}

/* Price badge color overrides for themed sections */
.theme-artist .price-badge-paid {
  background: var(--color-crimson-subtle);
  color: var(--color-crimson);
  border-color: rgba(196, 30, 58, 0.2);
}

.theme-studio .price-badge-paid {
  background: var(--color-gold-subtle);
  color: var(--color-gold);
  border-color: rgba(201, 162, 39, 0.2);
}

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

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

body {
  font-family: var(--font-body);
  background: var(--color-ink);
  color: var(--color-text-primary);
  overflow-x: hidden;
  line-height: 1.6;
}

/* Noise texture overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

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

a { color: inherit; }

/* --------------------------------------------------------------------------
   Layout
   -------------------------------------------------------------------------- */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.container-wide {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

section {
  position: relative;
  padding: 80px 0;
}

.section-lg { padding: 100px 0; }
.section-xl { padding: 120px 0; }
.bg-ink-light { background: var(--color-ink-light); }
.bg-ink-medium { background: var(--color-ink-medium); }

/* --------------------------------------------------------------------------
   Section Headers
   -------------------------------------------------------------------------- */
.section-header {
  margin-bottom: 56px;
}

.section-header-centered {
  text-align: center;
}

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

.section-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2rem, 5vw, 3.2rem);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1;
  color: var(--color-text-primary);
  margin-bottom: 16px;
}

.section-description {
  font-size: 1.1rem;
  color: var(--color-text-secondary);
  line-height: 1.7;
  max-width: 640px;
}

.section-header-centered .section-description {
  margin: 0 auto;
}

/* Section CTA (centered button below content) */
.section-cta {
  text-align: center;
  margin-top: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
a.btn, button.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  text-decoration: none;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: all 250ms ease;
  cursor: pointer;
  border: none;
  line-height: 1;
}

.btn-primary {
  background: var(--color-accent);
  color: #fff;
}
.btn-primary:hover {
  background: var(--color-accent-light);
  box-shadow: 0 0 40px var(--color-accent-glow);
}

.btn-secondary {
  background: transparent;
  color: var(--color-text-primary);
  border: 1px solid var(--color-border) !important;
}
.btn-secondary:hover {
  border-color: var(--color-text-tertiary) !important;
  background: rgba(255, 255, 255, 0.03);
}

.btn-ghost {
  background: transparent;
  color: var(--color-text-secondary);
  padding: 14px 16px;
}
.btn-ghost:hover {
  color: var(--color-text-primary);
}

.btn-free {
  background: var(--color-success);
  color: #fff;
}
.btn-free:hover {
  background: #34d369;
  box-shadow: 0 0 40px rgba(34, 197, 94, 0.25);
}

.btn-crimson {
  background: var(--color-crimson);
  color: #fff;
}
.btn-crimson:hover {
  background: var(--color-crimson-light);
  box-shadow: 0 0 40px var(--color-crimson-glow);
}

.btn-gold {
  background: var(--color-gold);
  color: #0a0a0b;
}
.btn-gold:hover {
  background: var(--color-gold-light);
  box-shadow: 0 0 40px var(--color-gold-glow);
}

.btn-sm { padding: 10px 20px; font-size: 0.8125rem; }
.btn-lg { padding: 16px 36px; font-size: 1rem; }
.btn-xl { padding: 20px 44px; font-size: 1.0625rem; }
.btn-block { width: 100%; justify-content: center; }

.btn-arrow {
  transition: transform 250ms ease;
  display: inline-block;
}
.btn:hover .btn-arrow {
  transform: translateX(3px);
}

/* --------------------------------------------------------------------------
   Badge / Pill
   -------------------------------------------------------------------------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 99px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.badge-accent {
  background: var(--color-accent-subtle);
  color: var(--color-accent);
  border: 1px solid rgba(37, 99, 235, 0.2);
}

.badge-free {
  background: rgba(34, 197, 94, 0.1);
  color: var(--color-success);
  border: 1px solid rgba(34, 197, 94, 0.2);
}

.badge svg { width: 14px; height: 14px; }

/* --------------------------------------------------------------------------
   Price Badges (inline in section headers)
   -------------------------------------------------------------------------- */
.price-badge-inline {
  margin-bottom: 12px;
}

.price-badge-free {
  display: inline-block;
  padding: 6px 20px;
  border-radius: 99px;
  font-size: 0.875rem;
  font-weight: 700;
  background: rgba(34, 197, 94, 0.1);
  color: var(--color-success);
  border: 1px solid rgba(34, 197, 94, 0.2);
}

.price-badge-paid {
  display: inline-block;
  padding: 6px 20px;
  border-radius: 99px;
  font-size: 0.875rem;
  font-weight: 700;
  background: var(--color-accent-subtle);
  color: var(--color-accent);
  border: 1px solid rgba(37, 99, 235, 0.2);
}

.price-badge-paid small {
  font-weight: 500;
  opacity: 0.7;
  margin-left: 4px;
}

/* --------------------------------------------------------------------------
   HERO
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px 80px;
  overflow: hidden;
}

/* Warm ambient glow */
.hero::before {
  content: '';
  position: absolute;
  top: -30%;
  left: 50%;
  transform: translateX(-50%);
  width: 120%;
  height: 80%;
  background: radial-gradient(ellipse at center, rgba(37, 99, 235, 0.05) 0%, transparent 65%);
  pointer-events: none;
}

/* Side glow */
.hero::after {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 60%;
  height: 60%;
  background: radial-gradient(ellipse, rgba(37, 99, 235, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 880px;
}

/* Logo */
.hero .logo { margin-bottom: 48px; }
.hero .logo svg { width: 200px; height: auto; margin: 0 auto; display: block; }

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 28px;
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(3.5rem, 11vw, 6.5rem);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 0.92;
  color: var(--color-text-primary);
  margin-bottom: 28px;
}

.hero h1 .accent {
  color: var(--color-accent);
  text-shadow: 0 0 60px rgba(37, 99, 235, 0.2);
}

.hero-description {
  font-size: 1.25rem;
  color: var(--color-text-secondary);
  line-height: 1.7;
  margin-bottom: 44px;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
}

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

/* Hero Stats */
.hero-stats {
  display: flex;
  gap: 48px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-stat {
  text-align: center;
}

.hero-stat-number {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--color-accent);
  line-height: 1;
  margin-bottom: 4px;
}

.hero-stat-label {
  font-size: 0.75rem;
  color: var(--color-text-tertiary);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--color-text-tertiary);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.hero-scroll-line {
  width: 1px;
  height: 32px;
  background: linear-gradient(to bottom, var(--color-text-tertiary), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 1; }
}

/* --------------------------------------------------------------------------
   Example Cards (3-column grid)
   -------------------------------------------------------------------------- */
.examples-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.example-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border-subtle);
  aspect-ratio: 16 / 10;
  background: var(--color-ink-medium);
  transition: all 350ms ease;
  text-decoration: none;
}

.example-card:hover {
  border-color: var(--color-accent);
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5), 0 0 20px var(--color-accent-subtle);
}

.example-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms ease;
}

.example-card:hover img {
  transform: scale(1.03);
}

.example-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 10, 11, 0.9) 0%, rgba(10, 10, 11, 0.4) 40%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  opacity: 0;
  transition: opacity 300ms ease;
}

.example-card:hover .example-card-overlay {
  opacity: 1;
}

.example-card-name {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text-primary);
  margin-bottom: 4px;
}

.example-card-desc {
  font-size: 0.8125rem;
  color: var(--color-text-secondary);
  line-height: 1.5;
  margin-bottom: 12px;
}

.example-card-cta {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-accent);
}

/* --------------------------------------------------------------------------
   How It Works (Steps)
   -------------------------------------------------------------------------- */
.steps {
  max-width: 680px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}

/* Vertical connector line */
.steps::before {
  content: '';
  position: absolute;
  left: 23px;
  top: 48px;
  bottom: 48px;
  width: 1px;
  background: linear-gradient(to bottom, var(--color-accent), var(--color-border-subtle));
  opacity: 0.3;
}

.step {
  display: flex;
  gap: 28px;
  align-items: flex-start;
  padding: 28px 0;
}

.step-number {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--color-accent);
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: #fff;
  position: relative;
  z-index: 1;
}

.step-content h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--color-text-primary);
  margin-bottom: 8px;
  line-height: 1.1;
}

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

.step-content p strong {
  color: var(--color-text-primary);
}

/* --------------------------------------------------------------------------
   Feature Grid
   -------------------------------------------------------------------------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.feature-card {
  padding: 28px 24px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border-subtle);
  background: var(--color-ink-light);
  text-align: center;
  transition: all 300ms ease;
}
.feature-card:hover {
  border-color: var(--color-border);
  transform: translateY(-2px);
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-lg);
  background: var(--color-accent-subtle);
  border: 1px solid rgba(37, 99, 235, 0.1);
  margin-bottom: 16px;
}

.feature-icon svg {
  width: 22px;
  height: 22px;
  color: var(--color-accent);
}

.feature-card h3 {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-text-primary);
  margin-bottom: 6px;
}

.feature-card p {
  font-size: 0.8125rem;
  color: var(--color-text-secondary);
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   Comparison Table
   -------------------------------------------------------------------------- */
.comparison-table-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
  font-size: 0.9375rem;
}

.comparison-table th,
.comparison-table td {
  padding: 16px 20px;
  text-align: center;
  border-bottom: 1px solid var(--color-border-subtle);
}

.comparison-table th:first-child,
.comparison-table td:first-child {
  text-align: left;
  color: var(--color-text-secondary);
  font-weight: 500;
}

.comparison-table thead th {
  padding-bottom: 24px;
  border-bottom: 1px solid var(--color-border);
  vertical-align: bottom;
}

.comparison-table tfoot td {
  padding-top: 24px;
  border-bottom: none;
}

.table-plan-name {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--color-text-primary);
  margin-bottom: 4px;
}

.table-plan-price {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--color-accent);
  line-height: 1;
}

.table-plan-free {
  color: var(--color-success);
}

.table-plan-crimson {
  color: var(--color-crimson);
}

.table-plan-gold {
  color: var(--color-gold);
}

.comparison-table td {
  color: var(--color-text-secondary);
}

.comparison-table td.dash {
  color: var(--color-text-tertiary);
}

.comparison-table svg.check {
  width: 20px;
  height: 20px;
  color: var(--color-success);
  display: inline-block;
}

/* --------------------------------------------------------------------------
   Hosting Section
   -------------------------------------------------------------------------- */
.hosting-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.hosting-content .section-label {
  margin-bottom: 12px;
}

.hosting-content .section-title {
  margin-bottom: 16px;
}

.hosting-description {
  font-size: 1.05rem;
  color: var(--color-text-secondary);
  line-height: 1.7;
  margin-bottom: 28px;
}

.hosting-description strong {
  color: var(--color-text-primary);
}

.hosting-price {
  margin-bottom: 28px;
}

.hosting-price-amount {
  font-family: var(--font-display);
  font-size: 3.5rem;
  color: var(--color-text-primary);
  line-height: 1;
}

.hosting-price-period {
  font-size: 1.1rem;
  color: var(--color-text-tertiary);
  font-weight: 500;
}

.hosting-price-note {
  display: block;
  margin-top: 4px;
  font-size: 0.8125rem;
  color: var(--color-text-tertiary);
}

.hosting-ctas {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.hosting-note {
  font-size: 0.8125rem;
  color: var(--color-text-tertiary);
}

.hosting-features {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 32px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-border-subtle);
  background: var(--color-ink-light);
}

.hosting-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9375rem;
  color: var(--color-text-secondary);
}

.hosting-feature svg {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  color: var(--color-success);
}

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */
.faq-list {
  max-width: 700px;
  margin: 0 auto;
}

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

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 20px 0;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text-primary);
  text-align: left;
  gap: 16px;
}

.faq-question svg {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--color-text-tertiary);
  transition: transform 300ms ease;
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 300ms ease;
}

.faq-item.active .faq-answer {
  max-height: 300px;
}

.faq-answer-inner {
  padding-bottom: 20px;
  font-size: 0.9375rem;
  color: var(--color-text-secondary);
  line-height: 1.7;
}

.faq-answer-inner a {
  color: var(--color-accent);
  text-decoration: none;
  transition: color 150ms ease;
}
.faq-answer-inner a:hover { color: var(--color-accent-light); }

/* --------------------------------------------------------------------------
   Final CTA Section
   -------------------------------------------------------------------------- */
.cta-section {
  text-align: center;
  background: var(--color-ink-light);
}

.final-cta-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.alternatives-box {
  max-width: 700px;
  margin: 48px auto 0;
  padding: 32px;
  border-radius: 20px;
  border: 1px solid var(--color-border-subtle);
  background: var(--color-ink);
}

.alternatives-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--color-text-primary);
  margin-bottom: 20px;
  text-align: center;
}

.alternatives-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.alt-card {
  padding: 24px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border-subtle);
  background: var(--color-ink-light);
  text-align: left;
  transition: border-color 250ms ease;
}
.alt-card:hover { border-color: var(--color-border); }

.alt-card h4 {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-text-primary);
  margin-bottom: 4px;
}

.alt-price {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--color-accent);
  margin-bottom: 8px;
}

.alt-card p {
  font-size: 0.8125rem;
  color: var(--color-text-secondary);
  line-height: 1.6;
  margin-bottom: 12px;
}

.alt-card a {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-accent);
  text-decoration: none;
  transition: color 150ms ease;
}
.alt-card a:hover { color: var(--color-accent-light); }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer {
  padding: 48px 24px;
  text-align: center;
  border-top: 1px solid var(--color-border-subtle);
}

.footer-links {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.site-footer a {
  font-size: 0.8125rem;
  color: var(--color-text-secondary);
  text-decoration: none;
  transition: color 150ms ease;
}
.site-footer a:hover { color: var(--color-text-primary); }

.footer-copy {
  font-size: 0.8125rem;
  color: var(--color-text-tertiary);
}

/* --------------------------------------------------------------------------
   Scroll Reveal Animations
   -------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.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; }

/* Staggered children */
.stagger-children > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.stagger-children.visible > *:nth-child(1) { transition-delay: 0.05s; }
.stagger-children.visible > *:nth-child(2) { transition-delay: 0.1s; }
.stagger-children.visible > *:nth-child(3) { transition-delay: 0.15s; }
.stagger-children.visible > *:nth-child(4) { transition-delay: 0.2s; }
.stagger-children.visible > *:nth-child(5) { transition-delay: 0.25s; }
.stagger-children.visible > *:nth-child(6) { transition-delay: 0.3s; }
.stagger-children.visible > *:nth-child(7) { transition-delay: 0.35s; }
.stagger-children.visible > *:nth-child(8) { transition-delay: 0.4s; }
.stagger-children.visible > *:nth-child(9) { transition-delay: 0.45s; }

.stagger-children.visible > * {
  opacity: 1;
  transform: translateY(0);
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 900px) {
  .hosting-split {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .alternatives-grid { grid-template-columns: 1fr; }

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

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

  section { padding: 60px 0; }
  .section-lg { padding: 80px 0; }
  .section-xl { padding: 100px 0; }

  .hero-stats {
    gap: 24px;
  }

  .hero-stat-number { font-size: 1.75rem; }

  .comparison-table th,
  .comparison-table td {
    padding: 12px 12px;
    font-size: 0.8125rem;
  }

  .table-plan-name { font-size: 1.1rem; }
  .table-plan-price { font-size: 1.4rem; }
}

@media (max-width: 520px) {
  .features-grid { grid-template-columns: 1fr; }
  .examples-grid { grid-template-columns: 1fr; }
  .hero-ctas { flex-direction: column; align-items: center; }
  .hero-ctas .btn { width: 100%; justify-content: center; }
  .hero-stats { gap: 16px; }
  .hero-stat-number { font-size: 1.5rem; }
}
