/* ==========================================================
   SmartZont09 — Design System (Dark Luxury)
   Colours: Black + Gold + Cream
   ========================================================== */

:root {
  --bg: #07070a;
  --bg-2: #0e0e13;
  --card: #14141b;
  --line: rgba(212, 175, 55, 0.22);
  --gold: #d4af37;
  --gold-2: #f3d27a;
  --cream: #f6efe0;
  --muted: #b9b2a2;
  --danger: #ff7b7b;
  --ok: #5fd39a;
  --radius: 16px;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.55);
  --font-head: "Playfair Display", Georgia, "Noto Serif Devanagari", serif;
  --font-body: "Poppins", "Noto Sans Devanagari", system-ui, -apple-system,
    "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: radial-gradient(1200px 600px at 80% -10%, #1b1608 0%, var(--bg) 60%);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-2); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3 { font-family: var(--font-head); line-height: 1.25; margin: 0 0 .6em; }
h1 { font-size: clamp(2rem, 6vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 4.5vw, 2.4rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; color: var(--muted); }

/* Accessibility */
:focus-visible { outline: 3px solid var(--gold-2); outline-offset: 3px; border-radius: 6px; }
.skip-link {
  position: absolute; left: -999px; top: 8px; z-index: 200;
  background: var(--gold); color: #000; padding: 10px 16px; border-radius: 8px;
}
.skip-link:focus { left: 8px; }
.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* Layout */
.container { width: min(1120px, 92%); margin-inline: auto; }
.section { padding: 72px 0; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 40px; }
.eyebrow {
  display: inline-block; color: var(--gold); letter-spacing: .18em;
  font-size: .78rem; font-weight: 600; text-transform: uppercase; margin-bottom: 12px;
}
.grid-2 { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-3 { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }

/* Navigation */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(7, 7, 10, .88); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--cream); font-weight: 700; font-size: 1.1rem; }
.brand img { width: 36px; height: 36px; border-radius: 8px; }
.brand span b { color: var(--gold); }
.nav-links { display: flex; align-items: center; gap: 22px; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: var(--cream); font-size: .95rem; }
.menu-toggle {
  display: none; background: none; color: var(--gold-2);
  border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; font-size: 1rem;
}
@media (max-width: 760px) {
  .menu-toggle { display: block; }
  .nav-links {
    display: none; position: absolute; left: 0; right: 0; top: 64px;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg-2); border-bottom: 1px solid var(--line);
  }
  .nav-links.open { display: flex; }
  .nav-links li a { display: block; padding: 14px 5%; }
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 26px; border-radius: 999px;
  font: 600 1rem var(--font-body); cursor: pointer; border: 1px solid transparent;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-2px); text-decoration: none; }
.btn-gold {
  background: linear-gradient(135deg, var(--gold-2), var(--gold)); color: #1a1405;
  box-shadow: 0 8px 24px rgba(212, 175, 55, .28);
}
.btn-gold:hover { box-shadow: 0 12px 32px rgba(212, 175, 55, .45); }
.btn-outline { background: transparent; color: var(--gold-2); border-color: var(--gold); }
.btn-outline:hover { background: rgba(212, 175, 55, .1); }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .55; cursor: not-allowed; transform: none; }

/* Hero */
.hero { padding: 64px 0 40px; }
.hero-grid { display: grid; gap: 40px; align-items: center; grid-template-columns: 1.1fr .9fr; }
.hero .lead { font-size: 1.1rem; max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 24px; }
.gold-text {
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.cover-stack { position: relative; display: flex; justify-content: center; gap: 0; }
.cover-stack img {
  width: 46%; border-radius: 10px; box-shadow: var(--shadow); border: 1px solid var(--line);
}
.cover-stack img:first-child { transform: rotate(-6deg) translateX(10%); }
.cover-stack img:last-child { transform: rotate(5deg) translateX(-10%); margin-top: 24px; }
@media (max-width: 820px) { .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero .lead { margin-inline: auto; } .hero-actions { justify-content: center; } }

/* Cards and products */
.card {
  background: linear-gradient(180deg, var(--card), var(--bg-2));
  border: 1px solid var(--line); border-radius: var(--radius); padding: 26px;
  transition: transform .25s ease, border-color .25s ease;
}
.card:hover { transform: translateY(-4px); border-color: var(--gold); }
.product-card { display: flex; flex-direction: column; gap: 14px; position: relative; }
.product-card img.cover { border-radius: 12px; border: 1px solid var(--line); box-shadow: var(--shadow); }
.badge {
  align-self: flex-start; background: rgba(212, 175, 55, .14); color: var(--gold-2);
  border: 1px solid var(--line); border-radius: 999px; padding: 4px 14px; font-size: .8rem; font-weight: 600;
}
.price { font: 700 2.2rem var(--font-head); color: var(--gold-2); }
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.checklist li { padding-left: 28px; position: relative; color: var(--cream); }
.checklist li::before { content: "✓"; position: absolute; left: 0; color: var(--gold); font-weight: 700; }
.checklist li.no { color: var(--muted); }
.checklist li.no::before { content: "—"; color: var(--muted); }

/* Comparison table */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
.compare { width: 100%; border-collapse: collapse; min-width: 520px; }
.compare th, .compare td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); }
.compare thead th { background: var(--card); color: var(--gold-2); font-family: var(--font-head); }
.compare tbody tr:last-child td { border-bottom: 0; }

/* FAQ */
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 4px 20px; margin-bottom: 12px; }
.faq summary { cursor: pointer; padding: 14px 0; font-weight: 600; color: var(--cream); }
.faq details[open] summary { color: var(--gold-2); }

/* Forms (login / register / checkout) */
.form-box { max-width: 440px; margin: 48px auto; }
.field { margin-bottom: 18px; }
.field label { display: block; margin-bottom: 6px; font-weight: 600; color: var(--cream); font-size: .95rem; }
.field input {
  width: 100%; min-height: 48px; padding: 12px 14px; border-radius: 10px;
  background: #0b0b10; color: var(--cream); border: 1px solid var(--line); font: 1rem var(--font-body);
}
.field input:focus { border-color: var(--gold); }
.alert { padding: 12px 16px; border-radius: 10px; margin-bottom: 16px; font-size: .95rem; border: 1px solid; }
.alert-error { color: var(--danger); border-color: var(--danger); background: rgba(255, 123, 123, .08); }
.alert-ok { color: var(--ok); border-color: var(--ok); background: rgba(95, 211, 154, .08); }

/* Footer */
.footer { border-top: 1px solid var(--line); background: #050507; padding: 48px 0 28px; margin-top: 40px; }
.footer-grid { display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.footer h3 { font-size: 1rem; color: var(--gold-2); }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer small { display: block; text-align: center; margin-top: 32px; color: var(--muted); }

/* Subtle animation */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.show { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
            }
