/* ========== RESET & BASE ========== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg: #0D0D0D;
  --surface: #111111;
  --card: #1A1A1A;
  --accent: #F97316;
  --accent-end: #EAB308;
  --keep: #22C55E;
  --delete: #DC2626;
  --text: #FFFFFF;
  --text-secondary: rgba(255,255,255,0.5);
  --text-tertiary: rgba(255,255,255,0.3);
  --divider: rgba(255,255,255,0.06);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --max-width: 1200px;
}

html {
  scroll-behavior: smooth;
}

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

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

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

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ========== GRADIENT TEXT ========== */
.gradient-text {
  background: linear-gradient(135deg, var(--accent), var(--accent-end));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ========== NAVIGATION ========== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(13,13,13,0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--divider);
}

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

.nav-logo {
  font-size: 20px;
  font-weight: 800;
}

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

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.2s;
}

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

.nav-cta {
  background: linear-gradient(135deg, var(--accent), var(--accent-end));
  color: white;
  padding: 8px 20px;
  border-radius: var(--radius-md);
  font-size: 13px;
  font-weight: 600;
  transition: opacity 0.2s;
  display: inline-block;
}

.nav-cta:hover {
  opacity: 0.9;
}

.nav-hamburger {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  font-size: 24px;
  cursor: pointer;
  padding: 4px;
}

/* ========== HERO ========== */
.hero {
  padding: 140px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(249,115,22,0.12) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -40%);
  pointer-events: none;
}

.hero-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
  opacity: 0.8;
}

.hero h1 {
  font-size: 52px;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 16px;
  position: relative;
}

.hero-subtitle {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 500px;
  margin: 0 auto 32px;
  line-height: 1.6;
  position: relative;
}

.hero-cta {
  display: inline-block;
  margin-bottom: 48px;
  position: relative;
}

.hero-cta img {
  height: 54px;
}

.app-store-badge {
  display: inline-block;
  background: white;
  color: #000;
  padding: 12px 28px;
  border-radius: var(--radius-md);
  font-size: 15px;
  font-weight: 600;
  transition: transform 0.2s;
}

.app-store-badge:hover {
  transform: scale(1.05);
}

.app-store-badge svg {
  vertical-align: middle;
  margin-right: 8px;
}

/* Phone Mockup */
.phone-mockup {
  width: 280px;
  height: 560px;
  background: var(--surface);
  border-radius: 40px;
  border: 2px solid rgba(249,115,22,0.15);
  margin: 0 auto;
  position: relative;
  box-shadow: 0 30px 80px rgba(249,115,22,0.1), 0 0 0 1px rgba(255,255,255,0.05);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.phone-notch {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 28px;
  background: var(--bg);
  border-radius: 0 0 20px 20px;
}

.phone-screen {
  width: 100%;
  height: 100%;
  padding: 40px 16px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}

/* Swipe Cards inside phone */
.swipe-stack {
  position: relative;
  width: 200px;
  height: 280px;
}

.swipe-card {
  position: absolute;
  width: 200px;
  height: 280px;
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.swipe-card-back {
  background: var(--card);
  top: 8px;
  left: 8px;
  transform: rotate(4deg);
  opacity: 0.6;
}

.swipe-card-mid {
  background: #222;
  top: 4px;
  left: 4px;
  transform: rotate(-3deg);
  opacity: 0.8;
}

.swipe-card-front {
  background: #252525;
  top: 0;
  left: 0;
  transform: rotate(0deg);
  box-shadow: 0 8px 30px rgba(0,0,0,0.5);
}

.swipe-card-img {
  width: 100%;
  height: 200px;
  background: linear-gradient(135deg, #2a2a2a, #383838);
}

.swipe-card-front .swipe-card-img {
  background: linear-gradient(135deg, #333, #444);
}

.swipe-card-labels {
  display: flex;
  justify-content: space-between;
  padding: 12px 16px;
}

.swipe-label-delete {
  color: var(--delete);
  font-size: 11px;
  font-weight: 700;
  opacity: 0.7;
}

.swipe-label-keep {
  color: var(--keep);
  font-size: 11px;
  font-weight: 700;
  opacity: 0.7;
}

/* Stats row */
.hero-stats {
  display: flex;
  justify-content: center;
  gap: 48px;
  margin-top: 48px;
  position: relative;
}

.hero-stat {
  text-align: center;
}

.hero-stat-value {
  font-size: 24px;
  font-weight: 700;
}

.hero-stat-label {
  font-size: 12px;
  color: var(--text-secondary);
  margin-top: 4px;
}

/* ========== SECTION COMMON ========== */
section {
  padding: 100px 0;
}

.section-title {
  font-size: 36px;
  font-weight: 800;
  text-align: center;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 16px;
  color: var(--text-secondary);
  text-align: center;
  max-width: 500px;
  margin: 0 auto 60px;
}

/* ========== HOW IT WORKS ========== */
.how-it-works {
  background: var(--surface);
}

.steps {
  display: flex;
  justify-content: center;
  gap: 60px;
  position: relative;
}

.steps::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), var(--accent-end), transparent);
  opacity: 0.2;
}

.step {
  text-align: center;
  flex: 1;
  max-width: 260px;
  position: relative;
}

.step-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--card);
  border: 1px solid rgba(249,115,22,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 32px;
}

.step-number {
  font-size: 11px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.step h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}

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

/* ========== FEATURES ========== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--card);
  border: 1px solid var(--divider);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: border-color 0.3s, transform 0.3s;
}

.feature-card:hover {
  border-color: rgba(249,115,22,0.2);
  transform: translateY(-4px);
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(249,115,22,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-size: 22px;
}

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

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

/* ========== SCREENSHOTS ========== */
.screenshots {
  overflow: hidden;
}

.screenshots-track {
  display: flex;
  gap: 24px;
  justify-content: center;
  padding: 0 24px;
}

.screenshot-frame {
  width: 220px;
  height: 440px;
  background: var(--surface);
  border-radius: 30px;
  border: 2px solid rgba(255,255,255,0.05);
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  position: relative;
}

.screenshot-notch {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 22px;
  background: var(--bg);
  border-radius: 0 0 16px 16px;
  z-index: 2;
}

.screenshot-content {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
}

/* Screenshot: Photo Grid */
.ss-grid {
  padding: 32px 12px 12px;
  background: var(--bg);
}

.ss-grid-title {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 4px;
}

.ss-grid-date {
  font-size: 9px;
  color: var(--text-tertiary);
  margin-bottom: 8px;
}

.ss-grid-photos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
}

.ss-grid-photo {
  aspect-ratio: 1;
  border-radius: 4px;
}

/* Screenshot: Swipe */
.ss-swipe {
  padding: 32px 16px 16px;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.ss-swipe-progress {
  font-size: 10px;
  color: var(--text-tertiary);
  margin-bottom: 12px;
}

.ss-swipe-card {
  width: 160px;
  height: 220px;
  background: #252525;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0,0,0,0.4);
}

.ss-swipe-card-img {
  width: 100%;
  height: 160px;
}

.ss-swipe-actions {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 16px;
}

.ss-action-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

/* Screenshot: Delete List */
.ss-delete {
  padding: 32px 12px 12px;
  background: var(--bg);
  height: 100%;
}

.ss-delete-title {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 4px;
}

.ss-delete-count {
  font-size: 9px;
  color: var(--text-tertiary);
  margin-bottom: 12px;
}

.ss-delete-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px;
  background: var(--card);
  border-radius: 8px;
  margin-bottom: 6px;
}

.ss-delete-thumb {
  width: 40px;
  height: 40px;
  border-radius: 6px;
  flex-shrink: 0;
}

.ss-delete-info {
  flex: 1;
}

.ss-delete-name {
  font-size: 10px;
  font-weight: 600;
}

.ss-delete-size {
  font-size: 8px;
  color: var(--text-tertiary);
}

.ss-delete-restore {
  font-size: 8px;
  color: var(--accent);
  font-weight: 600;
}

.ss-delete-btn {
  margin-top: 16px;
  background: var(--delete);
  color: white;
  padding: 10px;
  border-radius: 10px;
  text-align: center;
  font-size: 12px;
  font-weight: 600;
}

/* ========== DOWNLOAD CTA ========== */
.download-cta {
  text-align: center;
  position: relative;
  overflow: hidden;
}

.download-glow {
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(249,115,22,0.1) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.download-cta h2 {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 12px;
  position: relative;
}

.download-cta .section-subtitle {
  margin-bottom: 32px;
}

/* ========== FAQ ========== */
.faq {
  background: var(--surface);
}

.faq-list {
  max-width: 700px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--divider);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  color: var(--text);
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  font-weight: 600;
  text-align: left;
  padding: 24px 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color 0.2s;
}

.faq-question:hover {
  color: var(--accent);
}

.faq-icon {
  font-size: 20px;
  transition: transform 0.3s;
  color: var(--text-tertiary);
  flex-shrink: 0;
  margin-left: 16px;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
  color: var(--accent);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 200px;
}

.faq-answer p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
  padding-bottom: 24px;
}

/* ========== FOOTER ========== */
.footer {
  border-top: 1px solid var(--divider);
  padding: 48px 0;
}

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

.footer-logo {
  font-size: 18px;
  font-weight: 800;
}

.footer-links {
  display: flex;
  gap: 24px;
  list-style: none;
}

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

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

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

/* ========== SCROLL ANIMATIONS ========== */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========== MOBILE NAV ========== */
.mobile-menu {
  display: none;
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  background: rgba(13,13,13,0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--divider);
  padding: 24px;
  z-index: 99;
}

.mobile-menu.active {
  display: block;
}

.mobile-menu a {
  display: block;
  padding: 12px 0;
  font-size: 16px;
  color: var(--text-secondary);
  font-weight: 500;
}

.mobile-menu a:hover {
  color: var(--text);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero h1 {
    font-size: 42px;
  }

  .steps {
    gap: 40px;
  }
}

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

  .nav-hamburger {
    display: block;
  }

  .hero {
    padding: 120px 0 60px;
  }

  .hero h1 {
    font-size: 32px;
  }

  .hero-subtitle {
    font-size: 15px;
  }

  .phone-mockup {
    width: 220px;
    height: 440px;
    border-radius: 32px;
  }

  .phone-notch {
    width: 100px;
    height: 24px;
  }

  .swipe-stack {
    width: 160px;
    height: 220px;
  }

  .swipe-card {
    width: 160px;
    height: 220px;
  }

  .swipe-card-img {
    height: 150px;
  }

  .hero-stats {
    gap: 24px;
  }

  .hero-stat-value {
    font-size: 20px;
  }

  .section-title {
    font-size: 28px;
  }

  .steps {
    flex-direction: column;
    align-items: center;
    gap: 32px;
  }

  .steps::before {
    display: none;
  }

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

  .screenshots-track {
    justify-content: flex-start;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 16px;
  }

  .screenshot-frame {
    scroll-snap-align: center;
    width: 200px;
    height: 400px;
  }

  .footer-inner {
    flex-direction: column;
    gap: 24px;
    text-align: center;
  }

  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
  }

  section {
    padding: 60px 0;
  }

  .download-cta h2 {
    font-size: 28px;
  }
}
