/* NightCard product page: the app's night sky (navy, gold stars, dusty rose glass) on top of the site's design system (styles.css). */

body.nightcard {
  --c-gold: #f3c76b;
  --c-gold-dim: rgba(243, 199, 107, 0.72);
  --c-rose: #e9b8cb;
  --c-plum: #5a3f52;
  --accent-a: #f3c76b;   /* buttons and glows pick up gold instead of violet */
  --accent-b: #e9b8cb;
  --display: "Bricolage Grotesque", -apple-system, BlinkMacSystemFont, "SF Pro Display", sans-serif;
  background: #070a1c;
}
body.nightcard::before {
  background:
    radial-gradient(1100px 760px at 80% -10%, rgba(78, 66, 150, 0.55), transparent 62%),
    radial-gradient(900px 640px at -10% 35%, rgba(233, 184, 203, 0.16), transparent 60%),
    radial-gradient(800px 600px at 50% 115%, rgba(243, 199, 107, 0.12), transparent 60%);
}
body.nightcard .blob.a { background: #4b3f9a; opacity: 0.45; }
body.nightcard .blob.b { background: #b07a95; opacity: 0.22; }
body.nightcard .blob.c { background: #f3c76b; opacity: 0.12; }

body.nightcard h1, body.nightcard h2, body.nightcard h3 { font-family: var(--display); letter-spacing: -0.018em; }
body.nightcard h1 { font-weight: 700; font-variation-settings: "opsz" 96; }
body.nightcard h2 { font-weight: 650; }
body.nightcard .btn.primary { background: linear-gradient(135deg, #f7d58e, #e2a94f); color: #1c1306; font-weight: 600; box-shadow: 0 10px 30px rgba(243, 199, 107, 0.3); }
body.nightcard .btn.primary:hover { box-shadow: 0 14px 38px rgba(243, 199, 107, 0.45); }
body.nightcard .nav .cta { background: linear-gradient(135deg, #f7d58e, #e2a94f); color: #1c1306; }
body.nightcard .eyebrow .dot { background: var(--c-gold); box-shadow: 0 0 10px var(--c-gold); }
body.nightcard .gradient-text { background-image: linear-gradient(120deg, #fff 0%, #f7e3b1 40%, #f0c6d6 100%); }
.gold { color: var(--c-gold); }

/* ---------- Stars ---------- */
.nc-stars { position: fixed; inset: 0; z-index: -1; pointer-events: none; }
.nc-stars span { position: absolute; width: 3px; height: 3px; border-radius: 50%; background: #ffe6a8; box-shadow: 0 0 8px #ffe6a8; opacity: 0.7; animation: nc-twinkle 5s ease-in-out infinite; }
.nc-stars span:nth-child(2n) { animation-delay: 1.3s; width: 2px; height: 2px; }
.nc-stars span:nth-child(3n) { animation-delay: 2.6s; }
@keyframes nc-twinkle { 50% { opacity: 0.25; } }

/* ---------- Hero ---------- */
.nc-hero { padding: clamp(120px, 14vw, 170px) 0 clamp(40px, 6vw, 80px); }
.nc-hero .container { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(28px, 4vw, 64px); align-items: center; max-width: 1240px; }
.nc-hero .app-icon { width: 84px; height: 84px; border-radius: 20px; margin: 0 0 22px; box-shadow: 0 14px 40px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 230, 168, 0.18); }
.nc-hero h1 { font-size: clamp(2.3rem, 4.2vw, 3.7rem); line-height: 1.02; margin: 18px 0 20px; }
.nc-hero h1 em { font-style: normal; color: var(--c-gold); }
.nc-hero .lead { font-size: 1.12rem; color: var(--fg-dim); max-width: 32rem; margin: 0 0 28px; }
.nc-hero .hero-actions { justify-content: flex-start; }
.nc-facts { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 26px 0 0; padding: 0; list-style: none; font-size: 0.88rem; color: var(--fg-mute); }
.nc-facts li::before { content: "✓"; color: var(--c-gold); margin-right: 7px; }

/* Two phones, staggered */
.nc-stage { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 6%; align-items: end; padding: 0 4% 6%; margin: 0; }
.nc-phone {
  display: block; border-radius: 40px; padding: 9px; background: #15122a;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 50px 110px -30px rgba(0, 0, 0, 0.9), inset 0 0 0 1px rgba(0, 0, 0, 0.6);
}
.nc-phone img { display: block; width: 100%; height: auto; border-radius: 32px; }
.nc-stage .nc-phone.back { transform: translateY(-9%) rotate(-3deg); opacity: 0.92; }
.nc-stage .nc-phone.front { transform: translateY(4%) rotate(2.5deg); }
.nc-caption { grid-column: 1 / -1; margin: 28px 0 0; font-size: 0.8rem; color: var(--fg-mute); text-align: center; }

/* ---------- At a glance ---------- */
.nc-glance { padding: 0 0 clamp(30px, 5vw, 60px); }
.nc-glance-card { padding: clamp(24px, 3vw, 36px); }
.nc-glance h2 { font-size: clamp(1.4rem, 2.2vw, 1.8rem); margin: 0 0 10px; }
.nc-define { margin: 0 0 22px; max-width: 62rem; font-size: 1.05rem; }
.nc-define strong { color: var(--fg); }
.nc-glance dl { margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px 24px; }
.nc-glance dt { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--c-gold-dim); margin-bottom: 4px; }
.nc-glance dd { margin: 0; color: var(--fg-dim); font-size: 0.93rem; line-height: 1.45; }

/* ---------- Scenes ---------- */
.nc-scenes { display: flex; flex-direction: column; gap: clamp(60px, 9vw, 110px); }
.nc-scene { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(28px, 4vw, 70px); align-items: center; }
.nc-scene:nth-child(even) { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); }
.nc-scene:nth-child(even) .nc-copy { order: 2; }
.nc-scene .nc-phone { max-width: 340px; width: 100%; justify-self: center; }
.nc-scene:nth-child(odd) .nc-phone { transform: rotate(-2deg); }
.nc-scene:nth-child(even) .nc-phone { transform: rotate(2deg); }
.nc-moment { display: inline-block; font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--c-gold-dim); margin-bottom: 14px; }
.nc-copy h3 { font-size: clamp(1.5rem, 2.4vw, 2.1rem); line-height: 1.12; margin: 0 0 14px; }
.nc-does { list-style: none; margin: 0 0 20px; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.nc-does li { padding-left: 26px; position: relative; color: var(--fg-dim); line-height: 1.5; }
.nc-does li::before { content: ""; position: absolute; left: 4px; top: 0.55em; width: 9px; height: 9px; border-radius: 50%; border: 2px solid var(--c-gold); }
.nc-result { display: flex; align-items: baseline; gap: 12px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, 0.09); }
.nc-result strong { font-family: var(--display); font-size: 2rem; color: var(--c-gold); letter-spacing: -0.02em; }
.nc-result span { color: var(--fg-mute); font-size: 0.9rem; }

/* ---------- Pricing ---------- */
.nc-plans { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.nc-plan { padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.nc-plan h3 { font-size: 1.2rem; margin: 0; }
.nc-plan .price { font-family: var(--display); font-size: 2rem; letter-spacing: -0.02em; color: var(--fg); }
.nc-plan .price small { font-size: 1rem; color: var(--fg-mute); font-family: inherit; letter-spacing: 0; }
.nc-plan ul { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-direction: column; gap: 7px; color: var(--fg-dim); }
.nc-plan li::before { content: "✓"; color: var(--c-gold); margin-right: 9px; }
.nc-plan.paid { border-color: rgba(243, 199, 107, 0.35); }
.nc-plan .note { margin: 4px 0 0; font-size: 0.85rem; color: var(--fg-mute); }
.capability h3.cap-title { font-size: 1.05rem; margin-bottom: 6px; letter-spacing: -0.01em; font-family: inherit; font-weight: 600; }

@media (max-width: 960px) {
  .nc-hero .container, .nc-scene, .nc-scene:nth-child(even) { grid-template-columns: minmax(0, 1fr); }
  .nc-scene:nth-child(even) .nc-copy { order: 0; }
  .nc-stage { max-width: 520px; margin: 24px auto 0; padding: 0 2% 8%; }
  .nc-glance dl { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 820px) { .nc-plans { grid-template-columns: 1fr; } }
@media (max-width: 520px) {
  .nc-glance dl { grid-template-columns: minmax(0, 1fr); }
  .nc-phone { border-radius: 28px; padding: 6px; }
  .nc-phone img { border-radius: 23px; }
}
@media (prefers-reduced-motion: reduce) { .nc-stars span { animation: none; } }
