/* ============================================================
   NokNok Services — Diwali Coming Soon
   Tokens
   ============================================================ */
:root{
  --void:        #0B0908;
  --panel:       #171210;
  --panel-line:  #2A211C;
  --ink:         #FBF3E9;
  --ink-dim:     #B8A99C;
  --ink-faint:   #6E6058;
  --flame:       #FF5A1F;
  --flame-dim:   #C1440E;
  --gold:        #F5B942;
  --gold-soft:   #F5B94222;

  --font-display: 'Baloo 2', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;

  --wrap: 1160px;
  --radius: 16px;
}

*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin:0;
  background: var(--void);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
h1,h2,h3{ font-family: var(--font-display); margin:0; }
p{ margin:0; }
a{ color: inherit; text-decoration: none; }
img,svg{ display:block; max-width:100%; }
button{ font-family: inherit; }

.sr-only{
  position:absolute; width:1px; height:1px; padding:0; margin:-1px;
  overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0;
}

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

@media (prefers-reduced-motion: reduce){
  *{ animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

/* ============================================================
   Signature element: diya light garland
   ============================================================ */
.light-string{
  position: relative;
  height: 34px;
  overflow: hidden;
  background: var(--void);
  z-index: 40;
}
.light-string__wire{ position:absolute; inset:0; width:100%; height:100%; opacity:.6; }
.light-string__bulbs{
  position:absolute; inset:0;
  background-repeat: repeat-x;
  background-size: 78px 34px;
  background-position: 20px 4px;
  background-image:
    radial-gradient(circle at 12px 22px, var(--gold) 0 4px, transparent 5px),
    radial-gradient(circle at 51px 10px, var(--flame) 0 4px, transparent 5px);
  animation: twinkle 2.6s ease-in-out infinite;
}
@keyframes twinkle{
  0%, 100%{ filter: drop-shadow(0 0 3px var(--gold)) brightness(1); }
  50%{ filter: drop-shadow(0 0 8px var(--flame)) brightness(1.5); }
}

.divider{
  height: 46px;
  background: var(--void);
  position: relative;
  clip-path: polygon(0 100%, 100% 0, 100% 100%);
}
.divider--down{ clip-path: polygon(0 0, 100% 100%, 0 100%); }

/* ============================================================
   Header
   ============================================================ */
.site-header{
  position: sticky; top:0; z-index: 50;
  background: rgba(11,9,8,.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--panel-line);
}
.header-row{
  display:flex; align-items:center; gap:32px;
  height: 72px;
}
.logo{
  display:flex; align-items:center; gap:8px;
  font-family: var(--font-display);
  font-weight:700; font-size:1.3rem;
  color: var(--flame);
  margin-right: auto;
}
.logo__mark svg{ width:26px; height:26px; }
.logo__thin{ color: var(--ink); font-weight:600; margin-left:1px; }

.main-nav{ display:flex; gap:28px; }
.main-nav a{
  color: var(--ink-dim); font-size:.95rem; font-weight:500;
  transition: color .2s;
}
.main-nav a:hover{ color: var(--ink); }

.nav-toggle{ display:none; background:none; border:0; cursor:pointer; padding:8px; }
.nav-toggle span{
  display:block; width:22px; height:2px; background: var(--ink); margin:4px 0; border-radius:2px;
}

/* ============================================================
   Buttons
   ============================================================ */
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight:700; font-size: .98rem;
  font-family: var(--font-display);
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  white-space: nowrap;
  border: none; cursor:pointer;
}
.btn--primary{
  background: linear-gradient(135deg, var(--flame), var(--flame-dim));
  color:#fff;
  box-shadow: 0 8px 24px -8px rgba(255,90,31,.6);
}
.btn--primary:hover{ transform: translateY(-2px); box-shadow: 0 12px 28px -8px rgba(255,90,31,.75); }
.btn--small{ padding: 10px 20px; font-size:.9rem; }
.btn--ghost{
  background: transparent; color: var(--ink); border: 1px solid var(--panel-line);
}
.btn--ghost:hover{ border-color: var(--flame); color: var(--flame); }

/* ============================================================
   Type helpers
   ============================================================ */
.eyebrow{
  color: var(--flame);
  font-family: var(--font-display);
  font-weight:700;
  font-size: .82rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 14px;
  display:flex; align-items:center; gap:8px;
}
.eyebrow--light{ color: var(--gold); }
.eyebrow__diya{ font-size: 1rem; }

.text-accent{
  background: linear-gradient(100deg, var(--flame) 20%, var(--gold) 80%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section-title{
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 16px;
}
.section-title--center{ text-align:center; max-width: 720px; margin-left:auto; margin-right:auto; }
.section-sub{
  color: var(--ink-dim);
  font-size: 1.05rem;
  max-width: 560px;
  margin-bottom: 44px;
}
.section-sub--center{ margin-left:auto; margin-right:auto; text-align:center; }

/* ============================================================
   Hero
   ============================================================ */
.hero{
  position: relative;
  padding: 96px 0 76px;
  overflow: hidden;
  isolation: isolate;
}
.hero__glow{
  position:absolute; top:-160px; left:50%; translate:-50% 0;
  width:900px; height:600px;
  background: radial-gradient(closest-side, rgba(255,90,31,.20), transparent 70%);
  z-index:-2;
  pointer-events:none;
}
.hero__rangoli{
  position:absolute; right:-220px; top:-120px;
  width:640px; height:640px;
  background-image: repeating-conic-gradient(from 0deg, var(--gold-soft) 0deg 10deg, transparent 10deg 30deg);
  border-radius:50%;
  mask-image: radial-gradient(circle, black 55%, transparent 78%);
  -webkit-mask-image: radial-gradient(circle, black 55%, transparent 78%);
  opacity:.5;
  animation: spin 90s linear infinite;
  z-index:-1;
  pointer-events:none;
}
@keyframes spin{ to{ transform: rotate(360deg);} }

.hero__inner{ max-width: 780px; }
.hero__headline{
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.01em;
  margin-bottom: 22px;
}
.hero__sub{
  color: var(--ink-dim);
  font-size: 1.15rem;
  max-width: 540px;
  margin-bottom: 40px;
}

.countdown{
  display:flex; align-items:center; gap: 14px;
  margin-bottom: 40px;
}
.countdown__unit{
  display:flex; flex-direction:column; align-items:center;
  background: var(--panel);
  border: 1px solid var(--panel-line);
  border-radius: 12px;
  min-width: 74px;
  padding: 10px 6px 8px;
}
.countdown__num{
  font-family: var(--font-display);
  font-size: 1.9rem; font-weight:700;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.countdown__label{
  font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-faint);
  margin-top: 2px;
}
.countdown__sep{ color: var(--panel-line); font-size:1.6rem; font-weight:700; }

.hero__cta{ display:flex; flex-wrap:wrap; gap:16px; align-items:center; }

/* ============================================================
   Diwali Specials
   ============================================================ */
.specials{ padding: 20px 0 80px; background: var(--void); }
.specials__grid{
  display:grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
}
.special-card{
  position:relative;
  background: linear-gradient(165deg, #1c1512, var(--panel));
  border: 1px solid #3a2a18;
  border-radius: var(--radius);
  padding: 30px 26px 28px;
  transition: transform .2s ease, border-color .2s ease;
}
.special-card:hover{ transform: translateY(-4px); border-color: var(--gold); }
.special-card__badge{
  display:inline-block; font-size:.72rem; font-weight:700;
  color: var(--void); background: var(--gold);
  padding: 4px 10px; border-radius: 999px; margin-bottom: 18px;
  letter-spacing:.02em;
}
.special-card__icon{
  width:48px; height:48px; border-radius:12px;
  background: rgba(245,185,66,.12);
  display:flex; align-items:center; justify-content:center;
  margin-bottom:18px;
}
.special-card__icon svg{ width:24px; height:24px; }
.special-card h3{ font-size:1.25rem; margin-bottom:8px; }
.special-card p{ color: var(--ink-dim); font-size:.95rem; }

/* ============================================================
   Services grid
   ============================================================ */
.services{ padding: 20px 0 88px; }
.services__grid{
  display:grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
}
.service-card{
  background: var(--panel);
  border: 1px solid var(--panel-line);
  border-radius: 14px;
  padding: 22px 20px;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}
.service-card:hover{
  transform: translateY(-3px);
  border-color: var(--flame);
  background: #1c1613;
}
.service-card__icon{
  width:42px; height:42px; border-radius:10px;
  background: rgba(255,90,31,.13);
  display:flex; align-items:center; justify-content:center;
  margin-bottom:14px;
}
.service-card__icon svg{ width:21px; height:21px; }
.service-card h3{ font-size: 1.02rem; font-weight:600; margin-bottom:5px; font-family: var(--font-body); }
.service-card p{ color: var(--ink-faint); font-size:.85rem; }

/* ============================================================
   Why / Stats
   ============================================================ */
.why{ padding: 88px 0 96px; background: var(--panel); }
.stats{
  display:flex; justify-content:center; gap: 90px;
  flex-wrap: wrap;
  margin: 50px 0 40px;
}
.stat{ display:flex; flex-direction:column; align-items:center; }
.stat__num{
  font-family: var(--font-display);
  font-size: 3.2rem; font-weight:800; color: var(--flame);
  line-height:1;
}
.stat__num small{ font-size:1.6rem; font-weight:700; }
.stat__label{
  margin-top:10px; color: var(--ink-dim); font-size:.85rem;
  letter-spacing:.06em; text-transform: uppercase;
}
.quote{
  text-align:center; color: var(--ink-faint); font-style: italic; font-size:1rem;
}

/* ============================================================
   Waitlist
   ============================================================ */
.waitlist{ padding: 100px 0 110px; text-align:center; position:relative; overflow:hidden; }
.waitlist::before{
  content:"";
  position:absolute; inset:0;
  background: radial-gradient(600px 300px at 50% 0%, rgba(245,185,66,.12), transparent 70%);
  pointer-events:none;
}
.waitlist__inner{ position:relative; }
.waitlist__form{
  display:flex; justify-content:center; gap:12px; flex-wrap:wrap;
  margin-bottom: 16px;
}
.waitlist__form input{
  background: var(--panel);
  border: 1px solid var(--panel-line);
  color: var(--ink);
  padding: 15px 20px;
  border-radius: 999px;
  min-width: 300px;
  font-size: 1rem;
  font-family: var(--font-body);
}
.waitlist__form input:focus{ outline: 2px solid var(--flame); outline-offset:2px; }
.waitlist__form input::placeholder{ color: var(--ink-faint); }
.waitlist__note{ color: var(--ink-faint); font-size:.85rem; }
.waitlist__note.is-success{ color: var(--gold); font-weight:600; }

/* ============================================================
   Footer
   ============================================================ */
.site-footer{ background: var(--void); border-top:1px solid var(--panel-line); padding: 52px 0 28px; }
.footer-row{
  display:flex; justify-content:space-between; align-items:flex-start; flex-wrap:wrap; gap:24px;
  margin-bottom: 36px;
}
.logo--footer{ margin-bottom:10px; }
.footer-tag{ color: var(--ink-faint); font-size:.92rem; }
.footer-social{ display:flex; gap:12px; }
.footer-social a{
  width:38px; height:38px; border-radius:10px;
  border:1px solid var(--panel-line);
  display:flex; align-items:center; justify-content:center;
  color: var(--ink-dim);
  transition: border-color .2s, color .2s;
}
.footer-social a:hover{ border-color: var(--flame); color: var(--flame); }
.footer-social svg{ width:17px; height:17px; }
.footer-bottom{
  display:flex; justify-content:space-between; flex-wrap:wrap; gap:8px;
  padding-top: 24px; border-top:1px solid var(--panel-line);
  color: var(--ink-faint); font-size:.82rem;
}

/* ============================================================
   Reveal-on-scroll (progressive enhancement — see script.js)
   ============================================================ */
.service-card, .special-card, .stat{
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .5s ease, transform .5s ease;
}
.service-card.is-visible, .special-card.is-visible, .stat.is-visible{
  opacity: 1;
  transform: translateY(0);
}
/* No-JS fallback: content must never depend on JS to be visible */
.no-js .service-card, .no-js .special-card, .no-js .stat{
  opacity: 1; transform: none;
}

/* ============================================================
   Focus visibility
   ============================================================ */
a:focus-visible, button:focus-visible, input:focus-visible{
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 980px){
  .services__grid{ grid-template-columns: repeat(3, 1fr); }
  .specials__grid{ grid-template-columns: 1fr; }
  .stats{ gap: 50px; }
}

@media (max-width: 720px){
  .main-nav{ display:none; }
  .nav-toggle{ display:block; }
  .header-row .btn--small{ display:none; }
  .services__grid{ grid-template-columns: repeat(2, 1fr); }
  .hero{ padding: 60px 0 56px; }
  .countdown{ gap:8px; }
  .countdown__unit{ min-width: 62px; padding: 8px 4px 6px; }
  .countdown__num{ font-size: 1.5rem; }
  .stats{ gap: 36px; justify-content: space-around; }
  .stat__num{ font-size: 2.4rem; }
  .waitlist__form input{ min-width: 0; width: 100%; }
  .waitlist__form{ flex-direction:column; align-items:stretch; padding: 0 12px;}
  .footer-bottom{ flex-direction:column; }
}

@media (max-width: 460px){
  .services__grid{ grid-template-columns: 1fr 1fr; gap:12px; }
  .service-card{ padding:16px 14px; }
}
