/* =========================================================
   ShastraShaw: Landing Page Styles
   White / professional theme
   ========================================================= */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Surfaces */
  --bg:            #ffffff;
  --bg-subtle:     #f8f9fb;
  --bg-muted:      #f0f3f8;
  --border:        #e5e8ef;
  --border-strong: #d6dae4;

  /* Text */
  --ink:        #16213a;
  --ink-muted:  #5b6478;
  --ink-dim:    #97a0b2;

  /* Brand accent — confident, institutional blue */
  --primary:        #1d4ed8;
  --primary-dark:   #16399e;
  --primary-light:  #3b6ff0;
  --primary-tint:   #eef3fe;
  --primary-border: #d6e2fb;

  /* Secondary accent: used sparingly for warmth (badges, Devanagari) */
  --amber:      #a8721f;
  --amber-tint: #fbf3e3;

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #1d4ed8 0%, #4f6ff5 55%, #7c6ff0 100%);
  --gradient-text:    linear-gradient(120deg, #1d4ed8, #6366f1);
  --gradient-mesh:
    radial-gradient(circle at 12% 18%, rgba(29, 78, 216, 0.10), transparent 42%),
    radial-gradient(circle at 85% 12%, rgba(99, 102, 241, 0.10), transparent 40%),
    radial-gradient(circle at 70% 85%, rgba(168, 114, 31, 0.07), transparent 45%);

  --radius:    12px;
  --radius-lg: 20px;
  --radius-sm: 8px;

  --shadow-sm: 0 1px 2px rgba(16, 24, 40, 0.05);
  --shadow-md: 0 6px 16px rgba(16, 24, 40, 0.07), 0 1px 2px rgba(16, 24, 40, 0.04);
  --shadow-lg: 0 16px 40px rgba(16, 24, 40, 0.10), 0 2px 8px rgba(16, 24, 40, 0.05);

  --font-head: 'Source Serif 4', Georgia, serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 600; line-height: 1.2; color: var(--ink); }

a { color: inherit; }

/* ── Container ──────────────────────────────────────────── */
.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 96px 0; }
.section.tight { padding: 64px 0; }

/* ── Navbar ──────────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 20px 0;
  background: transparent;
  transition: background 0.3s, box-shadow 0.3s, padding 0.3s, border-color 0.3s;
  border-bottom: 1px solid transparent;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  padding: 13px 0;
  box-shadow: 0 2px 16px rgba(16, 24, 40, 0.05);
}

.nav-container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand-mark {
  display: flex;
  color: var(--primary);
}

.brand-name {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a:not(.btn-nav) {
  color: var(--ink-muted);
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: 0.1px;
  transition: color 0.2s;
  position: relative;
}

.nav-links a:not(.btn-nav):hover { color: var(--ink); }

.btn-nav {
  background: var(--primary);
  color: #fff !important;
  text-decoration: none;
  padding: 9px 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  box-shadow: var(--shadow-sm);
}

.btn-nav:hover { background: var(--primary-dark); transform: translateY(-1px); box-shadow: var(--shadow-md); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}

/* ── Hero ───────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 140px 24px 80px;
  overflow: hidden;
  background: var(--bg);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: var(--gradient-mesh);
}

.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.55;
}

.hero-blob-1 {
  width: 560px; height: 560px;
  top: -220px; right: -160px;
  background: radial-gradient(circle, var(--primary-tint), transparent 70%);
}

.hero-blob-2 {
  width: 420px; height: 420px;
  bottom: -200px; left: -140px;
  background: radial-gradient(circle, var(--amber-tint), transparent 70%);
  opacity: 0.7;
}

.hero-grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 55% at 50% 20%, black, transparent);
  opacity: 0.5;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 840px;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary-tint);
  border: 1px solid var(--primary-border);
  color: var(--primary-dark);
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1px;
  margin-bottom: 24px;
}

.hero-badge svg { flex-shrink: 0; }

.hero-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin-bottom: 22px;
}

.brand-serif {
  font-family: var(--font-head);
  font-size: clamp(32px, 5vw, 46px);
  font-weight: 600;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: -0.015em;
}

.title-sub {
  font-family: 'Noto Sans Devanagari', sans-serif;
  font-size: clamp(14px, 1.8vw, 17px);
  font-weight: 500;
  color: var(--amber);
}

.hero-desc {
  font-size: 16px;
  color: var(--ink-muted);
  max-width: 600px;
  margin: 0 auto 32px;
}

.hero-desc strong { color: var(--ink); font-weight: 600; }

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.btn-primary, .btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s, border-color 0.2s;
  cursor: pointer;
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--gradient-primary);
  color: #fff;
  box-shadow: var(--shadow-md);
}

.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); filter: brightness(1.05); }

.btn-secondary {
  background: #fff;
  color: var(--ink);
  border-color: var(--border-strong);
}

.btn-secondary:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-2px); }

.btn-large { padding: 14px 28px; font-size: 15px; }

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px 8px;
}

.stat { padding: 0 28px; text-align: center; }

.stat-num {
  display: block;
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 600;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat-label {
  display: block;
  font-size: 11.5px;
  color: var(--ink-muted);
  margin-top: 3px;
  font-weight: 500;
}

.stat-divider {
  width: 1px;
  height: 34px;
  background: var(--border-strong);
}

.hero-scroll {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--ink-dim);
  font-size: 12px;
  z-index: 1;
}

.scroll-indicator {
  width: 22px;
  height: 34px;
  border: 1.5px solid var(--border-strong);
  border-radius: 12px;
  position: relative;
}

.scroll-indicator::after {
  content: '';
  position: absolute;
  top: 6px; left: 50%;
  width: 4px; height: 4px;
  background: var(--primary);
  border-radius: 50%;
  transform: translateX(-50%);
  animation: scrollDot 1.6s ease-in-out infinite;
}

@keyframes scrollDot {
  0%   { top: 6px; opacity: 1; }
  70%  { top: 20px; opacity: 0; }
  100% { top: 20px; opacity: 0; }
}

/* ── Section header pattern ─────────────────────────────── */
.section-header { max-width: 620px; margin: 0 auto 56px; text-align: center; }

.section-tag {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--primary);
  background: var(--primary-tint);
  border: 1px solid var(--primary-border);
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.section-header h2 {
  font-size: clamp(24px, 3.2vw, 31px);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.section-header p { color: var(--ink-muted); font-size: 15px; }

/* ── About ──────────────────────────────────────────────── */
.about { background: var(--bg-subtle); }

.about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.about-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: box-shadow 0.25s, transform 0.25s, border-color 0.25s;
}

.about-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); border-color: var(--border-strong); }

.about-icon-wrap {
  width: 46px; height: 46px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 12px;
  background: var(--primary-tint);
  color: var(--primary);
  margin-bottom: 18px;
}

.about-card h3 { font-size: 17px; margin-bottom: 9px; }
.about-card p { color: var(--ink-muted); font-size: 14px; }

/* ── Coverage ───────────────────────────────────────────── */
.coverage-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.coverage-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px;
  transition: box-shadow 0.25s, transform 0.25s, border-color 0.25s;
}

.coverage-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); border-color: var(--border-strong); }

.coverage-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.coverage-icon-wrap {
  width: 42px; height: 42px;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  border-radius: 10px;
  background: var(--bg-muted);
  color: var(--primary);
}

.coverage-sector {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--primary);
}

.coverage-card h3 { font-size: 17px; margin-bottom: 9px; }
.coverage-card > p { color: var(--ink-muted); font-size: 13.5px; margin-bottom: 15px; }

.coverage-list { list-style: none; display: flex; flex-direction: column; gap: 9px; }

.coverage-list li {
  font-size: 14px;
  color: var(--ink);
  padding-left: 22px;
  position: relative;
}

.coverage-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 7px;
  width: 7px; height: 7px;
  border-radius: 2px;
  background: var(--primary-light);
}

.coverage-note {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px dashed var(--border-strong);
  font-size: 13.5px;
  color: var(--ink-muted);
}

/* ── Features ───────────────────────────────────────────── */
.features { background: var(--bg-subtle); }

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.feature-item {
  display: flex;
  gap: 18px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px;
  transition: box-shadow 0.25s, border-color 0.25s;
}

.feature-item:hover { box-shadow: var(--shadow-md); border-color: var(--border-strong); }

.feature-icon-wrap {
  width: 44px; height: 44px;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  border-radius: 11px;
  background: var(--primary-tint);
  color: var(--primary);
}

.feature-item h4 { font-size: 15px; margin-bottom: 5px; font-family: var(--font-body); font-weight: 650; }
.feature-item p { color: var(--ink-muted); font-size: 13.5px; }

.feature-item.highlight { border-color: var(--primary-border); background: linear-gradient(180deg, #fff, var(--primary-tint) 220%); }
.feature-item.highlight .feature-icon-wrap { background: var(--gradient-primary); color: #fff; }

/* ── How it works ───────────────────────────────────────── */
.steps-container {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}

.step {
  flex: 1 1 220px;
  max-width: 250px;
  text-align: center;
  padding: 0 12px;
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--gradient-primary);
  color: #fff;
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 16px;
}

.step-icon-wrap {
  width: 56px; height: 56px;
  margin: 0 auto 18px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 16px;
  background: var(--primary-tint);
  color: var(--primary);
}

.step-content h3 { font-size: 15.5px; margin-bottom: 7px; }
.step-content p { color: var(--ink-muted); font-size: 13px; }

.step-connector {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  padding-top: 34px;
  color: var(--border-strong);
  flex-shrink: 0;
}

/* ── Tech stack ─────────────────────────────────────────── */
.tech-section { padding: 56px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.tech-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.tech-label {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-dim);
}

.tech-pills { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }

.tech-pill {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-muted);
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  padding: 7px 14px;
  border-radius: 999px;
}

/* ── CTA ────────────────────────────────────────────────── */
.cta-section { padding: 100px 0; }

.cta-box {
  position: relative;
  background: linear-gradient(145deg, #16213a 0%, #1d2f57 55%, #2a3a6b 100%);
  border-radius: 24px;
  padding: 56px 40px;
  text-align: center;
  overflow: hidden;
}

.cta-glow {
  position: absolute;
  width: 500px; height: 500px;
  top: -220px; right: -120px;
  background: radial-gradient(circle, rgba(124, 111, 240, 0.35), transparent 70%);
  border-radius: 50%;
  filter: blur(10px);
}

.cta-icon {
  display: inline-flex;
  color: var(--primary-light);
  margin-bottom: 22px;
  position: relative;
}

.cta-box h2 { color: #fff; font-size: clamp(22px, 3vw, 28px); margin-bottom: 10px; position: relative; }
.cta-box > p { color: #aeb6c9; font-size: 15px; margin-bottom: 28px; position: relative; }
.cta-box .btn-primary { position: relative; }

.cta-disclaimer { margin-top: 22px; font-size: 13px; color: #7c869c !important; }

/* ── Footer ─────────────────────────────────────────────── */
.footer { padding: 56px 0 40px; text-align: center; }

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  margin-bottom: 10px;
}

.footer-brand .brand-name { font-size: 17px; }

.footer-devanagari {
  font-family: 'Noto Sans Devanagari', sans-serif;
  color: var(--amber);
  font-size: 15px;
  margin-bottom: 18px;
}

.footer-disclaimer {
  max-width: 520px;
  margin: 0 auto 18px;
  font-size: 13.5px;
  color: var(--ink-muted);
  line-height: 1.6;
}

.footer-links { display: flex; gap: 20px; justify-content: center; margin-bottom: 18px; }
.footer-links a { font-size: 13.5px; color: var(--ink-muted); text-decoration: none; }
.footer-links a:hover { color: var(--primary); }

.footer-copy { font-size: 12.5px; color: var(--ink-dim); }

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; }
  .coverage-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .steps-container { flex-direction: column; align-items: center; gap: 28px; }
  .step-connector { display: none; }
}

@media (max-width: 760px) {
  .nav-links {
    position: fixed;
    top: 0; right: -100%;
    width: min(78vw, 320px);
    height: 100vh;
    background: #fff;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 8px;
    padding: 100px 28px 28px;
    transition: right 0.3s ease;
    box-shadow: -8px 0 32px rgba(16,24,40,0.12);
  }
  .nav-links.open { right: 0; }
  .nav-links a:not(.btn-nav) { padding: 12px 0; width: 100%; border-bottom: 1px solid var(--border); }
  .nav-toggle { display: flex; }

  .hero-stats { flex-direction: column; gap: 16px; padding: 24px 20px; }
  .stat-divider { display: none; }
  .stat { padding: 0; }

  .section { padding: 64px 0; }
}
