/* =====================================================================
   Guest Gallery — "Neon" homepage theme (preview build)
   Loaded ONLY on index.php via $extraHead, after style.css. Overrides
   the shared design tokens + a handful of hardcoded #fff spots so the
   homepage goes fully dark/neon without touching style.css itself —
   every other page (dashboard, admin, other public pages) is
   completely unaffected since they don't load this file.
   ===================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Sora:wght@400;500;600;700;800&display=swap');

:root {
  --navy: #150C2B;           /* was the "dark" colour everywhere — now deep violet-black */
  --ivory: #120A24;          /* page background — was warm ivory, now near-black purple */
  --coral: #FF3DA6;          /* primary accent — was coral pink, now neon pink */
  --coral-dark: #E0298C;
  --gold: #3DFFE0;           /* secondary accent — was gold, now neon cyan */
  --white: #1C1032;
  --slate: #B9B6C9;          /* body copy colour — was dark slate, now light lavender-grey */
  --border: rgba(255,255,255,0.12);
  --font-sans: 'Sora', -apple-system, 'Segoe UI', Helvetica, Arial, sans-serif;
}

body { color: #F1EEFB; }

/* Ambient glow behind the hero, matching the neon mockup */
.hero { position: relative; }
.hero::before {
  content: '';
  position: absolute;
  top: -220px; left: 50%; transform: translateX(-50%);
  width: 900px; height: 700px;
  background: radial-gradient(circle at 30% 30%, rgba(255,61,166,0.28), transparent 60%),
              radial-gradient(circle at 70% 60%, rgba(61,255,224,0.22), transparent 60%);
  filter: blur(10px);
  pointer-events: none;
  z-index: 0;
}
.hero .container { position: relative; z-index: 1; }

/* Nav + logo were hardcoded to light-mode colours */
.nav { background: rgba(18,10,36,0.85); border-bottom: 1px solid rgba(255,255,255,0.08); }
.logo, .nav-links a, .btn-ghost { color: #fff; }
.nav-links a:hover { background: rgba(255,255,255,0.08); }
.btn-ghost:hover { background: rgba(255,255,255,0.08); }
@media (max-width: 920px) { .nav-links.open { background: #1C1032; } }

/* Buttons — secondary/ghost had dark-on-dark contrast problems once inverted */
.btn-secondary { border-color: rgba(255,255,255,0.35); color: #fff; }
.btn-secondary:hover { background: #fff; color: var(--ivory); }
.btn-primary { background: linear-gradient(90deg, var(--coral), #7B4CFF); box-shadow: 0 8px 24px rgba(255,61,166,0.35); }
.btn-primary:hover { background: linear-gradient(90deg, var(--coral-dark), #6A3FE0); }

/* Cards were hardcoded #fff */
.card, .card-flat, .feature-item, .demo-toggle {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  backdrop-filter: blur(6px);
}
.price-card.popular { border: 2px solid var(--coral); }
.demo-toggle button { color: #B9B6C9; }
.demo-toggle button.active { background: var(--coral); color: #fff; }

.badge-navy { background: rgba(255,255,255,0.1); color: #fff; }
.badge-sample { background: rgba(255,255,255,0.1); color: #E8D9A0; }

.step-card:nth-child(3) .step-number { color: var(--navy); }

/* Pricing-card feature list text was set to var(--navy) for dark-on-light
   contrast — now that --navy is the page's near-black, that same rule
   left it almost unreadable against the translucent dark card. */
.feature-list li { color: #E8E4F5; }
.price-amount span { color: #B9B6C9; }

/* A couple of decorative elements set inline styles in index.php itself —
   !important is the only way to re-theme them without editing the PHP. */
.phone-screen { background: linear-gradient(160deg, #2b1050, #120a24) !important; }
/* The 3 floating cards and the phone-mock grid now carry real photos via
   inline background-image (index.php) — no colour override needed here
   anymore. A thin border ties their edges into the neon theme instead. */
.floating-card { border: 1px solid rgba(255,255,255,0.15); }

/* The shared logo mark (includes/logo.php) is inline SVG with hardcoded
   accent colours from the old palette (coral circle, gold sparkle) —
   this recolours just those two accents to the neon pink/cyan tokens
   wherever the logo appears on a themed page, without touching
   logo.php itself (which is also used, unchanged, on dashboard/admin). */
.logo svg circle { stroke: var(--coral); }
.logo svg path[fill] { fill: var(--gold); }

footer { border-top: 1px solid rgba(255,255,255,0.06); }

/* index.php sets a few sections to background:#fff inline (the demo,
   pricing and FAQ sections) — those need to go dark too, or the page
   alternates jarring white blocks between the neon sections. */
section[style*="background:#fff"],
section[style*="background: #fff"] { background: transparent !important; }

/* Two demo-panel preview cards also set a light inline gradient —
   the wedding one especially reads as a stray white box on the dark
   page, so both get a dark, on-brand gradient instead. */
.two-col .card[style*="linear-gradient(160deg,#fff"] {
  background: linear-gradient(160deg, #2b1050, #120a24) !important;
}

