/* ═══════════════════════════════════════════
   PrajnixLabs — Global Stylesheet
   Theme: Warm Light / Educational / Scholarly
   Fonts: Playfair Display + Plus Jakarta Sans
═══════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,600;0,700;0,800;1,600&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

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

:root {
  --cream:   #faf7f2;
  --warm:    #f5efe6;
  --paper:   #fffdf9;
  --ink:     #1a1612;
  --ink2:    #3d3530;
  --muted:   #8a7e74;
  --border:  #e8dfd4;
  --border2: #d6c9ba;

  --teal:    #0d7377;
  --teal-lt: #e6f4f4;
  --teal-md: #b2dede;
  --amber:   #d97706;
  --amber-lt:#fef3c7;
  --rose:    #be185d;
  --rose-lt: #fce7f3;
  --indigo:  #4338ca;
  --indigo-lt:#eef2ff;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'Plus Jakarta Sans', sans-serif;

  --shadow-sm: 0 1px 4px rgba(26,22,18,0.07);
  --shadow-md: 0 4px 20px rgba(26,22,18,0.09);
  --shadow-lg: 0 12px 48px rgba(26,22,18,0.12);

  --radius: 12px;
  --radius-lg: 20px;
}

html { scroll-behavior: smooth; }

body {
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* ── TYPOGRAPHY ── */
h1, h2, h3 { font-family: var(--font-display); font-weight: 700; line-height: 1.15; letter-spacing: -0.3px; }
h4, h5, h6 { font-family: var(--font-body); font-weight: 600; line-height: 1.3; }

a { color: var(--teal); text-decoration: none; }
a:hover { text-decoration: underline; }

img { display: block; max-width: 100%; }

.container { max-width: 1180px; margin: 0 auto; padding: 0 40px; }

/* ── NAV ── */
.site-nav {
  position: sticky; top: 0; z-index: 200;
  background: rgba(250,247,242,0.92);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1180px; margin: 0 auto; padding: 0 40px;
  height: 68px;
  display: flex; align-items: center; justify-content: space-between;
}
.site-logo {
  font-family: var(--font-display);
  font-size: 20px; font-weight: 800;
  color: var(--ink); text-decoration: none;
  display: flex; align-items: center; gap: 10px;
}
.site-logo .logo-mark {
  width: 34px; height: 34px;
  background: var(--teal);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 16px;
  font-family: var(--font-display);
}
.site-logo span { color: var(--teal); }

.nav-links { display: flex; gap: 4px; list-style: none; }
.nav-links a {
  color: var(--ink2); font-size: 14px; font-weight: 500;
  padding: 7px 14px; border-radius: 8px;
  text-decoration: none; transition: all 0.2s;
}
.nav-links a:hover, .nav-links a.active {
  background: var(--teal-lt); color: var(--teal);
}
.nav-links .has-drop { position: relative; }
.nav-links .has-drop > a::after { content: ' ▾'; font-size: 10px; }

.nav-cta {
  background: var(--teal);
  color: #fff;
  font-size: 13px; font-weight: 600;
  padding: 9px 22px; border-radius: 8px;
  text-decoration: none; transition: all 0.2s;
  letter-spacing: 0.2px;
}
.nav-cta:hover { background: #0a5f62; transform: translateY(-1px); box-shadow: 0 4px 16px rgba(13,115,119,0.25); }

.nav-mobile-btn { display: none; background: none; border: none; cursor: pointer; font-size: 22px; color: var(--ink); }

/* ── HERO ── */
.page-hero {
  background: var(--paper);
  border-bottom: 1px solid var(--border);
  padding: 96px 40px 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 60% at 50% 0%, rgba(13,115,119,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero .breadcrumb {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--teal-lt); border: 1px solid var(--teal-md);
  border-radius: 100px; padding: 5px 16px;
  font-size: 12px; font-weight: 600; color: var(--teal);
  letter-spacing: 0.5px; text-transform: uppercase;
  margin-bottom: 24px;
}
.page-hero h1 { font-size: clamp(36px, 5vw, 64px); color: var(--ink); max-width: 780px; margin: 0 auto 20px; }
.page-hero p { font-size: 18px; color: var(--muted); max-width: 580px; margin: 0 auto; font-weight: 300; line-height: 1.75; }

/* ── SECTION PRIMITIVES ── */
section { padding: 96px 40px; }
.section-label {
  font-size: 11px; font-weight: 700; letter-spacing: 3px;
  text-transform: uppercase; color: var(--teal);
  margin-bottom: 12px;
}
.section-title {
  font-family: var(--font-display); font-size: clamp(32px, 3.5vw, 50px);
  font-weight: 700; color: var(--ink); letter-spacing: -0.5px;
  line-height: 1.12; max-width: 640px; margin-bottom: 16px;
}
.section-sub {
  font-size: 16px; color: var(--muted); max-width: 520px;
  line-height: 1.75; font-weight: 300; margin-bottom: 56px;
}

/* ── CARDS ── */
.card {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.25s, transform 0.25s, border-color 0.25s;
}
.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  border-color: var(--teal-md);
}
.card-icon {
  width: 52px; height: 52px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; margin-bottom: 18px;
}
.card-icon.teal { background: var(--teal-lt); }
.card-icon.amber { background: var(--amber-lt); }
.card-icon.rose { background: var(--rose-lt); }
.card-icon.indigo { background: var(--indigo-lt); }

.card h3 { font-size: 17px; font-weight: 700; color: var(--ink); margin-bottom: 8px; font-family: var(--font-body); }
.card p { font-size: 14px; color: var(--muted); line-height: 1.65; font-weight: 300; }

/* ── GRID LAYOUTS ── */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-body); font-weight: 600; font-size: 14px;
  padding: 12px 28px; border-radius: 9px; text-decoration: none;
  transition: all 0.22s; cursor: pointer; border: none;
}
.btn-primary { background: var(--teal); color: #fff; }
.btn-primary:hover { background: #0a5f62; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(13,115,119,0.28); text-decoration: none; color: #fff; }
.btn-outline { background: transparent; color: var(--teal); border: 2px solid var(--teal); }
.btn-outline:hover { background: var(--teal-lt); text-decoration: none; }
.btn-amber { background: var(--amber); color: #fff; }
.btn-amber:hover { background: #b45309; transform: translateY(-2px); text-decoration: none; color: #fff; }
.btn-sm { padding: 8px 18px; font-size: 13px; }

/* ── BADGE ── */
.badge {
  display: inline-block; border-radius: 100px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.5px;
  padding: 4px 12px; text-transform: uppercase;
}
.badge-teal { background: var(--teal-lt); color: var(--teal); border: 1px solid var(--teal-md); }
.badge-amber { background: var(--amber-lt); color: var(--amber); border: 1px solid #fcd34d; }
.badge-rose { background: var(--rose-lt); color: var(--rose); border: 1px solid #fbcfe8; }
.badge-indigo { background: var(--indigo-lt); color: var(--indigo); border: 1px solid #c7d2fe; }

/* ── DIVIDER ── */
.divider { border: none; border-top: 1px solid var(--border); margin: 0; }

/* ── FOOTER ── */
.site-footer {
  background: var(--ink); color: #c4b8ab;
  padding: 80px 40px 40px;
}
.footer-inner { max-width: 1180px; margin: 0 auto; }
.footer-top {
  display: grid; grid-template-columns: 2.2fr 1fr 1fr 1fr;
  gap: 56px; padding-bottom: 64px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.footer-brand .logo-text {
  font-family: var(--font-display); font-size: 22px; font-weight: 800;
  color: #fff; margin-bottom: 14px;
}
.footer-brand .logo-text span { color: #5eead4; }
.footer-brand p { font-size: 14px; line-height: 1.7; font-weight: 300; max-width: 320px; }
.footer-col h6 {
  font-size: 11px; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase;
  color: #fff; margin-bottom: 20px;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: #8a7e74; font-size: 14px; text-decoration: none; transition: color 0.2s; font-weight: 300; }
.footer-col a:hover { color: #5eead4; }
.footer-bottom {
  margin-top: 40px; display: flex; justify-content: space-between; align-items: center;
  font-size: 13px; color: #6b5e54;
}
.footer-socials { display: flex; gap: 20px; }
.footer-socials a { color: #6b5e54; font-size: 13px; text-decoration: none; transition: color 0.2s; }
.footer-socials a:hover { color: #5eead4; }

/* ── ANIMATE ── */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── HERO HOMEPAGE ── */
.home-hero {
  background: var(--paper);
  padding: 120px 40px 100px;
  max-width: 1180px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 420px; gap: 80px; align-items: center;
}
.home-hero .hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--teal-lt); border: 1px solid var(--teal-md);
  border-radius: 100px; padding: 6px 18px;
  font-size: 12px; font-weight: 600; color: var(--teal);
  letter-spacing: 0.5px; margin-bottom: 28px;
}
.home-hero h1 { font-size: clamp(44px, 5.5vw, 72px); color: var(--ink); line-height: 1.05; letter-spacing: -2px; margin-bottom: 24px; }
.home-hero h1 em { font-style: italic; color: var(--teal); }
.home-hero .hero-sub { font-size: 17px; color: var(--muted); max-width: 480px; line-height: 1.75; font-weight: 300; margin-bottom: 40px; }
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-visual {
  background: linear-gradient(135deg, var(--teal-lt) 0%, var(--amber-lt) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.hero-visual::before {
  content: '𝜓';
  position: absolute; top: -20px; right: 20px;
  font-size: 120px; color: rgba(13,115,119,0.06);
  line-height: 1;
}
.domain-pills { display: flex; flex-direction: column; gap: 14px; }
.domain-pill {
  background: var(--paper); border: 1px solid var(--border);
  border-radius: 12px; padding: 16px 20px;
  display: flex; align-items: center; gap: 16px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none; color: inherit;
}
.domain-pill:hover { transform: translateX(4px); box-shadow: var(--shadow-md); text-decoration: none; }
.domain-pill .pill-icon { font-size: 28px; flex-shrink: 0; }
.domain-pill .pill-label { font-size: 13px; font-weight: 700; color: var(--ink); display: block; margin-bottom: 2px; }
.domain-pill .pill-sub { font-size: 12px; color: var(--muted); }

/* ── STATS ── */
.stats-bar {
  background: var(--teal);
  padding: 48px 40px;
}
.stats-inner {
  max-width: 1180px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}
.stat { text-align: center; }
.stat-num { font-family: var(--font-display); font-size: 48px; font-weight: 800; color: #fff; letter-spacing: -2px; line-height: 1; }
.stat-num sub { font-size: 24px; vertical-align: baseline; }
.stat-label { font-size: 13px; color: rgba(255,255,255,0.7); margin-top: 6px; font-weight: 400; }

/* ── MARQUEE ── */
.marquee-wrap { background: var(--warm); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 12px 0; overflow: hidden; }
.marquee { display: flex; gap: 56px; animation: marquee 30s linear infinite; white-space: nowrap; }
.marquee-item { font-size: 12px; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase; color: var(--muted); display: flex; align-items: center; gap: 20px; flex-shrink: 0; }
.marquee-item::after { content: '◆'; color: var(--teal); font-size: 8px; }
@keyframes marquee { from{transform:translateX(0)} to{transform:translateX(-50%)} }

/* ── TABLE ── */
table { width: 100%; border-collapse: collapse; }
th { background: var(--teal); color: #fff; padding: 14px 20px; font-size: 13px; font-weight: 600; text-align: left; }
td { padding: 14px 20px; font-size: 14px; border-bottom: 1px solid var(--border); color: var(--ink2); }
tr:last-child td { border-bottom: none; }
tr:nth-child(even) td { background: var(--warm); }
table { border: 1px solid var(--border); border-radius: 12px; overflow: hidden; box-shadow: var(--shadow-sm); }

/* ── TIMELINE ── */
.timeline { position: relative; padding-left: 32px; }
.timeline::before { content: ''; position: absolute; left: 8px; top: 8px; bottom: 8px; width: 2px; background: var(--border2); }
.timeline-item { position: relative; padding-bottom: 40px; }
.timeline-item::before {
  content: ''; position: absolute; left: -28px; top: 6px;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--teal); border: 2px solid var(--paper);
  box-shadow: 0 0 0 3px var(--teal-md);
}
.timeline-item h4 { font-size: 16px; font-weight: 700; color: var(--ink); margin-bottom: 6px; }
.timeline-item p { font-size: 14px; color: var(--muted); font-weight: 300; line-height: 1.6; }
.timeline-item .t-date { font-size: 12px; color: var(--teal); font-weight: 600; letter-spacing: 0.5px; margin-bottom: 4px; }

/* ── FAQ ── */
details { border: 1px solid var(--border); border-radius: 10px; margin-bottom: 12px; background: var(--paper); }
summary { padding: 18px 24px; font-weight: 600; font-size: 15px; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; color: var(--ink); }
summary::after { content: '+'; font-size: 20px; color: var(--teal); font-weight: 300; }
details[open] summary::after { content: '−'; }
details p { padding: 0 24px 18px; font-size: 14px; color: var(--muted); line-height: 1.7; font-weight: 300; }

/* ── FORM ── */
.form-group { margin-bottom: 20px; }
label { display: block; font-size: 13px; font-weight: 600; color: var(--ink); margin-bottom: 6px; letter-spacing: 0.2px; }
input, textarea, select {
  width: 100%; padding: 12px 16px; border-radius: 9px;
  border: 1.5px solid var(--border2); background: var(--paper);
  font-family: var(--font-body); font-size: 14px; color: var(--ink);
  transition: border-color 0.2s, box-shadow 0.2s; outline: none;
}
input:focus, textarea:focus, select:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(13,115,119,0.10); }
textarea { resize: vertical; min-height: 120px; }

/* ── UTILITY ── */
.text-teal { color: var(--teal); }
.text-amber { color: var(--amber); }
.text-center { text-align: center; }
.mt-4 { margin-top: 16px; }
.mt-8 { margin-top: 32px; }
.mb-4 { margin-bottom: 16px; }
.mb-8 { margin-bottom: 32px; }
.bg-warm { background: var(--warm); }
.bg-paper { background: var(--paper); }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .nav-links, .nav-cta { display: none; }
  .nav-mobile-btn { display: block; }
  .home-hero { grid-template-columns: 1fr; padding: 80px 24px 60px; gap: 48px; }
  .hero-visual { display: none; }
  section { padding: 64px 24px; }
  .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 40px; }
  .container { padding: 0 24px; }
  .stats-bar { padding: 40px 24px; }
  .page-hero { padding: 72px 24px 56px; }
}
@media (max-width: 580px) {
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .stats-inner { grid-template-columns: 1fr 1fr; }
}
