:root {
  --background: 280 40% 98%;
  --foreground: 280 50% 10%;
  --card: 0 0% 100%;
  --card-foreground: 280 50% 10%;
  --popover: 280 40% 99%;
  --popover-foreground: 280 50% 10%;
  --primary: 270 90% 65%;
  --primary-foreground: 0 0% 100%;
  --secondary: 268.8 67.57% 92.75%;
  --secondary-foreground: 320 60% 30%;
  --muted: 280 20% 94%;
  --muted-foreground: 280 15% 45%;
  --accent: 285.88 36.17% 90.78%;
  --accent-foreground: 291.54 100% 15.29%;
  --destructive: 0 84% 60%;
  --destructive-foreground: 0 0% 98%;
  --border: 280 20% 90%;
  --input: 280 20% 90%;
  --ring: 270 90% 65%;
  --chart-1: 270 90% 65%;
  --chart-2: 320 80% 60%;
  --chart-3: 190 80% 50%;
  --chart-4: 240 80% 70%;
  --chart-5: 340 80% 65%;
  --radius: 1rem;

  --shadow-2xs: 0px 2px 4px 0px hsl(270 50% 80% / 0.1);
  --shadow-sm: 0px 4px 8px -2px hsl(270 50% 80% / 0.2), 0px 2px 4px -2px hsl(270 50% 80% / 0.1);
  --shadow-md: 0px 12px 20px -8px hsl(270 50% 70% / 0.25);
  --shadow-lg: 0px 20px 30px -10px hsl(270 50% 70% / 0.3);
  --shadow-xl: 0px 25px 50px -12px hsl(270 50% 70% / 0.4);

  --font-sans: 'Quicksand', 'Plus Jakarta Sans', ui-sans-serif, system-ui, sans-serif;
  --font-serif: 'DM Serif Display', serif;
  --font-mono: 'JetBrains Mono', monospace;
}

html.dark {
  --background: 280 45% 4%;
  --foreground: 280 20% 98%;
  --card: 280 40% 7%;
  --card-foreground: 280 20% 98%;
  --popover: 280 40% 8%;
  --popover-foreground: 280 20% 98%;
  --primary: 270 90% 75%;
  --primary-foreground: 280 50% 10%;
  --secondary: 320 50% 15%;
  --secondary-foreground: 320 80% 85%;
  --muted: 280 30% 12%;
  --muted-foreground: 280 15% 70%;
  --accent: 279.13 60.53% 14.9%;
  --accent-foreground: 284 28.3% 89.61%;
  --destructive: 0 62% 30%;
  --destructive-foreground: 0 0% 98%;
  --border: 280 30% 15%;
  --input: 280 30% 15%;
  --ring: 270 90% 75%;
  --chart-1: 270 90% 75%;
  --chart-2: 320 80% 70%;
  --chart-3: 190 80% 65%;
  --chart-4: 240 80% 75%;
  --chart-5: 340 80% 70%;

  --shadow-2xs: 0px 2px 4px 0px hsl(0 0% 0% / 0.5);
  --shadow-sm: 0px 4px 8px -2px hsl(0 0% 0% / 0.55), 0px 2px 4px -2px hsl(0 0% 0% / 0.45);
  --shadow-md: 0px 12px 24px -8px hsl(270 100% 2% / 0.8);
  --shadow-lg: 0px 20px 30px -10px hsl(0 0% 0% / 0.7);
  --shadow-xl: 0px 25px 50px -12px hsl(0 0% 0% / 0.7);
}

html { transition: background-color 0.4s ease, color 0.4s ease; }
body { transition: background-color 0.4s ease, color 0.4s ease; }

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

html, body {
  font-family: var(--font-sans);
  background: hsl(var(--background));
  color: hsl(var(--foreground));
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  letter-spacing: 0;
  min-height: 100vh;
  overflow-x: hidden;
  word-break: normal;
  overflow-wrap: normal;
}

body {
  display: flex;
  flex-direction: column;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

html.js-enabled.homepage-loading .hero,
html.js-enabled.homepage-loading .main,
html.js-enabled.homepage-loading .footer {
  opacity: 0;
  visibility: hidden;
}

.ambient-glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
}
.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.55;
  animation: float 18s ease-in-out infinite;
}
.glow-1 {
  width: 520px; height: 520px;
  top: -140px; left: -120px;
  background: radial-gradient(circle, hsl(270 90% 70% / 0.9), transparent 65%);
}
.glow-2 {
  width: 480px; height: 480px;
  top: 20%; right: -120px;
  background: radial-gradient(circle, hsl(320 90% 75% / 0.85), transparent 65%);
  animation-delay: -6s;
}
.glow-3 {
  width: 460px; height: 460px;
  bottom: -140px; left: 30%;
  background: radial-gradient(circle, hsl(190 90% 75% / 0.75), transparent 65%);
  animation-delay: -12s;
}
html.dark .glow-1 { background: radial-gradient(circle, hsl(270 90% 55% / 0.7), transparent 65%); }
html.dark .glow-2 { background: radial-gradient(circle, hsl(320 85% 55% / 0.6), transparent 65%); }
html.dark .glow-3 { background: radial-gradient(circle, hsl(190 85% 55% / 0.5), transparent 65%); }
html.dark .glow { opacity: 0.45; }

.theme-toggle {
  position: fixed;
  top: 1.25rem;
  right: 1.25rem;
  z-index: 50;
  width: 44px;
  height: 44px;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: hsl(var(--card) / 0.8);
  backdrop-filter: blur(12px);
  border: 1px solid hsl(var(--border));
  color: hsl(var(--primary));
  box-shadow: var(--shadow-md);
  cursor: pointer;
  transition: all 0.3s ease;
}
.theme-toggle:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: var(--shadow-lg), 0 0 24px hsl(var(--primary) / 0.35);
  color: hsl(var(--primary-foreground));
  background: linear-gradient(135deg, hsl(270 90% 65%), hsl(320 85% 65%));
  border-color: transparent;
}
.theme-toggle .icon-sun,
.theme-toggle .icon-moon {
  position: absolute;
  transition: transform 0.4s ease, opacity 0.3s ease;
}
.theme-toggle .icon-sun { opacity: 0; transform: rotate(-90deg) scale(0.6); }
.theme-toggle .icon-moon { opacity: 1; transform: rotate(0) scale(1); }
html.dark .theme-toggle .icon-sun { opacity: 1; transform: rotate(0) scale(1); }
html.dark .theme-toggle .icon-moon { opacity: 0; transform: rotate(90deg) scale(0.6); }
@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(40px, -30px) scale(1.08); }
  66% { transform: translate(-30px, 40px) scale(0.95); }
}

.hero {
  padding: clamp(1.5rem, 3vh, 2.25rem) 1.25rem 2.5rem;
  text-align: center;
  position: relative;
}
.hero-inner {
  width: 100%;
  max-width: min(1760px, calc(100vw - 2rem));
  margin: 0 auto;
  display: grid;
  gap: 1.5rem;
  justify-items: center;
}
.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 40rem;
  gap: 0;
}

.hero-heading {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  margin-bottom: 0.55rem;
  width: 100%;
}
.hero-brand-logo {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 0;
  object-fit: contain;
  flex-shrink: 0;
  background: transparent;
  box-shadow: none;
  filter: drop-shadow(0 8px 18px hsl(270 90% 45% / 0.28));
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.28rem 0.7rem;
  background: hsl(var(--card) / 0.7);
  backdrop-filter: blur(10px);
  border: 1px solid hsl(var(--border));
  color: hsl(var(--primary));
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  box-shadow: var(--shadow-sm);
  margin: 0;
}
.hero-badge[hidden] { display: none !important; }

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.45rem, 5.5vw, 3.75rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.02em;
  margin: 0;
  min-width: 0;
}
.title-gradient {
  background: linear-gradient(
    135deg,
    hsl(270 90% 65%) 0%,
    hsl(320 90% 65%) 50%,
    hsl(190 85% 55%) 100%
  );
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 4px 20px hsl(270 90% 65% / 0.25));
}

.hero-sub {
  font-size: 0.98rem;
  color: hsl(var(--muted-foreground));
  max-width: none;
  width: 100%;
  margin: 0 0 1rem;
  line-height: 1.55;
  text-wrap: pretty;
}

.hero-cta {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.7rem 1.25rem;
  border-radius: calc(var(--radius) - 0.25rem);
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.25s ease;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, hsl(270 90% 65%), hsl(320 85% 65%));
  color: hsl(var(--primary-foreground));
  box-shadow: var(--shadow-md), 0 0 30px hsl(270 90% 65% / 0.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg), 0 0 40px hsl(270 90% 65% / 0.5);
}
.btn-ghost {
  background: hsl(var(--card) / 0.6);
  backdrop-filter: blur(10px);
  color: hsl(var(--primary));
  border: 1px solid hsl(var(--border));
  box-shadow: var(--shadow-sm);
}
.btn-ghost:hover {
  background: hsl(var(--accent));
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.hero-stats {
  display: flex;
  align-items: stretch;
  gap: 0;
  width: 100%;
  max-width: 28rem;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  flex-wrap: nowrap;
  justify-content: flex-start;
}
.stat {
  flex: 1 1 0;
  min-width: 0;
  text-align: left;
  padding: 0 0.85rem;
  border-left: 1px solid hsl(var(--border));
}
.stat:first-child {
  padding-left: 0;
  border-left: 0;
}
.stat-num {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  color: hsl(var(--foreground));
  line-height: 1.15;
  letter-spacing: -0.01em;
}
.stat-label {
  font-size: 0.68rem;
  color: hsl(var(--muted-foreground));
  margin-top: 0.15rem;
  line-height: 1.3;
}
.stat-divider { display: none; }

.hero-preview {
  margin-top: 0;
  width: 100%;
  max-width: 100%;
  position: relative;
}

@media (min-width: 1080px) {
  .hero {
    text-align: left;
    padding: clamp(1.2rem, 2.2vh, 1.75rem) clamp(1.25rem, 2vw, 2rem) 1.75rem;
  }
  .hero-inner {
    grid-template-columns: minmax(300px, 0.88fr) minmax(0, 1.55fr);
    align-items: center;
    justify-items: stretch;
    column-gap: clamp(1.5rem, 2.8vw, 2.75rem);
    row-gap: 0;
  }
  .hero-copy {
    align-items: flex-start;
    max-width: 36rem;
    padding-right: 0.25rem;
  }
  .hero-heading {
    justify-content: flex-start;
    margin-bottom: 0.7rem;
    gap: 0.85rem;
  }
  .hero-brand-logo {
    width: 3.75rem;
    height: 3.75rem;
  }
  .hero-title {
    font-size: clamp(2.6rem, 3.2vw, 3.6rem);
  }
  .hero-sub {
    max-width: none;
    margin: 0 0 1.1rem;
    font-size: 0.98rem;
    white-space: nowrap;
  }
  .hero-cta {
    justify-content: flex-start;
    margin-bottom: 1.15rem;
  }
  .hero-stats {
    max-width: 100%;
  }
  .hero-preview {
    width: 100%;
    min-width: 0;
  }
  .hero-preview .preview-tabs {
    justify-content: flex-start;
  }
}
.hero-preview::before {
  content: '';
  position: absolute;
  inset: -18px -6% 8%;
  background: radial-gradient(ellipse at center, hsl(270 90% 65% / 0.22), transparent 68%);
  filter: blur(36px);
  z-index: -1;
}
.preview-frame {
  width: 100%;
  background: hsl(260 22% 6%);
  border: 1px solid hsl(270 28% 70% / 0.18);
  border-radius: 14px;
  overflow: hidden;
  box-shadow:
    0 14px 36px hsl(270 45% 18% / 0.14),
    0 0 0 1px hsl(0 0% 100% / 0.03) inset;
}
html.dark .preview-frame {
  background: hsl(260 22% 5%);
  border-color: hsl(270 16% 26% / 0.65);
  box-shadow:
    0 16px 40px hsl(0 0% 0% / 0.38),
    0 0 0 1px hsl(0 0% 100% / 0.03) inset;
}
.preview-bar,
.preview-url,
.dot { display: none !important; }

.preview-viewport {
  width: 100%;
  aspect-ratio: 1280 / 601;
  position: relative;
  overflow: hidden;
  contain: paint;
  background: hsl(260 22% 5%);
}

@media (min-width: 1080px) {
  .preview-tabs {
    margin-top: 0.55rem;
    gap: 0.3rem;
  }
  .preview-tab {
    padding: 0.3rem 0.7rem;
    font-size: 0.72rem;
  }
}
html.dark .preview-viewport {
  background: hsl(260 22% 4%);
}

.preview-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}
.preview-slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  display: block;
  overflow: hidden;
  position: relative;
  background: hsl(260 22% 5%);
}
.preview-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.preview-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: hsl(var(--card) / 0.85);
  backdrop-filter: blur(10px);
  border: 1px solid hsl(var(--border));
  color: hsl(var(--primary));
  cursor: pointer;
  box-shadow: var(--shadow-md);
  transition: all 0.25s ease;
  opacity: 0;
  z-index: 2;
}
.hero-preview:hover .preview-arrow { opacity: 1; }
.preview-arrow:hover {
  background: linear-gradient(135deg, hsl(270 90% 65%), hsl(320 85% 65%));
  color: white;
  border-color: transparent;
  transform: translateY(-50%) scale(1.08);
}
.preview-prev { left: 1rem; }
.preview-next { right: 1rem; }

.preview-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.25rem;
}
.preview-tab {
  padding: 0.45rem 1.1rem;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  color: hsl(var(--muted-foreground));
  background: hsl(var(--card) / 0.6);
  border: 1px solid hsl(var(--border));
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.25s ease;
}
.preview-tab:hover {
  color: hsl(var(--primary));
  border-color: hsl(var(--primary) / 0.4);
}
.preview-tab.active {
  color: white;
  background: linear-gradient(135deg, hsl(270 90% 65%), hsl(320 85% 65%));
  border-color: transparent;
  box-shadow: 0 4px 14px hsl(270 90% 65% / 0.4);
}

@media (max-width: 640px) {
  .preview-arrow { width: 34px; height: 34px; opacity: 1; }
  .preview-prev { left: 0.5rem; }
  .preview-next { right: 0.5rem; }
  .preview-tab { font-size: 0.75rem; padding: 0.35rem 0.85rem; }
}

.placeholder-content {
  text-align: center;
  color: hsl(var(--muted-foreground));
  padding: 1.5rem;
}
.placeholder-content svg {
  margin: 0 auto 0.85rem;
  color: hsl(var(--primary));
  opacity: 0.65;
}
.placeholder-title {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: hsl(var(--foreground));
  margin-bottom: 0.25rem;
}
.placeholder-hint {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  opacity: 0.75;
}
.placeholder-content-sm .placeholder-title { font-size: 0.9rem; }
.placeholder-content-sm .placeholder-hint { font-size: 0.625rem; }

.mobile-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 390px);
  gap: clamp(1.25rem, 4vw, 3rem);
  align-items: start;
  margin-top: 1.25rem;
}
.mobile-showcase.app-only {
  grid-template-columns: 1fr;
  justify-items: center;
}
.mobile-strips { flex: 1; min-width: 0; align-self: start; }

.app-gallery {
  width: min(100%, 390px);
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.7rem;
  justify-items: center;
  align-items: start;
}
.app-gallery.multi {
  width: 100%;
  grid-template-columns: 1fr;
}
.app-carousel-viewport {
  width: 100%;
  overflow: hidden;
  contain: paint;
}
.app-carousel-track {
  display: flex;
  width: 100%;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}
.app-carousel-slide {
  flex: 0 0 100%;
  width: 100%;
  display: grid;
  justify-items: center;
  min-width: 0;
}
.app-carousel-arrow {
  position: absolute;
  top: 46%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: hsl(var(--background) / 0.72);
  backdrop-filter: blur(12px);
  border: 1px solid hsl(var(--border) / 0.72);
  color: hsl(var(--primary));
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
  z-index: 3;
}
.app-gallery:hover .app-carousel-arrow,
.app-gallery:focus-within .app-carousel-arrow {
  opacity: 1;
  pointer-events: auto;
}
.app-carousel-arrow:hover,
.app-carousel-arrow:focus-visible {
  background: hsl(var(--card) / 0.94);
  border-color: hsl(var(--primary) / 0.35);
  color: hsl(var(--primary));
  transform: translateY(-50%) scale(1.06);
  outline: none;
}
.app-carousel-prev { left: 0.25rem; }
.app-carousel-next { right: 0.25rem; }
.app-carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.45rem;
  min-height: 12px;
}
.app-carousel-dot {
  width: 7px;
  height: 7px;
  border: 0;
  border-radius: 9999px;
  background: hsl(var(--muted-foreground) / 0.32);
  cursor: pointer;
  transition: width 0.2s ease, background 0.2s ease;
}
.app-carousel-dot.active {
  width: 20px;
  background: linear-gradient(135deg, hsl(270 90% 65%), hsl(320 85% 65%));
}

.iphone-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  justify-content: center;
  padding: 0.5rem;
  position: relative;
  min-width: 0;
}
.iphone-frame {
  width: clamp(212px, 23vw, 306px);
  aspect-ratio: 9 / 19.58;
  background:
    linear-gradient(145deg, hsl(264 24% 24%), hsl(260 18% 7%) 56%, hsl(276 18% 16%));
  border-radius: clamp(36px, 4.7vw, 52px);
  padding: clamp(2.75px, 0.34vw, 4px);
  position: relative;
  box-shadow:
    var(--shadow-xl),
    0 0 0 1px hsl(280 20% 46% / 0.45) inset,
    0 0 0 2px hsl(260 18% 6% / 0.9),
    0 18px 38px hsl(260 25% 16% / 0.22);
}
.iphone-frame::before,
.iphone-frame::after {
  content: '';
  position: absolute;
  width: 1.5px;
  border-radius: 999px;
  background: linear-gradient(180deg, hsl(270 22% 42%), hsl(264 18% 15%));
  opacity: 0.85;
}
.iphone-frame::before {
  left: -2.5px;
  top: 18%;
  height: 13%;
  box-shadow: 0 58px 0 hsl(264 18% 18% / 0.9);
}
.iphone-frame::after {
  right: -2.5px;
  top: 25%;
  height: 15%;
}
.app-gallery.multi .iphone-frame {
  width: clamp(212px, 23vw, 306px);
}
html.dark .iphone-frame {
  background:
    linear-gradient(145deg, hsl(264 26% 27%), hsl(260 22% 6%) 58%, hsl(276 24% 15%));
  box-shadow:
    var(--shadow-xl),
    0 0 0 1px hsl(280 30% 42% / 0.45) inset,
    0 0 0 2px hsl(260 20% 4% / 0.95),
    0 18px 38px hsl(260 60% 8% / 0.38);
}
.iphone-status-bar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: clamp(38px, 7.8%, 46px);
  z-index: 4;
  color: hsl(230 18% 9%);
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', var(--font-sans);
  pointer-events: none;
}
.iphone-status-svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}
.iphone-status-time {
  fill: currentColor;
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', var(--font-sans);
  font-size: 16px;
  font-weight: 650;
  letter-spacing: 0;
  font-variant-numeric: tabular-nums;
}
.iphone-island-body {
  fill: hsl(235 18% 3%);
  filter: drop-shadow(0 3px 7px hsl(0 0% 0% / 0.23));
}
.iphone-island-highlight {
  fill: hsl(0 0% 100% / 0.08);
  filter: blur(1.6px);
}
.iphone-island-camera {
  background:
    radial-gradient(circle at 38% 34%, hsl(214 64% 34%), hsl(229 32% 5%) 68%);
  fill: hsl(224 34% 8%);
  opacity: 0.78;
}
.iphone-status-signal,
.iphone-status-wifi,
.iphone-status-battery {
  fill: currentColor;
}
.iphone-battery-shell {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.2;
}
.iphone-battery-tip {
  fill: currentColor;
  opacity: 0.45;
}
.iphone-battery-fill {
  fill: currentColor;
}
.iphone-frame.has-app-image .iphone-screen {
  background: hsl(220 25% 97%);
}
html.dark .iphone-frame.has-app-image .iphone-screen {
  background: hsl(220 16% 10%);
}
html.dark .iphone-status-bar {
  color: hsl(0 0% 96%);
}
.iphone-screen {
  width: 100%;
  height: 100%;
  border-radius: clamp(33px, 4.45vw, 49px);
  background:
    radial-gradient(circle at 30% 30%, hsl(270 80% 85% / 0.8), transparent 60%),
    radial-gradient(circle at 70% 70%, hsl(320 80% 85% / 0.7), transparent 60%),
    hsl(var(--muted));
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.iphone-screen::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: clamp(42px, 8.3%, 49px);
  z-index: 3;
  background: hsl(220 30% 98% / 0.985);
  box-shadow: 0 1px 0 hsl(220 18% 90% / 0.72);
  pointer-events: none;
}
html.dark .iphone-screen {
  background:
    radial-gradient(circle at 30% 30%, hsl(270 60% 25% / 0.8), transparent 60%),
    radial-gradient(circle at 70% 70%, hsl(320 60% 25% / 0.7), transparent 60%),
    hsl(var(--muted));
}
html.dark .iphone-screen::before {
  background: hsl(224 18% 8% / 0.965);
  box-shadow: 0 1px 0 hsl(224 12% 18% / 0.82);
}
.iphone-screen img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center top;
  display: block;
}

.app-caption {
  max-width: 220px;
  text-align: center;
}
.app-caption-title {
  font-weight: 700;
  font-size: 0.82rem;
  color: hsl(var(--foreground));
}
.app-caption-sub {
  margin-top: 0.15rem;
  font-size: 0.7rem;
  color: hsl(var(--muted-foreground));
}

@media (max-width: 820px) {
  .mobile-showcase {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .app-gallery { order: -1; grid-template-columns: 1fr; }
  .app-gallery.multi { width: min(100%, 340px); }
  .app-carousel-arrow { display: none; }
}

.main {
  width: 100%;
  flex: 1 0 auto;
  max-width: min(1760px, calc(100vw - 1.5rem));
  margin: 0 auto;
  padding: 0 clamp(1rem, 2vw, 1.75rem) 3rem;
}

.section { margin-bottom: 4rem; }
.section:last-child { margin-bottom: 0; }

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 1.75rem;
  gap: 1rem;
  flex-wrap: wrap;
}
.section-title {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 400;
  color: hsl(var(--foreground));
  margin-bottom: 0.25rem;
  letter-spacing: 0;
}
.section-sub {
  font-size: 0.9rem;
  color: hsl(var(--muted-foreground));
}
.section-chip {
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  border: 1px solid hsl(var(--border));
  background: hsl(var(--card) / 0.6);
  backdrop-filter: blur(8px);
}
.chip-primary { color: hsl(270 90% 55%); border-color: hsl(270 90% 85%); background: hsl(270 80% 96%); }
.chip-pink    { color: hsl(320 80% 50%); border-color: hsl(320 80% 85%); background: hsl(320 80% 96%); }
.chip-cyan    { color: hsl(190 80% 40%); border-color: hsl(190 80% 80%); background: hsl(190 70% 95%); }
.chip-indigo  { color: hsl(240 70% 55%); border-color: hsl(240 70% 85%); background: hsl(240 70% 96%); }

.spotlight {
  position: relative;
  padding: 3rem;
  border-radius: calc(var(--radius) + 0.5rem);
  background:
    radial-gradient(circle at 15% 20%, hsl(270 90% 92% / 0.9), transparent 55%),
    radial-gradient(circle at 85% 80%, hsl(320 90% 92% / 0.9), transparent 55%),
    hsl(var(--card) / 0.7);
  backdrop-filter: blur(20px);
  border: 1px solid hsl(var(--border));
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.spotlight::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 0%, hsl(270 90% 65% / 0.04) 100%);
  pointer-events: none;
}
html.dark .spotlight {
  background:
    radial-gradient(circle at 15% 20%, hsl(270 70% 28% / 0.22), transparent 55%),
    radial-gradient(circle at 85% 80%, hsl(320 65% 26% / 0.16), transparent 55%),
    hsl(var(--card) / 0.92);
  border-color: hsl(var(--border));
  box-shadow: 0 18px 36px -18px hsl(0 0% 0% / 0.75);
}
html.dark .spotlight::before {
  background: linear-gradient(135deg, transparent 0%, hsl(270 80% 55% / 0.03) 100%);
  opacity: 0.35;
}

.spotlight-head { margin-bottom: 2.25rem; position: relative; }
.spotlight-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.85rem;
  background: linear-gradient(135deg, hsl(270 90% 65%), hsl(320 85% 65%));
  color: hsl(var(--primary-foreground));
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 0.85rem;
  box-shadow: 0 4px 16px hsl(270 90% 65% / 0.3);
}

.spotlight-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.75rem 2rem;
  position: relative;
}
.spot-item {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
}
.spot-icon {
  width: 44px; height: 44px;
  flex-shrink: 0;
  border-radius: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, hsl(270 90% 75%), hsl(320 85% 75%));
  color: white;
  box-shadow: 0 6px 18px hsl(270 90% 65% / 0.35);
}
.spot-title {
  font-weight: 700;
  font-size: 0.975rem;
  margin-bottom: 0.25rem;
  color: hsl(var(--foreground));
}
.spot-desc {
  font-size: 0.85rem;
  color: hsl(var(--muted-foreground));
  line-height: 1.55;
}

.user-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
}
.user-card {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  padding: 1.25rem;
  background: hsl(var(--card) / 0.75);
  backdrop-filter: blur(10px);
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}
.user-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: hsl(270 70% 85%);
}
.user-icon {
  width: 42px; height: 42px;
  flex-shrink: 0;
  border-radius: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}
.icon-primary { background: linear-gradient(135deg, hsl(270 90% 70%), hsl(270 85% 60%)); box-shadow: 0 6px 16px hsl(270 90% 65% / 0.3); }
.icon-pink    { background: linear-gradient(135deg, hsl(320 85% 70%), hsl(340 80% 65%)); box-shadow: 0 6px 16px hsl(320 85% 65% / 0.3); }
.icon-cyan    { background: linear-gradient(135deg, hsl(190 80% 60%), hsl(210 80% 60%)); box-shadow: 0 6px 16px hsl(190 80% 55% / 0.3); }
.icon-indigo  { background: linear-gradient(135deg, hsl(240 80% 70%), hsl(260 80% 70%)); box-shadow: 0 6px 16px hsl(240 80% 65% / 0.3); }
.icon-rose    { background: linear-gradient(135deg, hsl(340 85% 70%), hsl(360 80% 70%)); box-shadow: 0 6px 16px hsl(340 85% 65% / 0.3); }

.user-title {
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 0.3rem;
  color: hsl(var(--foreground));
}
.user-desc {
  font-size: 0.825rem;
  color: hsl(var(--muted-foreground));
  line-height: 1.55;
}

.strip-list {
  background: hsl(var(--card) / 0.75);
  backdrop-filter: blur(10px);
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.strip-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 1.5rem;
  transition: background 0.2s ease;
}
.strip-item:hover {
  background: hsl(var(--accent) / 0.4);
}
.strip-item + .strip-item {
  border-top: 1px solid hsl(var(--border));
}
.strip-icon {
  width: 42px; height: 42px;
  flex-shrink: 0;
  border-radius: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}
.strip-body { flex: 1; min-width: 0; }
.strip-title {
  font-weight: 700;
  font-size: 0.925rem;
  margin-bottom: 0.2rem;
  color: hsl(var(--foreground));
}
.strip-desc {
  font-size: 0.8rem;
  color: hsl(var(--muted-foreground));
  line-height: 1.5;
}
.strip-tag {
  padding: 0.3rem 0.75rem;
  font-size: 0.7rem;
  font-weight: 700;
  color: hsl(var(--secondary-foreground));
  background: hsl(var(--secondary));
  border-radius: 9999px;
  white-space: nowrap;
  flex-shrink: 0;
}
@media (max-width: 640px) {
  .strip-tag { display: none; }
  .strip-item { padding: 1rem; }
}

.section > .strip-list + .strip-list,
.section > .pill-grid + .strip-list {
  margin-top: 1rem;
}

.pill-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0.85rem;
  margin-bottom: 1rem;
}
.pill {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.15rem;
  background: hsl(var(--card) / 0.75);
  backdrop-filter: blur(10px);
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: all 0.25s ease;
}
.pill:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.pill-icon {
  width: 36px; height: 36px;
  flex-shrink: 0;
  border-radius: 0.7rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}
.pill-title {
  font-weight: 700;
  font-size: 0.875rem;
  color: hsl(var(--foreground));
}
.pill-sub {
  font-size: 0.725rem;
  color: hsl(var(--muted-foreground));
  margin-top: 0.1rem;
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.85rem;
}
.tech {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1.1rem 1.25rem;
  background: hsl(var(--card) / 0.75);
  backdrop-filter: blur(10px);
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: all 0.25s ease;
}
.tech:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: hsl(270 70% 85%);
}
.tech-icon {
  width: 38px; height: 38px;
  flex-shrink: 0;
  border-radius: 0.7rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: hsl(var(--muted));
  color: hsl(var(--primary));
}
.tech-title {
  font-weight: 700;
  font-size: 0.9rem;
  color: hsl(var(--foreground));
}
.tech-sub {
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
  margin-top: 0.1rem;
}

.faq-list { display: flex; flex-direction: column; gap: 0.6rem; }
.faq-item {
  background: hsl(var(--card) / 0.75);
  backdrop-filter: blur(10px);
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}
.faq-item:hover {
  box-shadow: var(--shadow-md);
  border-color: hsl(270 70% 85%);
}
.faq-item.open {
  box-shadow: var(--shadow-md);
  border-color: hsl(270 80% 80%);
  background: hsl(var(--card) / 0.92);
}
.faq-toggle {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.15rem 1.5rem;
  cursor: pointer;
  user-select: none;
  font-weight: 600;
  font-size: 0.925rem;
  color: hsl(var(--foreground));
}
.faq-arrow {
  color: hsl(var(--primary));
  transition: transform 0.3s ease;
  flex-shrink: 0;
  margin-left: 1rem;
}
.faq-item.open .faq-arrow { transform: rotate(180deg); }
.faq-content {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  overflow: hidden;
  transition: grid-template-rows 0.22s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.16s ease;
  color: hsl(var(--muted-foreground));
  font-size: 0.875rem;
  line-height: 1.65;
}
.faq-answer {
  min-height: 0;
  overflow: hidden;
}
.faq-answer-inner {
  padding: 0 1.5rem 1.25rem;
}
.faq-content p { margin: 0; }
.faq-content p + p { margin-top: 0.55rem; }
.faq-item.open .faq-content {
  grid-template-rows: 1fr;
  opacity: 1;
}

@media (max-width: 959px) {
  .hero-sub { max-width: 640px; white-space: normal; }
}

.footer {
  border-top: 1px solid hsl(var(--border));
  padding: 0.7rem 1.25rem;
  text-align: left;
  color: hsl(var(--muted-foreground));
  font-size: 0.8125rem;
  background: hsl(var(--card) / 0.55);
  backdrop-filter: blur(10px);
}
.footer-inner {
  width: 100%;
  max-width: min(1760px, calc(100vw - 2rem));
  margin: 0 auto;
  min-height: 2.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.25rem;
}
.footer-text {
  margin: 0;
  font-size: 0.72rem;
  line-height: 1.35;
  color: hsl(var(--muted-foreground) / 0.9);
  white-space: nowrap;
}
.footer-end {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.65rem 1rem;
  flex: none;
  min-width: 0;
}
.footer-links {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.15rem 0.85rem;
  margin: 0;
  flex: 1 1 auto;
}
.footer-links a {
  color: hsl(var(--muted-foreground));
  font-weight: 600;
  opacity: 1;
  transition: color 0.2s ease;
}
.footer-link,
.footer-note {
  --footer-accent: hsl(var(--primary));
  --footer-accent-soft: hsl(var(--primary) / 0.12);
  --footer-accent-line: hsl(var(--primary) / 0.22);
}
.footer-tone-pink {
  --footer-accent: hsl(var(--chart-2));
  --footer-accent-soft: hsl(var(--chart-2) / 0.12);
  --footer-accent-line: hsl(var(--chart-2) / 0.22);
}
.footer-tone-cyan {
  --footer-accent: hsl(var(--chart-3));
  --footer-accent-soft: hsl(var(--chart-3) / 0.12);
  --footer-accent-line: hsl(var(--chart-3) / 0.22);
}
.footer-tone-indigo {
  --footer-accent: hsl(var(--chart-4));
  --footer-accent-soft: hsl(var(--chart-4) / 0.12);
  --footer-accent-line: hsl(var(--chart-4) / 0.22);
}
.footer-tone-rose {
  --footer-accent: hsl(var(--chart-5));
  --footer-accent-soft: hsl(var(--chart-5) / 0.12);
  --footer-accent-line: hsl(var(--chart-5) / 0.22);
}
.footer-links a.footer-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 1.75rem;
  line-height: 1.15;
  white-space: nowrap;
  font-size: 0.78rem;
}
.footer-label,
.footer-note-copy {
  min-width: 0;
  display: inline-block;
}
.footer-icon {
  width: 1.2rem;
  height: 1.2rem;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 999px;
  color: var(--footer-accent);
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.footer-icon svg {
  width: 0.78rem;
  height: 0.78rem;
  display: block;
  stroke-width: 2;
}
.footer-icon.footer-icon-image,
.footer-icon-style-line .footer-icon.footer-icon-image,
.footer-icon-style-soft .footer-icon.footer-icon-image,
.footer-icon-style-solid .footer-icon.footer-icon-image {
  width: 1rem;
  height: 1rem;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  color: inherit;
}
.footer-icon.footer-icon-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}
.footer-icon-style-line .footer-icon {
  background: transparent;
  border: 1px solid transparent;
}
.footer-icon-style-soft .footer-icon {
  background: var(--footer-accent-soft);
  border: 1px solid var(--footer-accent-line);
}
.footer-icon-style-solid .footer-icon {
  background: var(--footer-accent);
  color: white;
  box-shadow: none;
}
.footer-layout-break {
  flex-basis: auto;
}
.footer-links a:hover {
  color: var(--footer-accent, hsl(var(--primary)));
}
.footer-notes {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 0.35rem 0.85rem;
  max-width: none;
  margin: 0;
  font-size: 0.75rem;
  line-height: 1.35;
  color: hsl(var(--muted-foreground) / 0.92);
  flex: none;
}
.footer-note {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  max-width: 100%;
  line-height: 1.25;
  white-space: nowrap;
}
.footer-formal {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 0.35rem 0.75rem;
  margin: 0;
  font-size: 0.72rem;
  color: hsl(var(--muted-foreground) / 0.82);
}
.footer-formal a { color: inherit; }
.footer-formal a:hover { color: hsl(var(--primary)); }
.heart {
  color: hsl(var(--chart-5));
  display: inline-block;
  animation: pulse 1.6s ease-in-out infinite;
}
@media (max-width: 900px) {
  .footer { padding: 0.85rem 1rem; }
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.55rem;
  }
  .footer-links { justify-content: flex-start; width: 100%; }
  .footer-end {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
  }
  .footer-text { white-space: normal; }
  .footer-links a.footer-link,
  .footer-note {
    white-space: normal;
  }
}
@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.15); }
}

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, hsl(270 80% 80%), hsl(320 80% 80%));
  border-radius: 10px;
  border: 2px solid hsl(var(--background));
}
::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, hsl(270 80% 70%), hsl(320 80% 70%));
}

@media (max-width: 768px) {
  .spotlight { padding: 2rem 1.5rem; }
  .section-head { align-items: flex-start; }
}

:root {
  --shell-max: 1760px;
}

@media (min-width: 1280px) {
  .user-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
  }
  .spotlight-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .strip-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
  }
  .strip-item { margin: 0; }
  .pill-grid, .tech-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 1500px) {
  .hero-inner {
    grid-template-columns: minmax(320px, 0.82fr) minmax(0, 1.65fr);
  }
  .hero-title {
    font-size: clamp(2.8rem, 3vw, 3.75rem);
  }
}

.preview-viewport {
  min-height: 0;
}
@media (max-width: 900px) {
  .preview-viewport {
    width: 100%;
    aspect-ratio: 1280 / 601;
  }
}

.mobile-cta-bar {
  display: none;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 40;
  padding: 0.65rem 0.85rem calc(0.65rem + env(safe-area-inset-bottom));
  background: hsl(var(--card) / 0.92);
  backdrop-filter: blur(16px);
  border-top: 1px solid hsl(var(--border));
  gap: 0.55rem;
  box-shadow: 0 -10px 30px hsl(270 50% 20% / 0.12);
}
.mobile-cta-bar .btn {
  flex: 1;
  justify-content: center;
  min-height: 44px;
  padding: 0.7rem 0.9rem;
}
@media (max-width: 768px) {
  .mobile-cta-bar { display: flex; }
  body { padding-bottom: calc(4.5rem + env(safe-area-inset-bottom)); }
  .hero { padding: 3.25rem 1rem 2.25rem; }
  .hero-brand-logo { width: 2.75rem; height: 2.75rem; border-radius: 0; }
  .hero-title { font-size: clamp(2.55rem, 11vw, 3.4rem); }
  .hero-sub {
    font-size: 0.98rem;
    max-width: none;
    margin-bottom: 1.1rem;
    white-space: normal;
  }
  .hero-cta { width: 100%; justify-content: flex-start; }
  .hero-cta .btn { flex: 1 1 auto; justify-content: center; }
  .hero-stats {
    width: 100%;
    max-width: none;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem 0.5rem;
  }
  .stat {
    padding: 0;
    border-left: 0;
  }
  .stat:first-child { padding-left: 0; }
  .section { margin-bottom: 2.75rem; }
  .section-title { font-size: 1.45rem; }
  .user-grid, .spotlight-grid {
    grid-template-columns: 1fr;
  }
  .spotlight { padding: 1.35rem 1.1rem; }
  .theme-toggle {
    top: auto;
    bottom: calc(4.75rem + env(safe-area-inset-bottom));
    right: 0.85rem;
    width: 42px;
    height: 42px;
  }
}

.user-card, .spot-item, .strip-item {
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.user-card:hover, .strip-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: hsl(var(--primary) / 0.35);
}
