/* ─── AeroKitPro — Design System v2 ─── */
:root {
  /* Colors */
  --bg-primary: #09090b;
  --bg-secondary: #0f0f13;
  --bg-card: #141419;
  --bg-card-hover: #1a1a22;
  --bg-elevated: #1e1e28;

  --text-primary: #f4f4f5;
  --text-secondary: #a1a1aa;
  --text-muted: #63636e;

  --accent: #3b82f6;
  --accent-hover: #60a5fa;
  --accent-glow: rgba(59, 130, 246, 0.15);
  --accent-subtle: rgba(59, 130, 246, 0.08);

  --green: #22c55e;
  --green-bg: rgba(34, 197, 94, 0.1);
  --amber: #f59e0b;
  --amber-bg: rgba(245, 158, 11, 0.1);
  --purple: #a78bfa;
  --purple-bg: rgba(167, 139, 250, 0.1);
  --red: #ef4444;
  --red-bg: rgba(239, 68, 68, 0.08);
  --cyan: #22d3ee;
  --cyan-bg: rgba(34, 211, 238, 0.08);
  --cyan-glow: rgba(34, 211, 238, 0.15);

  --border: #23232e;
  --border-hover: #2e2e3c;

  /* Spacing */
  --section-py: 120px;
  --container-px: 24px;
  --container-max: 1200px;

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  /* Transitions */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --duration: 0.25s;
}

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

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

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

a {
  color: inherit;
  text-decoration: none;
}

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

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

.section {
  padding: var(--section-py) 0;
  position: relative;
}

/* ─── Accent Utility ─── */
.accent {
  color: var(--accent);
}

.accent-cyan {
  color: var(--cyan);
}

/* ─── Navigation ─── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: background var(--duration) var(--ease), backdrop-filter var(--duration) var(--ease), border-color var(--duration) var(--ease);
  border-bottom: 1px solid transparent;
}

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

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-logo-img {
  height: 40px;
  width: auto;
}

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

.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--duration) var(--ease);
  position: relative;
}

.nav-link:hover {
  color: var(--text-primary);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width var(--duration) var(--ease);
  border-radius: 1px;
}

.nav-link:hover::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-secondary);
  transition: all var(--duration) var(--ease);
  border-radius: 1px;
}

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

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background-color: var(--bg-primary);
}

.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('images/apt_bg.webp') center/cover no-repeat;
  opacity: 0.4;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(9, 9, 11, 0.3) 0%, rgba(9, 9, 11, 0.7) 50%, rgba(9, 9, 11, 1) 100%);
  z-index: 1;
}

/* Gradient animation orbs */
.hero-gradient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  z-index: 2;
  pointer-events: none;
}

.hero-gradient-orb-1 {
  width: 600px;
  height: 600px;
  background: rgba(59, 130, 246, 0.12);
  top: -200px;
  right: -100px;
  animation: heroFloat 8s ease-in-out infinite;
}

.hero-gradient-orb-2 {
  width: 500px;
  height: 500px;
  background: rgba(167, 139, 250, 0.08);
  bottom: -150px;
  left: -100px;
  animation: heroFloat 10s ease-in-out infinite reverse;
}

.hero-gradient-orb-3 {
  width: 400px;
  height: 400px;
  background: rgba(34, 211, 238, 0.06);
  top: 40%;
  left: 30%;
  animation: heroFloat 12s ease-in-out infinite 2s;
}

@keyframes heroFloat {
  0%, 100% { transform: translateY(0) scale(1); opacity: 1; }
  50% { transform: translateY(-40px) scale(1.08); opacity: 0.7; }
}

.hero-content {
  position: relative;
  text-align: center;
  max-width: 840px;
  z-index: 10;
  animation: fadeInUp 0.8s var(--ease) forwards;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 100px;
  background: var(--accent-subtle);
  border: 1px solid rgba(59, 130, 246, 0.15);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--accent-hover);
  margin-bottom: 28px;
  letter-spacing: 0.02em;
}

.hero-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero-title {
  font-size: clamp(2.5rem, 5.5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.hero-highlight {
  background: linear-gradient(135deg, var(--accent), var(--purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 640px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.hero-cta-row {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 60px;
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}

.hero-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.hero-stat-value {
  font-size: 1.1rem;
  font-weight: 700;
  font-family: 'JetBrains Mono', monospace;
  color: var(--text-primary);
}

.hero-stat-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.hero-stat-divider {
  width: 1px;
  height: 36px;
  background: var(--border);
}

/* ─── Buttons ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  font-size: 0.9rem;
  font-weight: 600;
  font-family: inherit;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--duration) var(--ease);
  white-space: nowrap;
  text-decoration: none;
}

.btn-primary {
  background: var(--accent);
  color: white;
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.2);
}

.btn-primary:hover {
  background: var(--accent-hover);
  box-shadow: 0 0 30px rgba(59, 130, 246, 0.3);
  transform: translateY(-1px);
}

.btn-secondary {
  background: var(--bg-elevated);
  color: var(--text-primary);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
  transform: translateY(-1px);
}

.btn-cyan {
  background: rgba(34, 211, 238, 0.12);
  color: var(--cyan);
  border: 1px solid rgba(34, 211, 238, 0.2);
}

.btn-cyan:hover {
  background: rgba(34, 211, 238, 0.18);
  border-color: rgba(34, 211, 238, 0.35);
  transform: translateY(-1px);
  box-shadow: 0 0 24px rgba(34, 211, 238, 0.12);
}

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

.btn-ghost:hover {
  color: var(--text-primary);
  border-color: var(--border-hover);
  background: var(--bg-card);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.825rem;
}

.btn-lg {
  padding: 14px 28px;
  font-size: 1rem;
}

/* Store buttons */
.btn-store {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  min-width: 160px;
  padding: 0 24px;
  font-size: 0.875rem;
  font-weight: 600;
  font-family: inherit;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--duration) var(--ease);
  white-space: nowrap;
  text-decoration: none;
}

.btn-store:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.btn-app-store {
  background: #000;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-app-store:hover {
  background: #111;
  border-color: rgba(255, 255, 255, 0.3);
}

.btn-google-play {
  background: rgba(52, 168, 83, 0.08);
  color: #34a853;
  border: 1px solid rgba(52, 168, 83, 0.2);
}

.btn-google-play:hover {
  background: rgba(52, 168, 83, 0.12);
  border-color: rgba(52, 168, 83, 0.35);
  box-shadow: 0 8px 24px rgba(52, 168, 83, 0.1);
}

.btn-store-coming-soon {
  opacity: 0.45;
  cursor: default;
  pointer-events: none;
  position: relative;
}

.btn-store-coming-soon .btn-store-soon-label {
  font-size: 0.6rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  opacity: 0.8;
  margin-left: 2px;
}

/* ─── Section Headers ─── */
.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-tag {
  display: inline-block;
  padding: 4px 12px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  background: var(--accent-subtle);
  border: 1px solid rgba(59, 130, 246, 0.12);
  border-radius: 100px;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  line-height: 1.2;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ─── Problems Section ─── */
.problems-section {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.problems-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.problem-card {
  padding: 36px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--bg-card);
  transition: all 0.4s var(--ease);
}

.problem-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
  border-color: var(--border-hover);
}

.problem-card-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--red-bg);
  border: 1px solid rgba(239, 68, 68, 0.15);
  border-radius: var(--radius-md);
  margin-bottom: 20px;
  color: var(--red);
}

.problem-card-icon-cyan {
  background: var(--cyan-bg);
  border-color: rgba(34, 211, 238, 0.15);
  color: var(--cyan);
}

.problem-card-icon-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: calc(var(--radius-md) - 1px);
}

.problem-card-tag {
  display: inline-block;
  padding: 3px 10px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-radius: 100px;
  margin-bottom: 14px;
}

.problem-card-tag-pavement {
  background: var(--amber-bg);
  color: var(--amber);
  border: 1px solid rgba(245, 158, 11, 0.2);
}

.problem-card-tag-coldtemp {
  background: var(--cyan-bg);
  color: var(--cyan);
  border: 1px solid rgba(34, 211, 238, 0.2);
}

.problem-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 18px;
  letter-spacing: -0.01em;
}

.problem-card-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.problem-card-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.problem-card-list li svg {
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--red);
  opacity: 0.6;
}

.problem-card-coldtemp .problem-card-list li svg {
  color: var(--amber);
}

/* ─── Products Section ─── */
.products-section {
  overflow: hidden;
}

.products-duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: stretch;
}

.product-duo-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 0;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--bg-card);
  transition: all 0.4s var(--ease);
  overflow: hidden;
}

.product-duo-card-visual {
  position: relative;
  height: 200px;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

.product-duo-card-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.product-duo-card:hover .product-duo-card-visual img {
  transform: scale(1.05);
}

.product-duo-card-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(20, 20, 25, 0.85) 100%);
  pointer-events: none;
}

.product-duo-card-visual-icon {
  position: absolute;
  bottom: 14px;
  left: 20px;
  z-index: 2;
  width: 52px;
  height: 52px;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.1);
  object-fit: cover;
}

.product-duo-card-body {
  padding: 28px 36px 36px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-duo-card:hover {
  transform: scale(1.02);
}

.product-duo-card-blue:hover {
  border-color: rgba(59, 130, 246, 0.3);
  box-shadow: 0 16px 48px rgba(59, 130, 246, 0.1), 0 0 0 1px rgba(59, 130, 246, 0.08);
}

.product-duo-card-cyan:hover {
  border-color: rgba(34, 211, 238, 0.3);
  box-shadow: 0 16px 48px rgba(34, 211, 238, 0.1), 0 0 0 1px rgba(34, 211, 238, 0.08);
}

.product-duo-tag {
  display: inline-block;
  padding: 3px 10px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-radius: 100px;
  margin-bottom: 16px;
  width: fit-content;
}

.product-duo-tag-blue {
  background: var(--accent-subtle);
  color: var(--accent);
  border: 1px solid rgba(59, 130, 246, 0.15);
}

.product-duo-tag-cyan {
  background: var(--cyan-bg);
  color: var(--cyan);
  border: 1px solid rgba(34, 211, 238, 0.15);
}

.product-duo-title {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.product-duo-question {
  font-size: 1.05rem;
  font-style: italic;
  color: var(--accent-hover);
  margin-bottom: 12px;
  font-weight: 500;
}

.product-duo-card-cyan .product-duo-question {
  color: var(--cyan);
}

.product-duo-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 20px;
}

.product-duo-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}

.product-duo-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.product-duo-features li svg {
  flex-shrink: 0;
  color: var(--green);
}

.product-duo-cta {
  margin-top: auto;
  width: fit-content;
}

/* ─── Example Result Component ─── */
.example-result {
  margin-bottom: 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  overflow: hidden;
  background: var(--bg-secondary);
}

.example-result-blue {
  border-color: rgba(59, 130, 246, 0.15);
}

.example-result-cyan {
  border-color: rgba(34, 211, 238, 0.15);
}

.example-result-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid var(--border);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

.example-result-body {
  padding: 14px 16px;
}

.example-result-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px 0;
}

.example-result-label {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.example-result-value {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
}

.example-result-mono {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.82rem;
}

.example-result-divider {
  height: 1px;
  background: var(--border);
  margin: 8px 0;
}

.example-result-row-result .example-result-value {
  font-weight: 700;
}

.example-result-success {
  color: var(--green);
  display: flex;
  align-items: center;
  gap: 6px;
}

.example-result-cyan-accent {
  color: var(--cyan);
  display: flex;
  align-items: center;
  gap: 6px;
}

.example-result-badge-accepted {
  display: inline-block;
  padding: 2px 10px;
  background: var(--green-bg);
  color: var(--green);
  border: 1px solid rgba(34, 197, 94, 0.2);
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

/* ─── Trust Section v2 ─── */
.trust-section {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.trust-grid-v2 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.trust-card-v2 {
  padding: 32px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  text-align: center;
  transition: all 0.3s var(--ease);
}

.trust-card-v2:hover {
  border-color: var(--border-hover);
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}

.trust-card-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-subtle);
  border: 1px solid rgba(59, 130, 246, 0.12);
  border-radius: var(--radius-md);
  margin: 0 auto 18px;
  color: var(--accent);
}

.trust-card-icon-cyan {
  background: var(--cyan-bg);
  border-color: rgba(34, 211, 238, 0.12);
  color: var(--cyan);
}

.trust-card-icon-purple {
  background: var(--purple-bg);
  border-color: rgba(167, 139, 250, 0.12);
  color: var(--purple);
}

.trust-card-icon-green {
  background: var(--green-bg);
  border-color: rgba(34, 197, 94, 0.12);
  color: var(--green);
}

.trust-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.trust-card-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Trust banner */
.trust-banner {
  padding: 20px 32px;
  background: linear-gradient(135deg, var(--accent-subtle), rgba(167, 139, 250, 0.04));
  border: 1px solid rgba(59, 130, 246, 0.12);
  border-radius: var(--radius-lg);
  text-align: center;
}

.trust-banner-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.trust-banner-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 0.01em;
}

.trust-banner-divider {
  color: var(--text-muted);
  font-size: 1.2rem;
}

/* ─── How It Works ─── */
.how-it-works {
  position: relative;
}

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

.step-card {
  position: relative;
  text-align: center;
  padding: 40px 28px 32px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all 0.3s var(--ease);
}

.step-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}

.step-number {
  position: absolute;
  top: -18px;
  left: 50%;
  transform: translateX(-50%);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: white;
  font-weight: 800;
  font-size: 0.9rem;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
  font-family: 'JetBrains Mono', monospace;
}

.step-connector {
  display: none;
}

.step-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-subtle);
  border: 1px solid rgba(59, 130, 246, 0.1);
  border-radius: var(--radius-md);
  margin: 0 auto 20px;
  color: var(--accent);
}

.step-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.step-desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Connecting line between steps */
.steps-grid::before {
  content: '';
  position: absolute;
  top: 50%;
  left: calc(33.33% + 16px);
  right: calc(33.33% + 16px);
  height: 1px;
  background: linear-gradient(90deg, var(--border), rgba(59, 130, 246, 0.3), var(--border));
  z-index: 0;
}

/* ─── Final CTA ─── */
.final-cta-section {
  text-align: center;
}

.final-cta-box {
  position: relative;
  padding: 80px 40px;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.06) 0%, rgba(167, 139, 250, 0.04) 100%);
  border: 1px solid rgba(59, 130, 246, 0.12);
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.final-cta-glow {
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.08) 0%, transparent 70%);
  top: -200px;
  right: -100px;
  pointer-events: none;
}

.final-cta-title {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.final-cta-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 520px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.final-cta-apps {
  display: flex;
  gap: 40px;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
}

.final-cta-app-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.final-cta-app-label {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

.final-cta-app-buttons {
  display: flex;
  gap: 10px;
}

.final-cta-divider {
  width: 1px;
  height: 60px;
  background: var(--border);
  align-self: center;
}

/* ─── Footer ─── */
.footer {
  padding: 64px 0 32px;
  border-top: 1px solid var(--border);
}

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

.footer-brand-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-top: 12px;
  max-width: 280px;
}

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

.footer-col-title {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-secondary);
  margin-bottom: 4px;
}

.footer-link {
  font-size: 0.875rem;
  color: var(--text-secondary);
  transition: color var(--duration) var(--ease);
}

a.footer-link:hover {
  color: var(--text-primary);
}

.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid var(--border);
  text-align: center;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ─── Phone Frames (for product pages) ─── */
.phone-frame {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.phone-screen {
  width: 240px;
  aspect-ratio: 9 / 19.5;
  border-radius: 28px;
  overflow: hidden;
  background: #0a0a0a;
  box-shadow:
    0 12px 40px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(255, 255, 255, 0.06),
    0 0 80px rgba(59, 130, 246, 0.06);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}

.phone-frame:hover .phone-screen {
  transform: translateY(-6px);
  box-shadow:
    0 20px 56px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(255, 255, 255, 0.1),
    0 0 100px rgba(59, 130, 246, 0.1);
}

.phone-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.phone-label {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

/* ─── Showcase (for product pages) ─── */
.showcase-phones {
  display: flex;
  gap: 32px;
  justify-content: center;
  align-items: center;
  position: relative;
}

.showcase-features {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 900px;
  margin: 0 auto;
}

.showcase-feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.showcase-feature {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: all 0.3s var(--ease);
}

.showcase-feature:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
}

.showcase-feature-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-subtle);
  border: 1px solid rgba(59, 130, 246, 0.12);
  border-radius: var(--radius-sm);
  color: var(--accent);
  flex-shrink: 0;
}

.showcase-feature-icon-cyan {
  background: rgba(6, 182, 212, 0.08);
  border-color: rgba(6, 182, 212, 0.12);
  color: #06b6d4;
}

.showcase-feature-title {
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}

.showcase-feature-desc {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.showcase-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
}

.showcase-layout {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

/* ─── Problem/Solution Cards (for product pages) ─── */
.ps-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 32px;
  align-items: stretch;
}

.ps-card {
  padding: 36px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.ps-card:hover {
  transform: scale(1.02);
}

.ps-problem {
  background: linear-gradient(180deg, var(--red-bg) 0%, var(--bg-card) 100%);
  border-color: rgba(239, 68, 68, 0.15);
}

.ps-problem:hover {
  box-shadow: 0 8px 32px rgba(239, 68, 68, 0.08);
}

.ps-solution {
  background: linear-gradient(180deg, rgba(34, 197, 94, 0.06) 0%, var(--bg-card) 100%);
  border-color: rgba(34, 197, 94, 0.15);
}

.ps-solution:hover {
  box-shadow: 0 8px 32px rgba(34, 197, 94, 0.08);
}

.ps-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
}

.ps-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  margin-bottom: 20px;
}

.ps-icon-problem {
  background: var(--red-bg);
  color: var(--red);
  border: 1px solid rgba(239, 68, 68, 0.15);
}

.ps-icon-solution {
  background: var(--green-bg);
  color: var(--green);
  border: 1px solid rgba(34, 197, 94, 0.15);
}

.ps-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.ps-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 20px;
  max-width: 420px;
}

.ps-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ps-list li {
  font-size: 0.875rem;
  color: var(--text-secondary);
  padding-left: 22px;
  position: relative;
  line-height: 1.6;
}

.ps-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.ps-list-problem li::before {
  background: var(--red);
  opacity: 0.5;
}

.ps-list-solution li::before {
  background: var(--green);
  opacity: 0.6;
}

/* ─── Legacy Highlight (product pages) ─── */
.legacy-highlight {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.legacy-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.legacy-phones {
  display: flex;
  gap: 24px;
  justify-content: center;
  align-items: center;
}

.legacy-phones .phone-screen {
  width: 240px;
}

.legacy-desc {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 28px;
}

.legacy-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.legacy-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.92rem;
  color: var(--text-secondary);
}

.legacy-features li svg {
  flex-shrink: 0;
  color: var(--green);
}

/* ─── Composer Preview ─── */
.composer-preview {
  display: flex;
  justify-content: center;
  align-items: center;
}

.composer-preview-img {
  width: 100%;
  max-width: 420px;
  border-radius: 20px;
  box-shadow:
    0 16px 48px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(255, 255, 255, 0.06),
    0 0 80px rgba(59, 130, 246, 0.06);
  display: block;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}

.composer-preview-img:hover {
  transform: translateY(-6px);
  box-shadow:
    0 24px 56px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(255, 255, 255, 0.1),
    0 0 100px rgba(59, 130, 246, 0.1);
}

@media (max-width: 768px) {
  .composer-preview-img {
    max-width: 320px;
    border-radius: 14px;
  }
}

/* ─── API Section (product pages) ─── */
.api-section {
  overflow: hidden;
}

.api-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.api-info,
.api-code {
  min-width: 0;
  max-width: 100%;
}

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

.api-endpoints {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
}

.api-endpoint {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

.api-method {
  padding: 2px 8px;
  font-size: 0.7rem;
  font-weight: 700;
  font-family: 'JetBrains Mono', monospace;
  border-radius: 4px;
  letter-spacing: 0.02em;
}

.api-method-post {
  background: rgba(59, 130, 246, 0.15);
  color: var(--accent);
}

.api-method-get {
  background: var(--green-bg);
  color: var(--green);
}

.api-path {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* Code Window */
.code-window {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  background: #0c0c10;
  max-width: 100%;
}

.code-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
}

.code-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.code-dot-red { background: #ff5f57; }
.code-dot-yellow { background: #ffbd2e; }
.code-dot-green { background: #28c840; }

.code-title {
  margin-left: 8px;
  font-size: 0.75rem;
  color: var(--text-muted);
  font-family: 'JetBrains Mono', monospace;
}

.code-body {
  padding: 20px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8rem;
  line-height: 1.8;
  overflow-x: auto;
  color: var(--text-secondary);
  -webkit-overflow-scrolling: touch;
}

.code-comment { color: var(--text-muted); }
.code-keyword { color: var(--accent-hover); }
.code-string { color: var(--green); }

/* ─── Who It's For (product pages) ─── */
.audience-section {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

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

.audience-card {
  padding: 28px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  text-align: center;
  transition: all 0.3s var(--ease);
}

.audience-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}

.audience-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-subtle);
  border: 1px solid rgba(59, 130, 246, 0.1);
  border-radius: var(--radius-md);
  margin: 0 auto 16px;
  color: var(--accent);
}

.audience-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.audience-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ─── Product Page Hero (shared) ─── */
.product-hero {
  position: relative;
  padding: 140px 24px 80px;
  overflow: hidden;
}

.product-hero .hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background-color: var(--bg-primary);
}

.product-hero .hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('images/apt_bg.webp') top center/cover no-repeat;
  opacity: 0.4;
}

.product-hero .hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(9, 9, 11, 0.4) 0%, rgba(9, 9, 11, 1) 100%);
  z-index: 1;
}

.product-hero-content {
  position: relative;
  z-index: 10;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.product-hero-text {
  min-width: 0;
}

.product-hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.product-hero-img {
  width: 100%;
  max-width: 400px;
  border-radius: 20px;
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(255, 255, 255, 0.06);
  transition: transform 0.6s var(--ease), box-shadow 0.6s var(--ease);
  animation: fadeInUp 0.8s var(--ease) forwards;
}

.product-hero-img:hover {
  transform: translateY(-8px);
  box-shadow:
    0 28px 72px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(255, 255, 255, 0.1);
}

.product-hero-tag {
  display: inline-block;
  padding: 4px 12px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: 100px;
  margin-bottom: 20px;
}

.product-hero-tag-blue {
  background: var(--accent-subtle);
  color: var(--accent);
  border: 1px solid rgba(59, 130, 246, 0.15);
}

.product-hero-tag-cyan {
  background: var(--cyan-bg);
  color: var(--cyan);
  border: 1px solid rgba(34, 211, 238, 0.15);
}

.product-hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  max-width: 700px;
}

.product-hero-desc {
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 600px;
  margin-bottom: 32px;
}

.product-hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ─── Scroll Animations ─── */
.section-header,
.problem-card,
.product-duo-card,
.trust-card-v2,
.trust-banner,
.step-card,
.ps-card,
.ps-arrow,
.phone-frame,
.audience-card,
.showcase-feature,
.api-split > *,
.final-cta-box,
.legacy-split > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.section-header.visible,
.problem-card.visible,
.product-duo-card.visible,
.trust-card-v2.visible,
.trust-banner.visible,
.step-card.visible,
.ps-card.visible,
.ps-arrow.visible,
.phone-frame.visible,
.audience-card.visible,
.showcase-feature.visible,
.api-split > *.visible,
.final-cta-box.visible,
.legacy-split > *.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger delays */
.problem-card:nth-child(2) { transition-delay: 0.1s; }
.product-duo-card:nth-child(2) { transition-delay: 0.12s; }
.trust-card-v2:nth-child(2) { transition-delay: 0.08s; }
.trust-card-v2:nth-child(3) { transition-delay: 0.16s; }
.trust-card-v2:nth-child(4) { transition-delay: 0.24s; }
.step-card:nth-child(2) { transition-delay: 0.12s; }
.step-card:nth-child(3) { transition-delay: 0.24s; }
.audience-card:nth-child(2) { transition-delay: 0.08s; }
.audience-card:nth-child(3) { transition-delay: 0.16s; }
.ps-solution { transition-delay: 0.15s; }
.ps-arrow { transition-delay: 0.08s; }

/* ─── Responsive ─── */
@media (max-width: 1024px) {
  :root {
    --section-py: 80px;
  }

  .problems-grid {
    grid-template-columns: 1fr;
    max-width: 560px;
    margin: 0 auto;
  }

  .products-duo {
    grid-template-columns: 1fr;
    max-width: 560px;
    margin: 0 auto;
  }

  .trust-grid-v2 {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  .steps-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
    gap: 48px;
  }

  .steps-grid::before {
    display: none;
  }

  .ps-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .ps-arrow {
    transform: rotate(90deg);
  }

  .showcase-feature-row {
    grid-template-columns: 1fr;
  }

  .api-split {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .api-info .section-tag {
    display: inline-block;
  }

  .api-info .section-title {
    text-align: center !important;
  }

  .api-info .btn {
    display: flex;
    justify-content: center;
    width: 100%;
  }

  .api-endpoints {
    width: 100%;
  }

  .code-body {
    font-size: 0.72rem;
    padding: 16px;
  }


  .legacy-split {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .legacy-info,
  .legacy-info .section-title {
    text-align: center !important;
  }

  .audience-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 768px) {
  :root {
    --section-py: 64px;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    padding: 24px;
    background: rgba(9, 9, 11, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    gap: 16px;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-toggle {
    display: flex;
  }

  .hero {
    padding: 100px 20px 60px;
    min-height: auto;
  }

  .hero-title {
    font-size: clamp(1.8rem, 7vw, 2.8rem);
  }

  .hero-stats {
    gap: 20px;
  }

  .hero-stat-divider {
    display: none;
  }

  .hero-cta-row {
    flex-direction: column;
    align-items: center;
  }

  .trust-grid-v2 {
    grid-template-columns: 1fr !important;
    max-width: 480px;
    margin: 0 auto 48px;
  }

  .audience-grid {
    grid-template-columns: 1fr;
    max-width: 380px;
    margin: 0 auto;
  }

  .showcase-phones {
    gap: 16px;
    flex-wrap: wrap;
  }

  .phone-screen {
    width: 160px;
    border-radius: 20px;
  }

  .legacy-phones {
    gap: 12px;
  }

  .legacy-phones .phone-screen {
    width: 160px;
  }

  .showcase-actions {
    flex-direction: column;
    align-items: center;
  }

  .final-cta-box {
    padding: 48px 24px;
  }

  .final-cta-apps {
    flex-direction: column;
    align-items: center;
  }

  .final-cta-divider {
    width: 60px;
    height: 1px;
  }

  .final-cta-app-buttons {
    flex-direction: column;
    align-items: center;
    width: 100%;
  }

  .final-cta-app-buttons .btn-store {
    width: 100%;
    max-width: 220px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .trust-banner-content {
    flex-direction: column;
    gap: 8px;
  }

  .trust-banner-divider {
    display: none;
  }

  .product-hero {
    padding: 100px 20px 60px;
  }

  .product-hero-content {
    grid-template-columns: 1fr;
  }

  .product-hero-visual {
    order: -1;
  }

  .product-hero-img {
    max-width: 280px;
  }

  .product-hero h1 {
    font-size: clamp(1.8rem, 7vw, 2.6rem);
  }

  .product-duo-card-visual {
    height: 160px;
  }

  .api-info {
    text-align: center;
  }

  .api-info .section-title {
    text-align: center !important;
  }

  .api-info .btn {
    display: inline-flex;
    justify-content: center;
    white-space: normal;
    text-align: center;
  }

  .api-endpoints {
    width: 100%;
  }

  .code-window {
    max-width: 100%;
  }

  .code-body {
    font-size: 0.72rem;
    padding: 14px;
    white-space: pre;
    word-break: normal;
  }

  .product-hero-actions {
    justify-content: center;
  }

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

  .product-hero h1 {
    text-align: center;
  }

  .product-hero-desc {
    text-align: center;
  }

  .product-hero-tag {
    margin-left: auto;
    margin-right: auto;
  }
}

/* ─── Legal Pages ─── */
.legal-section {
  padding-top: 140px; /* Account for sticky nav */
  padding-bottom: 80px;
}

.legal-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
  line-height: 1.6;
  color: var(--text-secondary);
}

.legal-container h1 {
  margin-bottom: 24px;
  font-size: 2.5rem;
  color: var(--text-primary);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.legal-container h2 {
  margin-top: 40px;
  margin-bottom: 16px;
  font-size: 1.5rem;
  color: var(--text-primary);
  font-weight: 700;
}

.legal-container p {
  margin-bottom: 16px;
  font-size: 1.05rem;
}

.legal-container a {
  color: var(--accent);
  text-decoration: none;
}

.legal-container a:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .legal-section {
    padding-top: 100px;
  }
  
  .legal-container h1 {
    font-size: 2rem;
  }
}
