/* ==========================================================================
   DOSE — Minimal Light Apple Design
   ========================================================================== */

:root {
  --bg: #ffffff;
  --bg-subtle: #fbfbfd;
  --bg-card: #f5f5f7;
  --text-main: #1d1d1f;
  --text-secondary: #6e6e73;
  --text-tertiary: #86868b;
  --border: rgba(0, 0, 0, 0.08);
  --border-card: #e5e5ea;
  --max-w: 1040px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-pill: 9999px;
  --shadow-phone: 0 24px 60px -15px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(0, 0, 0, 0.06);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  background-color: var(--bg);
  color: var(--text-main);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

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

.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ==========================================================================
   Header
   ========================================================================== */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  height: 56px;
  display: flex;
  align-items: center;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.brand-icon {
  border-radius: 7px;
}

.brand-name {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.05em;
  color: var(--text-main);
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  font-size: 0.88rem;
}

.nav a {
  color: var(--text-secondary);
  transition: color 0.15s ease;
}
.nav a:hover {
  color: var(--text-main);
}

.nav-cta {
  font-weight: 600;
  color: var(--text-main) !important;
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  padding: 5rem 0 4.5rem;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 3.5rem;
}

.badge {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
  background: var(--bg-card);
  padding: 0.35rem 0.8rem;
  border-radius: var(--radius-pill);
  margin-bottom: 1.4rem;
}

.headline {
  font-size: clamp(3rem, 5.5vw, 4.8rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.05em;
  color: var(--text-main);
  margin-bottom: 1.2rem;
}

.subhead {
  font-size: clamp(1.05rem, 1.3vw, 1.2rem);
  line-height: 1.6;
  color: var(--text-secondary);
  max-width: 30rem;
  margin-bottom: 2.2rem;
}

.hero-cta {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Classic App Store Badge */
.app-store-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 1.3rem 0.6rem 1rem;
  background: #000;
  color: #fff;
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: transform 0.15s ease, background 0.15s ease;
}
.app-store-badge:hover {
  background: #242426;
  transform: translateY(-1px);
}
.apple-icon {
  font-size: 2rem;
  line-height: 1;
}
.app-store-badge small {
  display: block;
  font-size: 0.6rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  opacity: 0.8;
  line-height: 1;
}
.app-store-badge strong {
  display: block;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-top: 0.1rem;
}

/* Phone Mockup */
.hero-device {
  display: flex;
  justify-content: center;
}

.phone {
  width: min(300px, 80vw);
  aspect-ratio: 1206 / 2622;
  background: #fff;
  border-radius: 46px;
  overflow: hidden;
  box-shadow: var(--shadow-phone);
}
.phone img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ==========================================================================
   Features (3 Items)
   ========================================================================== */
.features {
  padding: 5rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-subtle);
}

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

.feature-num {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-tertiary);
  display: block;
  margin-bottom: 0.8rem;
}

.feature-item h3 {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-main);
  margin-bottom: 0.5rem;
}

.feature-item p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ==========================================================================
   Gallery (Light & Dark)
   ========================================================================== */
.gallery {
  padding: 6rem 0;
}

.gallery-inner {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
}

.gallery-card {
  background: var(--bg-subtle);
  border: 1px solid var(--border-card);
  border-radius: 20px;
  padding: 3rem 2rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.gallery-phone {
  width: min(230px, 70vw);
  aspect-ratio: 1206 / 2622;
  border-radius: 36px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(0, 0, 0, 0.06);
  margin-bottom: 2rem;
}
.gallery-phone img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-caption strong {
  display: block;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.2rem;
}
.gallery-caption span {
  font-size: 0.88rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   Download CTA
   ========================================================================== */
.download {
  padding: 5rem 0 6.5rem;
  background: var(--bg-subtle);
  border-top: 1px solid var(--border);
}

.download-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.download-icon {
  border-radius: 16px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
  margin-bottom: 1.5rem;
}

.download-inner h2 {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--text-main);
  margin-bottom: 0.5rem;
}

.download-inner p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.app-store-badge-lg {
  padding: 0.8rem 1.6rem 0.8rem 1.2rem;
}
.app-store-badge-lg .apple-icon {
  font-size: 2.4rem;
}
.app-store-badge-lg strong {
  font-size: 1.35rem;
}

.email-link {
  margin-top: 1.8rem;
  font-size: 0.88rem;
  color: var(--text-secondary);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.email-link:hover {
  color: var(--text-main);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  border-top: 1px solid var(--border);
  padding: 2.5rem 0;
  font-size: 0.84rem;
  color: var(--text-secondary);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.footer-tag {
  color: var(--text-tertiary);
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}
.footer-links a:hover {
  color: var(--text-main);
}

.footer-meta {
  color: var(--text-tertiary);
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 860px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
  }
  .hero-copy {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .hero-cta {
    justify-content: center;
  }
  .features-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .gallery-inner {
    grid-template-columns: 1fr;
  }
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
