/* =========================================================
   Todoke! Design System
   ========================================================= */

:root {
  /* Brand colors */
  --celeste: #26B0A8;
  --celeste-dim: #1A8B85;
  --celeste-glow: rgba(38, 176, 168, 0.15);
  --orange: #FF6B35;
  --orange-hover: #FF8559;
  --orange-glow: rgba(255, 107, 53, 0.2);

  /* Background scale (dark → less dark) */
  --bg-deepest: #080B0F;
  --bg-primary: #0F1419;
  --bg-secondary: #1A2332;
  --bg-elevated: #243042;
  --bg-card: #18202C;

  /* Text */
  --text-primary: #FFFFFF;
  --text-muted: #A0AEC0;
  --text-dim: #6B7A8F;
  --text-faint: #4A5568;

  /* Borders */
  --border-soft: rgba(255, 255, 255, 0.06);
  --border-medium: rgba(255, 255, 255, 0.12);
  --border-strong: rgba(255, 255, 255, 0.2);

  /* Type */
  --font-display: 'Zen Kaku Gothic New', sans-serif;
  --font-body: 'Zen Kaku Gothic New', sans-serif;
  --font-mono: 'Manrope', sans-serif;

  /* Spacing scale */
  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px;
  --s-5: 24px; --s-6: 32px; --s-7: 48px; --s-8: 64px;
  --s-9: 96px; --s-10: 128px;

  /* Layout */
  --container-max: 1280px;
  --container-wide: 1440px;
  --nav-h: 72px;

  /* The signature down-narrowing trapezoid clip */
  --clip-trapezoid: polygon(0 0, 100% 0, 94% 100%, 6% 100%);
  --clip-trapezoid-reverse: polygon(6% 0, 94% 0, 100% 100%, 0 100%);
  --clip-trapezoid-soft: polygon(0 0, 100% 0, 97% 100%, 3% 100%);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
}

body {
  font-family: var(--font-body);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

/* =========================================================
   Layout primitives
   ========================================================= */

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--s-5);
}

.container-wide {
  max-width: var(--container-wide);
}

section {
  position: relative;
  padding: var(--s-9) 0;
}

@media (max-width: 768px) {
  section { padding: var(--s-8) 0; }
  .container { padding: 0 var(--s-4); }
}

/* =========================================================
   Typography
   ========================================================= */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--s-3);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--celeste);
  text-transform: uppercase;
  margin-bottom: var(--s-4);
}

.eyebrow::before {
  content: '';
  width: 32px;
  height: 1px;
  background: var(--celeste);
}

.eyebrow.no-rule::before { display: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.h-display {
  font-size: clamp(40px, 6vw, 76px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.h-section {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.015em;
  margin-bottom: var(--s-4);
}

.h-card {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: var(--s-3);
}

.lede {
  font-size: clamp(15px, 1.4vw, 18px);
  color: var(--text-muted);
  max-width: 640px;
  line-height: 1.75;
}

.celeste-text { color: var(--celeste); }
.orange-text { color: var(--orange); }
.muted { color: var(--text-muted); }

/* Numeric / English */
.mono {
  font-family: var(--font-mono);
  font-feature-settings: 'tnum' 1;
}

/* =========================================================
   Buttons
   ========================================================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-2);
  padding: 14px 26px;
  font-size: 15px;
  font-weight: 700;
  border-radius: 4px;
  transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
  position: relative;
  white-space: nowrap;
  font-family: var(--font-display);
}

.btn-primary {
  background: var(--orange);
  color: #fff;
  box-shadow: 0 4px 20px var(--orange-glow);
}
.btn-primary:hover {
  background: var(--orange-hover);
  transform: translateY(-1px);
  box-shadow: 0 8px 28px var(--orange-glow);
}

.btn-ghost {
  background: transparent;
  color: #fff;
  border: 1px solid var(--border-strong);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.04);
  border-color: var(--celeste);
}

.btn-large {
  padding: 18px 32px;
  font-size: 16px;
}

.btn-arrow {
  transition: transform 0.2s ease;
  display: inline-block;
}
.btn:hover .btn-arrow { transform: translateX(4px); }

/* =========================================================
   Navigation
   ========================================================= */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(15, 20, 25, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}
.nav.scrolled {
  background: rgba(8, 11, 15, 0.92);
  border-bottom-color: var(--border-soft);
}

.nav-parent {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--text-dim);
  padding: 6px 0 6px;
  border-bottom: 1px solid var(--border-soft);
  background: rgba(0,0,0,0.3);
  text-align: left;
}
.nav-parent a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s;
}
.nav-parent a:hover { color: var(--celeste); }

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
  gap: var(--s-5);
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.02em;
  position: relative;
}
.nav-logo .accent {
  color: var(--celeste);
}

.nav-links {
  display: flex;
  gap: var(--s-6);
  list-style: none;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s;
  position: relative;
}
.nav-links a:hover { color: var(--text-primary); }

.nav-cta {
  background: var(--orange);
  color: #fff;
  padding: 10px 20px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 700;
  transition: all 0.2s;
}
.nav-cta:hover {
  background: var(--orange-hover);
  transform: translateY(-1px);
}

.nav-burger {
  display: none;
  width: 36px;
  height: 36px;
  padding: 8px;
  color: #fff;
}
.nav-burger svg { width: 100%; height: 100%; }

.mobile-menu {
  position: fixed;
  inset: var(--nav-h) 0 0 0;
  background: var(--bg-deepest);
  z-index: 99;
  padding: var(--s-7) var(--s-5);
  transform: translateX(100%);
  transition: transform 0.3s ease;
}
.mobile-menu.open { transform: translateX(0); }

.mobile-menu ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--s-5);
  margin-bottom: var(--s-7);
}
.mobile-menu a {
  font-size: 22px;
  font-weight: 700;
  color: #fff;
}
.mobile-menu .nav-cta {
  display: block;
  text-align: center;
  padding: 18px;
  font-size: 16px;
}

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-inner .nav-cta { display: none; }
  .nav-burger { display: block; }
}

/* =========================================================
   Hero
   ========================================================= */

.hero {
  padding-top: calc(var(--nav-h) + var(--s-8) + 18px);
  padding-bottom: var(--s-9);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 70%;
  background: radial-gradient(
    ellipse 60% 60% at 80% 30%,
    var(--celeste-glow), transparent 70%
  );
  pointer-events: none;
  z-index: 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: var(--s-8);
  align-items: center;
  position: relative;
  z-index: 1;
}

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: var(--s-7); }
}

.hero-title {
  font-size: clamp(40px, 6.5vw, 84px);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -0.025em;
  margin: var(--s-4) 0 var(--s-5);
}

.hero-title .delivery {
  display: inline-block;
  position: relative;
  color: var(--celeste);
}
.hero-title .delivery::after {
  content: '。';
  color: var(--celeste);
}

.hero-sub {
  font-size: clamp(15px, 1.4vw, 18px);
  color: var(--text-muted);
  line-height: 1.85;
  max-width: 560px;
  margin-bottom: var(--s-6);
}

.hero-cta-row {
  display: flex;
  gap: var(--s-3);
  flex-wrap: wrap;
  margin-bottom: var(--s-7);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-4);
  padding-top: var(--s-5);
  border-top: 1px solid var(--border-soft);
}

.hero-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.hero-stat-label {
  font-size: 11px;
  font-family: var(--font-mono);
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.hero-stat-value {
  font-size: clamp(14px, 1.4vw, 16px);
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
}
.hero-stat-value .num {
  color: var(--celeste);
  font-family: var(--font-mono);
  font-weight: 800;
}

@media (max-width: 600px) {
  .hero-stats { grid-template-columns: 1fr; gap: var(--s-3); }
}

/* Hero image with trapezoid clip */
.hero-visual {
  position: relative;
  aspect-ratio: 4/5;
  max-height: 640px;
}

.hero-visual-frame {
  position: absolute;
  inset: 0;
  clip-path: var(--clip-trapezoid);
  overflow: hidden;
  background: var(--bg-elevated);
}
.hero-visual-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
}

/* Decorative shapes around hero image */
.hero-deco {
  position: absolute;
  pointer-events: none;
}
.hero-deco-1 {
  bottom: -12px;
  left: -16px;
  width: 120px;
  height: 4px;
  background: var(--orange);
  transform: rotate(-3deg);
}
.hero-deco-2 {
  top: -8px;
  right: -8px;
  width: 4px;
  height: 80px;
  background: var(--celeste);
}
.hero-deco-3 {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--text-dim);
  bottom: -32px;
  right: 8px;
  text-transform: uppercase;
}

/* =========================================================
   Problem section
   ========================================================= */

.section-problem {
  background: var(--bg-secondary);
  position: relative;
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-5);
  margin-top: var(--s-7);
}
@media (max-width: 900px) {
  .problem-grid { grid-template-columns: 1fr; }
}

.problem-card {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  padding: var(--s-6);
  border-radius: 6px;
  position: relative;
  transition: border-color 0.3s, transform 0.3s;
}
.problem-card:hover {
  border-color: var(--celeste);
  transform: translateY(-4px);
}

.problem-card-num {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--text-dim);
  margin-bottom: var(--s-4);
}
.problem-card-icon {
  font-size: 32px;
  margin-bottom: var(--s-4);
  display: inline-block;
}
.problem-card h3 {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: var(--s-3);
}
.problem-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.8;
}

/* =========================================================
   Solution section
   ========================================================= */

.section-solution {
  background: var(--bg-primary);
  position: relative;
  overflow: hidden;
}

.solution-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.18;
  background-size: cover;
  background-position: center;
  filter: blur(1px) saturate(0.9);
}
.solution-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    var(--bg-primary) 0%,
    rgba(15, 20, 25, 0.6) 50%,
    var(--bg-primary) 100%
  );
}

.solution-inner { position: relative; z-index: 1; }

.solution-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-5);
  margin-top: var(--s-7);
}
@media (max-width: 900px) {
  .solution-cards { grid-template-columns: 1fr; }
}

.solution-card {
  background: linear-gradient(180deg, var(--bg-card) 0%, var(--bg-secondary) 100%);
  border: 1px solid var(--border-soft);
  padding: var(--s-6) var(--s-5) var(--s-6);
  border-radius: 6px;
  position: relative;
  overflow: hidden;
}

.solution-card-num {
  font-family: var(--font-mono);
  font-size: 56px;
  font-weight: 800;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--celeste);
  margin-bottom: var(--s-4);
  letter-spacing: -0.02em;
}

.solution-card h3 {
  font-size: 19px;
  font-weight: 700;
  margin-bottom: var(--s-3);
  line-height: 1.45;
}
.solution-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.85;
}

.solution-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--celeste);
  transition: width 0.4s ease;
}
.solution-card:hover::after { width: 100%; }

/* =========================================================
   Steps
   ========================================================= */

.section-steps { background: var(--bg-secondary); }

.steps-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--s-3);
  margin-top: var(--s-7);
  position: relative;
}
@media (max-width: 1100px) {
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .steps-grid { grid-template-columns: 1fr; gap: var(--s-3); }
}

.step-card {
  background: var(--bg-card);
  padding: var(--s-5);
  border-radius: 6px;
  position: relative;
  border: 1px solid var(--border-soft);
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
}

.step-num {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--celeste);
}
.step-card h3 {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
}
.step-card p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.7;
}

.step-card .step-arrow {
  position: absolute;
  right: -16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--celeste);
  font-size: 16px;
  z-index: 2;
  background: var(--bg-secondary);
  width: 24px; height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-card:last-child .step-arrow { display: none; }

@media (max-width: 1100px) {
  .step-card .step-arrow { display: none; }
}

/* =========================================================
   Community
   ========================================================= */

.section-community { background: var(--bg-primary); }

.community-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-5);
  margin-top: var(--s-7);
}
@media (max-width: 1100px) { .community-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .community-grid { grid-template-columns: 1fr; gap: var(--s-4); } }

.community-card {
  position: relative;
  overflow: hidden;
  border-radius: 6px;
  background: var(--bg-card);
  display: flex;
  flex-direction: column;
}

.community-card-image {
  aspect-ratio: 3/4;
  position: relative;
  overflow: hidden;
  clip-path: var(--clip-trapezoid-soft);
}
.community-card-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.community-card:hover .community-card-image img { transform: scale(1.05); }

.community-badge {
  position: absolute;
  top: var(--s-3);
  left: var(--s-3);
  padding: 5px 10px;
  border-radius: 100px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  z-index: 2;
}
.community-badge.active { background: rgba(38, 176, 168, 0.95); color: #061a18; }
.community-badge.pending { background: rgba(255, 107, 53, 0.95); color: #1a0a04; }
.community-badge::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.community-card-body {
  padding: var(--s-5) var(--s-4) var(--s-5);
}

.community-flag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--text-dim);
  margin-bottom: 6px;
}

.community-card-body h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: var(--s-3);
}

.community-stat {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: var(--s-3);
}
.community-stat-num {
  font-family: var(--font-mono);
  font-size: 28px;
  font-weight: 800;
  color: var(--celeste);
  letter-spacing: -0.02em;
}
.community-stat-label {
  font-size: 11px;
  color: var(--text-dim);
  font-family: var(--font-mono);
}
.community-card-body p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.75;
}

/* =========================================================
   Use cases
   ========================================================= */

.section-usecases { background: var(--bg-secondary); }

.usecases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-5);
  margin-top: var(--s-7);
}
@media (max-width: 900px) { .usecases-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .usecases-grid { grid-template-columns: 1fr; } }

.usecase-card {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.3s, transform 0.3s;
}
.usecase-card:hover {
  border-color: var(--celeste);
  transform: translateY(-3px);
}

.usecase-placeholder {
  height: 160px;
  background:
    repeating-linear-gradient(
      135deg,
      rgba(255,255,255,0.025) 0,
      rgba(255,255,255,0.025) 8px,
      rgba(255,255,255,0.05) 8px,
      rgba(255,255,255,0.05) 16px
    );
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--s-2);
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  position: relative;
  border-bottom: 1px solid var(--border-soft);
}
.usecase-placeholder .icon { font-size: 28px; }

.usecase-body {
  padding: var(--s-5);
}
.usecase-body .label {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--celeste);
  margin-bottom: var(--s-2);
}
.usecase-body h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: var(--s-3);
  line-height: 1.4;
}
.usecase-body p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.75;
}

/* =========================================================
   Pricing
   ========================================================= */

.section-pricing {
  background: var(--bg-primary);
  position: relative;
  overflow: hidden;
}

.section-pricing::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 40% at 20% 30%, var(--celeste-glow), transparent 60%),
    radial-gradient(ellipse 60% 40% at 80% 70%, rgba(38, 176, 168, 0.08), transparent 60%);
  pointer-events: none;
}

.section-pricing .container { position: relative; z-index: 1; }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-5);
  margin-top: var(--s-7);
  align-items: stretch;
}
@media (max-width: 900px) { .pricing-grid { grid-template-columns: 1fr; max-width: 480px; margin-left: auto; margin-right: auto; } }

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: 8px;
  padding: var(--s-6);
  position: relative;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s;
}

.pricing-card.featured {
  background: linear-gradient(180deg, rgba(38, 176, 168, 0.08), var(--bg-card) 60%);
  border-color: var(--celeste);
  transform: scale(1.03);
  z-index: 2;
  box-shadow: 0 12px 60px rgba(38, 176, 168, 0.15);
}

@media (max-width: 900px) {
  .pricing-card.featured { transform: none; }
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--celeste);
  color: #061a18;
  padding: 6px 14px;
  border-radius: 100px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.pricing-name {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: var(--s-3);
}
.pricing-card.featured .pricing-name { color: var(--celeste); }

.pricing-price {
  font-family: var(--font-mono);
  margin-bottom: var(--s-2);
  display: flex;
  align-items: baseline;
  gap: 4px;
}
.pricing-price .symbol {
  font-size: 18px;
  color: var(--text-muted);
  font-weight: 600;
}
.pricing-price .amount {
  font-size: 44px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
  line-height: 1;
}
.pricing-price .unit {
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 500;
}

.pricing-subtext {
  font-size: 13px;
  color: var(--text-dim);
  margin-bottom: var(--s-5);
  padding-bottom: var(--s-5);
  border-bottom: 1px solid var(--border-soft);
}

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  flex: 1;
  margin-bottom: var(--s-5);
}
.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: var(--s-3);
  font-size: 14px;
  color: var(--text-primary);
  line-height: 1.5;
}
.pricing-features li::before {
  content: '';
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 4px;
  background-image: url("data:image/svg+xml;charset=utf-8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%2326B0A8' stroke-width='2.5'><polyline points='3 8 7 12 13 4'/></svg>");
  background-size: contain;
  background-repeat: no-repeat;
}

.pricing-note {
  margin-top: var(--s-7);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-5);
  align-items: stretch;
}
@media (max-width: 900px) { .pricing-note { grid-template-columns: 1fr; } }

.pricing-conditions, .pricing-flex {
  background: var(--bg-secondary);
  border: 1px solid var(--border-soft);
  border-radius: 6px;
  padding: var(--s-5);
}

.pricing-conditions h4, .pricing-flex h4 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: var(--s-3);
  color: var(--celeste);
  font-family: var(--font-mono);
  letter-spacing: 0.05em;
}

.pricing-conditions ul, .pricing-flex ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
}
.pricing-conditions li, .pricing-flex li {
  font-size: 13px;
  color: var(--text-muted);
  padding-left: var(--s-4);
  position: relative;
  line-height: 1.7;
}
.pricing-conditions li::before, .pricing-flex li::before {
  content: '─';
  position: absolute;
  left: 0;
  color: var(--celeste);
}
.pricing-flex li strong {
  color: var(--text-primary);
  font-weight: 700;
}

/* =========================================================
   Integration (Sprint Climb)
   ========================================================= */

.section-integration {
  background: var(--bg-secondary);
  position: relative;
}
.section-integration::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 50% 50%, rgba(38, 176, 168, 0.06), transparent);
  pointer-events: none;
}

.integration-card {
  background: var(--bg-card);
  border: 1px solid var(--border-medium);
  border-radius: 8px;
  padding: var(--s-7) var(--s-6);
  position: relative;
  z-index: 1;
  max-width: 980px;
  margin: 0 auto;
}

.integration-card-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--s-7);
  align-items: center;
}
@media (max-width: 900px) {
  .integration-card-grid { grid-template-columns: 1fr; gap: var(--s-5); }
}

.integration-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--celeste);
  text-transform: uppercase;
  margin-bottom: var(--s-3);
}
.integration-card h2 {
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: 700;
  line-height: 1.45;
  margin-bottom: var(--s-4);
}
.integration-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.85;
  margin-bottom: var(--s-5);
}

.integration-services {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
}
.integration-services li {
  padding: var(--s-3) var(--s-4);
  background: var(--bg-secondary);
  border-radius: 4px;
  font-size: 13px;
  line-height: 1.6;
  border-left: 2px solid var(--celeste);
}
.integration-services li strong {
  display: block;
  font-weight: 700;
  margin-bottom: 2px;
}

.integration-links {
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  margin-top: var(--s-5);
}
.integration-link {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  padding: var(--s-3) 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--celeste);
  border-bottom: 1px solid var(--border-soft);
  transition: color 0.2s, gap 0.2s;
}
.integration-link:hover {
  color: var(--text-primary);
  gap: var(--s-4);
}

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

.section-faq { background: var(--bg-primary); }

.faq-list {
  max-width: 880px;
  margin: var(--s-7) auto 0;
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: 6px;
  overflow: hidden;
  transition: border-color 0.2s;
}
.faq-item.open { border-color: var(--celeste); }

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4);
  padding: var(--s-5) var(--s-5);
  text-align: left;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
}
.faq-q .q-mark {
  font-family: var(--font-mono);
  color: var(--celeste);
  font-weight: 800;
  margin-right: var(--s-3);
  flex-shrink: 0;
}
.faq-q .toggle {
  flex-shrink: 0;
  width: 24px; height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--border-medium);
  color: var(--celeste);
  font-size: 16px;
  transition: transform 0.3s, background 0.2s;
}
.faq-item.open .toggle {
  background: var(--celeste);
  color: #061a18;
  transform: rotate(45deg);
  border-color: var(--celeste);
}

.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s ease;
}
.faq-item.open .faq-a { grid-template-rows: 1fr; }
.faq-a-inner {
  overflow: hidden;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.85;
  padding: 0 var(--s-5);
}
.faq-item.open .faq-a-inner {
  padding: 0 var(--s-5) var(--s-5);
}

/* =========================================================
   Contact
   ========================================================= */

.section-contact {
  background: linear-gradient(180deg, var(--bg-secondary) 0%, #1f3a3a 100%);
  position: relative;
  overflow: hidden;
}
.section-contact::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 100%, rgba(38, 176, 168, 0.25), transparent 70%);
  pointer-events: none;
}

.contact-inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

.contact-trust {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-4);
  margin: var(--s-6) 0 var(--s-7);
}
@media (max-width: 600px) { .contact-trust { grid-template-columns: 1fr; } }

.trust-item {
  background: rgba(0,0,0,0.25);
  border: 1px solid var(--border-soft);
  padding: var(--s-4) var(--s-3);
  border-radius: 6px;
  text-align: center;
}
.trust-item .ico { font-size: 22px; margin-bottom: 8px; display: block; }
.trust-item h4 {
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 4px;
  color: #fff;
}
.trust-item p {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
}

.contact-form {
  background: var(--bg-card);
  border: 1px solid var(--border-medium);
  border-radius: 8px;
  padding: var(--s-7) var(--s-6);
  text-align: left;
}
@media (max-width: 600px) { .contact-form { padding: var(--s-5) var(--s-4); } }

.form-row { margin-bottom: var(--s-4); }
.form-row label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--text-primary);
  font-family: var(--font-mono);
  letter-spacing: 0.05em;
}
.form-row label .req {
  color: var(--orange);
  margin-left: 4px;
}

.form-row input[type="text"],
.form-row input[type="email"],
.form-row textarea {
  width: 100%;
  background: var(--bg-deepest);
  border: 1px solid var(--border-soft);
  color: #fff;
  padding: 12px 14px;
  border-radius: 4px;
  transition: border-color 0.2s;
  font-size: 14px;
}
.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--celeste);
}
.form-row textarea { resize: vertical; min-height: 110px; }

.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-2);
}
@media (max-width: 600px) { .checkbox-grid { grid-template-columns: 1fr 1fr; } }

.check-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  background: var(--bg-deepest);
  border: 1px solid var(--border-soft);
  border-radius: 4px;
  cursor: pointer;
  font-size: 13px;
  transition: all 0.2s;
  user-select: none;
}
.check-pill input { display: none; }
.check-pill .box {
  width: 14px; height: 14px;
  border: 1.5px solid var(--text-dim);
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.check-pill input:checked + .box {
  background: var(--celeste);
  border-color: var(--celeste);
}
.check-pill input:checked + .box::after {
  content: '';
  width: 5px; height: 8px;
  border: solid #061a18;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg) translateY(-1px);
}
.check-pill:has(input:checked) {
  border-color: var(--celeste);
  color: #fff;
}

.form-submit {
  width: 100%;
  margin-top: var(--s-4);
}
.form-note {
  text-align: center;
  font-size: 11px;
  color: var(--text-dim);
  margin-top: var(--s-3);
}

/* Success modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--s-5);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}
.modal-card {
  background: var(--bg-card);
  border: 1px solid var(--celeste);
  border-radius: 8px;
  padding: var(--s-8) var(--s-6) var(--s-7);
  max-width: 460px;
  width: 100%;
  text-align: center;
  transform: scale(0.95);
  transition: transform 0.3s;
  box-shadow: 0 30px 80px rgba(38, 176, 168, 0.2);
}
.modal-overlay.open .modal-card { transform: scale(1); }

.modal-check {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--celeste);
  margin: 0 auto var(--s-4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: #061a18;
}
.modal-card h3 {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: var(--s-3);
}
.modal-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: var(--s-5);
}
.modal-card .btn {
  margin: 0 auto;
}

/* =========================================================
   Footer
   ========================================================= */

.footer {
  background: var(--bg-deepest);
  padding: var(--s-8) 0 var(--s-5);
  border-top: 1px solid var(--border-soft);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: var(--s-6);
  margin-bottom: var(--s-7);
}
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--s-5); }
}
@media (max-width: 500px) {
  .footer-grid { grid-template-columns: 1fr; }
}

.footer-brand .nav-logo {
  font-size: 24px;
  margin-bottom: var(--s-3);
  display: inline-block;
}
.footer-brand p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: var(--s-4);
  max-width: 280px;
}

.footer h5 {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--celeste);
  text-transform: uppercase;
  margin-bottom: var(--s-4);
}

.footer ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
}
.footer ul li {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.7;
}
.footer ul li a {
  transition: color 0.2s;
}
.footer ul li a:hover { color: var(--celeste); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--s-5);
  border-top: 1px solid var(--border-soft);
  font-size: 12px;
  color: var(--text-dim);
  flex-wrap: wrap;
  gap: var(--s-3);
}
.footer-legal {
  display: flex;
  gap: var(--s-4);
}
.footer-legal a:hover { color: var(--celeste); }

/* =========================================================
   Animations - Fade in on scroll
   ========================================================= */

.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-in-stagger.visible > * {
  opacity: 1;
  transform: translateY(0);
}
.fade-in-stagger.visible > *:nth-child(1) { transition-delay: 0ms; }
.fade-in-stagger.visible > *:nth-child(2) { transition-delay: 80ms; }
.fade-in-stagger.visible > *:nth-child(3) { transition-delay: 160ms; }
.fade-in-stagger.visible > *:nth-child(4) { transition-delay: 240ms; }
.fade-in-stagger.visible > *:nth-child(5) { transition-delay: 320ms; }
.fade-in-stagger.visible > *:nth-child(6) { transition-delay: 400ms; }

@media (prefers-reduced-motion: reduce) {
  .fade-in, .fade-in-stagger > * { opacity: 1; transform: none; }
}
