/* ============================================================
   PARAGON LAB — style.css
   Dark, institutional, financial-services professional
   ============================================================ */

:root {
  --bg:           #0a0a0f;
  --bg-2:         #0f0f16;
  --bg-3:         #14141e;
  --border:       rgba(255,255,255,0.07);
  --border-gold:  rgba(201,168,76,0.35);
  --text:         #e8e8e8;
  --text-muted:   #8a8a9a;
  --text-dim:     #5a5a6a;
  --gold:         #c9a84c;
  --gold-hover:   #d9b85c;
  --blue:         #4a90a4;
  --blue-hover:   #5aa0b4;
  --nav-height:   68px;
  --max-width:    1160px;
  --radius:       6px;
  --radius-lg:    12px;
}

/* ============================================================
   RESET & BASE
   ============================================================ */

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

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--gold);
  text-decoration: none;
  transition: color 0.2s;
}
a:hover { color: var(--gold-hover); }

ul { list-style: none; }

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

/* ============================================================
   LAYOUT HELPERS
   ============================================================ */

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================================
   BUTTONS
   ============================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 12px 28px;
  border-radius: var(--radius);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}

.btn-gold {
  background: var(--gold);
  color: #0a0a0f;
  border-color: var(--gold);
}
.btn-gold:hover {
  background: var(--gold-hover);
  border-color: var(--gold-hover);
  color: #0a0a0f;
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}
.btn-outline:hover {
  border-color: rgba(255,255,255,0.25);
  color: var(--text);
  background: rgba(255,255,255,0.04);
}

.btn-sm {
  font-size: 0.82rem;
  padding: 9px 20px;
}

.btn-full {
  width: 100%;
}

/* ============================================================
   NAV
   ============================================================ */

#nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-height);
  border-bottom: 1px solid transparent;
  transition: background 0.3s, border-color 0.3s;
}

#nav.scrolled {
  background: rgba(10,10,15,0.95);
  border-bottom-color: var(--border);
  backdrop-filter: blur(12px);
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-logo {
  font-family: 'Inter Tight', 'Inter', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.12em;
  color: var(--text);
  text-decoration: none;
  flex-shrink: 0;
}
.nav-logo:hover { color: var(--text); }

.logo-accent {
  color: var(--gold);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
}

.nav-links a {
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  text-decoration: none;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }

.nav-cta {
  margin-left: 8px;
  padding: 9px 20px;
  font-size: 0.85rem;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--text);
  transition: all 0.2s;
}

.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 0;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  padding: 16px 24px 20px;
}
.nav-mobile a {
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
}
.nav-mobile a:last-child {
  border-bottom: none;
  margin-top: 12px;
}
.nav-mobile a:hover { color: var(--text); }
.nav-mobile .btn { text-align: center; }

/* ============================================================
   SECTION HELPERS
   ============================================================ */

.section-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

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

.section-header h2 {
  margin-bottom: 14px;
}

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

h1 {
  font-family: 'Inter Tight', 'Inter', sans-serif;
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text);
}

h2 {
  font-family: 'Inter Tight', 'Inter', sans-serif;
  font-size: clamp(1.7rem, 3.5vw, 2.6rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: var(--text);
}

h3 {
  font-family: 'Inter Tight', 'Inter', sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--text);
  margin-bottom: 10px;
}

/* ============================================================
   HERO
   ============================================================ */

#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: calc(var(--nav-height) + 60px) 0 80px;
  overflow: hidden;
}

.hero-grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(201,168,76,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,168,76,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

#hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 60vw;
  height: 60vw;
  max-width: 800px;
  max-height: 800px;
  background: radial-gradient(circle, rgba(201,168,76,0.05) 0%, transparent 65%);
  pointer-events: none;
}

#hero .container {
  position: relative;
  z-index: 1;
}

.hero-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
  border: 1px solid var(--border);
  padding: 5px 12px;
  border-radius: 3px;
  margin-bottom: 24px;
}

#hero h1 {
  max-width: 780px;
  margin-bottom: 24px;
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-muted);
  max-width: 620px;
  line-height: 1.7;
  margin-bottom: 40px;
}

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

.hero-actions .btn {
  font-size: 0.95rem;
  padding: 14px 32px;
}

.proof-points {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
  max-width: 800px;
}

.proof-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.proof-icon {
  color: var(--gold);
  font-size: 0.6rem;
  margin-top: 6px;
  flex-shrink: 0;
}

.proof-item strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 2px;
}

.proof-item span {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ============================================================
   SERVICES
   ============================================================ */

#services {
  padding: 120px 0;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.service-card {
  background: var(--bg-2);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  gap: 0;
  transition: background 0.2s;
}
.service-card:hover { background: var(--bg-3); }

.service-card--featured {
  background: var(--bg-3);
  position: relative;
}
.service-card--featured::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.service-num {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  margin-bottom: 16px;
}

.service-badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
  border: 1px solid var(--border);
  padding: 3px 8px;
  border-radius: 3px;
  margin-bottom: 16px;
  width: fit-content;
}

.service-badge--gold {
  color: var(--gold);
  border-color: var(--border-gold);
}

.service-card h3 {
  font-size: 1.3rem;
  margin-bottom: 6px;
}

.service-price {
  font-family: 'Inter Tight', 'Inter', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}

.service-price span {
  font-size: 1rem;
  color: var(--text-muted);
  font-weight: 500;
}

.service-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 24px;
}

.service-list {
  flex: 1;
  margin-bottom: 32px;
}

.service-list li {
  font-size: 0.85rem;
  color: var(--text-muted);
  padding: 7px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 10px;
}

.service-list li::before {
  content: '—';
  color: var(--gold);
  flex-shrink: 0;
  font-size: 0.7rem;
}

.service-list li:last-child { border-bottom: none; }

/* ============================================================
   CASE STUDIES
   ============================================================ */

#case-studies {
  padding: 120px 0;
}

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

.case-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: border-color 0.2s, background 0.2s;
}

.case-card:hover {
  border-color: var(--border-gold);
  background: var(--bg-3);
}

.case-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.case-time {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--text-dim);
  letter-spacing: 0.02em;
}

.case-status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #4caf7d;
}

.case-status--neutral { color: var(--blue); }

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4caf7d;
  animation: pulse 2s infinite;
}

.status-dot--blue {
  background: var(--blue);
  animation: none;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.case-card h3 {
  font-size: 1.1rem;
  margin-bottom: 12px;
}

.case-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 24px;
}

.case-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.case-tags span {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--text-dim);
  border: 1px solid var(--border);
  padding: 3px 9px;
  border-radius: 3px;
}

/* ============================================================
   ABOUT
   ============================================================ */

#about {
  padding: 120px 0;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

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

.about-text .section-tag { margin-bottom: 16px; }

.about-text h2 {
  margin-bottom: 32px;
}

.about-text p {
  color: var(--text-muted);
  font-size: 0.97rem;
  line-height: 1.75;
  margin-bottom: 18px;
}

.about-text p:last-of-type { margin-bottom: 40px; }

.founder-byline {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.founder-initial {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gold);
  color: #0a0a0f;
  font-family: 'Inter Tight', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.founder-byline strong {
  display: block;
  font-size: 0.92rem;
  color: var(--text);
  font-weight: 600;
}

.founder-byline span {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* About visual */
.about-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.visual-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  width: 100%;
  max-width: 380px;
}

.vg-item {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 20px;
  font-family: 'Inter Tight', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

.vg-item--gold {
  border-color: var(--border-gold);
  color: var(--gold);
  background: rgba(201,168,76,0.04);
}

.vg-item--dark {
  background: var(--bg);
}

.vg-span {
  grid-column: span 2;
}

/* ============================================================
   CONTACT
   ============================================================ */

#contact {
  padding: 120px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  align-items: start;
}

.contact-text .section-tag { margin-bottom: 16px; }

.contact-text h2 {
  margin-bottom: 20px;
}

.contact-text p {
  color: var(--text-muted);
  font-size: 0.97rem;
  line-height: 1.75;
  margin-bottom: 40px;
}

.contact-detail {
  margin-bottom: 18px;
}

.contact-detail-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 4px;
}

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

.contact-detail a:hover { color: var(--gold); }

/* Form */
.contact-form-wrap {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text-muted);
}

.form-group input,
.form-group textarea {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 11px 14px;
  font-family: inherit;
  font-size: 0.92rem;
  color: var(--text);
  transition: border-color 0.2s;
  outline: none;
  resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-dim);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--border-gold);
}

/* ============================================================
   FOOTER
   ============================================================ */

footer {
  padding: 32px 0;
  border-top: 1px solid var(--border);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-inner span:last-child {
  font-size: 0.82rem;
  color: var(--text-dim);
}

.footer-inner a {
  color: var(--text-dim);
}
.footer-inner a:hover { color: var(--gold); }

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 960px) {
  .services-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .service-card--featured::before { display: none; }
  .service-card--featured {
    border-top: 2px solid var(--gold);
    border-bottom: 2px solid var(--gold);
  }

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

  .about-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .about-visual { order: -1; }

  .visual-grid { max-width: 100%; }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

@media (max-width: 768px) {
  .nav-links,
  .nav-cta {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  #nav.mobile-open .nav-mobile {
    display: flex;
  }

  #nav.mobile-open {
    background: var(--bg-2);
    border-bottom-color: var(--border);
    height: auto;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .proof-points {
    flex-direction: column;
    gap: 20px;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .contact-form-wrap {
    padding: 28px 20px;
  }
}

@media (max-width: 480px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }

  #hero, #services, #case-studies, #about, #contact {
    padding-top: 80px;
    padding-bottom: 80px;
  }

  .section-header { margin-bottom: 40px; }
}
