/* ============================================================
   sruthipakanati.ai — Design System
   7P Compass™ Framework
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Libre+Baskerville:ital,wght@0,400;0,700;1,400&family=Source+Sans+3:ital,wght@0,300;0,400;0,500;0,600;1,300&family=Source+Code+Pro:wght@400;500&display=swap');

/* ── TOKENS ── */
:root {
  --navy:        #0f1f38;
  --navy-mid:    #162440;
  --navy-light:  #1a3255;
  --teal:        #1e7b78;
  --teal-light:  #2a9d98;
  --teal-pale:   #e4f1f0;
  --gold:        #c9922a;
  --gold-light:  #e8b84b;
  --gold-pale:   #fdf3e3;
  --white:       #ffffff;
  --off-white:   #f7f6f3;
  --cream:       #f0ede8;
  --slate:       #4a5568;
  --mid:         #718096;
  --faint:       #a0aec0;
  --rule:        #ddd9d2;
  --text:        #2c3e55;

  --font-serif:  'Libre Baskerville', Georgia, serif;
  --font-sans:   'Source Sans 3', sans-serif;
  --font-mono:   'Source Code Pro', monospace;

  --radius:      6px;
  --shadow-sm:   0 2px 8px rgba(0,0,0,0.06);
  --shadow-md:   0 4px 24px rgba(0,0,0,0.10);
  --shadow-lg:   0 8px 48px rgba(0,0,0,0.14);

  --transition:  0.25s ease;
  --max-width:   1200px;
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body { font-family: var(--font-sans); color: var(--text); background: var(--white); line-height: 1.6; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }

/* ── TYPOGRAPHY SCALE ── */
h1, h2, h3, h4 { font-family: var(--font-serif); line-height: 1.15; letter-spacing: -0.02em; }
h1 { font-size: clamp(36px, 5vw, 60px); }
h2 { font-size: clamp(28px, 4vw, 44px); }
h3 { font-size: clamp(20px, 2.5vw, 28px); }
h4 { font-size: 18px; }
p  { font-size: 16px; line-height: 1.75; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--teal-light);
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.eyebrow::before {
  content: '';
  display: block;
  width: 28px;
  height: 1px;
  background: var(--teal-light);
  flex-shrink: 0;
}

.lead {
  font-size: 18px;
  font-weight: 300;
  line-height: 1.75;
  color: var(--slate);
}

.mono-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

/* ── LAYOUT ── */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 48px;
}

section { padding: 100px 0; }
section.tight { padding: 64px 0; }
section.dark { background: var(--navy); color: var(--white); }
section.dark .lead { color: var(--faint); }
section.mid-dark { background: var(--navy-mid); color: var(--white); }
section.cream { background: var(--cream); }
section.off-white { background: var(--off-white); }

/* ── NAV ── */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(15, 31, 56, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  height: 64px;
  display: flex;
  align-items: center;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 48px;
}

.nav-brand {
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.01em;
}
.nav-brand span { color: var(--teal-light); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  font-size: 13px;
  font-weight: 400;
  color: var(--faint);
  letter-spacing: 0.03em;
  transition: color var(--transition);
  white-space: nowrap;
}
.nav-links a:hover, .nav-links a.active { color: var(--white); }

.nav-cta {
  background: var(--teal);
  color: var(--white) !important;
  padding: 9px 20px;
  border-radius: var(--radius);
  font-size: 13px !important;
  font-weight: 500 !important;
  transition: background var(--transition) !important;
}
.nav-cta:hover { background: var(--teal-light) !important; }

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--faint);
  transition: var(--transition);
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: all var(--transition);
  cursor: pointer;
}
.btn-primary { background: var(--teal); color: var(--white); }
.btn-primary:hover { background: var(--teal-light); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-ghost { border: 1.5px solid rgba(255,255,255,0.25); color: var(--white); }
.btn-ghost:hover { border-color: rgba(255,255,255,0.6); }
.btn-ghost-dark { border: 1.5px solid rgba(30,123,120,0.4); color: var(--teal); }
.btn-ghost-dark:hover { border-color: var(--teal); background: var(--teal-pale); }
.btn-gold { background: var(--gold); color: var(--white); }
.btn-gold:hover { background: var(--gold-light); }

/* ── CARDS ── */
.card {
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.card-accent { border-top: 3px solid var(--teal); }
.card-accent-gold { border-top: 3px solid var(--gold); }

/* ── BADGES ── */
.badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 3px;
}
.badge-teal { background: var(--teal-pale); color: var(--teal); border: 1px solid rgba(30,123,120,0.2); }
.badge-gold { background: var(--gold-pale); color: var(--gold); border: 1px solid rgba(201,146,42,0.2); }
.badge-navy { background: rgba(15,31,56,0.07); color: var(--navy-light); border: 1px solid rgba(15,31,56,0.12); }
.badge-live { background: #d1fae5; color: #065f46; border: 1px solid #a7f3d0; }
.badge-soon { background: var(--gold-pale); color: var(--gold); border: 1px solid rgba(201,146,42,0.2); }

/* ── DIVIDERS ── */
.divider { width: 48px; height: 3px; background: var(--teal); border-radius: 2px; margin: 20px 0; }
.divider-gold { background: var(--gold); }

/* ── SECTION HEADERS ── */
.section-header { margin-bottom: 56px; }
.section-header.centered { text-align: center; }
.section-header.centered .eyebrow { justify-content: center; }
.section-header.centered .eyebrow::before { display: none; }
.section-header.centered .divider { margin: 20px auto; }

/* ── LAYER BLOCKS ── */
.layer-block {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.layer-block-header {
  padding: 24px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.layer-block-body { padding: 28px 32px; }

/* ── FLOW CONNECTOR ── */
.flow-connector {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 80px;
  padding: 8px 0;
}
.flow-down {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--teal-light);
}
.flow-up {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-light);
  flex-direction: row-reverse;
}
.arrow-down { width: 0; height: 0; border-left: 6px solid transparent; border-right: 6px solid transparent; border-top: 7px solid var(--teal-light); flex-shrink: 0; }
.arrow-up   { width: 0; height: 0; border-left: 6px solid transparent; border-right: 6px solid transparent; border-bottom: 7px solid var(--gold-light); flex-shrink: 0; }

/* ── FOOTER ── */
.site-footer {
  background: #060f1c;
  color: var(--faint);
  padding: 64px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  margin-bottom: 32px;
}
.footer-brand { font-family: var(--font-serif); font-size: 18px; color: var(--white); font-weight: 700; margin-bottom: 12px; }
.footer-brand span { color: var(--teal-light); }
.footer-desc { font-size: 13px; color: var(--faint); line-height: 1.65; max-width: 300px; margin-bottom: 20px; }
.footer-col h5 { font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.22em; text-transform: uppercase; color: rgba(255,255,255,0.35); margin-bottom: 16px; }
.footer-col a { display: block; font-size: 13px; color: var(--faint); margin-bottom: 10px; transition: color var(--transition); }
.footer-col a:hover { color: var(--white); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; }
.footer-ip { font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.1em; color: rgba(255,255,255,0.18); line-height: 1.7; max-width: 680px; }
.footer-copy { font-family: var(--font-mono); font-size: 10px; color: rgba(255,255,255,0.25); white-space: nowrap; }

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.animate-fade-up   { animation: fadeUp 0.65s ease both; }
.animate-fade-in   { animation: fadeIn 0.65s ease both; }
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
.delay-5 { animation-delay: 0.5s; }

/* Scroll-triggered reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .container { padding: 0 32px; }
  section { padding: 72px 0; }
}
@media (max-width: 768px) {
  .container { padding: 0 24px; }
  section { padding: 56px 0; }
  .nav-links { display: none; }
  .nav-links.open { display: flex; flex-direction: column; position: fixed; top: 64px; left: 0; right: 0; background: var(--navy); padding: 24px; gap: 20px; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .nav-hamburger { display: flex; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 16px; align-items: flex-start; }
}
@media (max-width: 480px) {
  .container { padding: 0 20px; }
  .footer-grid { grid-template-columns: 1fr; }
}
