:root {
  --bg: #0a1424;
  --bg-elev: #0e1c33;
  --bg-card: #102140;
  --line: #1f3a5f;
  --line-soft: #16294a;
  --text: #eaf1fb;
  --text-dim: #9fb4d4;
  --text-faint: #647ba0;
  --gold: #4ea3ff;        /* now a luminous blue accent */
  --gold-soft: #3d86db;
  --wa: #25d366;
  --danger: #e25555;
  --radius: 14px;
  --maxw: 1180px;
  --serif: "Fraunces", Georgia, serif;
  --sans: "Outfit", -apple-system, sans-serif;
  --mono: "JetBrains Mono", monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
/* animated blue aurora atmosphere */
body::before {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 1;
  background:
    radial-gradient(60% 50% at 20% 0%, rgba(78,163,255,0.16), transparent 60%),
    radial-gradient(55% 50% at 90% 20%, rgba(61,134,219,0.14), transparent 60%),
    radial-gradient(70% 60% at 50% 110%, rgba(40,90,180,0.18), transparent 60%);
  background-size: 200% 200%;
  animation: aurora 22s ease-in-out infinite;
}
@keyframes aurora {
  0%   { background-position: 0% 0%, 100% 20%, 50% 100%; }
  50%  { background-position: 30% 20%, 70% 0%, 40% 80%; }
  100% { background-position: 0% 0%, 100% 20%, 50% 100%; }
}
body::after {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 2; opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
#root { position: relative; z-index: 3; }

/* Floating photography motifs drifting in the background (decorative) */
.bg-motifs { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.bg-motifs span {
  position: absolute; color: rgba(120,170,255,0.10); font-size: 46px;
  animation: float-up linear infinite;
}
@keyframes float-up {
  0%   { transform: translateY(110vh) rotate(0deg); opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 1; }
  100% { transform: translateY(-15vh) rotate(220deg); opacity: 0; }
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, select, textarea { font-family: inherit; }
img { display: block; max-width: 100%; }

h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.05; letter-spacing: -0.02em; }
.serif { font-family: var(--serif); }
.mono { font-family: var(--mono); }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11,11,13,0.78); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-soft);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.logo { font-family: var(--serif); font-size: 26px; font-weight: 900; letter-spacing: -0.03em; }
.logo .dot { color: var(--gold); }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a { color: var(--text-dim); font-size: 15px; transition: color .2s; }
.nav-links a:hover { color: var(--text); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px; justify-content: center;
  padding: 11px 20px; border-radius: 10px; font-weight: 500; font-size: 15px;
  transition: transform .15s, background .2s, border-color .2s; white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-gold { background: var(--gold); color: #05101f; font-weight: 600; }
.btn-gold:hover { background: #6fb6ff; }
.btn-ghost { border: 1px solid var(--line); color: var(--text); }
.btn-ghost:hover { border-color: var(--gold-soft); color: var(--gold); }
.btn-wa { background: var(--wa); color: #04220f; font-weight: 600; }
.btn-wa:hover { filter: brightness(1.08); }
.btn-danger { border: 1px solid #3a2020; color: var(--danger); }
.btn-danger:hover { background: #2a1414; }
.btn-sm { padding: 7px 13px; font-size: 13px; border-radius: 8px; }
.btn:disabled { opacity: .5; cursor: not-allowed; }

/* ---------- Forms ---------- */
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13px; color: var(--text-dim); margin-bottom: 7px; letter-spacing: .02em; }
.input, .select, .textarea {
  width: 100%; background: var(--bg-elev); border: 1px solid var(--line);
  color: var(--text); padding: 12px 14px; border-radius: 10px; font-size: 15px; transition: border-color .2s;
}
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--gold-soft); }
.textarea { resize: vertical; min-height: 90px; }

/* ---------- Cards / grid ---------- */
.grid { display: grid; gap: 22px; }
.cards { grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); }

.pcard {
  background: var(--bg-card); border: 1px solid var(--line-soft); border-radius: var(--radius);
  overflow: hidden; transition: transform .25s, border-color .25s; position: relative; display: flex; flex-direction: column;
}
.pcard:hover { transform: translateY(-4px); border-color: var(--line); }
.pcard.premium { border-color: rgba(232,176,75,0.35); box-shadow: 0 0 0 1px rgba(232,176,75,0.12), 0 20px 50px -25px rgba(232,176,75,0.4); }
.pcard-cover { aspect-ratio: 4/3; background: #1a1a1e center/cover; position: relative; }
.pcard-cover::after { content:""; position:absolute; inset:0; background: linear-gradient(to top, rgba(11,11,13,0.7), transparent 50%); }
.pcard-body { padding: 16px 18px 18px; flex: 1; display: flex; flex-direction: column; }
.pcard h3 { font-size: 21px; margin-bottom: 3px; }
.pcard .meta { color: var(--text-dim); font-size: 14px; margin-bottom: 12px; }
.pcard .price { color: var(--gold); font-family: var(--mono); font-size: 14px; }
.pcard-foot { margin-top: auto; padding-top: 14px; display: flex; gap: 8px; align-items: center; }

.badge-premium {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  background: var(--gold); color: #05101f; font-size: 11px; font-weight: 700;
  padding: 5px 11px; border-radius: 100px; letter-spacing: .06em; text-transform: uppercase;
  display: flex; align-items: center; gap: 5px;
}
.tag { font-size: 12px; color: var(--text-faint); border: 1px solid var(--line); padding: 3px 9px; border-radius: 100px; text-transform: capitalize; }

/* ---------- Misc ---------- */
.panel { background: var(--bg-card); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 26px; }
.kicker { font-family: var(--mono); font-size: 12px; letter-spacing: .25em; text-transform: uppercase; color: var(--gold); }
.muted { color: var(--text-dim); }
.faint { color: var(--text-faint); }
.center { text-align: center; }
.row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.spread { display: flex; justify-content: space-between; align-items: center; gap: 16px; }

.alert { padding: 12px 16px; border-radius: 10px; font-size: 14px; margin-bottom: 16px; }
.alert-err { background: #2a1414; border: 1px solid #3a2020; color: #f0a0a0; }
.alert-ok { background: #14241a; border: 1px solid #1f3a28; color: #8fe0a8; }

.stat { background: var(--bg-card); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 22px; }
.stat .n { font-family: var(--serif); font-size: 40px; font-weight: 600; line-height: 1; }
.stat .l { color: var(--text-dim); font-size: 13px; margin-top: 8px; text-transform: uppercase; letter-spacing: .08em; }

table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { text-align: left; padding: 13px 14px; border-bottom: 1px solid var(--line-soft); }
th { color: var(--text-faint); font-weight: 500; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }
tr:hover td { background: var(--bg-elev); }

.pill { font-size: 11px; padding: 3px 9px; border-radius: 100px; font-weight: 500; }
.pill-on { background: #14241a; color: #8fe0a8; }
.pill-off { background: #221414; color: #d08a8a; }
.pill-gold { background: rgba(232,176,75,0.15); color: var(--gold); }

@keyframes rise { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
.rise { animation: rise .6s cubic-bezier(.2,.7,.3,1) both; }

@media (max-width: 640px) {
  .nav-links a:not(.btn) { display: none; }
  .stat .n { font-size: 32px; }
}

/* ============ Verified badge, stars, favorite ============ */
.badge-verified {
  display:inline-flex; align-items:center; gap:5px;
  background:rgba(80,160,255,0.12); color:#7ab8ff; border:1px solid rgba(80,160,255,0.3);
  font-size:12px; font-weight:600; padding:3px 10px; border-radius:100px;
}
.badge-verified.lg { font-size:14px; padding:5px 13px; }
.stars { color:var(--gold); letter-spacing:2px; font-size:16px; }
.fav-btn {
  position:absolute; top:12px; right:12px; z-index:3;
  width:38px; height:38px; border-radius:50%; display:flex; align-items:center; justify-content:center;
  background:rgba(11,11,13,0.7); backdrop-filter:blur(6px); border:1px solid var(--line);
  font-size:18px; transition:transform .15s;
}
.fav-btn:hover { transform:scale(1.12); }
.fav-btn.on { color:#ff6b8a; border-color:#ff6b8a; }

/* ============ How it works ============ */
.hiw { display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
.hiw-step { padding:28px; background:var(--bg-card); border:1px solid var(--line-soft); border-radius:var(--radius); }
.hiw-step .num {
  width:44px; height:44px; border-radius:12px; background:rgba(232,176,75,0.12); color:var(--gold);
  display:flex; align-items:center; justify-content:center; font-family:var(--serif); font-size:22px; font-weight:600; margin-bottom:16px;
}
.cat-chips { display:flex; gap:12px; flex-wrap:wrap; }
.cat-chip {
  padding:14px 22px; border:1px solid var(--line); border-radius:100px; font-size:15px; color:var(--text-dim);
  transition:all .2s; background:var(--bg-card);
}
.cat-chip:hover { border-color:var(--gold); color:var(--gold); transform:translateY(-2px); }

/* ============ Empty states ============ */
.empty { text-align:center; padding:70px 24px; }
.empty .icon { font-size:48px; opacity:.5; margin-bottom:16px; }
.empty h3 { font-size:24px; margin-bottom:8px; }

/* ============ Mobile menu ============ */
.menu-toggle { display:none; flex-direction:column; gap:5px; padding:8px; cursor:pointer; }
.menu-toggle span { width:24px; height:2px; background:var(--text); border-radius:2px; transition:.2s; }
#mobile-menu { display:none; }

/* ============ RESPONSIVE ============ */
@media (max-width: 860px) {
  .hiw { grid-template-columns:1fr; gap:14px; }
}
@media (max-width: 720px) {
  .container { padding:0 18px; }
  /* hamburger nav */
  .nav-links { display:none; }
  .menu-toggle { display:flex; }
  #mobile-menu:checked ~ .nav-links {
    display:flex; position:absolute; top:70px; left:0; right:0; flex-direction:column; gap:0;
    background:var(--bg-elev); border-bottom:1px solid var(--line); padding:8px 0;
  }
  #mobile-menu:checked ~ .nav-links a { padding:14px 24px; width:100%; font-size:16px; }
  #mobile-menu:checked ~ .nav-links a.btn { margin:8px 24px; width:auto; }
  .cards { grid-template-columns:1fr !important; }
  h1 { font-size:clamp(34px,9vw,52px) !important; }
  .panel { padding:20px; }
  .row { gap:10px; }
  /* stack filter/form rows on mobile */
  .stack-mobile { flex-direction:column; }
  .stack-mobile > * { width:100% !important; flex:1 1 auto !important; }
  /* bigger tap targets */
  .btn { padding:13px 20px; min-height:46px; }
  .input, .select, .textarea { padding:14px; font-size:16px; } /* 16px stops iOS zoom */
  table { font-size:13px; }
  th, td { padding:10px 8px; }
}
@media (max-width: 420px) {
  .stat .n { font-size:28px; }
  .nav-inner { height:62px; }
}

/* ============ Hero with photographer background image ============ */
.hero-photo {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  min-height: 460px;
  display: flex;
  align-items: center;
  padding: clamp(40px, 7vw, 80px) clamp(24px, 5vw, 64px);
  background:
    linear-gradient(100deg, rgba(10,20,36,0.96) 0%, rgba(10,20,36,0.85) 38%, rgba(16,33,64,0.35) 70%, rgba(16,33,64,0.15) 100%),
    url('hero.jpg') center/cover;
  border: 1px solid var(--line-soft);
  box-shadow: 0 30px 80px -40px rgba(0,0,0,0.8);
}
.hero-photo::after {
  /* subtle animated shimmer sweep for a premium feel */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(75deg, transparent 40%, rgba(120,180,255,0.08) 50%, transparent 60%);
  background-size: 250% 100%;
  animation: shimmer 7s ease-in-out infinite;
}
@keyframes shimmer { 0%{background-position:120% 0} 100%{background-position:-120% 0} }
.hero-photo > * { position: relative; z-index: 2; }

/* Premium glassy cards on blue */
.pcard { backdrop-filter: blur(2px); }
.pcard.premium {
  border-color: rgba(78,163,255,0.4);
  box-shadow: 0 0 0 1px rgba(78,163,255,0.15), 0 20px 50px -25px rgba(78,163,255,0.45);
}

/* Top install bar */
.install-bar {
  display: none; align-items: center; justify-content: center; gap: 12px;
  background: linear-gradient(90deg, var(--gold-soft), var(--gold));
  color: #05101f; font-weight: 600; font-size: 14px; padding: 9px 16px; text-align: center;
}
.install-bar button {
  background: #05101f; color: #eaf1fb; padding: 6px 14px; border-radius: 8px; font-weight: 600; font-size: 13px;
}
.install-bar .x { background: transparent; color: #05101f; font-size: 18px; padding: 0 6px; }
