@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,400..900;1,9..144,400..900&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  --bg-primary: #FAF8F5;
  --bg-card: #FFFFFF;
  --bg-card-hover: #FFFFFF;
  --border-subtle: rgba(0, 0, 0, 0.07);
  --border-highlight: rgba(193, 18, 31, 0.2);
  
  --text-primary: #1C1917;
  --text-secondary: #57534E;
  --text-muted: #8F8883;
  
  --accent-crimson: #C1121F;
  --accent-crimson-glow: rgba(193, 18, 31, 0.15);
  --accent-gold: #B45309;
  --accent-gold-soft: #FEF3C7;
  --accent-gold-border: #FDE68A;

  --btn-store-bg: #141215;
  --btn-store-hover: #262329;
  --btn-store-text: #FFFFFF;

  --font-display: 'Fraunces', serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  
  --shadow-icon: 0 24px 48px -12px rgba(193, 18, 31, 0.22), 0 8px 20px -4px rgba(0, 0, 0, 0.08);
  --shadow-card: 0 20px 45px -15px rgba(28, 25, 23, 0.08), 0 0 1px rgba(0, 0, 0, 0.06);
  --shadow-btn: 0 10px 24px -6px rgba(20, 18, 21, 0.35);
}

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

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Background Atmosphere */
.ambient-glow {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1000px;
  height: 600px;
  background: radial-gradient(ellipse at center, rgba(193, 18, 31, 0.07) 0%, rgba(251, 191, 36, 0.05) 45%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* Header & Nav */
header {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 24px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-primary);
  white-space: nowrap;
  flex-shrink: 0;
}

.brand-icon-mini {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  object-fit: cover;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  flex-shrink: 0;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text-primary);
  white-space: nowrap;
}

/* Desktop Nav */
.desktop-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  white-space: nowrap;
}

.desktop-nav a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  transition: color 0.2s ease;
  white-space: nowrap;
}

.desktop-nav a:hover,
.desktop-nav a.active {
  color: var(--accent-crimson);
}

/* Mobile Menu Toggle Button */
.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 7px;
  height: 36px;
  padding: 0 13px;
  background: #FFFFFF;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--radius-full);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.menu-toggle:hover {
  background: #F5F5F4;
  border-color: rgba(0, 0, 0, 0.14);
}

.menu-icon-bars {
  display: flex;
  flex-direction: column;
  gap: 3.5px;
  width: 14px;
}

.menu-icon-bars span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
}

/* Mobile Drawer - Full screen native modal */
.mobile-nav-drawer {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: var(--bg-primary);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.22s ease, visibility 0.22s ease;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.mobile-nav-drawer.open {
  opacity: 1;
  visibility: visible;
}

.mobile-nav-sheet {
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
  padding: 20px 20px 32px;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.mobile-nav-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 24px;
}

.mobile-nav-close {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: #FFFFFF;
  color: var(--text-primary);
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  line-height: 1;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
  transition: background 0.15s ease;
}

.mobile-nav-close:hover {
  background: #F5F5F4;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 28px;
  flex: 1;
}

.mobile-nav-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 18px;
  border-radius: 14px;
  color: var(--text-primary);
  text-decoration: none;
  font-size: 1.12rem;
  font-weight: 700;
  background: #FFFFFF;
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
  transition: all 0.15s ease;
}

.mobile-nav-links a:hover,
.mobile-nav-links a.active {
  background: #FFF5F6;
  border-color: rgba(193, 18, 31, 0.2);
  color: var(--accent-crimson);
}

.mobile-menu-store-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: auto;
}

.mobile-menu-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 16px;
  background: var(--btn-store-bg);
  color: #FFFFFF;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.92rem;
  border-radius: 14px;
  box-shadow: var(--shadow-btn);
  transition: all 0.2s ease;
  border: 1px solid var(--btn-store-bg);
  cursor: pointer;
  white-space: nowrap;
}

.mobile-menu-cta:hover {
  background: var(--btn-store-hover);
  transform: translateY(-1px);
}

.mobile-menu-cta svg {
  width: 19px;
  height: 19px;
  fill: currentColor;
  flex-shrink: 0;
}

/* Main Container */
main {
  position: relative;
  z-index: 1;
  flex: 1;
  max-width: 900px;
  width: 100%;
  margin: 0 auto;
  padding: 40px 24px 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* Hero Section */
.hero-icon-wrap {
  position: relative;
  margin-bottom: 32px;
}

.hero-icon-wrap::before {
  content: '';
  position: absolute;
  inset: -14px;
  background: radial-gradient(circle, var(--accent-crimson-glow) 0%, transparent 70%);
  border-radius: var(--radius-lg);
  z-index: -1;
  filter: blur(14px);
}

.hero-app-icon {
  width: 140px;
  height: 140px;
  border-radius: 32px;
  object-fit: cover;
  box-shadow: var(--shadow-icon);
  border: 1px solid rgba(0, 0, 0, 0.05);
  display: block;
}

.badge-festive {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  background: var(--accent-gold-soft);
  border: 1px solid var(--accent-gold-border);
  color: var(--accent-gold);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 3.8rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
  color: var(--text-primary);
}

.hero-tagline {
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  color: var(--text-secondary);
  max-width: 540px;
  margin: 0 auto 36px;
  font-weight: 450;
  line-height: 1.6;
}

/* Download Store Buttons */
.download-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-bottom: 36px;
}

.store-btn {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 26px;
  background: var(--btn-store-bg);
  border: 1px solid var(--btn-store-bg);
  border-radius: var(--radius-md);
  text-decoration: none;
  color: var(--btn-store-text);
  min-width: 205px;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: var(--shadow-btn);
}

.store-btn:hover {
  background: var(--btn-store-hover);
  transform: translateY(-2px);
  box-shadow: 0 16px 32px -8px rgba(20, 18, 21, 0.45);
}

.store-btn svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
  flex-shrink: 0;
}

.store-btn-text {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.store-btn-sub {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 600;
}

.store-btn-title {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.2;
}

/* Feature Pills */
.feature-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 22px;
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 600;
}

.feature-strip span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.feature-dot {
  width: 4px;
  height: 4px;
  background: var(--text-muted);
  border-radius: 50%;
  opacity: 0.6;
}

/* Legal & Content Pages (Privacy, Terms, Contact) */
.content-card {
  width: 100%;
  max-width: 760px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 48px;
  text-align: left;
  box-shadow: var(--shadow-card);
  margin-top: 10px;
}

.page-eyebrow {
  color: var(--accent-crimson);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.page-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.page-meta {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 36px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-subtle);
}

.prose h2 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 32px 0 12px;
}

.prose p {
  color: var(--text-secondary);
  font-size: 1rem;
  margin-bottom: 16px;
  line-height: 1.7;
}

.prose ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 20px;
}

.prose ul li {
  position: relative;
  padding-left: 20px;
  color: var(--text-secondary);
  font-size: 0.98rem;
  margin-bottom: 10px;
  line-height: 1.6;
}

.prose ul li::before {
  content: '•';
  position: absolute;
  left: 4px;
  color: var(--accent-crimson);
  font-weight: bold;
}

/* Contact Specific Card */
.contact-highlight-box {
  background: #FFF5F6;
  border: 1px solid #FFE4E6;
  border-radius: var(--radius-md);
  padding: 28px;
  margin: 28px 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-email-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  background: #FFFFFF;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}

.contact-email-address {
  font-family: var(--font-body);
  font-size: clamp(0.92rem, 3.5vw, 1.1rem);
  font-weight: 700;
  color: var(--text-primary);
  text-decoration: none;
  word-break: break-all;
}

.contact-email-address:hover {
  color: var(--accent-crimson);
}

.copy-btn {
  background: #F5F5F4;
  border: 1px solid rgba(0, 0, 0, 0.08);
  color: var(--text-primary);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.copy-btn:hover {
  background: #E7E5E4;
}

/* Footer */
footer {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  border-top: 1px solid var(--border-subtle);
}

.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  transition: color 0.2s ease;
}

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

.footer-copy {
  color: var(--text-muted);
  font-size: 0.82rem;
  text-align: center;
}

/* Responsive */
@media (max-width: 768px) {
  header {
    padding: 16px 20px;
    gap: 12px;
  }

  .desktop-nav {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .brand-icon-mini {
    width: 32px;
    height: 32px;
    border-radius: 8px;
  }

  .brand-name {
    font-size: 1.15rem;
  }

  .content-card {
    padding: 28px 20px;
  }
  
  .store-btn {
    width: 100%;
  }

  .feature-strip {
    gap: 12px;
    font-size: 0.82rem;
  }
}

@media (max-width: 380px) {
  header {
    padding: 14px 16px;
  }

  .brand-icon-mini {
    width: 28px;
    height: 28px;
    border-radius: 7px;
  }

  .brand-name {
    font-size: 1.05rem;
  }

  .menu-toggle {
    height: 34px;
    padding: 0 10px;
    font-size: 0.8rem;
  }
}
