/* ==========================================================
   SEE DIAMOND STORE - style.css
   1. Colour/variables  2. Base  3. Header  4. Hero
   5. Sections & cards  6. Modal & form  7. Footer  8. Responsive
   ========================================================== */

/* 1. COLOURS - change the look of the whole site from here */
:root {
  --black: #0d0d0f;       /* matte black page background */
  --charcoal: #17171b;    /* dark charcoal for cards */
  --charcoal-2: #202026;  /* lighter charcoal for inputs/borders */
  --gold: #e2b13c;
  --gold-light: #fff1b8;
  --gold-dark: #9a6b12;
  --purple: #7b4bd6;      /* subtle purple accent */
  --text: #f2efe8;
  --muted: #a7a3b0;
  --danger: #ff7a7a;
  --radius: 20px;
  --font-head: "Oxanium", "Segoe UI", Arial, sans-serif;
  --font-body: "Manrope", "Segoe UI", Arial, sans-serif;
}

/* 2. BASE */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; } /* smooth scrolling */
body { background: var(--black); color: var(--text); font-family: var(--font-body); line-height: 1.65; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
.container { width: min(1120px, 92%); margin-inline: auto; }
.narrow { width: min(760px, 92%); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* Buttons */
.btn { display: inline-block; padding: 14px 28px; border-radius: 999px; font: 700 1rem var(--font-head); border: 1.5px solid transparent; cursor: pointer; text-align: center; transition: transform .25s, box-shadow .25s, background .25s; }
.btn-gold { background: linear-gradient(135deg, var(--gold-light), var(--gold) 55%, var(--gold-dark)); color: #20160a; box-shadow: 0 0 0 rgba(226,177,60,0); }
.btn-gold:hover { transform: translateY(-3px); box-shadow: 0 8px 28px rgba(226,177,60,.45), 0 0 0 4px rgba(123,75,214,.25); }
.btn-ghost { border-color: var(--gold-dark); color: var(--gold-light); background: transparent; }
.btn-ghost:hover { background: rgba(226,177,60,.1); transform: translateY(-3px); }
.full { width: 100%; }

/* 3. HEADER */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 50; background: rgba(13,13,15,.88); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid var(--charcoal-2); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; font: 800 1.15rem var(--font-head); letter-spacing: .06em; color: var(--gold-light); }
.brand-gem { width: 30px; height: 27px; }
.nav-links { display: flex; gap: 30px; }
.nav-links a { color: var(--muted); font-weight: 500; position: relative; padding: 6px 0; transition: color .2s; }
.nav-links a::after { content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: var(--gold); transition: width .3s; }
.nav-links a:hover { color: var(--gold-light); }
.nav-links a:hover::after { width: 100%; }
.menu-btn { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; flex-direction: column; justify-content: center; gap: 6px; align-items: center; }
.menu-btn span { width: 24px; height: 2px; background: var(--gold); transition: .3s; }

/* 4. HERO */
.hero { padding: 150px 0 90px; background:
  radial-gradient(ellipse at 80% 30%, rgba(123,75,214,.28), transparent 55%),
  radial-gradient(ellipse at 15% 90%, rgba(226,177,60,.12), transparent 50%), var(--black); }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; }
.store-name { font: 700 .95rem var(--font-head); letter-spacing: .3em; color: var(--gold); margin-bottom: 18px; }
h1 { font: 800 clamp(2.1rem, 5vw, 3.8rem)/1.08 var(--font-head); background: linear-gradient(135deg, #fff, var(--gold-light) 40%, var(--gold)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.subtitle { margin: 22px 0 32px; font-size: 1.2rem; color: var(--muted); max-width: 30em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-note { margin-top: 26px; font-size: .88rem; color: var(--muted); max-width: 34em; border-left: 3px solid var(--purple); padding-left: 12px; }
.hero-art { position: relative; height: 380px; display: grid; place-items: center; }
.glow { position: absolute; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle, rgba(226,177,60,.4), rgba(123,75,214,.2) 60%, transparent 70%); filter: blur(20px); }
.gem { position: absolute; filter: drop-shadow(0 12px 30px rgba(226,177,60,.45)); }
.gem-main { width: 250px; height: 225px; animation: float 5s ease-in-out infinite; } /* the one hero animation */
.gem-a { width: 70px; height: 63px; left: 8%; top: 12%; opacity: .75; transform: rotate(-16deg); }
.gem-b { width: 54px; height: 49px; right: 8%; bottom: 10%; opacity: .6; transform: rotate(14deg); }
@keyframes float { 50% { transform: translateY(-18px) rotate(2deg); } }

/* 5. SECTIONS & CARDS */
.section { padding: 88px 0; }
.section.alt { background: var(--charcoal); }
.section-title { font: 800 clamp(1.7rem, 3.5vw, 2.5rem) var(--font-head); text-align: center; color: var(--gold-light); }
.section-sub { text-align: center; color: var(--muted); margin: 12px auto 48px; max-width: 38em; }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.card { position: relative; background: linear-gradient(160deg, var(--charcoal-2), var(--charcoal)); border: 1px solid #2c2c34; border-radius: var(--radius); padding: 38px 24px 28px; text-align: center; box-shadow: 0 14px 40px rgba(0,0,0,.5); transition: transform .3s, border-color .3s, box-shadow .3s; }
.card:hover { transform: translateY(-8px); border-color: var(--gold-dark); box-shadow: 0 20px 50px rgba(0,0,0,.6), 0 0 34px rgba(123,75,214,.25); }
.card.best { border-color: var(--gold); box-shadow: 0 14px 50px rgba(226,177,60,.22); }
.badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: linear-gradient(135deg, var(--purple), #5a2fb0); color: #fff; font: 700 .78rem var(--font-head); letter-spacing: .12em; padding: 6px 18px; border-radius: 999px; box-shadow: 0 0 18px rgba(123,75,214,.6); white-space: nowrap; }
.art { position: relative; height: 150px; margin: -14px -10px 18px; border-radius: 16px; overflow: hidden; background: radial-gradient(circle at 50% 70%, rgba(226,177,60,.28), rgba(123,75,214,.22) 55%, #101013 85%); border: 1px solid #2c2c34; }
.art::after { content: ""; position: absolute; left: 12%; right: 12%; bottom: 4px; height: 14px; background: radial-gradient(ellipse, rgba(0,0,0,.7), transparent 70%); }
.art .g { position: absolute; z-index: 1; filter: drop-shadow(0 6px 10px rgba(0,0,0,.55)) drop-shadow(0 0 12px rgba(226,177,60,.35)); transition: transform .4s; }
.sp { position: absolute; width: 8px; height: 8px; background: #fff; clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%); z-index: 2; animation: twinkle 2.6s ease-in-out infinite; }
.s1 { top: 18%; left: 20%; } .s2 { top: 30%; right: 16%; animation-delay: 1.2s; }
@keyframes twinkle { 50% { opacity: .15; transform: scale(.5); } }
.qty { font: 800 2rem var(--font-head); }
.qty small { display: block; font: 500 .85rem var(--font-body); color: var(--muted); }
.price { font: 700 1.7rem var(--font-head); color: var(--gold); margin: 14px 0 22px; }

.steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.steps li { background: var(--black); border: 1px solid #2c2c34; border-radius: var(--radius); padding: 30px 26px; }
.step-no { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, var(--gold-light), var(--gold-dark)); color: #20160a; font: 800 1.2rem var(--font-head); margin-bottom: 16px; }
.steps h3, .why h3 { font: 700 1.2rem var(--font-head); margin-bottom: 8px; }
.steps p, .why p { color: var(--muted); }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 44px; }
.why { background: var(--charcoal); border-radius: var(--radius); padding: 28px 22px; border-top: 3px solid var(--purple); }

details { background: var(--black); border: 1px solid #2c2c34; border-radius: 16px; margin-bottom: 14px; padding: 18px 22px; }
summary { cursor: pointer; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
summary::after { content: "+"; color: var(--gold); font-size: 1.4rem; line-height: 1; }
details[open] summary::after { content: "\2212"; }
details p { margin-top: 12px; color: var(--muted); }

.contact-card { background: var(--charcoal); border: 1px solid var(--gold-dark); border-radius: var(--radius); padding: 36px; text-align: center; display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.contact-info { flex-basis: 100%; color: var(--muted); margin-top: 10px; word-break: break-word; }

/* 6. MODAL & FORM */
.modal { position: fixed; inset: 0; z-index: 100; background: rgba(0,0,0,.8); display: flex; align-items: center; justify-content: center; padding: 16px; overflow-y: auto; }
.modal[hidden] { display: none; }
.modal-box { position: relative; width: min(520px, 100%); max-height: 94vh; max-height: 94dvh; overflow-y: auto; background: var(--charcoal); border: 1px solid var(--gold-dark); border-radius: 24px; padding: 34px 28px; box-shadow: 0 0 60px rgba(123,75,214,.3); animation: pop .3s ease; }
@keyframes pop { from { opacity: 0; transform: scale(.94) translateY(14px); } }
.close { position: absolute; top: 10px; right: 14px; background: none; border: 0; color: var(--muted); font-size: 2rem; cursor: pointer; width: 44px; height: 44px; }
.close:hover { color: var(--gold); }
.modal h2 { font: 800 1.6rem var(--font-head); color: var(--gold-light); margin-bottom: 20px; }
label { display: block; font-weight: 700; font-size: .9rem; margin-bottom: 14px; }
input { display: block; width: 100%; margin-top: 6px; padding: 13px 15px; border-radius: 12px; border: 1.5px solid #34343d; background: var(--black); color: var(--text); font: 500 1rem var(--font-body); transition: border-color .2s, box-shadow .2s; }
input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(226,177,60,.2); }
input[readonly] { color: var(--gold); border-style: dashed; }
input.invalid { border-color: var(--danger); }
.err { display: block; min-height: 1em; margin-top: 4px; color: var(--danger); font-weight: 500; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-note { font-size: .85rem; color: var(--muted); margin: 4px 0 16px; }
.tick { width: 62px; height: 62px; border-radius: 50%; background: linear-gradient(135deg, var(--gold-light), var(--gold-dark)); color: #20160a; font-size: 2rem; font-weight: 800; display: grid; place-items: center; margin-bottom: 16px; }
.summary { display: grid; grid-template-columns: auto 1fr; gap: 8px 18px; background: var(--black); border-radius: 14px; padding: 18px; margin-bottom: 18px; }
.summary dt { color: var(--muted); }
.summary dd { font-weight: 700; text-align: right; word-break: break-word; }
.done-msg { margin-bottom: 10px; }
.done-warn { color: var(--gold); font-size: .9rem; margin-bottom: 20px; border-left: 3px solid var(--purple); padding-left: 12px; }

/* 7. FOOTER */
.footer { background: #08080a; border-top: 1px solid var(--charcoal-2); padding: 46px 0; text-align: center; color: var(--muted); }
.footer-inner { display: grid; gap: 12px; justify-items: center; }
.small { font-size: .8rem; }

/* 8. RESPONSIVE */
@media (max-width: 960px) {
  .grid, .steps { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .menu-btn { display: flex; }
  .nav-links { position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--charcoal); border-bottom: 1px solid var(--charcoal-2); max-height: 0; overflow: hidden; transition: max-height .35s; }
  .nav-links.open { max-height: 320px; }
  .nav-links a { padding: 16px 6%; }
  .hero { padding-top: 110px; }
  .hero-grid { grid-template-columns: 1fr; text-align: left; }
  .hero-art { height: 260px; }
  .gem-main { width: 180px; height: 162px; }
  .glow { width: 240px; height: 240px; }
  .grid, .steps, .why-grid { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  .row { grid-template-columns: 1fr; gap: 0; }
  .row .btn + .btn { margin-top: 10px; }
}
/* Respect users who prefer less motion */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
.hero-text { text-align: left; justify-self: start; }

/* PRIME 8 OFFER */
.prime { background: radial-gradient(ellipse at 15% 0%, rgba(123,75,214,.3), transparent 60%), var(--black); }
.prime-offer { display: grid; grid-template-columns: 1.1fr .9fr; gap: 30px; align-items: center; background: linear-gradient(150deg, #241b30, var(--charcoal) 55%); border: 1.5px solid var(--gold); border-radius: 28px; padding: 44px 40px; box-shadow: 0 0 60px rgba(226,177,60,.18), 0 20px 60px rgba(0,0,0,.6); }
.prime-info .badge { position: static; display: inline-block; transform: none; margin-bottom: 16px; }
.prime-info h2 { font: 800 clamp(1.8rem, 4vw, 2.6rem) var(--font-head); color: var(--gold-light); }
.prime-price { font: 800 clamp(2.6rem, 7vw, 4rem) var(--font-head); color: var(--gold); line-height: 1.1; margin-top: 10px; }
.prime-up { font-size: 1.25rem; margin-bottom: 14px; }
.prime-up strong { font: 800 1.6rem var(--font-head); color: var(--gold-light); }
.prime-text { color: var(--muted); margin-bottom: 24px; max-width: 32em; }
.prime-art .art { height: 280px; margin: 0; }
.prime-art .art .g { transform-origin: center; }
@media (max-width: 960px) { .prime-offer { grid-template-columns: 1fr; padding: 34px 24px; } }

/* CUSTOMER SUPPORT CARD */
.support-card { background: linear-gradient(160deg, var(--charcoal-2), var(--black)); border: 1px solid var(--gold-dark); border-radius: 24px; padding: 40px 26px; text-align: center; box-shadow: 0 14px 50px rgba(123,75,214,.22); }
.mail-icon { width: 76px; height: 57px; margin: 0 auto 16px; filter: drop-shadow(0 6px 16px rgba(226,177,60,.4)); }
.support-label { color: var(--muted); font-size: .9rem; }
.support-mail { display: inline-block; font: 800 clamp(1.15rem, 4.6vw, 1.9rem) var(--font-head); color: var(--gold-light); margin: 6px 0 24px; word-break: break-all; transition: color .2s; }
.support-mail:hover { color: var(--gold); }
.support-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* WhatsApp buttons, floating button, picker, footer links */
:root { color-scheme: dark; }
.site-header { padding-top: env(safe-area-inset-top, 0px); }
html { scroll-padding-top: calc(76px + env(safe-area-inset-top, 0px)); }
.ico { display: inline-block; width: 20px; height: 20px; vertical-align: -4px; margin-right: 4px; }
.btn-wa { background: transparent; border-color: #25D366; color: #7bf0a8; }
.btn-wa:hover { background: rgba(37,211,102,.14); transform: translateY(-3px); box-shadow: 0 6px 22px rgba(37,211,102,.25); }
.contact-card .btn { flex: 1 1 200px; }
.lnk { color: var(--gold-light); text-decoration: underline; }
.wa-float { position: fixed; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); z-index: 60; width: 58px; height: 58px; border-radius: 50%; border: 0; cursor: pointer; background: #25D366; color: #fff; display: grid; place-items: center; box-shadow: 0 8px 26px rgba(37,211,102,.45); transition: transform .25s; }
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 32px; height: 32px; }
.picker { z-index: 120; }
.picker .modal-box { text-align: center; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; }
.footer-links a:hover { color: var(--gold-light); }
@media (max-width: 760px) {
  .nav-links { visibility: hidden; }
  .nav-links.open { visibility: visible; }
  .prime-info .hero-actions .btn { flex: 1 1 100%; }
}

/* Email fallback toast */
.toast { position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(90px + env(safe-area-inset-bottom, 0px)); z-index: 130; width: min(440px, 92%); background: var(--charcoal); border: 1px solid var(--gold); border-radius: 18px; padding: 16px 44px 16px 18px; box-shadow: 0 10px 40px rgba(0,0,0,.7); }
.toast[hidden] { display: none; }
.toast p { margin-bottom: 10px; font-weight: 700; }
.toast .btn { padding: 10px 18px; font-size: .9rem; }
.close-t { position: absolute; top: 6px; right: 8px; background: none; border: 0; color: var(--muted); font-size: 1.6rem; width: 40px; height: 40px; cursor: pointer; }

/* UPI payment */
.pay-card, .paybox { background: linear-gradient(160deg, var(--charcoal-2), var(--black)); border: 1px solid var(--gold-dark); border-radius: 24px; padding: 34px 24px; text-align: center; box-shadow: 0 14px 50px rgba(123,75,214,.22); }
.upi-id { font: 800 clamp(1.3rem, 5vw, 2rem) var(--font-head); color: var(--gold-light); margin: 6px 0 22px; word-break: break-all; }
.pay-steps { text-align: left; max-width: 30em; margin: 24px auto 14px; padding-left: 1.4em; color: var(--muted); }
.pay-steps li { margin-bottom: 6px; }
.paybox { padding: 20px; margin-bottom: 18px; text-align: left; box-shadow: none; }
.pay-title { font: 700 1.1rem var(--font-head); color: var(--gold); margin-bottom: 6px; }
.upi-row { display: flex; align-items: center; gap: 10px; margin: 10px 0 14px; }
.upi-row code { flex: 1; background: var(--black); border: 1px dashed var(--gold-dark); border-radius: 12px; padding: 12px; color: var(--gold-light); font-size: 1rem; word-break: break-all; }
.upi-row .btn { padding: 11px 20px; }
.qr-img { width: min(300px, 100%); margin: 0 auto 14px; border-radius: 14px; background: #f3d28a; }
#qrModal .modal-box { text-align: center; }
#qrModal .upi-id { margin: 0 0 10px; }
