:root {
  --bg: #f8fafc;
  --surface: #ffffff;
  --text: #0f172a;
  --muted: #5b6475;
  --primary: #1e2a78; /* royal blue */
  --primary-600: #1a2464;
  --gold: #b68c2a; /* royal gold */
  --gold-600: #9f7620;
  --secondary: #5b2a86; /* royal purple */
  --accent: #2a9d8f; /* emerald/teal */
  --rose: #8b1e3f; /* royal maroon */
  --header-h: 72px;
  --border: #e6e8ef;
  --shadow: 0 10px 30px rgba(10, 22, 70, 0.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

/* Cosmic animated background container (must sit above body background) */
.cosmic-bg { position: fixed; inset: 0; z-index: 0; pointer-events: none; display: none; background: radial-gradient(50% 80% at 50% 0%, rgba(30,42,120,0.08), transparent), radial-gradient(60% 50% at 100% 100%, rgba(182,140,42,0.10), transparent); }
#cosmic-canvas { width: 100%; height: 100%; display: block; opacity: .9; }
/* Anchor scroll offset for sticky header */
.section, .hero, .quote { scroll-margin-top: var(--header-h); }

img { max-width: 100%; display: block; }
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 12px rgba(0,0,0,0.03);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 0; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand-logo { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--gold); color: #fff; font-weight: 700; }
.brand-name { font-weight: 700; color: var(--primary); font-family: "Playfair Display", Georgia, serif; letter-spacing: .2px; }
.nav { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.nav a { color: var(--text); font-weight: 500; padding: 8px 10px; border-radius: 8px; position: relative; }
.nav a::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: 4px; height: 2px; background: linear-gradient(90deg, var(--gold), var(--secondary)); transform: scaleX(0); transform-origin: left; transition: transform .25s ease; border-radius: 2px; }
.nav a:hover { background: #f2f4f8; text-decoration: none; }
.nav a:hover::after { transform: scaleX(1); }
.nav a.active { color: var(--primary); background: #eef2ff; }
.nav a.active::after { transform: scaleX(1); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 10px; padding: 12px 18px; font-weight: 600; border: 1px solid transparent; box-shadow: var(--shadow); transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease; }
.btn-small { padding: 8px 12px; box-shadow: none; }
.btn-primary { background: linear-gradient(135deg, var(--primary), var(--secondary)); color: #fff; }
.btn-primary:hover { background: var(--primary-600); }
.btn-gold { background: linear-gradient(135deg, var(--gold), #d9a93a); color: #fff; }
.btn-gold:hover { background: var(--gold-600); }
.btn-ghost { background: #fff; color: var(--primary); border-color: var(--primary); box-shadow: none; }
.btn-ghost:hover { background: #eef2ff; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 12px 26px rgba(10,22,70,0.12); }

.hero {
  background:
    radial-gradient(1400px 600px at -10% -10%, rgba(30,42,120,0.12) 0%, transparent 60%),
    radial-gradient(1200px 500px at 110% -20%, rgba(182,140,42,0.18) 0%, transparent 55%),
    radial-gradient(1000px 500px at 50% 120%, rgba(91,42,134,0.10) 0%, transparent 60%),
    linear-gradient(0deg, #ffffff, #ffffff);
  border-bottom: 1px solid var(--border);
}
.hero-inner { padding: 64px 0; }
.hero-inner { display: grid; grid-template-columns: 1.2fr .8fr; gap: 24px; align-items: center; }
.hero-media img { width: 100%; border-radius: 18px; border: 1px solid var(--border); box-shadow: 0 30px 60px rgba(10,22,70,0.20); }
.tilt { will-change: transform; }

@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.hero h1 { font-family: "Playfair Display", Georgia, serif; font-size: clamp(28px, 5vw, 44px); line-height: 1.2; margin: 0 0 12px; color: var(--primary); }
.hero p { font-size: 18px; color: var(--muted); max-width: 720px; }
.hero-ctas { display: flex; gap: 12px; margin: 18px 0 8px; flex-wrap: wrap; }
.hero-facts { display: flex; gap: 16px; margin: 10px 0 0; padding: 0; list-style: none; color: var(--muted); font-weight: 600; }

.section { padding: 56px 0; background-image: linear-gradient(180deg, rgba(30,64,175,0.06), rgba(59,130,246,0.04)); background-repeat: no-repeat; }
.surface { background: #fcfdff; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background-image: linear-gradient(180deg, rgba(30,64,175,0.07), rgba(59,130,246,0.05)); background-repeat: no-repeat; }
.surface { background-image: radial-gradient(12px 12px at 10% 10%, rgba(30,42,120,0.04) 25%, transparent 26%), radial-gradient(10px 10px at 80% 20%, rgba(182,140,42,0.05) 25%, transparent 26%); background-repeat: repeat; background-size: 280px 220px, 220px 200px; }
.section-title { margin: 0 0 14px; font-family: "Playfair Display", Georgia, serif; font-size: clamp(22px, 4vw, 32px); color: var(--primary); position: relative; }
.section-title::after { content: ""; position: absolute; left: 0; bottom: -8px; width: 72px; height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--gold), var(--secondary), var(--accent)); }
.muted { color: var(--muted); }

.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 28px; align-items: start; }
.stats { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: 12px; }
.stat { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 14px; text-align: center; box-shadow: var(--shadow); }
.stat-label { display: block; color: var(--muted); font-size: 12px; }
.stat-value { display: block; font-weight: 700; }

.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 18px; box-shadow: var(--shadow); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; overflow: hidden; }
.card > img { width: 100%; height: 180px; object-fit: cover; border-radius: 10px; margin-bottom: 10px; }
.card h3 { margin: 0 0 6px; font-size: 20px; }
.price { color: var(--gold-600); font-weight: 700; margin-bottom: 8px; }
.card ul { margin: 8px 0 0; padding-left: 18px; color: var(--muted); }
.card:hover { transform: translateY(-4px); box-shadow: 0 16px 32px rgba(10,22,70,0.12); border-color: rgba(30,42,120,0.25); }

.checklist { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px 18px; padding-left: 0; list-style: none; }
.checklist li { position: relative; padding-left: 26px; }
.checklist li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--gold); font-weight: 800; }

.pill-list { display: flex; gap: 10px; flex-wrap: wrap; }
.pill { background: #eef2ff; color: var(--primary-600); padding: 8px 12px; border-radius: 999px; border: 1px solid #e2e8ff; font-weight: 600; transition: transform .18s ease, background-color .18s ease, color .18s ease; }
.pill:hover { transform: translateY(-2px); background: #e7ecff; color: var(--primary); }

.address { font-style: normal; color: var(--muted); }
.quote { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 18px; box-shadow: var(--shadow); }

label { display: block; font-weight: 600; margin: 10px 0 6px; }
input, textarea { width: 100%; padding: 12px 12px; border-radius: 10px; border: 1px solid var(--border); background: #fff; font: inherit; color: var(--text); }
input:focus, textarea:focus { outline: 3px solid #e5e7ff; border-color: var(--primary); }
.form-actions { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.form-msg { margin-top: 10px; font-weight: 600; }

.testimonial { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 18px; box-shadow: var(--shadow); }
.testimonial blockquote { margin: 10px 0; font-style: italic; }
.stars { color: #f59e0b; font-size: 18px; }
.cite { color: var(--muted); }

.site-footer { background: var(--surface); border-top: 1px solid var(--border); }
.footer-inner { padding: 18px 0; display: flex; gap: 10px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.tagline { color: var(--muted); }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(14px) scale(.98); transition: opacity .6s ease, transform .6s ease; will-change: opacity, transform; }
.reveal.in-view { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
  .reveal { opacity: 1; transform: none; }
}

@media (max-width: 1024px) {
  .stats { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .product-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 720px) {
  .grid-2 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .product-grid { grid-template-columns: 1fr; }
  .hero-inner { padding: 40px 0; }
  .hero-inner { grid-template-columns: 1fr; }
}


