/* ===========================================================
   Nakshatra Capital — Authorised Person website
   Modern, responsive stylesheet
   NOTE: Company name & registration numbers are placeholders.
   =========================================================== */

:root {
  --navy-900: #071633;
  --navy-800: #0a1f44;
  --navy-700: #12305f;
  --navy-600: #1c4079;
  --gold-500: #c9a24b;
  --gold-400: #d9b968;
  --emerald: #1f9d76;
  --ink: #17233b;
  --slate: #4a5975;
  --muted: #74829c;
  --line: #e4e8f0;
  --bg: #ffffff;
  --bg-soft: #f6f8fc;
  --bg-softer: #eef2f9;
  --white: #ffffff;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 3px rgba(9, 22, 51, .06), 0 1px 2px rgba(9, 22, 51, .04);
  --shadow-md: 0 10px 30px rgba(9, 22, 51, .10);
  --shadow-lg: 0 24px 60px rgba(9, 22, 51, .16);
  --maxw: 1160px;
  --font: "Plus Jakarta Sans", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.01em; font-weight: 700; }
h1 { font-size: clamp(2.1rem, 4.5vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1rem; color: var(--slate); }
a { color: var(--navy-700); text-decoration: none; transition: color .18s ease; }
a:hover { color: var(--gold-500); }
img { max-width: 100%; display: block; }

.wrap { width: min(var(--maxw), 92%); margin-inline: auto; }
.section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.section-soft { background: var(--bg-soft); }
.center { text-align: center; }
.eyebrow {
  display: inline-block; text-transform: uppercase; letter-spacing: .16em;
  font-size: .74rem; font-weight: 700; color: var(--gold-500);
  margin-bottom: .9rem;
}
.lead { font-size: 1.12rem; color: var(--slate); max-width: 62ch; }
.center .lead { margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .8rem 1.5rem; border-radius: 999px; font-weight: 600; font-size: .96rem;
  cursor: pointer; border: 1px solid transparent; transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
}
.btn-primary { background: var(--gold-500); color: var(--navy-900); box-shadow: 0 6px 18px rgba(201,162,75,.35); }
.btn-primary:hover { background: var(--gold-400); color: var(--navy-900); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,.35); }
.btn-ghost:hover { background: rgba(255,255,255,.1); color: var(--white); transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--navy-700); border-color: var(--line); }
.btn-outline:hover { border-color: var(--gold-500); color: var(--navy-800); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.9); backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.brand { display: flex; align-items: center; gap: .7rem; font-weight: 800; color: var(--navy-800); letter-spacing: -.02em; }
.brand:hover { color: var(--navy-800); }
.brand .mark {
  width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--navy-800), var(--navy-600));
  color: var(--gold-400); font-weight: 800; font-size: 1.1rem; box-shadow: var(--shadow-sm);
}
.brand-name { font-size: 1.12rem; line-height: 1; }
.brand-sub { display: block; font-size: .64rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }

.nav-links { display: flex; align-items: center; gap: 2rem; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: var(--slate); font-weight: 600; font-size: .95rem; }
.nav-links a:hover, .nav-links a.active { color: var(--navy-800); }
.nav-cta { display: flex; align-items: center; gap: 1rem; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: .4rem; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--navy-800); margin: 5px 0; border-radius: 2px; transition: .25s; }

@media (max-width: 900px) {
  .nav-links {
    position: fixed; inset: 74px 0 auto 0; flex-direction: column; gap: 0;
    background: var(--white); border-bottom: 1px solid var(--line); padding: .5rem 0;
    transform: translateY(-140%); transition: transform .3s ease; box-shadow: var(--shadow-md);
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: .9rem 6%; }
  .nav-cta .btn { display: none; }
  .nav-toggle { display: block; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: radial-gradient(1200px 500px at 80% -10%, rgba(201,162,75,.18), transparent 60%),
              linear-gradient(160deg, var(--navy-900), var(--navy-700) 70%);
  color: #eaf0fb;
}
.hero .wrap { position: relative; z-index: 2; padding: clamp(3.5rem, 8vw, 6.5rem) 0 clamp(4rem, 8vw, 7rem); }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: center; }
.hero h1 { color: #fff; }
.hero p { color: #c4d0e8; font-size: 1.14rem; max-width: 52ch; }
.hero .badge {
  display: inline-flex; align-items: center; gap: .5rem; background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.18); color: #dce6fb; padding: .4rem .9rem; border-radius: 999px;
  font-size: .8rem; font-weight: 600; margin-bottom: 1.4rem;
}
.hero .badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--emerald); box-shadow: 0 0 0 4px rgba(31,157,118,.25); }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 1.8rem; }
.hero-note { margin-top: 1.6rem; font-size: .82rem; color: #93a4c6; }

.hero-card {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius-lg); padding: 1.6rem; backdrop-filter: blur(6px); box-shadow: var(--shadow-lg);
}
.hero-card h3 { color: #fff; font-size: 1rem; margin-bottom: 1rem; letter-spacing: .02em; }
.stat-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.stat { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-radius: 12px; padding: 1rem; }
.stat .num { font-size: 1.7rem; font-weight: 800; color: var(--gold-400); }
.stat .lbl { font-size: .78rem; color: #b7c4de; }
.ticker-line { display: flex; justify-content: space-between; align-items: center; padding: .55rem 0; border-bottom: 1px dashed rgba(255,255,255,.12); font-size: .9rem; color: #d7e0f2; }
.ticker-line:last-child { border-bottom: 0; }
.up { color: #4bd4a0; font-weight: 600; }
.down { color: #ff8080; font-weight: 600; }

@media (max-width: 860px) { .hero-grid { grid-template-columns: 1fr; } .hero-card { order: 2; } }

/* ---------- Marquee strip ---------- */
.strip { background: var(--navy-800); color: #cdd8ee; font-size: .85rem; }
.strip .wrap { display: flex; flex-wrap: wrap; gap: 1.5rem 2.5rem; padding: 1rem 0; justify-content: center; }
.strip b { color: var(--gold-400); }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 1.5rem; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.7rem; box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #d4dcea; }
.card .ico {
  width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center;
  background: var(--bg-softer); color: var(--navy-700); margin-bottom: 1rem; font-size: 1.3rem;
}
.card h3 { color: var(--navy-800); }
.card p { font-size: .96rem; margin-bottom: 0; }

/* ---------- Feature list ---------- */
.feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.feature-row.reverse .feature-media { order: 2; }
@media (max-width: 860px) { .feature-row { grid-template-columns: 1fr; } .feature-row.reverse .feature-media { order: 0; } }
.check-list { list-style: none; margin: 1.2rem 0 0; padding: 0; }
.check-list li { position: relative; padding-left: 2rem; margin-bottom: .85rem; color: var(--slate); }
.check-list li::before {
  content: "✓"; position: absolute; left: 0; top: 0; width: 22px; height: 22px; border-radius: 50%;
  background: rgba(31,157,118,.12); color: var(--emerald); display: grid; place-items: center; font-size: .8rem; font-weight: 800;
}
.feature-media {
  background: linear-gradient(155deg, var(--navy-800), var(--navy-600)); border-radius: var(--radius-lg);
  min-height: 320px; padding: 1.8rem; color: #dce6fb; box-shadow: var(--shadow-lg); position: relative; overflow: hidden;
}
.feature-media::after { content:""; position:absolute; width:220px; height:220px; right:-60px; top:-60px; background: radial-gradient(circle, rgba(201,162,75,.35), transparent 70%); }

/* ---------- Steps ---------- */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4,1fr); gap: 1.5rem; }
@media (max-width: 820px){ .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 500px){ .steps { grid-template-columns: 1fr; } }
.step { position: relative; padding-top: 1rem; }
.step .n { width: 42px; height: 42px; border-radius: 50%; background: var(--navy-800); color: var(--gold-400); display: grid; place-items: center; font-weight: 800; margin-bottom: .8rem; }
.step h3 { color: var(--navy-800); font-size: 1.05rem; }
.step p { font-size: .92rem; margin: 0; }

/* ---------- Trust / stats band ---------- */
.band { background: linear-gradient(160deg, var(--navy-900), var(--navy-700)); color: #eaf0fb; border-radius: var(--radius-lg); padding: clamp(2rem,5vw,3rem); }
.band h2 { color: #fff; }
.band .grid-4 .num { font-size: 2.2rem; font-weight: 800; color: var(--gold-400); }
.band .grid-4 .lbl { color: #b7c4de; font-size: .9rem; }
.band .grid-4 > div { text-align: center; }

/* ---------- CTA ---------- */
.cta {
  background: radial-gradient(700px 300px at 20% 0%, rgba(201,162,75,.18), transparent 60%), linear-gradient(160deg, var(--navy-800), var(--navy-600));
  color: #fff; border-radius: var(--radius-lg); padding: clamp(2.4rem,5vw,3.6rem); text-align: center;
}
.cta h2 { color: #fff; }
.cta p { color: #cbd6ee; max-width: 56ch; margin-inline: auto; }
.cta .hero-actions { justify-content: center; }

/* ---------- Team ---------- */
.person { text-align: center; }
.person .avatar { width: 96px; height: 96px; border-radius: 50%; margin: 0 auto .9rem; background: linear-gradient(135deg,var(--navy-700),var(--navy-600)); color: var(--gold-400); display: grid; place-items: center; font-size: 1.7rem; font-weight: 800; }
.person h3 { margin-bottom: .1rem; color: var(--navy-800); }
.person .role { color: var(--gold-500); font-weight: 600; font-size: .9rem; }

/* ---------- Tables (disclosures) ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
table { width: 100%; border-collapse: collapse; min-width: 520px; }
th, td { text-align: left; padding: .85rem 1rem; border-bottom: 1px solid var(--line); font-size: .92rem; }
th { background: var(--bg-softer); color: var(--navy-800); font-weight: 700; }
tr:last-child td { border-bottom: 0; }
caption { text-align: left; color: var(--muted); font-size: .82rem; padding: .5rem 0; }

/* ---------- Info / notice boxes ---------- */
.notice { border-left: 4px solid var(--gold-500); background: var(--bg-soft); padding: 1.1rem 1.3rem; border-radius: 0 12px 12px 0; margin: 1.2rem 0; }
.notice.warn { border-color: #e0574d; background: #fdf3f2; }
.notice h4 { margin: 0 0 .4rem; color: var(--navy-800); }
.notice p { margin: 0; font-size: .93rem; }

.reg-box { background: var(--bg-softer); border: 1px dashed #c3cee0; border-radius: var(--radius); padding: 1.3rem 1.5rem; }
.reg-box dl { display: grid; grid-template-columns: auto 1fr; gap: .4rem 1.5rem; margin: 0; }
.reg-box dt { color: var(--muted); font-size: .85rem; }
.reg-box dd { margin: 0; font-weight: 600; color: var(--navy-800); font-size: .92rem; }
@media (max-width: 520px){ .reg-box dl { grid-template-columns: 1fr; } .reg-box dd { margin-bottom: .5rem; } }

.pill { display:inline-block; background: var(--bg-softer); border:1px solid var(--line); border-radius:999px; padding:.3rem .8rem; font-size:.8rem; color:var(--slate); margin:.2rem .3rem .2rem 0; }

.anchor-nav { position: sticky; top: 90px; }
.anchor-nav ul { list-style: none; margin: 0; padding: 0; }
.anchor-nav a { display: block; padding: .5rem .8rem; border-radius: 8px; color: var(--slate); font-size: .9rem; font-weight: 600; }
.anchor-nav a:hover { background: var(--bg-soft); color: var(--navy-800); }
.split { display: grid; grid-template-columns: 240px 1fr; gap: 3rem; align-items: start; }
@media (max-width: 860px){ .split { grid-template-columns: 1fr; } .anchor-nav { position: static; } }

/* ---------- Contact form ---------- */
.form-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.8rem; box-shadow: var(--shadow-sm); }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-size: .85rem; font-weight: 600; color: var(--navy-800); margin-bottom: .35rem; }
.field input, .field textarea, .field select {
  width: 100%; padding: .75rem .9rem; border: 1px solid var(--line); border-radius: 10px; font: inherit; color: var(--ink); background: var(--bg-soft);
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--gold-500); background: #fff; box-shadow: 0 0 0 3px rgba(201,162,75,.15); }
.form-note { font-size: .8rem; color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: #b8c4de; font-size: .9rem; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2rem; padding: 3.2rem 0 2rem; }
@media (max-width: 820px){ .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px){ .footer-top { grid-template-columns: 1fr; } }
.site-footer h4 { color: #fff; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 1rem; }
.site-footer a { color: #b8c4de; }
.site-footer a:hover { color: var(--gold-400); }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: .55rem; }
.footer-brand .mark { background: linear-gradient(135deg, var(--navy-700), var(--navy-600)); }
.footer-brand p { color: #93a4c6; font-size: .86rem; max-width: 34ch; }

.disclosure-block { border-top: 1px solid rgba(255,255,255,.12); padding: 1.8rem 0; }
.disclosure-block p { color: #93a4c6; font-size: .8rem; line-height: 1.7; margin-bottom: .8rem; }
.disclosure-block strong { color: #cdd8ee; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 1.2rem 0; display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; color: #7f8fb0; font-size: .8rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 1.2rem; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { background: linear-gradient(160deg, var(--navy-900), var(--navy-700)); color: #eaf0fb; padding: clamp(3rem,6vw,4.5rem) 0; }
.page-hero h1 { color: #fff; }
.page-hero p { color: #c4d0e8; max-width: 60ch; }
.breadcrumb { color: #93a4c6; font-size: .82rem; margin-bottom: .8rem; }
.breadcrumb a { color: #c4d0e8; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
