@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Manrope:wght@300;400;500;600;700;800&display=swap');

:root {
  --bg-deep: #05070a; /* Darker for higher contrast */
  --bg-card: rgba(13, 17, 26, 0.7);
  --accent-blue: #3b82f6;
  --accent-blue-glow: rgba(59, 130, 246, 0.3);
  --accent-gold: #d4af37;
  --text-white: #ffffff;
  --text-muted: #a1a1aa;
  --border-glass: rgba(255, 255, 255, 0.05);
  
  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Manrope', 'Inter', sans-serif;
  
  --transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

body {
  background: var(--bg-deep);
  color: var(--text-white);
  font-family: var(--font-main);
  overflow-x: hidden;
  line-height: 1.7; /* Improved readability */
  -webkit-font-smoothing: antialiased;
}

/* ── Premium Typography ── */
h1, h2, h3 { font-family: var(--font-display); letter-spacing: -0.04em; font-weight: 800; }
.glow-text { background: linear-gradient(135deg, #fff 0%, var(--accent-blue) 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; filter: drop-shadow(0 0 20px rgba(59, 130, 246, 0.2)); }

.container { max-width: 1300px; margin: 0 auto; padding: 0 2rem; }
.section-padding { padding: 8rem 0; }

/* ── 3D & Background ── */
#three-canvas-container { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: -1; opacity: 0.4; pointer-events: none; }
.bg-gradient-mesh {
  position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: -2;
  background: radial-gradient(circle at 10% 10%, rgba(59, 130, 246, 0.1) 0%, transparent 40%),
              radial-gradient(circle at 90% 90%, rgba(212, 175, 55, 0.05) 0%, transparent 40%),
              #010204;
}

/* ── Pro Header ── */
.pro-header {
  position: fixed; top: 0; width: 100%; z-index: 1000;
  padding: 1.5rem 0; transition: var(--transition);
  background: #010204; /* Match mesh background base */
  backdrop-filter: blur(20px);
}
.pro-header.scrolled { padding: 1rem 0; background: rgba(1, 2, 4, 0.98); border-bottom: 1px solid var(--border-glass); }
.header-inner { display: flex; justify-content: space-between; align-items: center; }

.logo-container { width: 400px; height: 100px; overflow: hidden; position: relative; display: flex; align-items: center; }
.logo-img {
  height: 72px; /* Increased from 48px */
  width: auto;
  display: block;
  filter: contrast(120%) brightness(110%);
  mix-blend-mode: screen; 
  image-rendering: -webkit-optimize-contrast;
}

.nav-links { display: flex; gap: 3rem; list-style: none; margin-left: auto; margin-right: 3rem; }
.nav-links a { text-decoration: none; color: var(--text-muted); font-weight: 500; font-size: 0.85rem; letter-spacing: 0.05em; text-transform: uppercase; transition: var(--transition); }
.nav-links a:hover { color: var(--text-white); }

/* ── Hero Section ── */
.hero { min-height: 100vh; display: flex; align-items: center; padding-top: 160px; }
.hero-content { max-width: 950px; }
.hero-tag { display: inline-block; padding: 0.5rem 1rem; background: rgba(255, 255, 255, 0.05); border: 1px solid var(--border-glass); border-radius: 4px; font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--accent-blue); margin-bottom: 2rem; }
.hero h1 { font-size: 5.5rem; line-height: 1.05; font-weight: 800; margin-bottom: 2rem; }
.hero p { font-size: 1.25rem; color: var(--text-muted); line-height: 1.6; max-width: 600px; margin-bottom: 3.5rem; }

/* ── Buttons ── */
.btn-pro { display: inline-flex; align-items: center; justify-content: center; padding: 1rem 2.5rem; border-radius: 4px; font-weight: 700; text-decoration: none; transition: var(--transition); font-size: 0.9rem; letter-spacing: 0.02em; cursor: pointer; border: none; }
.btn-primary { background: var(--accent-blue); color: #fff; box-shadow: 0 10px 25px var(--accent-blue-glow); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 15px 35px var(--accent-blue-glow); opacity: 0.9; }
.btn-outline { border: 1px solid var(--border-glass); color: #fff; background: transparent; }
.btn-outline:hover { background: rgba(255, 255, 255, 0.05); border-color: #fff; }

/* ── Glass Components ── */
.glass-panel { background: rgba(255, 255, 255, 0.02); border: 1px solid var(--border-glass); border-radius: 12px; }

/* ── Audit Grid ── */
.audit-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; margin-top: 4rem; }
.audit-card { padding: 2.5rem; border-radius: 12px; border: 1px solid var(--border-glass); background: rgba(255,255,255,0.01); transition: var(--transition); }
.audit-card:hover { border-color: var(--accent-blue); transform: translateY(-5px); }
.audit-num { font-size: 0.7rem; font-weight: 800; color: var(--accent-blue); opacity: 0.4; margin-bottom: 1rem; display: block; }

/* ── Dashboard ── */
.comp-dashboard { background: var(--bg-card); border-radius: 12px; border: 1px solid var(--border-glass); overflow: hidden; }
.comp-table { width: 100%; border-collapse: collapse; }
.comp-table th { text-align: left; padding: 1.5rem 2rem; font-size: 0.7rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.1em; border-bottom: 1px solid var(--border-glass); }
.comp-table td { padding: 1.5rem 2rem; border-bottom: 1px solid var(--border-glass); font-size: 0.95rem; }
.comp-row.best { background: rgba(59, 130, 246, 0.05); }

/* ── Footer ── */
.pro-footer { padding: 6rem 0 3rem; background: #000; border-top: 1px solid var(--border-glass); }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 4rem; }
.footer-link-group h4 { font-size: 0.75rem; font-weight: 800; color: var(--text-white); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 2rem; }
.footer-link-group ul { list-style: none; display: flex; flex-direction: column; gap: 1rem; }
.footer-link-group a { text-decoration: none; color: var(--text-muted); font-size: 0.9rem; transition: var(--transition); }
.footer-link-group a:hover { color: var(--text-white); }

/* ── Animations ── */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1024px) {
  .hero h1 { font-size: 4rem; }
}

@media (max-width: 768px) {
  .hero h1 { font-size: 3rem; }
  .nav-links { display: none; }
}

/* ── Authority Ribbon ── */
.authority-ribbon {
  background: rgba(255, 255, 255, 0.03);
  border-top: 1px solid var(--border-glass);
  border-bottom: 1px solid var(--border-glass);
  padding: 2.5rem 0;
  margin-top: -1px;
}
.ribbon-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 3rem;
}
.ribbon-item {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.ribbon-icon {
  font-size: 1.8rem;
  filter: grayscale(1) brightness(1.5);
  opacity: 0.8;
}
.ribbon-text {
  display: flex;
  flex-direction: column;
}
.ribbon-text strong {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-white);
}
.ribbon-text span {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ── Integrity Protocol Grid ── */
.integrity-protocol-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 3rem;
}
.protocol-step {
  display: flex;
  gap: 2rem;
  padding: 2rem;
  border-radius: 12px;
  transition: var(--transition);
}
.protocol-step:hover {
  background: rgba(255, 255, 255, 0.02);
}
.step-num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--accent-blue);
  opacity: 0.2;
  line-height: 1;
}
.step-content h4 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: var(--text-white);
}
.step-content p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
}

@media (max-width: 768px) {
  .ribbon-inner { justify-content: center; text-align: center; }
  .ribbon-item { flex-direction: column; gap: 0.5rem; }
}

/* ── Service Provider Logos ── */
.provider-logo-pro {
  width: auto; height: 72px;
  min-width: 72px;
  padding: 0 1rem;
  background: #fff;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
  border: 1px solid var(--border-glass);
}

/* ── Status Pills ── */
.status-pill {
  display: inline-block;
  padding: 0.4rem 1rem;
  border-radius: 100px;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.status-pill.pass {
  background: rgba(16, 185, 129, 0.1);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.2);
}
.status-pill.warn {
  background: rgba(245, 158, 11, 0.1);
  color: #f59e0b;
  border: 1px solid rgba(245, 158, 11, 0.2);
}

/* ── Subpage Specifics ── */
.hero.subpage { min-height: 50vh; padding-top: 140px; }
.form-card { background: rgba(255, 255, 255, 0.02); border: 1px solid var(--border-glass); padding: 4rem; border-radius: 12px; }
