/* ─── Reset & Base ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:          #0d0d0f;
  --bg-card:     #1c1c1e;
  --bg-card-2:   #2c2c2e;
  --accent:      #0a84ff;
  --accent-hover:#409cff;
  --text:        #f5f5f7;
  --text-muted:  #98989f;
  --border:      #38383a;
  --radius:      16px;
  --font:        -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); }

/* ─── Nav ──────────────────────────────────────────────────── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  height: 60px;
  background: rgba(13, 13, 15, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
}

.nav-logo-img {
  width: 28px;
  height: 28px;
  border-radius: 0;
  flex-shrink: 0;
}


  font-size: 17px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.3px;
}

.nav-link {
  font-size: 14px;
  color: var(--text-muted);
  transition: color 0.2s;
}

.nav-link:hover { color: var(--text); }

/* ─── Hero ─────────────────────────────────────────────────── */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 120px 24px 100px;
}

.hero-logo {
  width: 80px;
  height: 80px;
  border-radius: 0;
  margin-bottom: 24px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(10, 132, 255, 0.12);
  border: 1px solid rgba(10, 132, 255, 0.3);
  border-radius: 100px;
  padding: 5px 14px;
  font-size: 13px;
  font-weight: 500;
  color: var(--accent);
  margin-bottom: 24px;
  letter-spacing: 0.2px;
}

.hero h1 {
  font-size: clamp(42px, 7vw, 80px);
  font-weight: 700;
  letter-spacing: -2px;
  line-height: 1.05;
  margin-bottom: 20px;
  background: linear-gradient(160deg, #ffffff 40%, #8e8e93);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: clamp(18px, 2.5vw, 22px);
  color: var(--text-muted);
  max-width: 540px;
  margin-bottom: 40px;
  font-weight: 400;
  letter-spacing: -0.2px;
}

.btn-appstore {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--text);
  color: var(--bg);
  border-radius: 14px;
  padding: 13px 24px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.2px;
  transition: transform 0.15s, background 0.15s;
}

.btn-appstore:hover {
  background: #e0e0e5;
  color: var(--bg);
  transform: scale(1.03);
}

.btn-appstore svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

/* ─── Carousel ─────────────────────────────────────────────── */
.carousel-section {
  padding: 0px 0 100px;
  overflow: hidden;
}

.carousel-section h2 {
  text-align: center;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  letter-spacing: -1px;
  margin-bottom: 60px;
  padding: 0 24px;
}

.carousel-wrapper {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 70px;
}

.carousel-track-outer {
  overflow: hidden;
}

.carousel-track {
  display: flex;
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-slide {
  flex: 0 0 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  padding: 8px 10px 0;
}

.carousel-slide:nth-child(odd)  { align-items: flex-end;   padding-right: 20px; }
.carousel-slide:nth-child(even) { align-items: flex-start; padding-left:  20px; }

/* iPhone mockup */
.iphone-frame {
  position: relative;
  width: 320px;
  flex-shrink: 0;
  aspect-ratio: 1310 / 2710;
}

.iphone-frame .screenshot {
  position: absolute;
  inset: 1.6% 4%;
  width: calc(100% - 8%);
  height: calc(100% - 3.2%);
  border-radius: 0;
  z-index: 1;
  display: block;
}

.iphone-frame .frame-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
  display: block;
}

.slide-caption {
  text-align: center;
  max-width: 380px;
  width: 320px;
}

.slide-caption h3 {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.5px;
  margin-bottom: 8px;
}

.slide-caption p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Arrows */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.15s, transform 0.15s;
  z-index: 10;
}

.carousel-btn:hover {
  background: var(--bg-card-2);
  transform: translateY(-50%) scale(1.08);
}

.carousel-btn.prev { left: 58px; }
.carousel-btn.next { right: 58px; }

.carousel-btn svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Dots */
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 36px;
}

.carousel-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--border);
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  padding: 0;
}

.carousel-dot.active {
  background: var(--accent);
  transform: scale(1.3);
}

/* ─── Features ─────────────────────────────────────────────── */
.features {
  padding: 0px 24px 100px;
  max-width: 1000px;
  margin: 0 auto;
}

.features h2 {
  text-align: center;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  letter-spacing: -1px;
  margin-bottom: 60px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: border-color 0.2s, transform 0.2s;
}

.feature-card:hover {
  border-color: rgba(10, 132, 255, 0.4);
  transform: translateY(-3px);
}

.feature-icon {
  font-size: 32px;
  margin-bottom: 16px;
  display: block;
}

.feature-card h3 {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.3px;
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ─── Footer ───────────────────────────────────────────────── */
footer {
  border-top: 1px solid var(--border);
  padding: 32px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-copy {
  font-size: 13px;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-links a {
  font-size: 13px;
  color: var(--text-muted);
  transition: color 0.2s;
}

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

/* ─── Privacy Policy page ──────────────────────────────────── */
.policy-page {
  max-width: 720px;
  margin: 0 auto;
  padding: 120px 24px 80px;
}

.policy-page h1 {
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -1px;
  margin-bottom: 8px;
}

.policy-date {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 48px;
}

.policy-page h2 {
  font-size: 20px;
  font-weight: 600;
  margin: 36px 0 12px;
  letter-spacing: -0.3px;
}

.policy-page p {
  font-size: 15px;
  color: #c7c7cc;
  line-height: 1.7;
  margin-bottom: 12px;
}

.policy-page ul {
  padding-left: 20px;
  margin-bottom: 12px;
}

.policy-page ul li {
  font-size: 15px;
  color: #c7c7cc;
  line-height: 1.7;
  margin-bottom: 4px;
}

.policy-page hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 8px 0;
}

.policy-page a { color: var(--accent); }

/* ─── Responsive ───────────────────────────────────────────── */
@media (max-width: 600px) {
  nav { padding: 0 20px; }

  .hero { padding: 120px 20px 80px; }

  .carousel-wrapper { padding: 0 44px; }

  .carousel-btn.prev { left: 20px; }
  .carousel-btn.next { right: 20px; }

  .carousel-slide {
    flex: 0 0 100%;
    align-items: center !important;
    padding: 8px 0 0 !important;
  }

  .iphone-frame { width: 220px; }

  .slide-caption { width: 220px; }

  footer {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
  }

  .feature-card {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
  }

  .feature-icon {
    margin-bottom: 0;
    margin-right: 10px;
    font-size: 26px;
  }

  .feature-card h3 {
    flex: 1;
    margin-bottom: 0;
  }

  .feature-card p {
    width: 100%;
    margin-top: 8px;
  }
}
