/* ============================================
   Glow Color — Apple-inspired Design System
   ============================================ */

:root {
  --black: #000000;
  --white: #ffffff;
  --gray-50: #fafafa;
  --gray-100: #f5f5f7;
  --gray-200: #e8e8ed;
  --gray-400: #86868b;
  --gray-600: #6e6e73;
  --gray-800: #1d1d1f;
  --pink: #ff6b9d;
  --purple: #a855f7;
  --violet: #7c3aed;
  --gradient-brand: linear-gradient(135deg, #ff6b9d 0%, #a855f7 50%, #6366f1 100%);
  --gradient-hero: radial-gradient(ellipse at 50% 0%, rgba(168, 85, 247, 0.15) 0%, transparent 60%),
                   radial-gradient(ellipse at 80% 50%, rgba(255, 107, 157, 0.1) 0%, transparent 50%),
                   radial-gradient(ellipse at 20% 80%, rgba(99, 102, 241, 0.08) 0%, transparent 50%);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', 'Helvetica Neue', sans-serif;
  --nav-height: 52px;
  --max-width: 1200px;
  --transition: 0.6s cubic-bezier(0.25, 0.1, 0.25, 1);
  --transition-fast: 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);
}

*, *::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: var(--font);
  color: var(--gray-800);
  background: var(--black);
  overflow-x: hidden;
  line-height: 1.5;
}

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

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

ul {
  list-style: none;
}

/* ---- Navigation ---- */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  transition: background var(--transition-fast), backdrop-filter var(--transition-fast), border-color var(--transition-fast);
  border-bottom: 1px solid transparent;
}

.nav.scrolled {
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 600;
  color: var(--white);
  letter-spacing: -0.01em;
}

.nav-logo-icon {
  width: 28px;
  height: 28px;
  border-radius: 7px;
}

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

.nav-links a {
  font-size: 13px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.72);
  transition: color var(--transition-fast);
  letter-spacing: -0.01em;
}

.nav-links a:hover {
  color: var(--white);
}

.nav-cta {
  font-size: 13px;
  font-weight: 500;
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
  padding: 6px 16px;
  border-radius: 980px;
  transition: background var(--transition-fast);
  letter-spacing: -0.01em;
}

.nav-cta:hover {
  background: rgba(255, 255, 255, 0.2);
}

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

.nav-toggle span {
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--white);
  transition: transform var(--transition-fast), opacity var(--transition-fast);
}

.nav-toggle.active span:first-child {
  transform: translateY(3.75px) rotate(45deg);
}

.nav-toggle.active span:last-child {
  transform: translateY(-3.75px) rotate(-45deg);
}

/* ---- Hero ---- */

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--nav-height) + 40px) 24px 80px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: var(--black);
  background-image: var(--gradient-hero);
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
  animation: float 8s ease-in-out infinite;
}

.hero-glow-1 {
  width: 500px;
  height: 500px;
  background: rgba(168, 85, 247, 0.25);
  top: -10%;
  left: 50%;
  transform: translateX(-50%);
}

.hero-glow-2 {
  width: 350px;
  height: 350px;
  background: rgba(255, 107, 157, 0.2);
  bottom: 10%;
  right: -5%;
  animation-delay: -3s;
}

.hero-glow-3 {
  width: 300px;
  height: 300px;
  background: rgba(99, 102, 241, 0.15);
  bottom: 20%;
  left: -5%;
  animation-delay: -5s;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0); }
  33% { transform: translate(20px, -20px); }
  66% { transform: translate(-15px, 15px); }
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 780px;
}

.hero-icon-wrap {
  margin-bottom: 28px;
}

.hero-icon {
  width: 120px;
  height: 120px;
  border-radius: 28px;
  margin: 0 auto;
  box-shadow: 0 20px 60px rgba(168, 85, 247, 0.3),
              0 0 0 1px rgba(255, 255, 255, 0.08);
  transition: transform var(--transition);
}

.hero-icon:hover {
  transform: scale(1.05);
}

.hero-eyebrow {
  font-size: 14px;
  font-weight: 500;
  color: var(--pink);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.hero-title {
  margin-bottom: 24px;
}

.hero-title-line {
  display: block;
  font-size: clamp(48px, 8vw, 80px);
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.hero-title-accent {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: clamp(16px, 2.2vw, 20px);
  font-weight: 400;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.6;
  max-width: 620px;
  margin: 0 auto 36px;
  letter-spacing: -0.01em;
}

.hero-actions {
  display: flex;
  justify-content: center;
}

.app-store-link {
  display: inline-block;
  transition: transform var(--transition-fast), opacity var(--transition-fast);
}

.app-store-link:hover {
  transform: scale(1.04);
  opacity: 0.9;
}

.app-store-badge {
  height: 54px;
  width: auto;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.35);
  font-size: 12px;
  letter-spacing: 0.02em;
  animation: fadeInUp 1s ease 1.5s both;
}

.scroll-arrow {
  width: 20px;
  height: 20px;
  border-right: 1.5px solid rgba(255, 255, 255, 0.3);
  border-bottom: 1.5px solid rgba(255, 255, 255, 0.3);
  transform: rotate(45deg);
  animation: bounce 2s ease infinite;
}

@keyframes bounce {
  0%, 100% { transform: rotate(45deg) translateY(0); }
  50% { transform: rotate(45deg) translateY(6px); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateX(-50%) translateY(16px); }
  to { opacity: 1; transform: translateX(-50%) translateY(0); }
}

/* ---- Features ---- */

.feature {
  padding: 120px 24px;
  position: relative;
}

.feature-dark {
  background: var(--black);
  color: var(--white);
}

.feature-light {
  background: var(--gray-100);
  color: var(--gray-800);
}

.feature-gradient {
  background: linear-gradient(180deg, var(--gray-100) 0%, var(--white) 50%, var(--gray-100) 100%);
  padding: 140px 24px;
  color: var(--gray-800);
}

.feature-gradient .feature-body {
  color: var(--gray-600);
}

.feature-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.feature-reverse {
  direction: rtl;
}

.feature-reverse > * {
  direction: ltr;
}

.feature-emoji {
  font-size: 36px;
  display: block;
  margin-bottom: 16px;
}

.feature-heading {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin-bottom: 24px;
}

.feature-body {
  font-size: clamp(16px, 2vw, 19px);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.65);
  letter-spacing: -0.01em;
  max-width: 440px;
}

.feature-light .feature-body {
  color: var(--gray-600);
}

.feature-body-center {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
  color: var(--gray-600);
}

.feature-centered {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.feature-centered .feature-heading {
  color: var(--gray-800);
}

.feature-phone {
  position: relative;
  max-width: 320px;
  margin: 0 auto;
  border-radius: 40px;
  overflow: hidden;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5),
              0 0 0 1px rgba(255, 255, 255, 0.08);
}

.feature-phone::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 40px;
  box-shadow: inset 0 0 0 3px rgba(255, 255, 255, 0.06);
  z-index: 1;
  pointer-events: none;
}

.feature-phone img {
  width: 100%;
  aspect-ratio: 9/16;
  object-fit: cover;
}

.feature-image-card {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35),
              0 0 0 1px rgba(255, 255, 255, 0.06);
  transition: transform var(--transition), box-shadow var(--transition);
}

.feature-image-card:hover {
  transform: scale(1.02);
  box-shadow: 0 40px 80px rgba(168, 85, 247, 0.2),
              0 0 0 1px rgba(255, 255, 255, 0.08);
}

.feature-image-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

/* ---- Gallery ---- */

.gallery {
  background: var(--black);
  padding: 120px 24px;
}

.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 64px;
}

.section-title {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: clamp(16px, 2vw, 19px);
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: -0.01em;
  line-height: 1.5;
}

.gallery-full {
  max-width: var(--max-width);
  margin: 0 auto;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}

.gallery-full img {
  width: 100%;
  height: auto;
  display: block;
}

/* ---- Showcase ---- */

.showcase {
  background: var(--gray-100);
  padding: 120px 24px;
}

.showcase-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  align-items: center;
}

.showcase-text .section-title {
  color: var(--gray-800);
  text-align: left;
}

.showcase-text .section-subtitle {
  color: var(--gray-600);
  text-align: left;
  margin-bottom: 32px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 500;
  color: var(--white);
  background: var(--black);
  padding: 14px 28px;
  border-radius: 980px;
  transition: background var(--transition-fast), transform var(--transition-fast);
  letter-spacing: -0.01em;
}

.btn-primary:hover {
  background: var(--gray-800);
  transform: scale(1.03);
}

.showcase-visual {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
}

.showcase-visual img {
  width: 100%;
  border-radius: 20px;
}

/* ---- CTA Banner ---- */

.cta-banner {
  background: var(--black);
  padding: 120px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-hero);
  opacity: 0.6;
}

.cta-inner {
  position: relative;
  z-index: 1;
  max-width: 500px;
  margin: 0 auto;
}

.cta-icon {
  width: 80px;
  height: 80px;
  border-radius: 20px;
  margin: 0 auto 28px;
  box-shadow: 0 16px 40px rgba(168, 85, 247, 0.25);
}

.cta-title {
  font-size: clamp(32px, 4.5vw, 48px);
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 16px;
}

.cta-desc {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 32px;
  letter-spacing: -0.01em;
}

/* ---- Footer ---- */

.footer {
  background: var(--gray-800);
  padding: 64px 24px 32px;
  color: rgba(255, 255, 255, 0.72);
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 40px;
}

.footer-icon {
  width: 36px;
  height: 36px;
  border-radius: 9px;
}

.footer-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--white);
  letter-spacing: -0.01em;
}

.footer-heading {
  font-size: 13px;
  font-weight: 600;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}

.footer-link {
  display: block;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 8px;
  transition: color var(--transition-fast);
  letter-spacing: -0.01em;
}

.footer-link:hover {
  color: var(--white);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-copy {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.35);
}

.footer-download {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
  transition: color var(--transition-fast);
}

.footer-download:hover {
  color: var(--white);
}

/* ---- Scroll Animations ---- */

.reveal,
.reveal-left,
.reveal-right {
  opacity: 0;
  transition: opacity 0.8s cubic-bezier(0.25, 0.1, 0.25, 1),
              transform 0.8s cubic-bezier(0.25, 0.1, 0.25, 1);
  transition-delay: var(--delay, 0s);
}

.reveal {
  transform: translateY(40px);
}

.reveal-left {
  transform: translateX(-40px);
}

.reveal-right {
  transform: translateX(40px);
}

.reveal.visible,
.reveal-left.visible,
.reveal-right.visible {
  opacity: 1;
  transform: translate(0, 0);
}

/* ---- Mobile Menu ---- */

.nav.mobile-open .nav-links {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 24px;
  gap: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav.mobile-open .nav-cta {
  display: none;
}

/* ---- Responsive ---- */

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .feature-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .feature-reverse {
    direction: ltr;
  }

  .feature-text {
    text-align: center;
  }

  .feature-body {
    max-width: 100%;
    margin: 0 auto;
  }

  .feature-heading br {
    display: none;
  }

  .hero-icon {
    width: 96px;
    height: 96px;
    border-radius: 22px;
  }

  .feature {
    padding: 80px 20px;
  }

  .gallery,
  .showcase,
  .cta-banner {
    padding: 80px 20px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-scroll-hint {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal, .reveal-left, .reveal-right {
    opacity: 1;
    transform: none;
  }
}
