/* =========================================================
   IceCream Tones — shared styles (dark mode: slate violet + gold + blue)
   Used by index.html (website) and app.html (app welcome).
   Change colours here once and every page updates.
   ========================================================= */

:root {
  --bg: #07081A;          /* page background (near black) */
  --navy: #00002B;        /* header / footer (matches logo) */
  --blue-dark: #10106E;   /* listener card, app band */
  --blue: #3D63F0;        /* listener buttons */
  --orange: #E7BF13;      /* creator buttons + accents: GOLDEN YELLOW (name kept) */
  --orange-text: #F2D25A; /* gold links on dark */
  --on-orange: #1A1400;   /* dark text on gold */
  --slate: #575780;       /* panels / cards (same as the Dashboard) */
  --text: #FFFFFF;
  --muted: #C3C6E4;       /* grey-blue secondary text */
  --line: #1C1F4A;        /* thin borders */
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Nunito, system-ui, sans-serif;
  line-height: 1.5;
}

a { color: var(--orange-text); }
a:hover { color: var(--text); }
img { max-width: 100%; display: block; }

.wrap { max-width: 1240px; margin: 0 auto; padding: 0 24px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 44px; padding: 12px 22px;
  border-radius: 999px; font-weight: 800; text-decoration: none;
}
.btn-blue    { background: var(--blue); color: #fff; }
.btn-orange  { background: var(--orange); color: var(--on-orange); }
.btn-outline { border: 2px solid #3A3F7A; color: #fff; }
.btn-big     { font-size: 18px; padding: 16px 26px; }
.btn:hover   { filter: brightness(1.08); color: inherit; }
/* "Sign in" at the top: gold, like on the other pages */
.site-header nav .btn-outline, .app-top .signin {
  background: var(--orange); color: var(--on-orange); border-color: var(--orange);
}

/* ---------- Header: logo LEFT (same as every page), buttons right ---------- */
.site-header { background: var(--navy); border-bottom: 1px solid var(--line); }
.site-header .wrap {
  display: grid; grid-template-columns: auto 1fr;
  align-items: center; gap: 12px; padding-top: 14px; padding-bottom: 14px;
}
.site-header .logo { grid-column: 1; grid-row: 1; }
.site-header .logo img { height: 92px; width: auto; }   /* final mushroom logo */
.site-header nav {
  grid-column: 2; grid-row: 1; justify-self: end;
  display: flex; gap: 10px; white-space: nowrap; font-size: 15px;
}

/* ---------- Hero ---------- */
.hero { padding: 56px 0 64px; }
.hero .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 48px; }
.hero-text { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.hero h1 { margin: 0; font-weight: 900; font-size: clamp(30px, 4.2vw, 50px); line-height: 1.1; }
.accent { color: var(--orange); }
.hero p { margin: 0; font-size: 19px; color: var(--muted); max-width: 520px; }
.hero-buttons { display: flex; flex-wrap: wrap; gap: 12px; }
.pay-note { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; font-size: 14px; color: var(--muted); }
.hero-photo { flex: 1 1 480px; min-width: 0; }
.hero-photo img {
  width: 100%; height: 460px; object-fit: cover; object-position: 55% 35%;
  border-radius: 32px; border: 2px solid var(--line);
}

/* ---------- Two paths ---------- */
.paths { padding-bottom: 72px; }
.paths .wrap { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.card { border-radius: 28px; display: flex; flex-direction: column; overflow: hidden; }
.card-body { padding: 36px; display: flex; flex-direction: column; gap: 22px; flex: 1; }
.card h2 { margin: 0; font-weight: 900; font-size: 32px; line-height: 1.15; }
.card .btn { margin-top: auto; align-self: flex-start; }
.card-listener { background: var(--blue-dark); }
.card-creator  { background: var(--slate); border: 2px solid var(--orange); }
.card-creator > img { width: 100%; height: 220px; object-fit: cover; object-position: 62% 40%; }

.tag {
  align-self: flex-start; font-weight: 800; font-size: 13px; letter-spacing: 1px;
  text-transform: uppercase; padding: 6px 12px; border-radius: 999px;
}
.tag-blue   { background: var(--blue); color: #fff; }
.tag-orange { background: var(--orange); color: var(--on-orange); }

.steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.steps li { display: flex; gap: 14px; align-items: flex-start; }
.steps .num {
  flex: none; width: 40px; height: 40px; border-radius: 999px; font-weight: 900;
  display: flex; align-items: center; justify-content: center;
}
.steps strong { display: block; font-size: 18px; }
.card-listener .num { background: var(--blue); }
.card-listener .steps span.txt { color: #C9CEF2; }
.card-creator  .num { background: var(--orange); color: var(--on-orange); }
.card-creator  .steps span.txt { color: #E6E8FA; }

/* ---------- Plans ---------- */
.plans { padding-bottom: 72px; }
.plans h2 { margin: 0 0 8px; font-weight: 900; font-size: clamp(26px, 3vw, 34px); }
.plans .intro { margin: 0 0 24px; font-size: 17px; color: var(--muted); }
.plan-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.plan {
  text-decoration: none; color: #fff; background: var(--slate); border: 2px solid #7A7AA6;
  border-radius: 22px; padding: 24px 26px; display: flex; flex-direction: column; gap: 6px;
}
.plan .name { font-weight: 800; }
.plan .price-row { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.plan .price { font-weight: 900; font-size: 40px; }
.plan .per { color: var(--muted); }
.plan-hot { background: var(--orange); border-color: var(--orange); color: var(--on-orange); }
.plan-hot .per { color: var(--on-orange); }
.plan:hover { color: inherit; filter: brightness(1.08); }
.small-print { margin: 24px 0 0; font-size: 14px; color: #8E93B5; }

/* ---------- App band ---------- */
.app-band { padding-bottom: 72px; }
.app-box {
  background: var(--blue-dark); border-radius: 32px; padding: 40px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px;
}
.app-box h2 { margin: 0 0 8px; font-weight: 900; font-size: clamp(24px, 2.8vw, 32px); }
.app-box p { margin: 0; font-size: 17px; color: #C9CEF2; }
.store-buttons { display: flex; flex-wrap: wrap; gap: 12px; }
.store {
  text-decoration: none; display: flex; flex-direction: column; background: var(--bg);
  color: #fff; padding: 12px 22px; border-radius: 16px; line-height: 1.25;
}
.store small { font-size: 12px; color: var(--orange-text); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: var(--muted); border-top: 1px solid var(--line); font-size: 14px; }
.site-footer .wrap {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 16px; padding-top: 28px; padding-bottom: 28px;
}
.site-footer img { height: 64px; width: auto; }
.site-footer .links { display: flex; flex-wrap: wrap; gap: 20px; }

/* ---------- Tablet (up to 900px wide) ---------- */
@media (max-width: 900px) {
  .hero { padding-top: 36px; }
  .hero-photo img { height: 360px; }
}

/* ---------- Phone (up to 600px wide) ---------- */
@media (max-width: 600px) {
  .wrap { padding: 0 16px; }
  .site-header .logo img { height: 66px; }
  .site-header nav .btn-blue { display: none; } /* "Browse" is in the hero on phones */
  .hero { padding: 24px 0 40px; }
  .hero .wrap { flex-direction: column-reverse; gap: 20px; } /* photo first */
  .hero-text, .hero-photo { flex: none; width: 100%; }
  .hero-photo img { height: 230px; border-radius: 24px; }
  .hero p { font-size: 17px; }
  .hero-buttons .btn { width: 100%; justify-content: center; }
  .card-body { padding: 24px; }
  .card h2 { font-size: 26px; }
  .app-box { padding: 28px 24px; }
}

/* =========================================================
   APP WELCOME SCREEN (app.html) — phone and tablet
   ========================================================= */
.app-screen { min-height: 100vh; display: flex; flex-direction: column; }
.app-top {
  background: var(--navy); padding: 40px 20px 12px;
  display: grid; grid-template-columns: auto 1fr; align-items: center;
}
.app-top img { grid-column: 1; height: 70px; width: auto; }   /* logo left, like every page */
.app-top .signin { grid-column: 2; justify-self: end; display: none; }
.app-main { padding: 20px; display: flex; flex-direction: column; gap: 18px; flex: 1; }
.app-main h1 { margin: 0; font-weight: 900; font-size: 27px; line-height: 1.15; }
.app-photo { width: 100%; height: 230px; object-fit: cover; object-position: 55% 32%; border-radius: 24px; }
.app-choices { display: flex; flex-direction: column; gap: 12px; }
.choice {
  text-decoration: none; border-radius: 20px; padding: 14px 18px; min-height: 68px;
  display: flex; align-items: center; gap: 14px;
}
.choice-blue   { background: var(--blue); color: #fff; }
.choice-orange { background: var(--orange); color: var(--on-orange); }
.choice:hover  { color: inherit; filter: brightness(1.08); }
.choice .label { flex: 1; display: flex; flex-direction: column; }
.choice strong { font-size: 18px; }
.choice small  { font-size: 14px; }
.choice img    { display: none; }
.choice .cta   {
  display: none; align-self: flex-start; margin-top: 12px; padding: 12px 22px;
  border-radius: 999px; font-weight: 800;
}
.choice-blue .cta   { background: var(--blue); color: #fff; }
.choice-orange .cta { background: var(--orange); color: var(--on-orange); }
.app-bottom { margin-top: auto; display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 14px; color: var(--muted); }
.app-bottom a { color: var(--muted); text-decoration: none; padding: 10px; min-height: 44px; display: inline-flex; align-items: center; }
.app-bottom a strong { color: var(--orange-text); }

/* Tablet: two big picture cards side by side */
@media (min-width: 700px) {
  .app-top { padding: 28px 40px 16px; }
  .app-top img { height: 56px; }
  .app-top .signin { display: inline-flex; }
  .app-main { padding: 32px 40px 40px; gap: 28px; }
  .app-main h1 { font-size: 42px; }
  .app-photo { display: none; }
  .app-choices { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
  .choice { flex-direction: column; align-items: stretch; padding: 0; overflow: hidden; border-radius: 28px; }
  .choice img { display: block; width: 100%; height: 420px; object-fit: cover; }
  .choice .label { padding: 24px 24px 28px; gap: 8px; }
  .choice .cta { display: inline-flex; }
  .choice strong { font-size: 26px; }
  .choice .arrow { display: none; }
  .choice-blue { background: var(--blue-dark); }
  .choice-orange { background: var(--slate); color: #fff; border: 2px solid var(--orange); }
  .app-bottom .signin-link { display: none; }
}
