/* StepSync — Premium landing page */
:root {
  --orange-1: #ff6a00;
  --orange-2: #ff7f32;
  --orange-3: #ff9a5c;
  --grad: linear-gradient(135deg, var(--orange-1), var(--orange-2));
  --grad-soft: linear-gradient(135deg, rgba(255, 106, 0, 0.12), rgba(255, 127, 50, 0.06));
  --ink: #0f0f14;
  --ink-2: #3d3d4e;
  --muted: #6b7280;
  --white: #ffffff;
  --bg: #fafbfc;
  --glass: rgba(255, 255, 255, 0.72);
  --glass-border: rgba(255, 255, 255, 0.9);
  --shadow-sm: 0 4px 24px rgba(15, 15, 20, 0.06);
  --shadow-md: 0 16px 48px rgba(15, 15, 20, 0.1);
  --shadow-lg: 0 32px 80px rgba(255, 106, 0, 0.15);
  --radius: 20px;
  --radius-lg: 28px;
  --phone-w-base: 260px;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.wrap {
  width: min(1200px, calc(100% - 48px));
  margin-inline: auto;
}

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.page-glow {
  position: fixed;
  inset: 0;
  background: radial-gradient(ellipse 80% 50% at 70% -10%, rgba(255, 106, 0, 0.08), transparent 60%);
  pointer-events: none;
  z-index: 0;
}

main { position: relative; z-index: 1; }

/* Glass */
.glass {
  background: var(--glass);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-sm);
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  transition: background 0.3s, box-shadow 0.3s;
}

.header.is-scrolled {
  background: rgba(250, 251, 252, 0.85);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--ink);
}

.logo img { border-radius: 10px; }

.nav {
  display: flex;
  gap: 28px;
  margin-left: auto;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink-2);
}

.nav a:hover { color: var(--orange-1); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: inherit;
  font-weight: 600;
  border: none;
  cursor: pointer;
  border-radius: 999px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-sm {
  padding: 10px 20px;
  font-size: 0.875rem;
}

.btn-primary {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 8px 24px rgba(255, 106, 0, 0.35);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 32px rgba(255, 106, 0, 0.4);
}

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

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
}

/* Typography helpers */
.eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange-1);
  margin: 0 0 12px;
}

.section-head { text-align: center; margin-bottom: 48px; }
.section-head h2, .preview-head h2 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 0 0 12px;
  line-height: 1.15;
}

.section-lead {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 520px;
  margin: 0;
}

.section-head .section-lead { margin-inline: auto; }
.preview-head { text-align: center; margin-bottom: 56px; }
.preview-head .section-lead { margin-inline: auto; }

.pill {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--grad-soft);
  border: 1px solid rgba(255, 106, 0, 0.15);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--orange-1);
  margin-bottom: 20px;
}

/* Store buttons */
.store-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  border-radius: 14px;
  background: var(--white);
  border: 1px solid rgba(15, 15, 20, 0.08);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s, box-shadow 0.2s;
}

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

.store-btn svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

.store-btn small {
  display: block;
  font-size: 0.65rem;
  opacity: 0.65;
  line-height: 1.2;
}

.store-btn strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.2;
}

.store-btn-dark {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.store-btn-light {
  background: #fff;
  color: var(--ink);
}

.store-btn-ghost {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(8px);
}

.store-btns-light .store-btn svg { fill: currentColor; }

/* Phone mockup — premium titanium frame + Dynamic Island */
.phone {
  --phone-w: 268px;
  position: relative;
  width: var(--phone-w);
  margin-inline: auto;
  filter: drop-shadow(0 28px 48px rgba(15, 15, 20, 0.18));
}

.phone-shell {
  position: relative;
  padding: 11px;
  border-radius: 52px;
  background: linear-gradient(145deg, #4a4a4f 0%, #1a1a1d 35%, #0d0d0f 70%, #2e2e32 100%);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.14) inset,
    0 0 0 2px rgba(0, 0, 0, 0.5),
    0 1px 0 rgba(255, 255, 255, 0.06) inset,
    0 40px 80px rgba(0, 0, 0, 0.35);
}

.phone-shell::before {
  content: '';
  position: absolute;
  inset: 3px;
  border-radius: 48px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  pointer-events: none;
  z-index: 1;
}

/* Side buttons */
.phone-side-btn {
  position: absolute;
  background: linear-gradient(180deg, #5c5c60, #2a2a2e);
  border-radius: 3px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.15),
    0 1px 2px rgba(0, 0, 0, 0.4);
  z-index: 2;
}

.phone-side-btn--up {
  left: -3px;
  top: 108px;
  width: 3px;
  height: 32px;
}

.phone-side-btn--down {
  left: -3px;
  top: 152px;
  width: 3px;
  height: 32px;
}

.phone-side-btn--power {
  right: -3px;
  top: 130px;
  width: 3px;
  height: 52px;
}

.phone-display {
  position: relative;
  border-radius: 42px;
  overflow: hidden;
  background: #000;
  aspect-ratio: 9 / 19.5;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.8) inset;
}

.phone-screen {
  position: absolute;
  inset: 0;
  background: #fff;
}

.phone-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

/* Dynamic Island — floats on screen */
.phone-island {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 96px;
  height: 28px;
  background: #000;
  border-radius: 20px;
  z-index: 5;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.04),
    0 4px 12px rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 10px;
}

.phone-island-cam {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #1a3a5c, #0a1520 60%, #000);
  box-shadow: inset 0 0 2px rgba(255, 255, 255, 0.15);
}

.phone-home-bar {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 110px;
  height: 4px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.85);
  z-index: 5;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.2);
}

.phone-shine {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  background: linear-gradient(
    125deg,
    rgba(255, 255, 255, 0.22) 0%,
    rgba(255, 255, 255, 0.04) 22%,
    transparent 45%,
    transparent 70%,
    rgba(255, 255, 255, 0.06) 100%
  );
  border-radius: 42px;
}

.phone-ground {
  position: absolute;
  bottom: -28px;
  left: 8%;
  right: 8%;
  height: 32px;
  background: radial-gradient(ellipse, rgba(255, 106, 0, 0.22), transparent 68%);
  filter: blur(14px);
  z-index: -1;
}

/* Size variants */
.phone--hero {
  --phone-w: 290px;
  width: 290px;
}

.phone--tilt {
  transform: rotate(-8deg) perspective(800px) rotateY(-4deg);
  animation: floatPhone 6s ease-in-out infinite;
}

.phone--tilt .phone-shell {
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.14) inset,
    0 0 0 2px rgba(0, 0, 0, 0.5),
    0 50px 100px rgba(255, 106, 0, 0.12),
    0 40px 80px rgba(0, 0, 0, 0.4);
}

.phone--carousel {
  --phone-w: 255px;
  width: 255px;
}

.phone--about {
  --phone-w: 272px;
  width: 272px;
}

@keyframes floatPhone {
  0%, 100% { transform: rotate(-8deg) perspective(800px) rotateY(-4deg) translateY(0); }
  50% { transform: rotate(-6deg) perspective(800px) rotateY(-2deg) translateY(-14px); }
}

@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* HERO */
.hero {
  position: relative;
  padding: 120px 0 100px;
  min-height: 90vh;
  display: flex;
  align-items: center;
}

.hero-shapes { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }

.shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
}

.shape-a {
  width: 600px; height: 600px;
  background: rgba(255, 106, 0, 0.18);
  top: -200px; right: -100px;
}

.shape-b {
  width: 400px; height: 400px;
  background: rgba(255, 127, 50, 0.12);
  bottom: 0; left: -100px;
}

.shape-c {
  width: 200px; height: 200px;
  background: rgba(255, 154, 92, 0.2);
  top: 40%; left: 30%;
}

.shape-ring {
  width: 500px; height: 500px;
  border: 1px solid rgba(255, 106, 0, 0.08);
  background: transparent;
  filter: none;
  top: 10%; right: 15%;
  animation: spinSlow 40s linear infinite;
}

@keyframes spinSlow {
  to { transform: rotate(360deg); }
}

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

.hero-content h1 {
  font-size: clamp(2.75rem, 5.5vw, 4rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin: 0 0 24px;
}

.hero-sub {
  font-size: 1.125rem;
  color: var(--muted);
  max-width: 480px;
  margin: 0 0 32px;
  line-height: 1.7;
}

.hero-device-zone {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-radius: 16px;
  z-index: 10;
  animation: floatCard 5s ease-in-out infinite;
}

.float-card-1 { top: 8%; left: 0; animation-delay: 0s; }
.float-card-2 { top: 35%; right: -10px; animation-delay: 1s; }
.float-card-3 { bottom: 12%; left: 5%; animation-delay: 2s; }

.float-icon { font-size: 1.5rem; }

.float-card strong {
  display: block;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.float-card small {
  font-size: 0.75rem;
  color: var(--muted);
  font-weight: 500;
}

/* PREVIEW CAROUSEL */
.preview {
  padding: 100px 0 80px;
  background: linear-gradient(180deg, var(--bg) 0%, #fff 50%, var(--bg) 100%);
  overflow: hidden;
}

.carousel-wrap {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 100%;
}

.carousel-viewport {
  flex: 1;
  overflow: hidden;
  padding: 40px 0 20px;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.carousel-track {
  display: flex;
  align-items: flex-end;
  gap: 40px;
  transition: transform 0.6s var(--ease);
  will-change: transform;
  padding: 0 50%;
}

.carousel-slide {
  flex: 0 0 255px;
  text-align: center;
  transition: opacity 0.5s, transform 0.6s var(--ease);
  opacity: 0.45;
  transform: scale(0.88);
}

.carousel-slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.carousel-slide.is-active .phone {
  filter: drop-shadow(0 36px 56px rgba(255, 106, 0, 0.18)) drop-shadow(0 20px 40px rgba(15, 15, 20, 0.2));
}

.carousel-slide.is-active .phone-shell {
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.16) inset,
    0 0 0 2px rgba(0, 0, 0, 0.5),
    0 1px 0 rgba(255, 255, 255, 0.08) inset,
    0 48px 90px rgba(255, 106, 0, 0.1),
    0 40px 80px rgba(0, 0, 0, 0.38);
}

.carousel-slide.is-near {
  opacity: 0.7;
  transform: scale(0.94);
}

.slide-caption {
  margin: 20px 0 0;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--ink-2);
}

.carousel-btn {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(15, 15, 20, 0.08);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  z-index: 5;
}

.carousel-btn svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: var(--ink);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.carousel-btn:hover {
  background: var(--grad);
  transform: scale(1.05);
  box-shadow: 0 8px 24px rgba(255, 106, 0, 0.3);
}

.carousel-btn:hover svg { stroke: #fff; }

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 32px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: rgba(15, 15, 20, 0.12);
  cursor: pointer;
  transition: background 0.25s, transform 0.25s, width 0.25s;
}

.dot.is-active {
  background: var(--orange-1);
  transform: scale(1.2);
  width: 28px;
  border-radius: 5px;
}

/* FEATURES */
.features {
  padding: 100px 0;
}

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

.feat-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 28px;
  border: 1px solid rgba(15, 15, 20, 0.05);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}

.feat-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.feat-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--grad-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.feat-icon svg {
  width: 26px;
  height: 26px;
  fill: var(--orange-1);
}

.feat-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 8px;
  letter-spacing: -0.02em;
}

.feat-card p {
  margin: 0;
  font-size: 0.925rem;
  color: var(--muted);
  line-height: 1.55;
}

/* INSIGHTS */
.insights {
  padding: 100px 0;
  background: var(--white);
}

.insights-layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 64px;
  align-items: center;
}

.insights-copy h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 0 0 16px;
}

.insights-list {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.insights-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
  font-weight: 500;
  color: var(--ink-2);
}

.insights-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--grad);
}

.insights-dashboard {
  border-radius: var(--radius-lg);
  padding: 28px;
}

.dash-row {
  display: flex;
  gap: 16px;
  margin-bottom: 16px;
}

.dash-stat {
  flex: 1;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 16px;
  padding: 18px;
  border: 1px solid rgba(15, 15, 20, 0.04);
}

.dash-stat.wide { flex: 1.5; }

.dash-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 6px;
}

.dash-stat strong {
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.dash-stat strong small { font-size: 1rem; font-weight: 600; color: var(--muted); }
.dash-stat > small { font-size: 0.8rem; color: var(--muted); }

.progress-bar {
  height: 6px;
  background: rgba(15, 15, 20, 0.06);
  border-radius: 99px;
  margin: 10px 0 6px;
  overflow: hidden;
}

.progress-fill {
  display: block;
  height: 100%;
  width: 0;
  border-radius: 99px;
  background: var(--grad);
  animation: growBar 1.4s var(--ease) forwards;
  animation-delay: 0.3s;
}

.progress-fill.alt { background: linear-gradient(90deg, #8b5cf6, #a78bfa); }

@keyframes growBar {
  to { width: var(--w, 0%); }
}

.dash-ring-wrap {
  position: relative;
  width: 100px;
  height: 100px;
  flex-shrink: 0;
}

.dash-ring { width: 100%; height: 100%; transform: rotate(-90deg); }

.ring-bg {
  fill: none;
  stroke: rgba(15, 15, 20, 0.06);
  stroke-width: 8;
}

.ring-fill {
  fill: none;
  stroke: url(#ringGrad);
  stroke: var(--orange-1);
  stroke-width: 8;
  stroke-linecap: round;
  stroke-dasharray: 264;
  stroke-dashoffset: 264;
  animation: ringDraw 1.6s var(--ease) forwards;
  animation-delay: 0.5s;
}

@keyframes ringDraw {
  to { stroke-dashoffset: 37; }
}

.ring-label {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
}

.dash-chart { margin-top: 8px; }

.chart-bars {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  height: 120px;
  margin-top: 12px;
  padding-top: 8px;
}

.bar {
  flex: 1;
  height: var(--h, 50%);
  background: rgba(255, 106, 0, 0.15);
  border-radius: 8px 8px 4px 4px;
  position: relative;
  transform-origin: bottom;
  animation: barGrow 0.8s var(--ease) backwards;
}

.bar:nth-child(1) { animation-delay: 0.1s; }
.bar:nth-child(2) { animation-delay: 0.2s; }
.bar:nth-child(3) { animation-delay: 0.3s; }
.bar:nth-child(4) { animation-delay: 0.4s; }
.bar:nth-child(5) { animation-delay: 0.5s; }
.bar:nth-child(6) { animation-delay: 0.6s; }
.bar:nth-child(7) { animation-delay: 0.7s; }

.bar.active { background: var(--grad); }

.bar span {
  position: absolute;
  bottom: -22px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--muted);
}

@keyframes barGrow {
  from { transform: scaleY(0); }
  to { transform: scaleY(1); }
}

/* ABOUT */
.about {
  padding: 100px 0;
}

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

.about-copy h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 0 0 20px;
}

.about-copy p {
  color: var(--muted);
  font-size: 1.05rem;
  margin: 0 0 16px;
  line-height: 1.7;
}

.about-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.about-badge {
  position: absolute;
  bottom: 10%;
  right: 0;
  padding: 12px 18px;
  border-radius: 14px;
  font-weight: 600;
  font-size: 0.875rem;
  animation: floatCard 4s ease-in-out infinite;
}

/* CTA */
.cta {
  position: relative;
  margin: 0 24px 48px;
  border-radius: 32px;
  overflow: hidden;
  padding: 80px 24px;
  text-align: center;
  color: #fff;
}

.cta-bg {
  position: absolute;
  inset: 0;
  background: var(--grad);
}

.cta-lines {
  position: absolute;
  inset: 0;
  opacity: 0.15;
  background-image:
    repeating-linear-gradient(
      -12deg,
      transparent,
      transparent 40px,
      rgba(255, 255, 255, 0.4) 40px,
      rgba(255, 255, 255, 0.4) 41px
    );
}

.cta-glow {
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  filter: blur(80px);
  top: -100px;
  right: -50px;
}

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

.cta-logo {
  margin: 0 auto 24px;
  border-radius: 16px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.cta h2 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  margin: 0 0 12px;
}

.cta p {
  margin: 0 0 32px;
  opacity: 0.92;
  font-size: 1.05rem;
}

.store-btns-light {
  justify-content: center;
}

/* FOOTER */
.footer {
  padding: 64px 0 32px;
  background: var(--ink);
  color: rgba(255, 255, 255, 0.75);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand img { border-radius: 8px; margin-bottom: 12px; }

.footer-brand span {
  display: block;
  font-weight: 800;
  font-size: 1.1rem;
  color: #fff;
  margin-bottom: 8px;
}

.footer-brand p { margin: 0; font-size: 0.875rem; }

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

.footer-links strong {
  color: #fff;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}

.footer-links a {
  font-size: 0.9rem;
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--orange-3); }

.social-row {
  display: flex;
  gap: 10px;
  margin-top: 8px;
}

.social-btn {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, transform 0.2s;
}

.social-btn svg {
  width: 18px;
  height: 18px;
  fill: #fff;
}

.social-btn:hover {
  background: var(--orange-1);
  transform: translateY(-2px);
}

.footer-bottom {
  padding-top: 24px;
  text-align: center;
  font-size: 0.85rem;
  opacity: 0.5;
}

.footer-bottom p { margin: 0; }

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-layout,
  .insights-layout,
  .about-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero-content { text-align: center; }
  .hero-sub { margin-inline: auto; }
  .store-btns { justify-content: center; }

  .hero-device-zone { min-height: 460px; }
  .float-card-2 { right: 0; }

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

  .carousel-btn { display: none; }
}

@media (max-width: 640px) {
  .wrap { width: calc(100% - 32px); }

  .nav {
    display: none;
    position: fixed;
    top: 72px;
    left: 16px;
    right: 16px;
    flex-direction: column;
    background: var(--white);
    padding: 20px;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
  }

  .nav.is-open { display: flex; }
  .header-inner .btn-primary { display: none; }
  .nav-toggle { display: flex; margin-left: auto; }

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

  .float-card { display: none; }
  .phone--tilt { transform: none; animation: none; }

  .carousel-slide { flex: 0 0 220px; }
  .phone--carousel { --phone-w: 220px; width: 220px; }

  .cta { margin: 0 16px 32px; padding: 56px 20px; }
}
