/* =========================================================
   ROCKSTAR — Nuclear Penguin Software
   Frutiger Aero / Windows XP inspired stylesheet
   ========================================================= */

:root {
  --sky-top: #a7d8f5;
  --sky-mid: #6fb7e8;
  --sky-bottom: #d8f0d0;
  --aqua: #2aa9e0;
  --aqua-deep: #1668b8;
  --luna-top: #3f8ee8;
  --luna-bottom: #1a5fb4;
  --green: #6cbf2c;
  --green-deep: #3f8a12;
  --ink: #14324f;
  --ink-soft: #35566f;
  --glass: rgba(255, 255, 255, 0.55);
  --glass-strong: rgba(255, 255, 255, 0.8);
  --panel-border: rgba(255, 255, 255, 0.9);
  --shadow: 0 10px 30px rgba(16, 60, 110, 0.28);
  --radius: 18px;
  --font: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  line-height: 1.6;
  background: linear-gradient(180deg, #a7d8f5 0%, #7ec3ee 30%, #bfe6ef 65%, #d8f0d0 100%);
  background-attachment: fixed;
  min-height: 100vh;
  overflow-x: hidden;
}

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

a { color: var(--aqua-deep); }

/* ---------- Decorative background ---------- */
.aero-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.aero-bg::before {
  /* soft light sweep */
  content: "";
  position: absolute;
  top: -20%;
  left: -10%;
  width: 120%;
  height: 70%;
  background: radial-gradient(ellipse at 30% 0%, rgba(255,255,255,0.7), transparent 60%);
}
.bubble {
  position: absolute;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 25%, rgba(255,255,255,0.9), rgba(255,255,255,0.15) 40%, rgba(120,200,255,0.25) 70%, rgba(80,160,230,0.15));
  box-shadow: inset 0 0 20px rgba(255,255,255,0.6), 0 6px 18px rgba(40,120,190,0.25);
  animation: float 16s ease-in-out infinite;
}
.b1 { width: 160px; height: 160px; left: 6%;  top: 18%; animation-delay: 0s; }
.b2 { width: 90px;  height: 90px;  left: 78%; top: 12%; animation-delay: -3s; }
.b3 { width: 220px; height: 220px; left: 82%; top: 55%; animation-delay: -6s; }
.b4 { width: 70px;  height: 70px;  left: 20%; top: 70%; animation-delay: -2s; }
.b5 { width: 120px; height: 120px; left: 45%; top: 82%; animation-delay: -8s; }
.b6 { width: 50px;  height: 50px;  left: 60%; top: 30%; animation-delay: -5s; }

@keyframes float {
  0%, 100% { transform: translateY(0) translateX(0); }
  50%      { transform: translateY(-26px) translateX(12px); }
}

/* ---------- Top bar ---------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(180deg, rgba(255,255,255,0.85), rgba(226,242,255,0.7));
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.8);
  box-shadow: 0 2px 12px rgba(20,60,110,0.15);
}
.topbar-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 8px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand { display: inline-flex; align-items: center; }
.brand-logo { height: 72px; width: auto; filter: drop-shadow(0 2px 4px rgba(0,0,0,0.25)); }

.nav { display: flex; align-items: center; }
.nav-links {
  list-style: none;
  display: flex;
  gap: 6px;
  margin: 0;
  padding: 0;
  align-items: center;
}
.nav-links a {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 999px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  font-size: 0.95rem;
  transition: background 0.15s, color 0.15s;
}
.nav-links a:hover { background: rgba(42,169,224,0.15); }
.nav-cta {
  background: linear-gradient(180deg, #8fd94a, #5aa521);
  color: #fff !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.7), 0 2px 6px rgba(63,138,18,0.4);
}
.nav-cta:hover { filter: brightness(1.05); background: linear-gradient(180deg, #8fd94a, #5aa521); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 42px;
  height: 38px;
  padding: 8px;
  border: 1px solid rgba(255,255,255,0.8);
  border-radius: 10px;
  background: linear-gradient(180deg, #ffffff, #dbeeff);
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 3px;
  border-radius: 2px;
  background: var(--aqua-deep);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 12px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid rgba(255,255,255,0.7);
  transition: transform 0.1s, filter 0.15s;
  position: relative;
  overflow: hidden;
}
.btn::before {
  content: "";
  position: absolute;
  inset: 1px 1px 50% 1px;
  border-radius: 999px 999px 40% 40%;
  background: linear-gradient(180deg, rgba(255,255,255,0.65), rgba(255,255,255,0));
  pointer-events: none;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: linear-gradient(180deg, #4bb6ec, #1a72c4);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.6), 0 6px 16px rgba(26,95,180,0.45);
}
.btn-primary:hover { filter: brightness(1.06); }
.btn-ghost {
  background: linear-gradient(180deg, rgba(255,255,255,0.9), rgba(224,242,255,0.75));
  color: var(--aqua-deep);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.9), 0 4px 12px rgba(26,95,180,0.2);
}
.btn-ghost:hover { filter: brightness(1.03); }

/* ---------- Hero ---------- */
main { position: relative; z-index: 1; }

.hero {
  max-width: 1180px;
  margin: 0 auto;
  padding: 60px 20px 30px;
  display: flex;
  justify-content: center;
}
.hero-glass {
  text-align: center;
  width: 100%;
  max-width: 780px;
  padding: 48px 40px 40px;
  border-radius: 26px;
  background: linear-gradient(180deg, rgba(255,255,255,0.72), rgba(230,245,255,0.55));
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.9);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,0.9);
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--green-deep);
  margin: 0 0 10px;
}
.hero-title {
  font-size: clamp(2.6rem, 13vw, 6rem);
  line-height: 0.95;
  margin: 0 0 14px;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: #103a68;
  text-shadow: 0 2px 0 rgba(255,255,255,0.8), 0 5px 18px rgba(26,95,180,0.35);
}
.eyebrow, .hero-tagline, .hero-blurb { overflow-wrap: break-word; }
.hero-title .glow {
  background: linear-gradient(180deg, #8fd94a, #3f8a12);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: none;
}
.hero-tagline {
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 18px;
}
.hero-blurb {
  color: var(--ink-soft);
  max-width: 620px;
  margin: 0 auto 26px;
}
.hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}
.hero-note {
  margin: 20px 0 0;
  font-size: 0.85rem;
  color: var(--ink-soft);
}

/* ---------- Sections ---------- */
.section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 44px 20px;
}
.section-heading {
  text-align: center;
  font-size: clamp(1.7rem, 4vw, 2.5rem);
  margin: 0 0 8px;
  color: #103a68;
  text-shadow: 0 1px 0 rgba(255,255,255,0.8);
}
.section-sub {
  text-align: center;
  color: var(--ink-soft);
  margin: 0 0 28px;
}

/* ---------- Glass window panel (XP-style) ---------- */
.glass-panel {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.9);
  box-shadow: var(--shadow);
  background: rgba(255,255,255,0.65);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.win-titlebar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: linear-gradient(180deg, var(--luna-top), var(--luna-bottom));
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.5);
}
.win-title { font-weight: 700; font-size: 1.05rem; text-shadow: 0 1px 2px rgba(0,0,0,0.35); }
.win-controls { display: flex; gap: 6px; }
.win-btn {
  width: 18px; height: 18px;
  border-radius: 5px;
  border: 1px solid rgba(255,255,255,0.7);
  display: inline-block;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.6);
}
.win-btn.min { background: linear-gradient(180deg,#dff0ff,#8fb9e6); }
.win-btn.max { background: linear-gradient(180deg,#dff0ff,#8fb9e6); }
.win-btn.close { background: linear-gradient(180deg,#ff8a7a,#d43a24); }
.win-body { padding: 26px; }

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 28px;
  align-items: center;
}
.about-copy p { margin: 0 0 14px; }
.tick-list { list-style: none; padding: 0; margin: 18px 0 0; }
.tick-list li {
  padding-left: 30px;
  position: relative;
  margin-bottom: 10px;
  font-weight: 600;
  color: var(--ink);
}
.tick-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 3px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: linear-gradient(180deg,#8fd94a,#3f8a12);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.7);
}
.tick-list li::after {
  content: "✓";
  position: absolute;
  left: 5px; top: 2px;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 900;
}
.stat-stack { display: grid; gap: 16px; }
.stat-orb {
  text-align: center;
  padding: 18px;
  border-radius: 16px;
  background: radial-gradient(circle at 50% 20%, rgba(255,255,255,0.9), rgba(210,236,255,0.7));
  border: 1px solid rgba(255,255,255,0.9);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.9), 0 6px 14px rgba(26,95,180,0.18);
}
.stat-num {
  display: block;
  font-size: 1.9rem;
  font-weight: 900;
  color: var(--aqua-deep);
  line-height: 1.1;
}
.stat-label {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
}

/* ---------- Feature cards ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.feature-card {
  padding: 26px 24px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255,255,255,0.85), rgba(224,242,255,0.65));
  border: 1px solid rgba(255,255,255,0.9);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,0.9);
  transition: transform 0.15s, box-shadow 0.15s;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 34px rgba(16,60,110,0.32), inset 0 1px 0 rgba(255,255,255,0.9);
}
.feature-card h3 { margin: 14px 0 8px; color: #103a68; font-size: 1.2rem; }
.feature-card p { margin: 0; color: var(--ink-soft); }
.feature-icon {
  width: 54px; height: 54px;
  border-radius: 14px;
  background: linear-gradient(180deg, #4bb6ec, #1a72c4);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.6), 0 6px 14px rgba(26,95,180,0.4);
  position: relative;
}
.feature-icon::after {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
}
.icon-write::after  { content: "🎼"; }
.icon-charts::after { content: "📈"; }
.icon-deal::after   { content: "✒️"; }
.icon-awards::after { content: "🏆"; }
.icon-tempt::after  { content: "🌙"; }
.icon-gear::after   { content: "🎹"; }

/* ---------- Screenshots grid ---------- */
.shots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 18px;
}
.shot {
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  border: 3px solid rgba(255,255,255,0.9);
  box-shadow: var(--shadow);
  background: #0a1c2e;
  transition: transform 0.15s, box-shadow 0.15s;
}
.shot:hover { transform: translateY(-4px) scale(1.01); box-shadow: 0 16px 34px rgba(16,60,110,0.4); }
.shot img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; }
.shot figcaption {
  padding: 10px 12px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink);
  background: linear-gradient(180deg, rgba(255,255,255,0.9), rgba(224,242,255,0.8));
}

/* ---------- Mailing list ---------- */
.signup { max-width: 720px; margin: 0 auto; }
/* Honeypot — kept in the layout but off-screen so real users never see or tab to it. */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.signup-lead { margin: 0 0 20px; color: var(--ink-soft); }
.signup-form .field { margin-bottom: 16px; }
.signup-form label { display: block; font-weight: 700; margin-bottom: 6px; color: var(--ink); }
.signup-form .opt { font-weight: 400; color: var(--ink-soft); font-size: 0.85rem; }
.signup-form .req { color: #d43a24; }
.signup-form input {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(26,95,180,0.35);
  background: rgba(255,255,255,0.9);
  font-size: 1rem;
  font-family: inherit;
  color: var(--ink);
  box-shadow: inset 0 2px 4px rgba(26,95,180,0.12);
}
.signup-form input:focus {
  outline: none;
  border-color: var(--aqua);
  box-shadow: inset 0 2px 4px rgba(26,95,180,0.12), 0 0 0 3px rgba(42,169,224,0.25);
}
.signup-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.privacy { font-size: 0.82rem; color: var(--ink-soft); }
.form-error {
  color: #b3271b;
  font-weight: 600;
  margin: 0 0 12px;
  background: rgba(212,58,36,0.1);
  border: 1px solid rgba(212,58,36,0.3);
  padding: 8px 12px;
  border-radius: 10px;
}
.form-success {
  margin: 16px 0 0;
  padding: 14px 16px;
  border-radius: 12px;
  font-weight: 700;
  color: var(--green-deep);
  background: linear-gradient(180deg, rgba(143,217,74,0.25), rgba(143,217,74,0.12));
  border: 1px solid rgba(63,138,18,0.35);
}

/* ---------- Footer ---------- */
.footer {
  margin-top: 40px;
  padding: 30px 20px;
  background: linear-gradient(180deg, rgba(26,95,180,0.9), rgba(16,58,104,0.95));
  color: #eaf4ff;
}
.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
  text-align: center;
}
.footer-logo { height: 52px; width: auto; filter: drop-shadow(0 2px 4px rgba(0,0,0,0.4)); }
.footer-copy { margin: 0; font-size: 0.85rem; opacity: 0.9; max-width: 620px; }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(8, 26, 48, 0.82);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 30px;
}
.lightbox.open { display: flex; }
.lightbox-figure {
  margin: 0;
  max-width: 1000px;
  width: 100%;
  text-align: center;
}
.lightbox-figure img {
  width: 100%;
  height: auto;
  max-height: 78vh;
  object-fit: contain;
  border-radius: 12px;
  border: 3px solid rgba(255,255,255,0.9);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.lightbox-figure figcaption {
  color: #eaf4ff;
  margin-top: 14px;
  font-weight: 600;
}
.lightbox-close, .lightbox-nav {
  position: absolute;
  background: rgba(255,255,255,0.9);
  border: none;
  color: var(--aqua-deep);
  cursor: pointer;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}
.lightbox-close {
  top: 20px; right: 20px;
  width: 46px; height: 46px;
  font-size: 1.8rem;
  line-height: 1;
}
.lightbox-nav {
  top: 50%;
  transform: translateY(-50%);
  width: 52px; height: 64px;
  font-size: 2.4rem;
  line-height: 1;
}
.lightbox-nav.prev { left: 20px; }
.lightbox-nav.next { right: 20px; }
.lightbox-close:hover, .lightbox-nav:hover { background: #fff; }

/* ---------- Responsive ---------- */
@media (max-width: 820px) {
  .about-grid { grid-template-columns: 1fr; }
  .stat-stack { grid-template-columns: repeat(3, 1fr); }

  .nav-toggle { display: flex; }
  .nav-links {
    position: absolute;
    top: 92px;
    right: 12px;
    left: 12px;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 10px;
    border-radius: 14px;
    background: rgba(255,255,255,0.96);
    box-shadow: var(--shadow);
    border: 1px solid rgba(255,255,255,0.9);
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { text-align: center; }
}

@media (max-width: 520px) {
  .hero-glass { padding: 32px 22px 28px; }
  .win-body { padding: 18px; }
  .stat-stack { grid-template-columns: 1fr; }
  .lightbox-nav { width: 42px; height: 54px; font-size: 1.8rem; }
  .lightbox-nav.prev { left: 8px; }
  .lightbox-nav.next { right: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  .bubble { animation: none; }
  html { scroll-behavior: auto; }
}
