/* ══════════════════════════════════════════
   COMPONENTS — UI Elements & Sections
   ══════════════════════════════════════════ */

/* ── Navigation ── */
nav {
  position: fixed;
  top: var(--sp-sm);
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-md);
  padding: 10px var(--sp-md);
  border-radius: var(--r-capsule);
  width: min(94%, 720px);
  backdrop-filter: var(--glass-frosted-blur);
  -webkit-backdrop-filter: var(--glass-frosted-blur);
  background: rgba(10, 26, 26, 0.55);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  animation: slideDown 0.8s cubic-bezier(0.4, 0, 0.2, 1) both;
}

nav:hover {
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.38);
}

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

.logo-svg-wrap {
  display: flex;
  align-items: center;
}

.logo svg {
  height: 64px;
  width: auto;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.2));
}

.logo-text-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

.logo-status {
  font-size: 10px;
  font-weight: 600;
  color: var(--text-secondary);
  opacity: 0.6;
  letter-spacing: 0.2px;
  white-space: nowrap;
}

.logo-desc {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 0.5px;
  margin-bottom: -2px;
}

.logo-meta {
  display: flex;
  align-items: center;
  gap: 6px;
}

.ios-badge {
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 2px 6px;
  border-radius: 4px;
  background: var(--lime-tint);
  color: var(--pale-lime);
  border: 1px solid rgba(232, 245, 200, 0.2);
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--sp-xs);
}

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: var(--r-capsule);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-links a:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.07);
}

.nav-cta {
  color: var(--bg-deep) !important;
  background: var(--pale-lime) !important;
  font-weight: 700 !important;
  box-shadow: 0 2px 12px rgba(232, 245, 200, 0.2);
}

.nav-cta:hover {
  background: #f0f9d8 !important;
  transform: scale(1.04);
  box-shadow: 0 4px 20px rgba(232, 245, 200, 0.3) !important;
}

/* ── Hero ── */
.hero {
  text-align: center;
  padding: 130px 0 36px;
  animation: fadeUp 1s cubic-bezier(0.4, 0, 0.2, 1) 0.2s both;
}

.coming-pill {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-xs);
  padding: 8px 20px;
  border-radius: var(--r-capsule);
  font-size: 13px;
  font-weight: 600;
  color: var(--pale-lime);
  margin-bottom: var(--sp-xl);
  letter-spacing: 0.5px;
  backdrop-filter: var(--glass-clear-blur);
  -webkit-backdrop-filter: var(--glass-clear-blur);
  background: rgba(232, 245, 200, 0.07);
  border: 1px solid rgba(232, 245, 200, 0.15);
}

.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--pale-lime);
  animation: softPulse 2.5s ease-in-out infinite;
  box-shadow: 0 0 8px rgba(232, 245, 200, 0.4);
}

h1 {
  font-size: clamp(36px, 6vw, 62px);
  line-height: 1.08;
  letter-spacing: -1.5px;
  color: var(--text-primary);
  margin-bottom: var(--sp-md);
}

h1 em {
  font-style: italic;
  background: linear-gradient(135deg, var(--pale-lime), var(--mint));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 18px;
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 500px;
  margin: 0 auto var(--sp-xl);
}

/* ── Signup Form ── */
.signup-wrap {
  max-width: 480px;
  margin: 0 auto;
}

.signup-form {
  display: flex;
  gap: 8px;
  padding: 8px;
  border-radius: var(--r-capsule);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.signup-form:focus-within {
  border-color: rgba(232, 245, 200, 0.28);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(232, 245, 200, 0.08);
}

.signup-form input {
  flex: 1;
  padding: 14px 20px;
  border-radius: var(--r-capsule);
  border: none;
  background: transparent;
  color: var(--text-primary);
  font-size: 15px;
  font-family: 'Nunito', sans-serif;
  font-weight: 500;
  outline: none;
  min-width: 0;
}

.signup-form input::placeholder {
  color: var(--text-secondary);
  font-weight: 400;
}

.signup-form button {
  padding: 14px 28px;
  border-radius: var(--r-capsule);
  border: none;
  background: var(--pale-lime);
  color: var(--bg-deep);
  font-size: 15px;
  font-weight: 700;
  font-family: 'Nunito', sans-serif;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 16px rgba(232, 245, 200, 0.2);
}

.signup-form button:hover {
  transform: scale(1.03);
  box-shadow: 0 6px 24px rgba(232, 245, 200, 0.3);
  background: #f0f9d8;
}

.signup-form button:active {
  transform: scale(0.98);
}

.form-note {
  font-size: 12px;
  color: var(--text-secondary);
  margin-top: 14px;
  text-align: center;
  opacity: 0.6;
  font-weight: 500;
}

.success-msg {
  display: none;
  text-align: center;
  padding: var(--sp-md);
  animation: fadeUp 0.5s ease-out;
}

.success-msg .check-circle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--sp-sm);
  font-size: 24px;
  background: var(--lime-tint);
  border: 2px solid rgba(232, 245, 200, 0.3);
}

.success-msg h3 {
  font-size: 22px;
  margin-bottom: 6px;
}

.success-msg p {
  color: var(--text-secondary);
  font-size: 15px;
}

/* ── Screenshot Showcase ── */
.showcase {
  padding: var(--sp-md) 0 40px;
  animation: fadeUp 1s cubic-bezier(0.4, 0, 0.2, 1) 0.4s both;
}

.showcase-scroll {
  position: relative;
}

.showcase-scroll::before {
  content: '';
  position: absolute;
  width: 80%;
  height: 60%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(ellipse,
      rgba(200, 245, 232, 0.06) 0%,
      rgba(224, 200, 245, 0.04) 35%,
      rgba(232, 245, 200, 0.03) 60%,
      transparent 80%);
  filter: blur(80px);
  z-index: 0;
  pointer-events: none;
}

.phones-row {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: clamp(20px, 4vw, 48px);
  position: relative;
  z-index: 1;
  padding: 20px 40px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* Default Desktop Grid Layout (>1024px) */
@media (min-width: 1025px) {
  .phones-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    align-items: center;
    gap: 32px;
    overflow: visible;
    padding: 20px 0;
  }

  .showcase-nav-btn,
  .showcase-dots {
    display: none !important;
  }

  .iphone-frame {
    transform: none !important;
    scroll-snap-align: none;
  }

  .iphone-frame:hover {
    transform: translateY(-8px) !important;
  }

  .iphone-device {
    width: 100% !important;
    max-width: 250px;
    height: auto !important;
    aspect-ratio: 260 / 532;
    margin: 0 auto;
  }

  .iphone-frame.hero-phone .iphone-device {
    width: 100% !important;
    max-width: 265px;
    height: auto !important;
    aspect-ratio: 280 / 573;
  }
}

.phones-row::-webkit-scrollbar {
  display: none;
}

/* Navigation Controls */
.showcase-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  background: var(--glass-clear-bg);
  backdrop-filter: var(--glass-clear-blur);
  -webkit-backdrop-filter: var(--glass-clear-blur);
  border: 1px solid var(--glass-clear-border);
  color: var(--text-primary);
  box-shadow: var(--glass-clear-shadow);
}

.showcase-nav-btn:hover {
  background: var(--glass-bg);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-50%) scale(1.1);
}

.showcase-nav-btn svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.showcase-nav-btn.prev {
  left: -24px;
}

.showcase-nav-btn.next {
  right: -24px;
}

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

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot.active {
  background: var(--pale-lime);
  box-shadow: 0 0 10px rgba(232, 245, 200, 0.4);
  transform: scale(1.2);
}

/* ── iPhone Device Frame ── */
.iphone-frame {
  flex-shrink: 0;
  position: relative;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  scroll-snap-align: center;
}

.iphone-frame:hover {
  transform: translateY(-8px);
}

.iphone-device {
  position: relative;
  width: 260px;
  height: 532px;
  border-radius: 44px;
  background: #1A1A1A;
  padding: 12px;
  box-shadow:
    0 40px 80px rgba(0, 0, 0, 0.50),
    0 2px 0 rgba(255, 255, 255, 0.04) inset,
    0 -1px 0 rgba(0, 0, 0, 0.3) inset,
    inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.iphone-device::before {
  content: '';
  position: absolute;
  top: 0;
  left: 20%;
  width: 60%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.12), transparent);
  border-radius: 1px;
  z-index: 3;
}

.iphone-island {
  position: absolute;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 28px;
  background: #000;
  border-radius: 20px;
  z-index: 5;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.03);
}

.iphone-screen {
  width: 100%;
  height: 100%;
  border-radius: 34px;
  overflow: hidden;
  background: var(--bg-deep);
  position: relative;
}

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

/* Placeholder */
.iphone-screen .placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: linear-gradient(160deg,
      rgba(200, 245, 232, 0.04) 0%,
      rgba(10, 26, 26, 1) 40%,
      rgba(224, 200, 245, 0.03) 100%);
}

.placeholder-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  backdrop-filter: var(--glass-clear-blur);
  -webkit-backdrop-filter: var(--glass-clear-blur);
  background: var(--glass-clear-bg);
  border: 1px solid var(--glass-clear-border);
}

.placeholder-text {
  font-size: 12px;
  color: var(--text-secondary);
  font-weight: 500;
  text-align: center;
  line-height: 1.4;
  padding: 0 20px;
  opacity: 0.6;
}

/* Side buttons */
.iphone-device .side-btn {
  position: absolute;
  right: -2px;
  width: 3px;
  border-radius: 0 2px 2px 0;
  background: #2A2A2A;
}

.iphone-device .side-btn.power {
  top: 130px;
  height: 64px;
}

.iphone-device .side-btn-l {
  position: absolute;
  left: -2px;
  width: 3px;
  border-radius: 2px 0 0 2px;
  background: #2A2A2A;
}

.iphone-device .side-btn-l.silent {
  top: 100px;
  height: 24px;
}

.iphone-device .side-btn-l.vol-up {
  top: 140px;
  height: 44px;
}

.iphone-device .side-btn-l.vol-down {
  top: 194px;
  height: 44px;
}

/* Label under each phone */
.iphone-label {
  text-align: center;
  margin-top: var(--sp-sm);
}

.iphone-label h4 {
  font-family: 'Playfair Display', serif;
  font-size: 16px;
  font-weight: 400;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.iphone-label p {
  font-size: 12px;
  color: var(--text-secondary);
  font-weight: 500;
}

/* Center phone is bigger */
.iphone-frame.hero-phone .iphone-device {
  width: 280px;
  height: 573px;
  border-radius: 48px;
  padding: 13px;
}

.iphone-frame.hero-phone .iphone-screen {
  border-radius: 37px;
}

.iphone-frame.hero-phone .iphone-island {
  top: 17px;
  width: 108px;
  height: 30px;
}

.iphone-frame.hero-phone .side-btn.power {
  top: 140px;
  height: 68px;
}

.iphone-frame.hero-phone .side-btn-l.silent {
  top: 108px;
}

.iphone-frame.hero-phone .side-btn-l.vol-up {
  top: 150px;
}

.iphone-frame.hero-phone .side-btn-l.vol-down {
  top: 204px;
}

/* Side phones tilt */
.iphone-frame.side-left {
  transform: perspective(1200px) rotateY(6deg);
  transform-origin: right center;
}

.iphone-frame.side-left:hover {
  transform: perspective(1200px) rotateY(6deg) translateY(-8px);
}

.iphone-frame.side-right {
  transform: perspective(1200px) rotateY(-6deg);
  transform-origin: left center;
}

.iphone-frame.side-right:hover {
  transform: perspective(1200px) rotateY(-6deg) translateY(-8px);
}

/* ── Section Headings ── */
.section-label {
  text-align: center;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  margin-bottom: var(--sp-sm);
  font-weight: 700;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 400;
  text-align: center;
  color: var(--text-primary);
  letter-spacing: -0.5px;
  margin-bottom: 32px;
  line-height: 1.15;
}

/* ── Features ── */
.features {
  padding: 36px 0 44px;
  animation: fadeUp 1s ease-out 0.5s both;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--sp-sm);
}

.feat-card {
  border-radius: var(--r-lg);
  padding: var(--sp-md);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: default;
}

.feat-card:hover {
  transform: translateY(-3px) scale(1.02);
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: 0 12px 44px rgba(0, 0, 0, 0.38);
}

.feat-card:active {
  transform: scale(0.98);
}

.feat-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: var(--sp-sm);
}

.feat-card h3 {
  font-size: 20px;
  margin-bottom: var(--sp-xs);
}

.feat-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ── Vitality Score ── */
.vitality-section {
  padding: var(--sp-md) 0 44px;
}

.vitality-card {
  border-radius: var(--r-lg);
  padding: var(--sp-lg);
  text-align: center;
}

.vitality-card h3 {
  font-size: 24px;
  margin-bottom: 6px;
}

.vitality-card>p {
  color: var(--text-secondary);
  font-size: 14px;
  margin-bottom: var(--sp-lg);
}

.v-segments {
  display: flex;
  gap: 10px;
}

.v-seg {
  flex: 1;
  border-radius: var(--r-md);
  padding: 20px 12px;
  text-align: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: default;
}

.v-seg:hover {
  transform: scale(1.05);
}

.v-seg:active {
  transform: scale(0.97);
}

.v-seg .seg-emoji {
  font-size: 24px;
  margin-bottom: var(--sp-xs);
}

.v-seg .seg-name {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  font-weight: 700;
  margin-bottom: 4px;
}

.v-seg .seg-pts {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  line-height: 1;
}

/* ── Roadmap Timeline ── */
.roadmap {
  padding: var(--sp-md) 0 44px;
}

.timeline {
  position: relative;
  max-width: 660px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 27px;
  top: 10px;
  bottom: 10px;
  width: 2px;
  background: linear-gradient(to bottom,
      var(--pale-lime) 0%,
      rgba(232, 245, 200, 0.25) 35%,
      rgba(255, 255, 255, 0.05) 100%);
  border-radius: 2px;
}

.tl-item {
  position: relative;
  padding-left: 70px;
  padding-bottom: var(--sp-md);
}

.tl-item:last-child {
  padding-bottom: 0;
}

.tl-node {
  position: absolute;
  left: 11px;
  top: 4px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  z-index: 1;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.tl-item:hover .tl-node {
  transform: scale(1.15);
}

.tl-node.is-active {
  background: var(--pale-lime);
  box-shadow: 0 0 20px rgba(232, 245, 200, 0.25), 0 0 40px rgba(232, 245, 200, 0.1);
  animation: nodeGlow 3s ease-in-out infinite;
}

.tl-node.is-upcoming {
  backdrop-filter: var(--glass-clear-blur);
  -webkit-backdrop-filter: var(--glass-clear-blur);
  background: var(--glass-clear-bg);
  border: 1px solid var(--glass-clear-border);
}

.tl-card {
  border-radius: var(--r-md);
  padding: var(--sp-sm) var(--sp-md);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.tl-item:hover .tl-card {
  transform: translateX(4px);
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: 0 12px 44px rgba(0, 0, 0, 0.38);
}

.tl-card.active-glow {
  background: linear-gradient(135deg, var(--glass-bg), rgba(232, 245, 200, 0.04));
  border-color: rgba(232, 245, 200, 0.2);
}

.tl-meta {
  display: flex;
  align-items: center;
  gap: var(--sp-xs);
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.tl-badge {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 12px;
  border-radius: var(--r-capsule);
}

.tl-badge.current {
  background: var(--lime-tint);
  color: var(--pale-lime);
  border: 1px solid rgba(232, 245, 200, 0.22);
}

.tl-badge.planned {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-secondary);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.tl-date {
  font-size: 12px;
  color: var(--text-secondary);
  font-weight: 500;
}

.tl-card h3 {
  font-size: 18px;
  margin-bottom: 4px;
}

.tl-card>p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 10px;
}

.tl-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tl-tag {
  font-size: 11px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: var(--r-capsule);
  backdrop-filter: var(--glass-clear-blur);
  -webkit-backdrop-filter: var(--glass-clear-blur);
  background: var(--glass-clear-bg);
  border: 1px solid var(--glass-clear-border);
  color: var(--text-secondary);
}

/* ── Bottom CTA ── */
.cta-bottom {
  padding: 36px 0 60px;
  text-align: center;
}

.cta-bottom h2 {
  font-size: clamp(24px, 4vw, 34px);
  letter-spacing: -0.5px;
  margin-bottom: var(--sp-xs);
  line-height: 1.15;
}

.cta-bottom>p {
  color: var(--text-secondary);
  font-size: 16px;
  margin-bottom: var(--sp-lg);
}

/* ── Privacy & Security ── */
.privacy-section {
  padding: 0 0 36px;
  max-width: 660px;
  margin: 0 auto;
}

.privacy-card {
  border-radius: var(--r-lg);
  padding: var(--sp-lg);
  text-align: center;
}

.privacy-icon {
  font-size: 40px;
  margin-bottom: var(--sp-sm);
}

.privacy-card h3 {
  font-size: 22px;
  margin-bottom: var(--sp-xs);
}

.privacy-card > p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: var(--sp-lg);
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.privacy-features {
  display: flex;
  justify-content: center;
  gap: var(--sp-md);
  flex-wrap: wrap;
}

.privacy-feat {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  padding: 8px 16px;
  border-radius: var(--r-capsule);
  backdrop-filter: var(--glass-clear-blur);
  -webkit-backdrop-filter: var(--glass-clear-blur);
  background: var(--glass-clear-bg);
  border: 1px solid var(--glass-clear-border);
}

.privacy-feat-icon {
  font-size: 16px;
}

/* ── Built Together Section ── */
.built-together-section {
  padding: 20px 0 28px;
  max-width: 520px;
  margin: 0 auto;
}

.built-card {
  border-radius: var(--r-lg);
  padding: var(--sp-md) var(--sp-lg);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.built-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(200, 245, 232, 0.06) 0%, transparent 60%);
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
}

.built-icon {
  font-size: 24px;
  margin-bottom: 4px;
  position: relative;
  z-index: 1;
}

.built-card h3 {
  font-size: 18px;
  margin-bottom: 2px;
  position: relative;
  z-index: 1;
}

.built-subtitle {
  font-size: 13px;
  color: var(--mint);
  font-weight: 600;
  margin-bottom: 6px;
  position: relative;
  z-index: 1;
}

.built-description {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: var(--sp-sm);
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 1;
}

.built-flow {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--sp-sm);
  flex-wrap: nowrap;
  position: relative;
  z-index: 1;
}

.flow-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 8px 12px;
  border-radius: var(--r-md);
  backdrop-filter: var(--glass-clear-blur);
  -webkit-backdrop-filter: var(--glass-clear-blur);
  background: var(--glass-clear-bg);
  border: 1px solid var(--glass-clear-border);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  min-width: 60px;
}

.flow-step:hover {
  transform: translateY(-2px);
  border-color: rgba(200, 245, 232, 0.3);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.flow-icon {
  font-size: 20px;
  line-height: 1;
}

.flow-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 0.3px;
}

.flow-arrow {
  font-size: 16px;
  color: var(--mint);
  font-weight: 300;
  opacity: 0.5;
}

@media (max-width: 640px) {
  .built-card {
    padding: var(--sp-sm) var(--sp-md);
  }

  .built-card h3 {
    font-size: 17px;
  }

  .built-subtitle {
    font-size: 12px;
  }

  .built-description {
    font-size: 11px;
  }

  .built-flow {
    gap: 6px;
  }

  .flow-arrow {
    font-size: 14px;
  }

  .flow-step {
    min-width: 50px;
    padding: 6px 8px;
  }

  .flow-icon {
    font-size: 16px;
  }

  .flow-label {
    font-size: 10px;
  }
}

/* ── Beta Tester Section ── */
.beta-tester-section {
  padding: 20px 0 28px;
  max-width: 520px;
  margin: 0 auto;
}

.beta-card {
  border-radius: var(--r-lg);
  padding: var(--sp-md) var(--sp-lg);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.beta-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(232, 245, 200, 0.06) 0%, transparent 60%);
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
}

.beta-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  border-radius: var(--r-capsule);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--pale-lime);
  background: var(--lime-tint);
  border: 1px solid rgba(232, 245, 200, 0.22);
  margin-bottom: var(--sp-sm);
  box-shadow: 0 2px 8px rgba(232, 245, 200, 0.1);
  position: relative;
  z-index: 1;
}

.beta-icon {
  font-size: 24px;
  margin-bottom: 4px;
  position: relative;
  z-index: 1;
}

.beta-card h3 {
  font-size: 18px;
  margin-bottom: 2px;
  position: relative;
  z-index: 1;
}

.beta-subtitle {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.4;
  margin-bottom: var(--sp-sm);
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 1;
}

.beta-benefits {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: var(--sp-md);
  text-align: left;
  position: relative;
  z-index: 1;
}

.beta-benefit {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: var(--r-md);
  backdrop-filter: var(--glass-clear-blur);
  -webkit-backdrop-filter: var(--glass-clear-blur);
  background: var(--glass-clear-bg);
  border: 1px solid var(--glass-clear-border);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.beta-benefit:hover {
  border-color: rgba(232, 245, 200, 0.2);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.benefit-icon {
  font-size: 16px;
  flex-shrink: 0;
  line-height: 1;
}

.benefit-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.benefit-text strong {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
}

.benefit-text span {
  font-size: 10px;
  color: var(--text-secondary);
  line-height: 1.3;
}

.beta-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 32px;
  border-radius: var(--r-capsule);
  font-size: 14px;
  font-weight: 700;
  font-family: 'Nunito', sans-serif;
  text-decoration: none;
  color: var(--bg-deep);
  background: var(--pale-lime);
  border: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 16px rgba(232, 245, 200, 0.2);
  position: relative;
  z-index: 1;
}

.beta-cta-btn:hover {
  transform: scale(1.05) translateY(-2px);
  box-shadow: 0 6px 24px rgba(232, 245, 200, 0.3);
  background: #f0f9d8;
}

.beta-cta-btn:active {
  transform: scale(0.98);
}

@media (max-width: 640px) {
  .beta-benefits {
    grid-template-columns: 1fr;
  }

  .beta-card {
    padding: var(--sp-sm) var(--sp-md);
  }

  .beta-card h3 {
    font-size: 17px;
  }

  .beta-subtitle {
    font-size: 11px;
  }

  .beta-benefit {
    padding: 6px 8px;
  }

  .benefit-text strong {
    font-size: 11px;
  }

  .benefit-text span {
    font-size: 9px;
  }
}

/* ── Footer ── */
footer {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: var(--sp-lg) 0;
  text-align: center;
  font-size: 13px;
  color: var(--text-secondary);
  opacity: 0.5;
  font-weight: 500;
}

/* ══════════════════════════════════════════
   RESPONSIVE — Desktop Grid & Mobile Carousel
   ══════════════════════════════════════════ */

/* Default Desktop Grid Layout (>1024px) */
@media (min-width: 1025px) {
  .phones-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    align-items: center;
    gap: 32px;
    overflow: visible;
    padding: 20px 0;
  }

  .showcase-nav-btn,
  .showcase-dots {
    display: none !important;
  }

  .iphone-frame {
    transform: none !important;
    opacity: 1 !important;
    /* Force visibility on desktop */
    scroll-snap-align: none;
    pointer-events: auto !important;
  }

  .iphone-frame:hover {
    transform: translateY(-8px) !important;
  }

  .iphone-device {
    width: 100% !important;
    max-width: 250px;
    height: auto !important;
    aspect-ratio: 260 / 532;
    margin: 0 auto;
  }

  .iphone-frame.hero-phone .iphone-device {
    width: 100% !important;
    max-width: 265px;
    height: auto !important;
    aspect-ratio: 280 / 573;
  }
}

/* Tablet & Smaller Carousel Logic (<= 1024px) */
@media (max-width: 1024px) {
  .phones-row {
    justify-content: flex-start;
    padding-left: calc(50% - 145px);
    /* Center 290px frame */
    padding-right: calc(50% - 145px);
    gap: 12px;
  }

  .iphone-frame {
    scroll-snap-align: center;
    transform: scale(0.85);
    opacity: 0.5;
    transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.45s ease;
    pointer-events: none;
  }

  .iphone-frame.is-active {
    transform: scale(1);
    opacity: 1;
    pointer-events: auto;
  }

  .showcase-nav-btn.prev {
    left: 0;
  }

  .showcase-nav-btn.next {
    right: 0;
  }

  .iphone-device {
    width: 290px;
    height: 592px;
    border-radius: 46px;
  }

  .iphone-screen {
    border-radius: 32px;
  }

  .iphone-frame.hero-phone .iphone-device {
    width: 290px;
    height: 592px;
    border-radius: 46px;
  }
}

@media (max-width: 900px) {

  /* Metrics for smaller tablets / large phones if needed, 
     but unified under 1024px for mockup behavior */
  .side-btn.power {
    top: 100px !important;
    height: 52px !important;
  }

  .side-btn-l.silent {
    top: 80px !important;
    height: 20px !important;
  }

  .side-btn-l.vol-up {
    top: 110px !important;
    height: 36px !important;
  }

  .side-btn-l.vol-down {
    top: 154px !important;
    height: 36px !important;
  }
}

@media (max-width: 640px) {
  .hero {
    padding: 120px 0 40px;
  }

  nav {
    width: 94%;
    padding: 10px 16px;
  }

  .nav-links {
    gap: 4px;
  }

  .nav-links a {
    font-size: 11px;
    padding: 6px 10px;
  }

  .nav-links a:not(.nav-cta) {
    display: flex;
    /* Show links on mobile */
  }

  .logo {
    gap: 10px;
  }

  .logo svg {
    height: 48px;
  }

  .logo-desc {
    font-size: 11px;
  }

  .logo-status {
    display: none;
    /* Hide status text on very small screens to save space */
  }

  .signup-form {
    flex-direction: column;
    border-radius: var(--r-md);
  }

  .signup-form input {
    padding: 16px 20px;
  }

  .signup-form button {
    padding: 16px;
  }

  .v-segments {
    flex-wrap: wrap;
  }

  .v-seg {
    flex: 1 1 45%;
  }

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

  .timeline::before {
    left: 21px;
  }

  .tl-item {
    padding-left: 56px;
  }

  .tl-node {
    left: 5px;
  }
}