/* =========================================================
   SANSKAR DIGITAL — NEXT LEVEL UI (Luxury Gold/Black)
   Drop-in replacement for assets/styles.css (no HTML change)
   ========================================================= */

:root{
  /* Brand palette */
  --bg:#060606;
  --bg2:#0B0B0B;
  --panel:#101010;
  --panel2:#151515;

  --text:#F6F2E8;
  --muted:rgba(246,242,232,.68);

  --gold:#D0A038;
  --gold2:#E8C060;
  --gold3:#E0B858;
  --goldBorder:rgba(232,192,96,.55);
  --goldBorderSoft:rgba(232,192,96,.28);

  --border:rgba(255,255,255,.08);
  --border2:rgba(255,255,255,.05);

  --shadow:0 20px 60px rgba(0,0,0,.58);
  --shadowSoft:0 12px 30px rgba(0,0,0,.42);
  --shadowGold:0 26px 70px rgba(208,160,56,.18);

  --r:24px;
  --r2:16px;

  --max:1240px;

  --focus:0 0 0 4px rgba(208,160,56,.25);
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color:var(--text);
  background:
    radial-gradient(1100px 520px at 18% 0%, rgba(208,160,56,.18), transparent 60%),
    radial-gradient(900px 460px at 82% 0%, rgba(232,192,96,.12), transparent 58%),
    radial-gradient(780px 520px at 50% 22%, rgba(208,160,56,.08), transparent 62%),
    linear-gradient(180deg, var(--bg), var(--bg2));
}

a{ color:inherit; text-decoration:none; }
img{ max-width:100%; height:auto; display:block; }
p{ line-height:1.65; margin:0; }
strong{ color:var(--text); }

/* Premium selection */
::selection{ background: rgba(208,160,56,.26); }

/* =========================================================
   Layout
   ========================================================= */
.container{
  max-width:var(--max);
  margin:0 auto;
  padding:0 52px;
}
@media(max-width:900px){
  .container{ padding:0 18px; }
}

/* =========================================================
   Header / Nav (glass)
   ========================================================= */
header{
  position:sticky;
  top:0;
  z-index:50;
  background:rgba(6,6,6,.80);
  border-bottom:1px solid var(--border);
  backdrop-filter: blur(14px);
}
.nav{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding:14px 0;
  flex-wrap:wrap;
}
.brand{
  display:flex;
  align-items:center;
  gap:10px;
  font-weight:950;
  letter-spacing:.3px;
}
.brand img{ height:36px; width:auto; }

.navlinks{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  align-items:center;
}
.navlinks a{
  padding:10px 14px;
  border-radius:999px;
  border:1px solid transparent;
  color:rgba(246,242,232,.75);
  transition: background .18s ease, border-color .18s ease, transform .10s ease, color .18s ease;
}
.navlinks a:hover{
  border-color:rgba(232,192,96,.22);
  background:rgba(255,255,255,.03);
  color:var(--text);
}
.navlinks a:active{ transform:translateY(1px); }
.navlinks a.active{
  border-color:rgba(232,192,96,.28);
  background:linear-gradient(180deg, rgba(208,160,56,.15), rgba(255,255,255,.02));
  color:var(--text);
}

/* =========================================================
   Typography
   ========================================================= */
h1,h2,h3{ margin:0; letter-spacing:.2px; }
h1{
  font-size:42px;
  line-height:1.12;
  font-weight:980;
}
h2{
  font-size:22px;
  line-height:1.2;
  font-weight:920;
}
h3{
  font-size:18px;
  line-height:1.25;
  font-weight:880;
}
@media(max-width:900px){
  h1{ font-size:30px; }
}

.small{ font-size:13px; color:var(--muted); }
.price{
  font-size:18px;
  font-weight:980;
  color:var(--gold2);
  letter-spacing:.2px;
}

/* =========================================================
   Buttons (premium)
   ========================================================= */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:46px;
  padding:12px 18px;
  border-radius:999px;
  border:1px solid var(--border);
  background:rgba(255,255,255,.04);
  color:var(--text);
  cursor:pointer;
  user-select:none;
  white-space:nowrap;
  transition: transform .12s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease, filter .18s ease;
}
.btn:hover{
  background:rgba(255,255,255,.06);
  border-color:rgba(255,255,255,.14);
}
.btn:active{ transform:translateY(1px); }
.btn:focus{ outline:none; box-shadow:var(--focus); border-color:rgba(232,192,96,.35); }

.btn.primary{
  border:0;
  color:#0b0b0b;
  font-weight:980;
  background: linear-gradient(135deg, var(--gold), var(--gold2));
  box-shadow: 0 14px 34px rgba(208,160,56,.18);
  position:relative;
  overflow:hidden;
}
.btn.primary:hover{
  filter:brightness(1.05);
  box-shadow: 0 22px 50px rgba(208,160,56,.20);
}
/* subtle gold shine on primary button */
.btn.primary::after{
  content:"";
  position:absolute;
  top:-60%;
  left:-40%;
  width:60%;
  height:220%;
  background:linear-gradient(90deg, transparent, rgba(255,255,255,.30), transparent);
  transform:rotate(18deg);
  opacity:.0;
  transition: opacity .18s ease;
}
.btn.primary:hover::after{
  opacity:.55;
  animation: sdShine 1.2s ease-in-out;
}
@keyframes sdShine{
  from{ transform:translateX(-30%) rotate(18deg); }
  to{ transform:translateX(260%) rotate(18deg); }
}

/* =========================================================
   Cards (glass + border + glow)
   ========================================================= */
.card{
  position:relative;
  background:
    radial-gradient(720px 260px at 18% 0%, rgba(208,160,56,.12), transparent 60%),
    radial-gradient(520px 200px at 85% 0%, rgba(232,192,96,.08), transparent 60%),
    linear-gradient(180deg, rgba(22,22,22,.92), rgba(10,10,10,.92));
  border:1px solid var(--goldBorderSoft);
  border-radius:var(--r);
  padding:20px;
  margin:14px 0;
  box-shadow:var(--shadow);
  backdrop-filter: blur(10px);
  overflow:hidden;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease, filter .18s ease;
}

/* corner shine */
.card::before{
  content:"";
  position:absolute;
  inset:-2px;
  background:
    radial-gradient(900px 260px at 28% 0%, rgba(232,192,96,.10), transparent 55%),
    radial-gradient(680px 240px at 80% 0%, rgba(208,160,56,.08), transparent 60%);
  opacity:.65;
  pointer-events:none;
}

.card:hover{
  transform:translateY(-5px);
  border-color:var(--goldBorder);
  box-shadow:var(--shadowGold);
  filter:saturate(1.04);
}

/* If a whole card is an anchor */
a.card{ display:block; }

/* Images inside cards */
.card img{
  border-radius:var(--r2);
  border:1px solid rgba(255,255,255,.10);
  box-shadow:0 12px 30px rgba(0,0,0,.45);
}

/* =========================================================
   Grid (more breathing space)
   ========================================================= */
.grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:28px;
  margin:18px 0 28px;
}
@media(max-width:900px){
  .grid{
    grid-template-columns:1fr;
    gap:18px;
  }
  .card{ margin:10px 0; }
}

/* =========================================================
   Badges
   ========================================================= */
.badges{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top:10px;
}
.badge{
  padding:7px 12px;
  border-radius:999px;
  border:1px solid rgba(232,192,96,.18);
  background:rgba(255,255,255,.02);
  color:rgba(246,242,232,.72);
  font-size:13px;
}

/* =========================================================
   Forms (inputs + textarea)
   ========================================================= */
input, textarea{
  width:100%;
  padding:12px 16px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.04);
  color:var(--text);
  margin-bottom:12px;
  outline:none;
  transition: box-shadow .18s ease, border-color .18s ease, background .18s ease;
}
textarea{ min-height:120px; resize:vertical; }
input:focus, textarea:focus{
  border-color:rgba(232,192,96,.45);
  box-shadow:var(--focus);
  background:rgba(255,255,255,.05);
}

/* =========================================================
   SELECT (Dropdown) — CSS-only visibility fix (no HTML change)
   NOTE: Opened dropdown list is browser-controlled (limited)
   ========================================================= */
select{
  width:100%;
  min-height:48px;
  padding:12px 46px 12px 16px;
  border-radius:999px;
  border:1px solid rgba(232,192,96,.55);
  background-color:#111111;
  color:#F6F2E8;
  font-weight:900;
  letter-spacing:.2px;

  appearance:none;
  -webkit-appearance:none;
  -moz-appearance:none;

  cursor:pointer;
  transition:.2s ease;
  box-shadow:0 10px 24px rgba(0,0,0,.35);

  background-image:
    linear-gradient(180deg,#1a1a1a,#0f0f0f),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='10'%3E%3Cpath fill='%23E8C060' d='M7 10L0 0h14z'/%3E%3C/svg%3E");
  background-repeat:no-repeat;
  background-position:0 0, right 16px center;
  background-size:100% 100%, 14px;
}
select:hover{
  border-color:rgba(232,192,96,.9);
  box-shadow: 0 0 0 3px rgba(208,160,56,.18), 0 16px 34px rgba(208,160,56,.10);
}
select:focus{
  outline:none;
  border-color:rgba(232,192,96,1);
  box-shadow: 0 0 0 4px rgba(208,160,56,.25), 0 18px 44px rgba(0,0,0,.55);
}

/* Option styling (limited by browser) */
select option{
  background:#0E0E0E;
  color:#F6F2E8;
  font-weight:800;
}

/* =========================================================
   Tables (Admin)
   ========================================================= */
table{ width:100%; border-collapse:collapse; }
th, td{
  padding:12px;
  border-bottom:1px solid rgba(255,255,255,.08);
  text-align:left;
  vertical-align:top;
}
th{
  font-size:13px;
  color:rgba(246,242,232,.70);
  font-weight:900;
}
tr:hover td{ background:rgba(255,255,255,.02); }

/* =========================================================
   Footer
   ========================================================= */
.footer{
  margin-top:28px;
  padding:30px 0 70px;
  border-top:1px solid rgba(255,255,255,.10);
  color:rgba(246,242,232,.62);
  text-align:center;
}

/* =========================================================
   Floating quick buttons (optional)
   ========================================================= */
.floating{
  position:fixed;
  right:14px;
  bottom:14px;
  z-index:60;
  display:flex;
  flex-direction:column;
  gap:10px;
}
.floating a{ box-shadow:var(--shadowSoft); }

/* =========================================================
   Scrollbar (luxury)
   ========================================================= */
::-webkit-scrollbar{ width:10px; }
::-webkit-scrollbar-thumb{
  background:rgba(232,192,96,.25);
  border-radius:999px;
  border:2px solid rgba(0,0,0,.25);
}
::-webkit-scrollbar-track{
  background:rgba(255,255,255,.03);
  border-radius:999px;
}

/* =========================================================
   Reduced motion
   ========================================================= */
@media (prefers-reduced-motion: reduce){
  *{ transition:none !important; animation:none !important; scroll-behavior:auto !important; }
}

/* =========================================
   Product Page – Plan Radio Styling
   ========================================= */
.plan-options input[type="radio"]{
  accent-color: var(--gold2);
  cursor:pointer;
}
/* =========================================
   Product Plan – Selected Glow Effect
   ========================================= */

/* Smooth transition */
.plan-options .card{
  transition: all .25s ease, border-color .25s ease, box-shadow .25s ease;
  cursor:pointer;
}

/* Hide default radio spacing */
.plan-options input[type="radio"]{
  accent-color: var(--gold2);
}

/* Selected plan card glow */
.plan-options .card{
  transition: all .25s ease;
  cursor:pointer;
}

.plan-options .card.selected-plan{
  border-color: var(--gold2);
  box-shadow: 0 0 0 2px rgba(232,192,96,.45),
              0 22px 60px rgba(208,160,56,.35);
  transform: translateY(-4px);
}


