/* Ajiwika Financial Services — NBFC Corporate Design System */
:root {
  --teal: #0d4f4f;
  --teal-dark: #0a2e3d;
  --teal-light: #1a6b6b;
  --gold: #c8a24d;
  --gold-light: #e8c97a;
  --gold-muted: rgba(200, 162, 77, 0.14);
  --lavender: #c4b5d8;
  --lavender-light: #ddd4ec;
  --lavender-muted: rgba(196, 181, 216, 0.14);
  --white: #ffffff;
  --bg: #f6f8fa;
  --bg-alt: #eef2f6;
  --text: #1a2332;
  --text-muted: #5c6b7f;
  --border: #dde3ea;
  --shadow: 0 4px 24px rgba(10, 46, 61, 0.08);
  --shadow-lg: 0 24px 64px rgba(10, 46, 61, 0.14);
  --radius: 12px;
  --radius-lg: 20px;
  --font: "Inter", system-ui, sans-serif;
  --font-display: "Manrope", "Inter", sans-serif;
  --header-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  color: var(--teal-dark);
}

.eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: 0.5rem;
}

.section-sub {
  color: var(--text-muted);
  max-width: 600px;
  font-size: 1.05rem;
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-header .section-sub { margin: 12px auto 0; }

section { padding: 88px 0; }

/* Header */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--header-h);
  background: rgba(10, 46, 61, 0.97);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(200, 162, 77, 0.18);
  transition: box-shadow 0.3s;
}

.site-header.scrolled { box-shadow: var(--shadow-lg); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 20px;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.logo-img {
  height: 52px;
  width: auto;
  border-radius: 6px;
  object-fit: contain;
}

.logo-img--footer { height: 44px; }

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.logo-name {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.02em;
}

.logo-tag {
  font-size: 0.62rem;
  color: var(--lavender-light);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.logo-legal {
  font-size: 0.58rem;
  color: rgba(255, 255, 255, 0.55);
  max-width: 220px;
}

/* Corporate snapshot table on homepage */
.snapshot-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.snapshot-row {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  border-bottom: 1px solid var(--border);
}

.snapshot-row:last-child { border-bottom: none; }
.snapshot-row:nth-child(odd) { background: var(--bg); }

.snapshot-key {
  padding: 14px 18px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--teal-dark);
  border-right: 1px solid var(--border);
}

.snapshot-val {
  padding: 14px 18px;
  font-size: 0.88rem;
  color: var(--text-muted);
}

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

.reg-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow);
}

.reg-card h3 {
  font-size: 1rem;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.reg-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.reg-card a {
  font-size: 0.85rem;
  color: var(--teal);
  font-weight: 600;
}

.reg-card a:hover { color: var(--gold); }

.source-note {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

/* Disclosure checklist */
.disclosure-checklist {
  list-style: none;
  margin: 20px 0;
}

.disclosure-checklist li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.92rem;
  color: var(--text-muted);
}

.disclosure-checklist li::before {
  content: "✓";
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  background: var(--lavender-muted);
  color: var(--teal);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 700;
}

.notice-box {
  background: #fff8e6;
  border: 1px solid #f0d78c;
  border-left: 4px solid #d4a017;
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 20px 24px;
  margin: 24px 0;
}

.notice-box p { margin: 0; color: var(--text); font-size: 0.92rem; }

.notice-box strong { color: #8a6914; }

@media (max-width: 768px) {
  .snapshot-grid { grid-template-columns: 1fr; }
  .regulatory-cards { grid-template-columns: 1fr; }
  .logo-img { height: 40px; }
}

.nav-main { display: flex; gap: 2px; }
.nav-main a {
  font-size: 0.84rem;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.85);
  transition: background 0.2s, color 0.2s;
}
.nav-main a:hover,
.nav-main a.active {
  background: rgba(200, 162, 77, 0.15);
  color: var(--gold-light);
}

.nav-cta { display: flex; gap: 10px; flex-shrink: 0; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: var(--teal-dark);
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(200, 162, 77, 0.35);
}

.btn-outline {
  background: transparent;
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  color: var(--white);
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold-light); }

.btn-teal {
  background: var(--teal);
  color: var(--white);
}
.btn-teal:hover { background: var(--teal-light); }

.btn-ghost {
  background: transparent;
  color: var(--teal);
  padding-left: 0;
}
.btn-ghost:hover { color: var(--gold); }

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  padding: 8px;
  cursor: pointer;
}

/* Hero */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding-top: var(--header-h);
  overflow: hidden;
  background: linear-gradient(145deg, var(--teal-dark) 0%, var(--teal) 45%, #0f5a5a 100%);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 85% 20%, rgba(200, 162, 77, 0.12) 0%, transparent 55%),
    radial-gradient(ellipse 50% 40% at 10% 80%, rgba(255, 255, 255, 0.04) 0%, transparent 50%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
  padding: 64px 0 80px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(200, 162, 77, 0.12);
  border: 1px solid rgba(200, 162, 77, 0.3);
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gold-light);
  margin-bottom: 24px;
}

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

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  color: var(--white);
  margin-bottom: 20px;
  letter-spacing: -0.03em;
}

.hero-sub {
  font-size: 1.12rem;
  color: rgba(255, 255, 255, 0.78);
  max-width: 520px;
  margin-bottom: 32px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 36px;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.6);
}
.hero-meta span { display: flex; align-items: center; gap: 6px; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-panel {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: 32px;
  backdrop-filter: blur(8px);
}

.hero-panel h3 {
  color: var(--white);
  font-size: 1.1rem;
  margin-bottom: 20px;
}

.stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.stat-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius);
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.stat-num {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--gold-light);
  line-height: 1;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.35;
}

.hero-rbi {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.55);
  white-space: nowrap;
}

/* Trust wall */
.trust-wall {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 40px 0;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.trust-item { padding: 8px; }

.trust-num {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--teal);
  margin-bottom: 4px;
}

.trust-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* Pillars */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.pillar-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition: transform 0.25s, box-shadow 0.25s;
}

.pillar-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.pillar-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--gold-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
  margin-bottom: 20px;
}

.pillar-card h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.pillar-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
}

/* Product cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.product-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition: transform 0.25s;
}

.product-card:hover { transform: translateY(-3px); }

.product-card-top {
  height: 6px;
  background: linear-gradient(90deg, var(--teal), var(--gold));
}

.product-card-body { padding: 28px; }

.product-card h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.product-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.product-features {
  list-style: none;
  margin-bottom: 20px;
}

.product-features li {
  font-size: 0.85rem;
  color: var(--text-muted);
  padding: 5px 0 5px 20px;
  position: relative;
}

.product-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
}

/* Digital section */
.digital-section {
  background: linear-gradient(135deg, var(--teal-dark), var(--teal));
  color: var(--white);
}

.digital-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.digital-section .section-title { color: var(--white); }
.digital-section .section-sub { color: rgba(255, 255, 255, 0.75); }

.app-panel {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px;
  color: var(--text);
}

.app-header {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 20px;
}

.app-icon {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-light);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.app-meta h3 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.app-meta p { font-size: 0.82rem; color: var(--text-muted); }

.app-stats {
  display: flex;
  gap: 16px;
  margin-top: 8px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.app-stats strong { color: var(--teal); }

.play-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  padding: 12px 20px;
  background: var(--teal-dark);
  color: var(--white);
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 600;
  transition: background 0.2s;
}
.play-badge:hover { background: var(--teal); }

/* Compliance strip */
.compliance-strip {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

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

.compliance-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.compliance-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--white);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
  flex-shrink: 0;
}

.compliance-item h4 {
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.compliance-item p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Page hero (inner pages) */
.page-hero {
  padding-top: calc(var(--header-h) + 56px);
  padding-bottom: 56px;
  background: linear-gradient(135deg, var(--teal-dark), var(--teal));
  color: var(--white);
}

.page-hero h1 {
  color: var(--white);
  font-size: clamp(2rem, 4vw, 2.75rem);
  margin-bottom: 12px;
}

.page-hero p {
  color: rgba(255, 255, 255, 0.75);
  max-width: 640px;
  font-size: 1.05rem;
}

.breadcrumb {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 16px;
}
.breadcrumb a:hover { color: var(--gold-light); }

/* Content pages */
.content-section { padding: 64px 0; }

.content-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 48px;
  align-items: start;
}

.sidebar-nav {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}

.sidebar-nav h4 {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.sidebar-nav a {
  display: block;
  padding: 8px 12px;
  font-size: 0.88rem;
  border-radius: 6px;
  color: var(--text-muted);
  margin-bottom: 2px;
}
.sidebar-nav a:hover,
.sidebar-nav a.active {
  background: var(--gold-muted);
  color: var(--teal);
}

.prose h2 {
  font-size: 1.5rem;
  margin: 40px 0 12px;
}
.prose h2:first-child { margin-top: 0; }

.prose h3 {
  font-size: 1.15rem;
  margin: 28px 0 10px;
}

.prose p, .prose li {
  color: var(--text-muted);
  margin-bottom: 14px;
  font-size: 0.95rem;
}

.prose ul, .prose ol {
  padding-left: 24px;
  margin-bottom: 16px;
}

.info-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0 28px;
  font-size: 0.9rem;
}

.info-table th,
.info-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.info-table th {
  background: var(--bg-alt);
  font-weight: 600;
  color: var(--teal-dark);
  width: 38%;
}

.info-table td { color: var(--text-muted); }

.highlight-box {
  background: var(--gold-muted);
  border-left: 4px solid var(--gold);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 20px 24px;
  margin: 24px 0;
}

.highlight-box p { margin: 0; color: var(--text); }

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.contact-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
}

.contact-card h3 {
  font-size: 1.1rem;
  margin-bottom: 16px;
}

.contact-item {
  display: flex;
  gap: 14px;
  margin-bottom: 20px;
}

.contact-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--gold-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
  flex-shrink: 0;
}

.contact-item strong {
  display: block;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 2px;
}

.contact-item span, .contact-item a {
  font-size: 0.95rem;
  color: var(--text);
}

.map-placeholder {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 32px;
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Footer */
.site-footer {
  background: var(--teal-dark);
  color: rgba(255, 255, 255, 0.75);
  padding: 64px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand p {
  font-size: 0.88rem;
  margin-top: 16px;
  line-height: 1.6;
}

.footer-col h4 {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold-light);
  margin-bottom: 16px;
}

.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 8px; }
.footer-col a {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.65);
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--gold-light); }

.footer-disclaimer {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.6;
  padding: 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 20px 0 28px;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-grid,
  .digital-grid,
  .contact-grid,
  .content-grid { grid-template-columns: 1fr; }
  .pillars,
  .compliance-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .sidebar-nav { position: static; }
}

@media (max-width: 768px) {
  .nav-main,
  .nav-cta { display: none; }
  .nav-main.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--header-h);
    left: 0; right: 0;
    background: var(--teal-dark);
    padding: 16px 24px 24px;
    border-bottom: 1px solid rgba(200, 162, 77, 0.2);
  }
  .menu-toggle { display: block; }
  .hero-rbi { display: none; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  section { padding: 64px 0; }
}
