/* Rate My AI Song — Coming Soon (dark, polished, mobile-first) */
:root{
  --bg0:#07080b;
  --bg1:#0b0d12;
  --card:#0f1220;
  --card2:#101628;
  --stroke:rgba(255,255,255,.08);
  --stroke2:rgba(255,255,255,.12);
  --text:#e9ecff;
  --muted:rgba(233,236,255,.72);
  --muted2:rgba(233,236,255,.55);
  --accent:#7c5cff;
  --accent2:#22d3ee;
  --good:#35f29a;
  --bad:#ff4d6d;
  --warn:#ffca3a;
  --shadow: 0 14px 40px rgba(0,0,0,.55);
  --radius: 18px;
  --radius2: 26px;
  --max: 1120px;
  --pad: 18px;
  --pad2: 24px;
  --mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  --sans: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
}
*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family:var(--sans);
  color:var(--text);
  background:
    radial-gradient(1200px 700px at 10% 0%, rgba(124,92,255,.18), transparent 55%),
    radial-gradient(900px 600px at 90% 10%, rgba(34,211,238,.14), transparent 60%),
    radial-gradient(800px 600px at 50% 110%, rgba(53,242,154,.08), transparent 60%),
    linear-gradient(180deg, var(--bg0), var(--bg1) 42%, #070814 100%);
}
a{color:inherit}
.container{max-width:var(--max); margin:0 auto; padding:0 var(--pad);}
.topbar{
  position:sticky; top:0; z-index:50;
  backdrop-filter: blur(10px);
  background: linear-gradient(180deg, rgba(7,8,11,.88), rgba(7,8,11,.58));
  border-bottom:1px solid var(--stroke);
}
.topbar .inner{
  display:flex; align-items:center; justify-content:space-between;
  padding:14px 0;
}
/* Brand logo uses the favicon image (single source of truth) */
.logo{
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  border-radius: 12px;
  background-image: url("/assets/media/images/favicon.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;

  /* subtle “pro” treatment */
  box-shadow: 0 10px 30px rgba(0,0,0,.45);
  outline: 1px solid rgba(255,255,255,.10);
}

/* Slightly smaller on very small screens so the topbar stays tidy */
@media (max-width: 420px){
  .logo{
    width: 34px;
    height: 34px;
    flex-basis: 34px;
    border-radius: 10px;
  }
}

.brand{display:flex; align-items:center; gap:12px; text-decoration:none;}
/*
.logo{
  width:38px; height:38px; border-radius:12px;
  background:
    radial-gradient(14px 14px at 30% 30%, rgba(255,255,255,.35), transparent 60%),
    linear-gradient(135deg, rgba(124,92,255,.95), rgba(34,211,238,.85));
  box-shadow: 0 12px 32px rgba(124,92,255,.18);
  border:1px solid rgba(255,255,255,.14);
}
*/
.brand b{letter-spacing:.2px}
.brand .tag{
  font-family:var(--mono);
  font-size:12px;
  color:rgba(255,255,255,.78);
  background:rgba(255,255,255,.06);
  border:1px solid var(--stroke);
  padding:4px 8px;
  border-radius:999px;
}
.nav{display:flex; gap:14px; align-items:center;}
.nav a{
  font-size:13px;
  color:var(--muted);
  text-decoration:none;
  padding:8px 10px;
  border-radius:999px;
  border:1px solid transparent;
}
.nav a:hover{color:var(--text); border-color:var(--stroke)}
.nav .btn{
  color:#0b0d12;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  border:0;
  font-weight:700;
  box-shadow: 0 10px 24px rgba(124,92,255,.18);
}
.hero{padding:46px 0 16px;}
.herogrid{
  display:grid;
  grid-template-columns: 1.15fr .85fr;
  gap:18px;
  align-items:stretch;
}
@media (max-width: 980px){
  .herogrid{grid-template-columns:1fr;}
  .nav{display:none;}
}
.card{
  background: linear-gradient(180deg, rgba(16,22,40,.88), rgba(15,18,32,.88));
  border:1px solid var(--stroke);
  border-radius: var(--radius2);
  box-shadow: var(--shadow);
  overflow:hidden;
}
.card .pad{padding:var(--pad2);}
.kicker{
  display:inline-flex; align-items:center; gap:10px;
  font-family:var(--mono);
  font-size:12px;
  color:rgba(255,255,255,.8);
  background:rgba(255,255,255,.06);
  border:1px solid var(--stroke);
  padding:6px 10px;
  border-radius:999px;
}
.kdot{
  width:8px; height:8px; border-radius:99px;
  background:var(--good);
  box-shadow:0 0 0 4px rgba(53,242,154,.12);
}
h1{
  margin:16px 0 10px;
  font-size:42px;
  line-height:1.05;
  letter-spacing:-.6px;
}
@media (max-width: 520px){ h1{font-size:34px;} }
.lead{
  color:var(--muted);
  font-size:16px;
  line-height:1.55;
  margin:0 0 18px;
}
.pills{display:flex; flex-wrap:wrap; gap:8px; margin:12px 0 0}
.pill{
  font-size:12px;
  color:rgba(255,255,255,.8);
  border:1px solid var(--stroke);
  background:rgba(255,255,255,.05);
  padding:6px 10px;
  border-radius:999px;
}
.ctarow{display:flex; gap:10px; flex-wrap:wrap; margin-top:18px}
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  gap:10px;
  padding:12px 14px;
  border-radius: 14px;
  border:1px solid var(--stroke2);
  background: rgba(255,255,255,.04);
  color:var(--text);
  text-decoration:none;
  font-weight:700;
  cursor:pointer;
  transition: transform .12s ease, background .12s ease, border-color .12s ease;
}
.btn:hover{transform: translateY(-1px); border-color: rgba(255,255,255,.18); background: rgba(255,255,255,.06);}
.btn.primary{
  color:#0b0d12;
  border:0;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  box-shadow: 0 14px 30px rgba(124,92,255,.18);
}
.btn.primary:hover{transform: translateY(-2px);}
.grid2{display:grid; grid-template-columns: 1fr 1fr; gap:18px;}
@media (max-width: 980px){ .grid2{grid-template-columns:1fr;} }
.section{padding:18px 0}
.section h2{margin:0 0 10px; font-size:22px; letter-spacing:-.2px;}
.section p{margin:0; color:var(--muted); line-height:1.6}
.list{
  margin:14px 0 0; padding:0; list-style:none;
  display:grid; gap:10px;
}
.li{
  display:flex; gap:12px;
  padding:12px 12px;
  border-radius: 16px;
  border:1px solid var(--stroke);
  background: rgba(255,255,255,.03);
}
.ico{
  width:32px; height:32px; border-radius:12px;
  display:grid; place-items:center;
  background: rgba(124,92,255,.12);
  border:1px solid rgba(124,92,255,.22);
  flex:0 0 auto;
}
.li b{display:block; margin-bottom:2px}
.li span{color:var(--muted); font-size:13px; line-height:1.45}
hr.sep{border:0; height:1px; background: var(--stroke); margin:16px 0;}
.form{display:grid; gap:12px;}
.row2{display:grid; grid-template-columns:1fr 1fr; gap:12px}
@media (max-width: 720px){ .row2{grid-template-columns:1fr;} }
label{font-size:12px; color:rgba(233,236,255,.78); display:block; margin-bottom:6px}
input, select, textarea{
  width:100%;
  padding:12px 12px;
  border-radius: 14px;
  border:1px solid var(--stroke2);
  background: rgba(0,0,0,.24);
  color:var(--text);
  outline:none;
}
input::placeholder, textarea::placeholder{color:rgba(233,236,255,.35)}
textarea{min-height:92px; resize:vertical}
small.help{display:block; margin-top:6px; color:var(--muted2); line-height:1.4}
.inline{
  display:flex; gap:10px; align-items:flex-start;
  padding:10px 12px;
  border:1px solid var(--stroke);
  border-radius: 14px;
  background: rgba(255,255,255,.03);
}
.inline input{width:auto; margin-top:3px}
.inline b{display:block; font-size:13px}
.inline span{display:block; font-size:12px; color:var(--muted); line-height:1.45}
.note{
  font-size:12px;
  color:rgba(233,236,255,.75);
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
  padding:10px 12px;
  border-radius: 14px;
  line-height:1.45;
}
.toast{
  position:fixed;
  left:50%;
  top:16px;
  transform: translateX(-50%);
  max-width:min(640px, calc(100% - 20px));
  padding:14px 16px;
  border-radius: 16px;
  border:1px solid rgba(255,255,255,.18);
  background: rgba(10,12,18,.92);
  backdrop-filter: blur(12px);
  box-shadow: 0 18px 50px rgba(0,0,0,.65);
  display:none;
  z-index:9999;
  font-weight:800;
  letter-spacing:.1px;
}
.toast.info{ border-color: rgba(255,255,255,.18); }
.toast.success{ border-color: rgba(53,242,154,.35); }
.toast.error{ border-color: rgba(255,77,109,.45); }
.toast.show{display:block; animation: pop .18s ease}
@keyframes pop{
  from{transform: translateX(-50%) translateY(6px); opacity:.0}
  to{transform: translateX(-50%) translateY(0px); opacity:1}
}
.embedPreview{
  margin-top:10px;
  border-radius: 16px;
  overflow:hidden;
  border:1px solid var(--stroke);
  background: rgba(0,0,0,.22);
}
.embedPreview iframe{width:100%; height:250px; border:0; display:block}
.footer{
  padding:24px 0 40px;
  color:rgba(233,236,255,.55);
  font-size:12px;
  line-height:1.6;
}
.footer a{color:rgba(233,236,255,.75); text-decoration:none}
.footer a:hover{text-decoration:underline}
.badgeRow{display:flex; flex-wrap:wrap; gap:8px; margin-top:10px}
.badge{
  font-family:var(--mono);
  font-size:11px;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid var(--stroke);
  background: rgba(255,255,255,.03);
  color: rgba(233,236,255,.72);
}
code{font-family:var(--mono); font-size:.95em}


.mobileCta{
  position:fixed;
  left:0; right:0; bottom:0;
  padding:10px 10px calc(10px + env(safe-area-inset-bottom));
  background: linear-gradient(180deg, rgba(7,8,11,0), rgba(7,8,11,.86) 22%, rgba(7,8,11,.95));
  border-top:1px solid rgba(255,255,255,.08);
  display:none;
  gap:10px;
  z-index:9998;
}
@media (max-width: 980px){
  .mobileCta{ display:flex; }
  .footer{ padding-bottom: 110px; } /* so footer isn't hidden behind CTA */
}
