/* IgnitionPoint Capital — Custom Styles */

:root {
  --bg-primary: #0A0A0F;
  --bg-secondary: #0F0F1A;
  --bg-card: #14141F;
  --bg-card-hover: #1A1A2E;
  --text-primary: #FFFFFF;
  --text-secondary: #A0A0B0;
  --text-muted: #6B6B7B;
  --accent: #C5A572;
  --accent-dim: rgba(197, 165, 114, 0.15);
  --border: rgba(255, 255, 255, 0.06);
}

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

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

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* ── Typography ── */
h1, h2, h3, h4 {
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.section-label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
}

/* ── Navigation ── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.25rem 2rem;
  transition: background-color 0.4s ease, backdrop-filter 0.4s ease;
}

nav.scrolled {
  background-color: rgba(10, 10, 15, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  height: 32px;
  width: auto;
}

.nav-links a {
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: var(--text-primary);
}

/* ── Hero ── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  padding: 2rem;
}

.hero-logo {
  height: 72px;
  width: auto;
  margin-bottom: 3rem;
}

.hero h1 {
  font-size: clamp(1.75rem, 4vw, 3.25rem);
  font-weight: 300;
  letter-spacing: -0.01em;
  line-height: 1.35;
  color: var(--text-primary);
  max-width: 700px;
}

.hero-divider {
  width: 48px;
  height: 1px;
  background: var(--accent);
  margin: 2.5rem auto;
}

.hero-sub {
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--text-secondary);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

/* Subtle grain overlay */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 40%, rgba(197, 165, 114, 0.03) 0%, transparent 70%);
  pointer-events: none;
}

/* ── Sections ── */
section {
  padding: 7rem 2rem;
}

.section-border {
  border-top: 1px solid var(--border);
}

/* ── About ── */
.about-text {
  font-size: 1.25rem;
  font-weight: 300;
  line-height: 1.8;
  color: var(--text-secondary);
  max-width: 680px;
}

.about-text strong {
  color: var(--text-primary);
  font-weight: 500;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 4rem;
  max-width: 680px;
}

.stat-item {
  text-align: left;
}

.stat-value {
  font-size: 2rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ── Focus Cards ── */
.focus-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 1000px;
  margin: 0 auto;
}

.focus-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 2.5rem 2rem;
  transition: all 0.4s ease;
}

.focus-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(197, 165, 114, 0.15);
  transform: translateY(-2px);
}

.focus-icon {
  width: 40px;
  height: 40px;
  margin-bottom: 1.5rem;
  color: var(--accent);
}

.focus-card h3 {
  font-size: 1.05rem;
  font-weight: 500;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}

.focus-card p {
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--text-muted);
}

/* ── Portfolio ── */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 1000px;
  margin: 0 auto;
}

.portfolio-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 2.5rem 2rem;
  transition: all 0.4s ease;
  text-decoration: none;
  display: block;
}

.portfolio-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(197, 165, 114, 0.15);
  transform: translateY(-2px);
}

.portfolio-card.active {
  cursor: pointer;
}

.portfolio-name {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.portfolio-type {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.portfolio-desc {
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--text-muted);
}

.portfolio-card.placeholder {
  opacity: 0.4;
  cursor: default;
}

.portfolio-card.placeholder .portfolio-name {
  color: var(--text-muted);
}

/* ── Team ── */
.team-text {
  font-size: 1.15rem;
  font-weight: 300;
  line-height: 1.8;
  color: var(--text-secondary);
  max-width: 640px;
}

/* ── Contact ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  max-width: 900px;
  margin: 0 auto;
}

.contact-info h3 {
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.contact-detail {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.contact-detail svg {
  width: 18px;
  height: 18px;
  color: var(--accent);
  flex-shrink: 0;
}

.contact-detail a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.3s;
}

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

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-form input,
.contact-form textarea {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0.875rem 1rem;
  color: var(--text-primary);
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  transition: border-color 0.3s;
  outline: none;
}

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

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: rgba(197, 165, 114, 0.4);
}

.contact-form textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-form button {
  background: transparent;
  border: 1px solid var(--accent);
  color: var(--accent);
  padding: 0.875rem 2rem;
  border-radius: 6px;
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
  align-self: flex-start;
}

.contact-form button:hover {
  background: var(--accent);
  color: var(--bg-primary);
}

/* ── Footer ── */
footer {
  border-top: 1px solid var(--border);
  padding: 2.5rem 2rem;
  text-align: center;
}

footer p {
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

/* ── Animations ── */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }

/* Hero-specific animation */
.hero .fade-in {
  transform: translateY(12px);
}

/* ── Responsive ── */
@media (max-width: 768px) {
  section {
    padding: 5rem 1.5rem;
  }

  .focus-grid,
  .portfolio-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
  }

  .stats-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }

  .stat-value {
    font-size: 1.5rem;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .hero-logo {
    height: 56px;
  }

  nav {
    padding: 1rem 1.25rem;
  }

  .nav-links {
    display: none;
  }

  .mobile-menu-btn {
    display: block;
  }
}

@media (min-width: 769px) {
  .mobile-menu-btn {
    display: none;
  }
}

/* ── Scrollbar ── */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.2);
}
