/* ══════════════════════════════════════
   Trivara Asset Ventures LTD.
   Main Stylesheet — Light Beige Theme
   ══════════════════════════════════════ */

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

:root {
  /* ── TRIVARA Brand Colors — Light Theme ── */
  --bg-primary: #faf8f4;
  --bg-secondary: #f3efe8;
  --bg-card: #ffffff;
  --bg-card-hover: #fdfcfa;
  --border: #e6e0d4;
  --border-accent: #dfcc8c;
  --text-primary: #1a1a2e;
  --text-secondary: #4a4a5a;
  --text-muted: #8a8a9a;
  --accent: #b8a56a;
  --accent-light: #dfcc8c;
  --accent-dim: rgba(184, 165, 106, 0.10);
  --gold: #b8a56a;
  --gold-light: #dfcc8c;
  --gold-dark: #9a8a52;
  --navy: #00173d;
  --navy-light: #0a2a5c;
  --white: #ffffff;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Quart', 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-sans);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* ── NAV (stays dark navy for contrast) ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(0, 23, 61, 0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(223, 204, 140, 0.15);
  transition: box-shadow 0.3s ease;
}
.nav-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 2rem; height: 72px;
}
.nav-logo {
  display: flex; align-items: baseline; text-decoration: none; gap: 0.6rem;
}
.nav-logo-text {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: #d4af37;
}
.nav-logo-sub {
  font-family: var(--font-sans);
  font-size: 0.55rem;
  font-weight: 400;
  letter-spacing: 0.25em;
  color: rgba(212, 175, 55, 0.65);
}
.nav-links { display: flex; gap: 0.25rem; }
.nav-links a {
  color: rgba(255,255,255,0.7); text-decoration: none;
  font-size: 0.8rem; font-weight: 500; letter-spacing: 0.02em;
  padding: 0.4rem 0.75rem; border-radius: 6px;
  transition: color 0.2s, background 0.2s;
}
.nav-links a:hover { color: var(--gold-light); background: rgba(223,204,140,0.08); }
.nav-toggle {
  display: none; background: none; border: none;
  color: rgba(255,255,255,0.7); cursor: pointer; padding: 0.5rem;
}
.nav-toggle svg { width: 24px; height: 24px; }

/* ── LAYOUT ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
section { padding: 6rem 0; }
.section-border { border-top: 1px solid var(--border); }

/* ── HERO ── */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  position: relative; overflow: hidden;
  padding-top: 64px;
  background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 50% 0%, rgba(184,165,106,0.06) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 80% 20%, rgba(184,165,106,0.03) 0%, transparent 60%);
  pointer-events: none;
}
.hero-grid {
  display: grid; grid-template-columns: 1fr; gap: 3rem;
  position: relative; z-index: 1; width: 100%;
}
.hero-label {
  font-family: var(--font-mono); font-size: 0.75rem; font-weight: 500;
  color: var(--gold); letter-spacing: 0.12em; text-transform: uppercase;
  margin-bottom: 1.25rem;
}
.hero h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.5rem);
  font-weight: 700; line-height: 1.15;
  color: var(--navy); margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}
.hero p {
  font-size: 1.05rem; color: var(--text-secondary);
  max-width: 640px; line-height: 1.8; margin-bottom: 2rem;
}
.hero-meta {
  display: flex; gap: 2.5rem; flex-wrap: wrap;
  padding-top: 2rem; border-top: 1px solid var(--border);
}
.hero-meta-item .label {
  font-size: 0.7rem; font-weight: 500; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--text-muted); margin-bottom: 0.25rem;
}
.hero-meta-item .value {
  font-size: 0.9rem; color: var(--text-primary); font-weight: 500;
}

/* ── SECTION HEADERS ── */
.section-label {
  font-family: var(--font-mono); font-size: 0.7rem; font-weight: 500;
  color: var(--gold); letter-spacing: 0.12em; text-transform: uppercase;
  margin-bottom: 1rem;
}
.section-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700; color: var(--navy);
  letter-spacing: -0.015em; margin-bottom: 1rem;
  font-family: var(--font-display);
}
.section-desc {
  font-size: 1rem; color: var(--text-secondary);
  max-width: 640px; line-height: 1.8;
}

/* ── CARDS ── */
.card-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem; margin-top: 3rem;
}
.card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 10px; padding: 1.75rem;
  transition: border-color 0.3s, background 0.3s, box-shadow 0.3s;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.card:hover {
  border-color: var(--gold-light);
  background: var(--bg-card-hover);
  box-shadow: 0 4px 16px rgba(184,165,106,0.10);
}
.card-icon {
  width: 40px; height: 40px; border-radius: 8px;
  background: rgba(184, 165, 106, 0.10); display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem;
}
.card-icon svg { width: 20px; height: 20px; color: var(--gold); }
.card h3 {
  font-size: 0.95rem; font-weight: 600; color: var(--navy);
  margin-bottom: 0.75rem;
}
.card p { font-size: 0.875rem; color: var(--text-secondary); line-height: 1.7; }

/* ── FEATURE LIST ── */
.feature-list { list-style: none; margin-top: 2rem; }
.feature-list li {
  position: relative; padding: 0.75rem 0 0.75rem 1.75rem;
  font-size: 0.925rem; color: var(--text-secondary);
  border-bottom: 1px solid var(--border);
}
.feature-list li:last-child { border-bottom: none; }
.feature-list li::before {
  content: '';
  position: absolute; left: 0; top: 50%;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold); transform: translateY(-50%);
}

/* ── TWO-COL ── */
.two-col {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4rem;
  align-items: start; margin-top: 3rem;
}
.two-col-text h3 {
  font-size: 1.1rem; font-weight: 600; color: var(--navy);
  margin-bottom: 1rem;
}
.two-col-text p {
  font-size: 0.925rem; color: var(--text-secondary); line-height: 1.8;
}

/* ── COMPLIANCE BOX ── */
.compliance-box {
  background: var(--bg-card); border: 1px solid var(--border);
  border-left: 3px solid var(--gold);
  border-radius: 8px; padding: 2rem; margin-top: 2rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.compliance-box h3 {
  font-size: 0.95rem; font-weight: 600; color: var(--navy); margin-bottom: 1rem;
}
.compliance-box ul { list-style: none; }
.compliance-box ul li {
  font-size: 0.9rem; color: var(--text-secondary); padding: 0.4rem 0;
  padding-left: 1.5rem; position: relative;
}
.compliance-box ul li::before {
  content: '—'; position: absolute; left: 0; color: var(--text-muted);
}

/* ── CONTACT ── */
.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; margin-top: 3rem;
}
.contact-item {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 10px; padding: 2rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.contact-item .label {
  font-size: 0.7rem; font-weight: 500; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--text-muted); margin-bottom: 0.5rem;
}
.contact-item .value {
  font-size: 1rem; color: var(--navy); font-weight: 500;
}
.contact-item a { color: var(--gold-dark); text-decoration: none; }
.contact-item a:hover { color: var(--gold); text-decoration: underline; }

/* ── PARTNER BADGE ── */
.partner-badge {
  display: inline-flex; align-items: center; gap: 0.75rem;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 8px; padding: 1rem 1.5rem; margin-top: 2rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.partner-badge .dot { width: 8px; height: 8px; background: var(--gold); border-radius: 50%; }
.partner-badge span { font-size: 0.9rem; color: var(--text-primary); font-weight: 500; }

/* ── REVENUE FLOW ── */
.revenue-flow {
  display: flex; align-items: center; gap: 1rem;
  flex-wrap: wrap; margin-top: 2rem;
}
.revenue-step {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 8px; padding: 1.25rem 1.5rem; flex: 1; min-width: 180px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.revenue-step .num {
  font-family: var(--font-mono); font-size: 0.7rem; color: var(--gold);
  font-weight: 500; margin-bottom: 0.5rem;
}
.revenue-step p { font-size: 0.85rem; color: var(--text-secondary); }
.revenue-arrow { color: var(--text-muted); font-size: 1.2rem; }

/* ── LEGAL / FOOTER (dark navy for contrast) ── */
.legal-section {
  background: var(--navy);
  padding: 3rem 0; border-top: 1px solid rgba(223,204,140,0.15);
}
.legal-section .section-label { color: var(--gold-light); }
.legal-text {
  font-size: 0.8rem; color: rgba(255,255,255,0.55); line-height: 1.9;
  max-width: 800px;
}
footer {
  background: var(--navy);
  padding: 2rem 0; border-top: 1px solid rgba(223,204,140,0.1);
}
.footer-inner {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 1rem;
}
.footer-copy { font-size: 0.75rem; color: rgba(255,255,255,0.45); }
.footer-links { display: flex; gap: 1.5rem; }
.footer-links a {
  font-size: 0.75rem; color: rgba(255,255,255,0.45); text-decoration: none;
}
.footer-links a:hover { color: var(--gold-light); }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .nav-links {
    display: none; position: absolute; top: 72px; left: 0; right: 0;
    background: rgba(0,23,61,0.98); flex-direction: column;
    padding: 1rem; border-bottom: 1px solid rgba(223,204,140,0.15);
  }
  .nav-links.active { display: flex; }
  .nav-toggle { display: block; }
  .two-col { grid-template-columns: 1fr; gap: 2rem; }
  .contact-grid { grid-template-columns: 1fr; }
  .hero-meta { gap: 1.5rem; }
  section { padding: 4rem 0; }
  .revenue-flow { flex-direction: column; }
  .revenue-arrow { transform: rotate(90deg); }
}

/* ── TRIVARA BRAND ENHANCEMENTS ── */

/* Navy gradient text for hero heading */
.hero h1 {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 50%, var(--navy) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Gold accent for section labels */
.section-label, .hero-label {
  color: var(--gold);
}

/* Gold underline accent for active nav states */
.nav-links a.active,
.nav-links a:hover {
  color: var(--gold-light);
  background: rgba(223, 204, 140, 0.08);
}

/* Footer branding */
.footer-logo {
  display: flex; align-items: center;
}
.footer-logo-text {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: #dfcc8c;
  opacity: 0.7;
}

/* Alternating section backgrounds for visual rhythm */
section:nth-of-type(even) {
  background: var(--bg-secondary);
}
