/* =========================================================================
   WakeDo — landing page + dokumenty legalne
   Inspirowane: Linear.app, Stripe, Apple product pages
   ========================================================================= */

:root {
  /* Surfaces */
  --bg: #fafaf9;
  --bg-elevated: #ffffff;
  --bg-soft: #f4f4f3;
  --surface: #ffffff;
  --surface-hover: #f7f7f6;

  /* Text */
  --text: #0a0a0f;
  --text-strong: #050507;
  --text-secondary: #41424c;
  --text-muted: #7c7e89;
  --text-faint: #b5b7c2;

  /* Lines */
  --border: #e6e6e3;
  --border-strong: #d5d5d2;
  --divider: #ecebe8;

  /* Brand */
  --flame: #f97316;
  --flame-deep: #ea580c;
  --flame-soft: rgba(249, 115, 22, 0.10);
  --flame-glow: rgba(249, 115, 22, 0.35);

  /* Accents */
  --accent: #0a0a0f;
  --accent-text: #fafaf9;
  --gold: #fbbf24;

  /* Effects */
  --shadow-sm: 0 1px 2px rgba(10, 10, 15, 0.04);
  --shadow-md: 0 2px 8px rgba(10, 10, 15, 0.05), 0 1px 3px rgba(10, 10, 15, 0.04);
  --shadow-lg: 0 8px 30px rgba(10, 10, 15, 0.08), 0 2px 8px rgba(10, 10, 15, 0.04);
  --shadow-xl: 0 24px 60px rgba(10, 10, 15, 0.12), 0 4px 12px rgba(10, 10, 15, 0.06);
  --shadow-glow: 0 0 60px var(--flame-glow);

  /* Radii */
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 18px;
  --r-xl: 24px;
  --r-2xl: 32px;
  --r-pill: 999px;

  /* Motion */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #07070b;
    --bg-elevated: #0e0e14;
    --bg-soft: #0b0b10;
    --surface: #11121a;
    --surface-hover: #16171f;

    --text: #f5f5f7;
    --text-strong: #ffffff;
    --text-secondary: #a8aab5;
    --text-muted: #6c6e7a;
    --text-faint: #3f4150;

    --border: #1d1e27;
    --border-strong: #2a2b35;
    --divider: #14151c;

    --flame: #fb923c;
    --flame-deep: #f97316;
    --flame-soft: rgba(251, 146, 60, 0.13);
    --flame-glow: rgba(251, 146, 60, 0.4);

    --accent: #f5f5f7;
    --accent-text: #07070b;

    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
    --shadow-md: 0 2px 8px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.6);
    --shadow-xl: 0 24px 60px rgba(0, 0, 0, 0.7);
  }
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Display",
    system-ui, "Segoe UI", Roboto, sans-serif;
  font-feature-settings: "ss01", "cv02", "cv03", "cv11";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.5;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  transition: opacity 0.18s var(--ease), color 0.18s var(--ease);
}

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

::selection {
  background: var(--flame);
  color: #fff;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.container-narrow {
  max-width: 880px;
}

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

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid color-mix(in srgb, var(--border) 60%, transparent);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.4px;
  color: var(--text-strong);
}

.brand-mark {
  width: 32px;
  height: 32px;
  /* iOS squircle approximation — ~22% of width matches Apple's
     continuous rounded square shape on app icons. Keeps the brand
     mark recognisable as „an app icon" rather than a generic photo. */
  border-radius: 7px;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(249, 115, 22, 0.25),
    0 0 0 1px rgba(10, 10, 15, 0.04);
}

@media (prefers-color-scheme: dark) {
  .brand-mark {
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.3),
      0 0 0 1px rgba(255, 255, 255, 0.06);
  }
}

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

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 8px 14px;
  border-radius: var(--r-md);
  transition: all 0.18s var(--ease);
}

.nav-links a:hover {
  color: var(--text-strong);
  background: var(--bg-soft);
}

.nav-cta {
  margin-left: 8px;
  background: var(--accent);
  color: var(--accent-text) !important;
  padding: 9px 18px !important;
  border-radius: var(--r-pill) !important;
  font-weight: 700 !important;
  font-size: 13px !important;
  background: var(--accent) !important;
}

.nav-cta:hover {
  background: var(--accent) !important;
  opacity: 0.88;
}

@media (max-width: 720px) {
  .nav-links a:not(.nav-cta) {
    display: none;
  }
}

/* =========================================================================
   BUTTONS
   ========================================================================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  font-size: 15px;
  border-radius: var(--r-pill);
  padding: 16px 28px;
  transition: all 0.18s var(--ease);
  cursor: pointer;
  border: none;
  letter-spacing: -0.1px;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: var(--accent-text);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-lg);
}

.btn-flame {
  background: linear-gradient(135deg, var(--flame) 0%, var(--flame-deep) 100%);
  color: #fff;
  box-shadow: 0 8px 24px var(--flame-glow);
}

.btn-flame:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 32px var(--flame-glow);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  padding: 16px 8px;
}

.btn-ghost:hover {
  color: var(--text-strong);
}

.btn-arrow {
  display: inline-block;
  transition: transform 0.18s var(--ease);
}

.btn:hover .btn-arrow {
  transform: translateX(3px);
}

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

.hero {
  position: relative;
  padding: 80px 0 96px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    var(--flame-glow) 0%,
    transparent 70%
  );
  filter: blur(40px);
  pointer-events: none;
  opacity: 0.6;
  animation: float-glow 12s ease-in-out infinite;
}

.hero::after {
  content: "";
  position: absolute;
  bottom: -300px;
  left: -200px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(251, 191, 36, 0.18) 0%,
    transparent 70%
  );
  filter: blur(50px);
  pointer-events: none;
  animation: float-glow 14s ease-in-out infinite reverse;
}

@keyframes float-glow {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(20px, 30px) scale(1.05); }
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 48px;
  align-items: center;
}

@media (max-width: 900px) {
  .hero {
    padding: 56px 0 64px;
  }
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 56px;
  }
}

.hero-content {
  max-width: 620px;
}

/* Centered variant — used when there's no side illustration.
   Hero content sits in the middle of the viewport, text-aligned
   centrally, with the gradient orbs (.hero::before / ::after)
   still framing the section. */
.hero-centered {
  padding: 120px 0 128px;
}

@media (max-width: 720px) {
  .hero-centered {
    padding: 72px 0 80px;
  }
}

.hero-inner-centered {
  position: relative;
  display: flex;
  justify-content: center;
  text-align: center;
}

.hero-inner-centered .hero-content {
  max-width: 760px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-inner-centered .hero-sub {
  margin-left: auto;
  margin-right: auto;
}

.hero-inner-centered .hero-actions {
  justify-content: center;
}

.hero-inner-centered .hero-trust {
  justify-content: center;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px 7px 8px;
  border-radius: var(--r-pill);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 28px;
  box-shadow: var(--shadow-sm);
}

.hero-pill-badge {
  background: var(--flame);
  color: #fff;
  padding: 3px 10px;
  border-radius: var(--r-pill);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.4px;
}

.hero h1 {
  font-size: clamp(44px, 7.5vw, 84px);
  font-weight: 900;
  letter-spacing: -3px;
  line-height: 0.96;
  margin-bottom: 28px;
  color: var(--text-strong);
}

.hero h1 .accent {
  background: linear-gradient(135deg, var(--flame) 0%, var(--flame-deep) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.55;
  color: var(--text-secondary);
  margin-bottom: 36px;
  max-width: 540px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.hero-trust {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
}

.hero-trust-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.hero-trust-check {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--flame-soft);
  color: var(--flame);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 900;
}

/* Phone mockup */

.hero-phone {
  position: relative;
  margin: 0 auto;
  max-width: 320px;
  animation: phone-float 6s ease-in-out infinite;
}

@keyframes phone-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.phone {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 19;
  background: linear-gradient(180deg, #1c1c20 0%, #0a0a0e 100%);
  border-radius: 48px;
  padding: 10px;
  box-shadow:
    0 0 0 2px #2a2a30,
    0 30px 80px rgba(10, 10, 15, 0.25),
    0 50px 100px rgba(249, 115, 22, 0.15);
}

@media (prefers-color-scheme: dark) {
  .phone {
    box-shadow:
      0 0 0 2px #2a2a30,
      0 30px 80px rgba(0, 0, 0, 0.6),
      0 50px 100px rgba(249, 115, 22, 0.18);
  }
}

.phone-screen {
  width: 100%;
  height: 100%;
  border-radius: 40px;
  background: linear-gradient(170deg, #0d0d12 0%, #16161d 60%, #1a0e0e 100%);
  position: relative;
  overflow: hidden;
  color: #fff;
  display: flex;
  flex-direction: column;
}

.phone-notch {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 110px;
  height: 28px;
  background: #000;
  border-radius: 0 0 18px 18px;
  z-index: 2;
}

.phone-status {
  display: flex;
  justify-content: space-between;
  padding: 12px 28px 0;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
}

.phone-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 0 28px;
  text-align: center;
  position: relative;
}

.phone-time {
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 18px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.phone-headline {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.8px;
  line-height: 1.1;
  margin-bottom: 8px;
}

.phone-headline-accent {
  color: var(--flame);
}

.phone-sub {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 36px;
  max-width: 200px;
  line-height: 1.4;
}

.phone-mission {
  width: 100%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 18px 16px;
  margin-bottom: 12px;
  text-align: left;
  display: flex;
  align-items: center;
  gap: 12px;
}

.phone-mission-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--flame-soft);
  color: var(--flame);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.phone-mission-label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 2px;
}

.phone-mission-title {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
}

.phone-cta {
  width: 100%;
  background: linear-gradient(135deg, var(--flame) 0%, var(--flame-deep) 100%);
  color: #fff;
  font-weight: 800;
  font-size: 14px;
  padding: 16px;
  border-radius: var(--r-pill);
  margin-top: 18px;
  box-shadow: 0 8px 24px rgba(249, 115, 22, 0.4);
}

.phone-home-indicator {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 4px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.4);
}

/* =========================================================================
   LOGOS / PROOF STRIP
   ========================================================================= */

.proof-strip {
  padding: 56px 0;
  border-top: 1px solid var(--divider);
  border-bottom: 1px solid var(--divider);
  background: var(--bg-soft);
}

.proof-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 36px;
  text-align: center;
}

.proof-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
}

.proof-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  width: 100%;
  max-width: 760px;
}

.proof-stat-value {
  font-size: 32px;
  font-weight: 900;
  letter-spacing: -1px;
  color: var(--text-strong);
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
  margin-bottom: 4px;
}

.proof-stat-value .star {
  color: var(--flame);
  font-size: 26px;
}

.proof-stat-label {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
}

/* Below 720px: stack all 4 stats vertically into one column,
   centered under the label. Każdy element pod sobą — żadnych
   dziwnych pół-rzędów ani wyłamywania pojedynczych kart. */
@media (max-width: 720px) {
  .proof-stats {
    grid-template-columns: 1fr;
    gap: 28px;
    max-width: 280px;
  }
}

/* =========================================================================
   SECTION HEADERS
   ========================================================================= */

.section-head {
  margin-bottom: 56px;
  max-width: 720px;
}

.section-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--flame);
  margin-bottom: 14px;
}

.section-title {
  font-size: clamp(32px, 4.5vw, 52px);
  font-weight: 900;
  letter-spacing: -1.6px;
  line-height: 1.05;
  margin-bottom: 16px;
  color: var(--text-strong);
}

.section-sub {
  font-size: 18px;
  line-height: 1.6;
  color: var(--text-secondary);
  max-width: 620px;
}

/* =========================================================================
   FEATURES (BENTO)
   ========================================================================= */

.features {
  padding: 112px 0;
}

.bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: minmax(220px, auto);
  gap: 16px;
}

@media (max-width: 900px) {
  .bento {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

.bento-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--r-2xl);
  padding: 32px;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease),
    box-shadow 0.25s var(--ease);
}

.bento-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-md);
}

.bento-card-lg {
  grid-column: span 2;
}

@media (max-width: 600px) {
  .bento-card-lg {
    grid-column: span 1;
  }
}

.bento-card-dark {
  background: linear-gradient(135deg, #18181c 0%, #0c0c11 100%);
  border-color: #1f1f24;
  color: #fff;
}

.bento-card-dark .bento-h3,
.bento-card-dark .bento-p {
  color: #fff;
}

.bento-card-flame {
  background: linear-gradient(135deg, var(--flame) 0%, var(--flame-deep) 100%);
  color: #fff;
  border-color: transparent;
}

.bento-card-flame .bento-h3,
.bento-card-flame .bento-p {
  color: #fff;
}

.bento-card-flame .bento-p {
  opacity: 0.92;
}

.bento-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--flame-soft);
  color: var(--flame);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 20px;
}

.bento-card-dark .bento-icon,
.bento-card-flame .bento-icon {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.bento-h3 {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.5px;
  line-height: 1.2;
  margin-bottom: 10px;
  color: var(--text-strong);
}

.bento-card-lg .bento-h3 {
  font-size: 26px;
}

.bento-p {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--text-secondary);
}

.bento-card-lg .bento-p {
  font-size: 16px;
  max-width: 440px;
}

/* Decorative pattern on dark bento card */
.bento-pattern {
  position: absolute;
  right: -30px;
  bottom: -30px;
  width: 200px;
  height: 200px;
  opacity: 0.08;
  pointer-events: none;
}

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

.how {
  padding: 80px 0 112px;
  background: var(--bg-soft);
  border-top: 1px solid var(--divider);
  border-bottom: 1px solid var(--divider);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  position: relative;
}

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

.step {
  text-align: left;
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  font-size: 18px;
  font-weight: 900;
  color: var(--flame);
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.step h3 {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.4px;
  margin-bottom: 10px;
  color: var(--text-strong);
}

.step p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-secondary);
  max-width: 340px;
}

/* =========================================================================
   TESTIMONIALS
   ========================================================================= */

.testimonials {
  padding: 112px 0;
}

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

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

.tcard {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform 0.2s var(--ease);
}

.tcard:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.tcard-stars {
  display: inline-flex;
  gap: 2px;
  color: var(--flame);
  font-size: 14px;
}

.tcard-body {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text);
  flex: 1;
}

.tcard-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.tcard-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--flame) 0%, var(--flame-deep) 100%);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 800;
}

.tcard-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-strong);
}

.tcard-meta {
  font-size: 12px;
  color: var(--text-muted);
}

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

.pricing {
  padding: 80px 0 112px;
  background: var(--bg-soft);
  border-top: 1px solid var(--divider);
  border-bottom: 1px solid var(--divider);
}

.pricing-inner {
  max-width: 480px;
  margin: 0 auto;
  text-align: center;
}

.price-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--r-2xl);
  padding: 40px 36px;
  text-align: left;
  position: relative;
  box-shadow: var(--shadow-lg);
}

.price-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--flame) 0%, var(--flame-deep) 100%);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: var(--r-pill);
  box-shadow: 0 6px 18px var(--flame-glow);
}

.price-plan-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 16px;
}

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

.price-amount-big {
  font-size: 56px;
  font-weight: 900;
  letter-spacing: -2.5px;
  color: var(--text-strong);
  line-height: 1;
}

.price-amount-period {
  font-size: 16px;
  color: var(--text-muted);
  font-weight: 600;
}

.price-trial {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--flame-soft);
  color: var(--flame);
  padding: 5px 12px;
  border-radius: var(--r-pill);
  font-size: 12px;
  font-weight: 700;
  margin: 12px 0 28px;
}

.price-features {
  list-style: none;
  margin-bottom: 32px;
}

.price-features li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  font-size: 14.5px;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--divider);
}

.price-features li:last-child {
  border-bottom: none;
}

.price-features li::before {
  content: "";
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--flame-soft);
  color: var(--flame);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 900;
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%23f97316' d='M13.485 4.485L6 11.97 2.515 8.485l1.06-1.06L6 9.85l6.425-6.425z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 14px 14px;
  margin-top: 2px;
}

.price-fine {
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
  margin-top: 20px;
  line-height: 1.5;
}

.price-cta {
  width: 100%;
}

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

.faq {
  padding: 112px 0;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 760px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: border-color 0.18s var(--ease);
}

.faq-item:hover {
  border-color: var(--border-strong);
}

.faq-item[open] {
  background: var(--surface);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 24px;
  font-size: 16px;
  font-weight: 700;
  color: var(--text-strong);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  user-select: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  position: relative;
  transition: transform 0.25s var(--ease);
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  background: var(--text);
  border-radius: 1px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.faq-icon::before {
  width: 12px;
  height: 2px;
}

.faq-icon::after {
  width: 2px;
  height: 12px;
  transition: transform 0.25s var(--ease);
}

.faq-item[open] .faq-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-answer {
  padding: 0 24px 24px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-secondary);
}

.faq-answer p + p {
  margin-top: 12px;
}

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

.final-cta {
  padding: 112px 0;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #0a0a0f 0%, #1c1c20 100%);
  color: #fff;
  text-align: center;
}

.final-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 30% 50%,
    var(--flame-glow) 0%,
    transparent 50%
  );
  opacity: 0.6;
}

.final-cta-inner {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
}

.final-cta h2 {
  font-size: clamp(36px, 5.5vw, 64px);
  font-weight: 900;
  letter-spacing: -2.2px;
  line-height: 1.05;
  margin-bottom: 20px;
  color: #fff;
}

.final-cta h2 .accent {
  background: linear-gradient(135deg, var(--flame) 0%, #fbbf24 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.final-cta p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 40px;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.55;
}

.final-cta .btn-flame {
  font-size: 16px;
  padding: 18px 36px;
}

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

.footer {
  padding: 48px 0 36px;
  background: var(--bg);
  border-top: 1px solid var(--divider);
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--divider);
  margin-bottom: 28px;
}

@media (max-width: 760px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

.footer-about p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-top: 16px;
  max-width: 320px;
}

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

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col a {
  font-size: 14px;
  color: var(--text-secondary);
  font-weight: 500;
}

.footer-col a:hover {
  color: var(--text-strong);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--text-muted);
}

/* =========================================================================
   DOCS PAGES (privacy / terms)
   ========================================================================= */

.doc {
  padding: 64px 0 96px;
  flex: 1;
}

.doc-inner {
  max-width: 780px;
  margin: 0 auto;
}

.doc-meta {
  margin-bottom: 40px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--divider);
}

.doc-meta h1 {
  font-size: clamp(32px, 4.5vw, 48px);
  font-weight: 900;
  letter-spacing: -1.4px;
  margin-bottom: 8px;
  color: var(--text-strong);
}

.doc-meta p {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 600;
}

.doc-content h2 {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.4px;
  margin: 44px 0 16px;
  color: var(--text-strong);
}

.doc-content h2:first-child {
  margin-top: 0;
}

.doc-content h3 {
  font-size: 16px;
  font-weight: 700;
  margin: 24px 0 10px;
  color: var(--text-strong);
}

.doc-content p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 14px;
}

.doc-content ul,
.doc-content ol {
  margin: 0 0 16px 22px;
}

.doc-content li {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.doc-content li ul,
.doc-content li ol {
  margin-top: 6px;
}

.doc-content strong {
  color: var(--text-strong);
  font-weight: 700;
}

.doc-content a {
  color: var(--flame);
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
}

.doc-content .contact-box {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 20px 24px;
  margin: 16px 0 24px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-secondary);
}

.doc-content .contact-box strong {
  display: block;
  margin-bottom: 4px;
  color: var(--text-strong);
  font-weight: 800;
}

/* =========================================================================
   MOTION RESPECT
   ========================================================================= */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* =========================================================================
   FADE-IN ON SCROLL
   ========================================================================= */

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

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