/* =========================
   ROOT & RESET
========================= */

* { box-sizing: border-box; }

:root {
  --text-main: #f9fafb;
  --text-muted: #c7cbe6;
  --text-dim: #9aa0c8;
  --gold: #ffd166;
  --green: #22c55e;
}

body {
  margin: 0;

  font-family:
    -apple-system,
    BlinkMacSystemFont,
    "SF Pro Display",
    "SF Pro Text",
    system-ui,
    "Segoe UI",
    Roboto,
    Helvetica,
    Arial,
    sans-serif;

  background:
    radial-gradient(circle at 20% 20%, rgba(88,214,255,.14), transparent 40%),
    radial-gradient(circle at 80% 30%, rgba(255,209,102,.12), transparent 45%),
    linear-gradient(180deg, #050816, #0b1133);

  color: var(--text-main);
  overflow-x: hidden;
  position: relative;
  z-index: 0;

  line-height: 1.55;
  letter-spacing: -0.015em;
}

/* =========================
   GLOBAL CENTERING (ALL PAGES)
========================= */

section,
footer,
.page,
.page-content,
main,
article {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
  text-align: center;
}

/* Desktop safety from side tabs */
@media (min-width: 769px) {
  section,
  footer,
  .page,
  .page-content,
  main,
  article {
    padding-left: 90px;
    padding-right: 90px;
  }
}

/* =========================
   FLOATING EMOJIS (BACKGROUND)
========================= */

.particles {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.particles span {
  position: absolute;
  bottom: -40px;
  animation: floatUp linear infinite;
  opacity: 0.55;
}

@keyframes floatUp {
  to { transform: translateY(-120vh); }
}

/* =========================
   CONTENT LAYERING
========================= */

.hero,
section,
footer {
  position: relative;
  z-index: 2;
}

/* =========================
   SIDE TABS (DESKTOP)
========================= */

.side-tabs {
  position: fixed;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 9999;
}

.side-tabs .tab {
  background: rgba(255,255,255,.07);
  padding: 10px 16px;
  border-radius: 999px;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
}

.side-tabs .tab.active {
  background: linear-gradient(135deg,#22c55e,#3bd3ff);
  color: #052616;
  font-weight: 700;
}

.ig-icon {
  width: 18px;
  height: 18px;
}

/* =========================
   HERO
========================= */

.hero {
  max-width: 900px;
  margin: 80px auto;
  padding: 44px 28px;
  background: rgba(0,0,0,.32);
  border-radius: 32px;
  text-align: center;
  box-shadow: 0 30px 90px rgba(0,0,0,.6);
}

.hero-logo {
  width: 190px;              /* ⬅️ bigger on desktop */
  max-width: 80%;
  margin-bottom: 14px;
  animation: floaty 6s ease-in-out infinite;
}

@keyframes floaty {
  50% { transform: translateY(-10px); }
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 10px 0;
}

.tagline {
  color: var(--gold);
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 14px;
}

.description {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 16px;
}

.small-note {
  font-size: .9rem;
  opacity: .85;
}

/* =========================
   BUTTONS & FORMS
========================= */

.btn {
  padding: 14px 26px;
  border-radius: 999px;
  border: none;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  letter-spacing: -0.01em;
}

.btn.primary {
  background: linear-gradient(135deg,#22c55e,#16a34a);
  color: #052616;
}

.waitlist-form {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.waitlist-form input {
  padding: 14px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.2);
  background: rgba(255,255,255,.08);
  color: white;
  font-size: 0.95rem;
}

/* =========================
   APP PREVIEW
========================= */

.screenshot-toggle {
  margin: 30px 0 18px;
}

/* =========================
   PHONE MOCKUP
========================= */

.phone-wrap {
  display: flex;
  justify-content: center;
}

.phone-mockup {
  width: 260px;
  height: 520px;
  border-radius: 40px;
  background: linear-gradient(180deg,#111827,#020617);
  border: 4px solid #1f2937;
  position: relative;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,.6);
}

.phone-mockup img {
  position: absolute;
  inset: 12px;
  width: calc(100% - 24px);
  height: calc(100% - 24px);
  border-radius: 28px;
  object-fit: cover;
}

.phone-notch {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 28px;
  background: #020617;
  border-radius: 0 0 16px 16px;
  z-index: 3;
}

/* =========================
   FAKE STORAGE NOTIFICATION
========================= */

.storage-toast {
  position: absolute;
  top: 52px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(30,41,59,.96);
  padding: 10px 14px;
  border-radius: 14px;
  font-size: .75rem;
  text-align: center;
  font-weight: 600;
  animation: toast 5s infinite;
}

.storage-toast span {
  display: block;
  font-size: .7rem;
  opacity: .85;
}

@keyframes toast {
  0%,100% { opacity: 0; transform: translate(-50%,-8px); }
  20%,80% { opacity: 1; transform: translate(-50%,0); }
}

/* =========================
   STORAGE SECTION (CENTER SAFE)
========================= */

.storage-section {
  text-align: center;
  margin: 90px auto;
}

.storage-quote {
  font-weight: 800;
  margin: 20px 0;
  font-size: 1.1rem;
}

.storage-list {
  list-style: none;
  padding: 0;
}

.storage-list li {
  margin: 10px 0;
  font-size: 1rem;
}

/* =========================
   FOOTER
========================= */

footer {
  text-align: center;
  padding: 30px;
  color: var(--text-dim);
  font-size: .9rem;
}

/* =========================
   MOBILE NAV (ALL TABS)
========================= */

.mobile-nav {
  display: none;
}

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

  .mobile-nav {
    position: fixed;
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 24px);
    background: rgba(10,16,42,.92);
    border-radius: 26px;
    display: flex;
    justify-content: space-around;
    padding: 10px;
    z-index: 9999;
    backdrop-filter: blur(16px);
  }

  .mobile-nav .nav-item {
    color: var(--text-dim);
    font-size: 12px;
    text-decoration: none;
    text-align: center;
    font-weight: 600;
  }

  .mobile-nav .nav-item.active {
    color: var(--green);
  }
  
  @media (max-width: 768px) {
  .hero-logo {
    width: 220px;            /* ⬅️ bigger on phones */
  }
}

  body {
    padding-bottom: 120px;
  }
}