/* ==========================================
   Packliste Landing Page
   Design System: "The Curated Journal"
   Fonts: Fraunces (display) + Plus Jakarta Sans (body)
   ========================================== */

/* --- Tokens --- */
:root {
  --pine: #2D4A3E;
  --pine-dark: #163328;
  --pine-light: #7EC89B;
  --pine-lighter: #c2e4ce;
  --amber: #C8873A;
  --amber-light: #E8B44C;
  --cream: #F7F3EC;
  --paper: #FFFDF9;
  --sand: #EDE1CD;
  --sand-dim: #D1C5B2;
  --surface: #FDF9F2;
  --surface-low: #F7F3EC;
  --surface-high: #EBE8E1;
  --text-dark: #1C1C18;
  --text-muted: #424844;
  --text-light: #5A6B5E;
  --outline: #C1C8C3;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --shadow-sm: 0 1px 3px rgba(28, 28, 24, 0.04);
  --shadow-md: 0 4px 16px rgba(28, 28, 24, 0.06);
  --shadow-lg: 0 8px 24px rgba(28, 28, 24, 0.06);
  --shadow-xl: 0 12px 40px rgba(28, 28, 24, 0.1);
  --font-display: "Fraunces", "Georgia", serif;
  --font-body: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, sans-serif;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--text-dark);
  background: var(--surface-low);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

/* Skip to content */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  z-index: 200;
  padding: 12px 24px;
  background: var(--pine);
  color: #fff;
  border-radius: 0 0 8px 8px;
  font-weight: 600;
  font-size: 0.875rem;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 0;
}

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

/* --- Layout --- */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 28px;
}

/* --- Reveal animations --- */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}

/* --- Title typography --- */
.title-pack {
  font-weight: 700;
  font-style: normal;
}

.title-liste {
  font-weight: 300;
  font-style: italic;
}

/* ==========================================
   TOP NAVIGATION
   ========================================== */
.topnav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  justify-content: center;
  padding: 16px 24px;
}

.topnav-inner {
  width: 100%;
  max-width: 1100px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--pine);
  border-radius: 60px;
  padding: 12px 12px 12px 24px;
}

.topnav-brand {
  font-family: var(--font-display);
  font-size: 1.375rem;
  color: #fff;
  letter-spacing: -0.01em;
}

.topnav-links {
  display: flex;
  gap: 32px;
  align-items: center;
}

.topnav-links a {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.topnav-links a:hover {
  color: #fff;
}

.topnav-cta {
  background: #fff;
  color: var(--pine);
  padding: 10px 20px;
  border-radius: 60px;
  font-size: 0.875rem;
  font-weight: 600;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.topnav-cta:hover {
  opacity: 0.9;
  transform: scale(0.98);
}

/* ==========================================
   HERO
   ========================================== */
.hero {
  padding: 140px 0 80px;
}

.hero-centered {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 600;
  color: var(--pine-dark);
  line-height: 1.1;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.hero-sub {
  font-size: 1.0625rem;
  color: var(--text-muted);
  max-width: 460px;
  line-height: 1.7;
  margin-bottom: 32px;
}

/* App Store Badge */
.appstore-badge-link {
  display: inline-block;
  transition: transform 0.25s var(--ease-out), opacity 0.25s ease;
}

.appstore-badge-link:hover {
  transform: translateY(-2px) scale(1.03);
  opacity: 0.9;
}

.appstore-badge {
  height: 48px;
  width: auto;
}

.appstore-badge--lg {
  height: 56px;
}

/* Trust Strip */
.trust-strip {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 20px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-light);
}

.trust-item svg {
  color: var(--pine);
  flex-shrink: 0;
}

.trust-divider {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--outline);
  flex-shrink: 0;
}

/* Phone Mockup / Hero Screenshot */
.phone-mockup {
  margin-top: 48px;
  position: relative;
}

.phone-mockup::before {
  content: '';
  position: absolute;
  inset: -40px;
  background: rgba(200, 135, 58, 0.08);
  border-radius: 50%;
  filter: blur(80px);
  z-index: -1;
}

.hero-screenshot {
  max-width: 320px;
  width: 100%;
  height: auto;
  margin: 0 auto;
  display: block;
  filter: drop-shadow(0 12px 40px rgba(28, 28, 24, 0.15));
}

/* ==========================================
   TRAVEL TYPE PICKER (Interactive Hero)
   ========================================== */
.travel-picker {
  margin-top: 48px;
  position: relative;
  width: 100%;
  max-width: 400px;
}

.travel-picker-tabs {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-bottom: 32px;
}

.travel-tab {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border: 2px solid var(--outline);
  border-radius: 60px;
  background: #fff;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: all 0.25s var(--ease-out);
}

.travel-tab:hover {
  border-color: var(--pine-lighter);
  color: var(--pine);
}

.travel-tab.active {
  border-color: var(--pine);
  background: var(--pine);
  color: #fff;
}

.travel-tab-icon {
  font-size: 1.125rem;
  line-height: 1;
}

.travel-picker-phone {
  position: relative;
  width: 320px;
  margin: 0 auto;
}

.travel-picker-phone::before {
  content: '';
  position: absolute;
  inset: -60px;
  background: rgba(200, 135, 58, 0.08);
  border-radius: 50%;
  filter: blur(80px);
  z-index: -1;
}

.travel-picker-screen {
  position: relative;
  width: 100%;
  aspect-ratio: 1470 / 3000;
}

.travel-screenshot {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.travel-screenshot--dark {
  display: none;
}

.travel-screenshot.active {
  opacity: 1;
  pointer-events: auto;
}

@media (prefers-color-scheme: dark) {
  .travel-screenshot--light {
    display: none;
  }

  .travel-screenshot--dark {
    display: block;
  }
}

/* Section Divider */
.section-divider {
  height: 1px;
  max-width: 900px;
  margin: 0 auto;
  background: linear-gradient(to right, transparent, rgba(45, 74, 62, 0.15), transparent);
}

/* ==========================================
   SECTION SHARED
   ========================================== */
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  color: var(--pine-dark);
  text-align: center;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.section-subtitle {
  text-align: center;
  font-size: 1.0625rem;
  color: var(--text-muted);
  margin-bottom: 24px;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

/* ==========================================
   FEATURES — Bento Grid
   ========================================== */
.features {
  padding: 100px 0;
}

.features .section-subtitle {
  margin-bottom: 52px;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.bento-card {
  background: #fff;
  border-radius: var(--radius-xl);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.3s ease;
}

.bento-card:hover {
  box-shadow: var(--shadow-md);
}

.bento-card h3 {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-dark);
}

.bento-card p {
  color: var(--text-muted);
  font-size: 0.9375rem;
  line-height: 1.6;
}


.bento-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-lg);
  margin-bottom: 20px;
  color: var(--pine);
  background: rgba(45, 74, 62, 0.08);
}

.bento-icon--light {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}

.bento-icon--amber {
  background: rgba(200, 135, 58, 0.1);
  color: var(--amber);
}


/* ==========================================
   SCREENSHOTS GALLERY
   ========================================== */
.screenshots {
  padding: 100px 0 80px;
  overflow: hidden;
}

.screenshots .section-subtitle {
  margin-bottom: 52px;
}

.screenshots-track {
  display: flex;
  gap: 28px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 20px max(28px, calc((100vw - 1100px) / 2 + 28px));
  margin: -20px 0;
  scrollbar-width: none;
}

.screenshots-track::-webkit-scrollbar {
  display: none;
}

.screenshots-track img {
  flex-shrink: 0;
  height: 520px;
  width: auto;
  scroll-snap-align: center;
  filter: drop-shadow(0 8px 24px rgba(28, 28, 24, 0.1));
  transition: transform 0.3s var(--ease-out);
}

.screenshots-track img:hover {
  transform: scale(1.03);
}

/* ==========================================
   PRICING / PREMIUM
   ========================================== */
.pricing {
  padding: 120px 0;
}

.pricing-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  margin: 0 auto 52px;
  background: rgba(200, 135, 58, 0.1);
  color: #9A6A2B;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 8px 20px;
  border-radius: 60px;
}

.pricing-badge svg {
  flex-shrink: 0;
}

.pricing-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  max-width: 900px;
  margin: 0 auto;
  align-items: center;
}

.pricing-features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.pricing-feature-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.3s ease;
}

.pricing-feature-card:hover {
  box-shadow: var(--shadow-md);
}

.pricing-feature-icon {
  color: var(--amber);
  margin-bottom: 14px;
}

.pricing-feature-card h3 {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--pine-dark);
  margin-bottom: 4px;
}

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

/* Premium Card */
.premium-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  box-shadow: var(--shadow-lg);
  border: 2px solid rgba(200, 135, 58, 0.2);
  position: relative;
  overflow: hidden;
}

.premium-blob {
  position: absolute;
  top: -48px;
  right: -48px;
  width: 128px;
  height: 128px;
  background: rgba(200, 135, 58, 0.06);
  border-radius: 50%;
  transition: transform 0.4s ease;
}

.premium-card:hover .premium-blob {
  transform: scale(1.15);
}

.premium-content {
  position: relative;
  z-index: 1;
}

.premium-card h3 {
  font-family: var(--font-display);
  font-size: 1.625rem;
  font-weight: 700;
  color: var(--pine-dark);
  margin-bottom: 8px;
}

.premium-desc {
  color: var(--text-muted);
  font-size: 0.9375rem;
  line-height: 1.6;
  margin-bottom: 28px;
}

.premium-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 24px;
}

.premium-amount {
  font-size: 2.75rem;
  font-weight: 700;
  color: var(--amber);
  line-height: 1;
}

.premium-period {
  font-size: 1rem;
  color: var(--text-muted);
  font-weight: 500;
}

.premium-cta {
  display: block;
  text-align: center;
  padding: 16px 24px;
  border-radius: var(--radius-lg);
  font-weight: 700;
  font-size: 1.0625rem;
  background: var(--amber);
  color: #fff;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out);
  box-shadow: 0 4px 16px rgba(200, 135, 58, 0.2);
}

.premium-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(200, 135, 58, 0.3);
}

.premium-note {
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-light);
  margin-top: 12px;
  font-style: italic;
}

/* ==========================================
   FINAL CTA
   ========================================== */
.final-cta {
  padding: 120px 0 100px;
  text-align: center;
}

.final-cta-scene {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 300;
  font-style: italic;
  color: #9A6A2B;
  margin-bottom: 16px;
  letter-spacing: 0.01em;
}

.final-cta-headline {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
  color: var(--pine-dark);
  margin-bottom: 36px;
  letter-spacing: -0.01em;
}

.final-cta-note {
  font-size: 0.9375rem;
  color: var(--text-muted);
  margin-top: 24px;
}

/* ==========================================
   FOOTER
   ========================================== */
.footer {
  background: var(--pine);
  color: rgba(255, 255, 255, 0.8);
  padding: 64px 0;
  border-radius: 48px 48px 0 0;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
}

.footer-brand-lg {
  font-family: var(--font-display);
  font-size: 1.75rem;
  color: #fff;
  letter-spacing: -0.01em;
}

.footer-nav {
  display: flex;
  gap: 36px;
}

.footer-nav a {
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.75);
  transition: color 0.2s ease;
}

.footer-nav a:hover {
  color: #fff;
}

.footer-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
  margin-bottom: 32px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.7);
}

.footer-privacy {
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-privacy svg {
  opacity: 0.6;
}

/* ==========================================
   LEGAL PAGES
   ========================================== */
.legal {
  padding: 80px 0;
  background: var(--paper);
  min-height: 80vh;
}

.legal h1 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  color: var(--pine);
  margin-bottom: 32px;
}

.legal h2 {
  font-family: var(--font-body);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--pine);
  margin-top: 32px;
  margin-bottom: 12px;
}

.legal p,
.legal li {
  color: var(--text-muted);
  margin-bottom: 12px;
  font-size: 0.9375rem;
  line-height: 1.7;
}

.legal ul {
  padding-left: 20px;
}

.legal a {
  color: var(--pine);
  text-decoration: underline;
  text-decoration-color: var(--sand);
  text-underline-offset: 2px;
  transition: text-decoration-color 0.2s ease;
}

.legal a:hover {
  text-decoration-color: var(--pine);
}

.legal strong {
  color: var(--text-dark);
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 28px;
  color: var(--pine);
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
  transition: gap 0.2s var(--ease-out);
}

.back-link:hover {
  gap: 10px;
}

/* ==========================================
   RESPONSIVE
   ========================================== */
@media (max-width: 768px) {
  .topnav-links {
    display: none;
  }

  .topnav-inner {
    padding: 10px 10px 10px 20px;
  }

  .topnav-cta {
    font-size: 0.8125rem;
    padding: 8px 16px;
  }

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

  .hero-headline {
    font-size: 2.25rem;
  }

  .hero-screenshot {
    max-width: 260px;
  }

  .travel-picker-phone {
    width: 270px;
  }

  .travel-tab {
    padding: 8px 14px;
    font-size: 0.8125rem;
    gap: 6px;
  }

  .travel-tab-icon {
    font-size: 1rem;
  }

  .features,
  .pricing {
    padding: 72px 0;
  }

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

  .pricing-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .pricing-features-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .final-cta {
    padding: 80px 0 64px;
  }

  .screenshots-track img {
    height: 420px;
  }

  .appstore-badge--lg {
    height: 48px;
  }

  .footer {
    border-radius: 32px 32px 0 0;
    padding: 48px 0;
  }

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

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

@media (max-width: 420px) {
  .container {
    padding: 0 20px;
  }

  .hero-headline {
    font-size: 1.875rem;
  }

  .bento-card {
    padding: 24px 20px;
  }

  .pricing-feature-card {
    padding: 20px 16px;
  }

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

  .premium-card {
    padding: 32px 24px;
  }

  .footer-nav {
    gap: 20px;
  }

  .travel-tab-label {
    display: none;
  }

  .travel-tab {
    padding: 10px 14px;
  }

  .travel-tab-icon {
    font-size: 1.25rem;
  }

  .travel-picker-phone {
    width: 230px;
  }
}
