/* ============================================
   FIRST MAN VENTURES - Venture Studio
   Black + White + Precision
   ============================================ */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif; color: #111; line-height: 1.6; overflow-x: hidden; background: #fff; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4 { line-height: 1.15; font-weight: 700; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* Container */
.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }

/* Buttons */
.btn { display: inline-block; padding: 14px 36px; border-radius: 6px; font-weight: 600; font-size: 0.95rem; letter-spacing: -0.01em; transition: all 0.2s ease; border: none; cursor: pointer; }
.btn-white { background: #fff; color: #111; }
.btn-white:hover { background: #f0f0f0; transform: translateY(-1px); }
.btn-outline { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,0.4); }
.btn-outline:hover { border-color: #fff; background: rgba(255,255,255,0.08); }
.btn-black { background: #111; color: #fff; }
.btn-black:hover { background: #333; transform: translateY(-1px); }
.btn-lg { padding: 18px 44px; font-size: 1rem; }

/* ======= NAV ======= */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; padding: 20px 0; transition: all 0.3s ease; }
.nav.scrolled { background: rgba(255,255,255,0.95); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); padding: 12px 0; box-shadow: 0 1px 0 rgba(0,0,0,0.06); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; }
.nav-logo { display: flex; align-items: center; }
.nav-logo-img { height: 72px; width: auto; transition: filter 0.3s ease; }
.nav.scrolled .nav-logo-img { filter: invert(1); }
.nav.menu-open .nav-logo-img { filter: none !important; }
.nav.menu-open .mobile-toggle span { background: #fff !important; }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a { font-size: 0.9rem; font-weight: 500; color: rgba(255,255,255,0.7); transition: color 0.2s; }
.nav-links a:hover { color: #fff; }
.nav.scrolled .nav-links a { color: #666; }
.nav.scrolled .nav-links a:hover { color: #111; }
.nav-cta { padding: 10px 24px !important; background: #fff; color: #111 !important; border-radius: 6px; font-weight: 600 !important; }
.nav-cta:hover { background: #f0f0f0 !important; }
.nav.scrolled .nav-cta { background: #111; color: #fff !important; }
.nav.scrolled .nav-cta:hover { background: #333 !important; }

/* Mobile toggle */
.mobile-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; z-index: 200; position: relative; }
.mobile-toggle span { display: block; width: 24px; height: 2px; background: #fff; border-radius: 2px; transition: all 0.3s ease; }
.nav.scrolled .mobile-toggle span { background: #111; }
.mobile-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); background: #fff !important; }
.mobile-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); background: #fff !important; }

/* ======= HERO ======= */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; background: #111; color: #fff; overflow: hidden; }
.hero-content { position: relative; z-index: 2; max-width: 720px; }
.hero-badge { display: inline-block; padding: 6px 16px; border: 1px solid rgba(255,255,255,0.2); border-radius: 50px; font-size: 0.75rem; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: rgba(255,255,255,0.6); margin-bottom: 32px; }
.hero h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); font-weight: 800; letter-spacing: -2px; line-height: 1.05; margin-bottom: 24px; }
.hero-sub { font-size: 1.15rem; line-height: 1.7; color: rgba(255,255,255,0.6); max-width: 560px; margin-bottom: 40px; font-weight: 400; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-gradient { position: absolute; top: -50%; right: -20%; width: 800px; height: 800px; background: radial-gradient(circle, rgba(255,255,255,0.03) 0%, transparent 70%); pointer-events: none; }

/* ======= METRICS ======= */
.metrics { background: #fafafa; border-top: 1px solid #eee; border-bottom: 1px solid #eee; padding: 48px 0; }
.metrics-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; text-align: center; }
.metric { opacity: 0; transform: translateY(20px); transition: all 0.6s ease; }
.metric.visible { opacity: 1; transform: none; }
.metric-number { font-size: 2.5rem; font-weight: 800; letter-spacing: -1px; color: #111; }
.metric-label { font-size: 0.85rem; color: #888; font-weight: 500; margin-top: 4px; text-transform: uppercase; letter-spacing: 1px; }

/* ======= SECTIONS ======= */
.section { padding: 100px 0; }
.section--dark { background: #111; color: #fff; }
.section-header { text-align: center; max-width: 640px; margin: 0 auto 64px; }
.section-tag { display: inline-block; font-size: 0.75rem; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: #999; margin-bottom: 16px; }
.section-tag--light { color: rgba(255,255,255,0.4); }
.section-header h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); letter-spacing: -1px; margin-bottom: 16px; }
.section-header h2.nowrap { white-space: nowrap; }
.section-desc { font-size: 1.05rem; line-height: 1.7; color: #666; }
.section--dark .section-desc { color: rgba(255,255,255,0.5); }

/* ======= ABOUT ======= */
.about-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.about-card { padding: 40px 32px; border: 1px solid #eee; border-radius: 12px; transition: all 0.4s ease; opacity: 0; transform: translateY(30px); }
.about-card.visible { opacity: 1; transform: none; }
.about-card:hover { border-color: #111; box-shadow: 0 8px 30px rgba(0,0,0,0.06); }
.about-icon { width: 56px; height: 56px; display: flex; align-items: center; justify-content: center; background: #f5f5f5; border-radius: 12px; margin-bottom: 24px; color: #111; }
.about-card h3 { font-size: 1.2rem; margin-bottom: 12px; letter-spacing: -0.3px; }
.about-card p { font-size: 0.95rem; color: #666; line-height: 1.7; }

/* ======= APPROACH ======= */
.approach-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.approach-step { padding: 32px; border: 1px solid rgba(255,255,255,0.1); border-radius: 12px; transition: all 0.4s ease; opacity: 0; transform: translateY(30px); }
.approach-step.visible { opacity: 1; transform: none; }
.approach-step:hover { border-color: rgba(255,255,255,0.25); background: rgba(255,255,255,0.03); }
.approach-number { font-size: 3rem; font-weight: 800; color: rgba(255,255,255,0.1); letter-spacing: -2px; margin-bottom: 16px; }
.approach-step h3 { font-size: 1.15rem; margin-bottom: 12px; }
.approach-step p { font-size: 0.9rem; color: rgba(255,255,255,0.5); line-height: 1.7; }

/* ======= PORTFOLIO ======= */
.portfolio-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.portfolio-card { padding: 36px; background: #fafafa; border-radius: 12px; border: 1px solid #eee; transition: all 0.4s ease; opacity: 0; transform: translateY(30px); }
.portfolio-card.visible { opacity: 1; transform: none; }
.portfolio-card:hover { border-color: #111; transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.08); }
.portfolio-industry { display: inline-block; font-size: 0.7rem; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: #999; background: #fff; border: 1px solid #eee; padding: 4px 12px; border-radius: 50px; margin-bottom: 16px; }
.portfolio-card h3 { font-size: 1.3rem; margin-bottom: 10px; letter-spacing: -0.3px; }
.portfolio-card p { font-size: 0.9rem; color: #666; line-height: 1.7; }

/* ======= CTA ======= */
.cta-section { padding: 120px 0; }
.cta-content { text-align: center; max-width: 600px; margin: 0 auto; }
.cta-content h2 { font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -1px; margin-bottom: 20px; }
.cta-content p { font-size: 1.05rem; color: rgba(255,255,255,0.5); line-height: 1.7; margin-bottom: 40px; }

/* ======= FOOTER ======= */
.footer { padding: 32px 0; border-top: 1px solid #eee; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; }
.footer-left { display: flex; align-items: center; gap: 12px; }
.footer-logo-img { height: 54px; width: auto; }
.footer-right { font-size: 0.8rem; color: #999; }

/* ======= ANIMATIONS ======= */
.about-card:nth-child(1) { transition-delay: 0s; }
.about-card:nth-child(2) { transition-delay: 0.1s; }
.about-card:nth-child(3) { transition-delay: 0.2s; }
.approach-step:nth-child(1) { transition-delay: 0s; }
.approach-step:nth-child(2) { transition-delay: 0.1s; }
.approach-step:nth-child(3) { transition-delay: 0.2s; }
.approach-step:nth-child(4) { transition-delay: 0.3s; }
.portfolio-card:nth-child(1) { transition-delay: 0s; }
.portfolio-card:nth-child(2) { transition-delay: 0.1s; }
.portfolio-card:nth-child(3) { transition-delay: 0.15s; }
.portfolio-card:nth-child(4) { transition-delay: 0.2s; }
.portfolio-card:nth-child(5) { transition-delay: 0.25s; }
.portfolio-card:nth-child(6) { transition-delay: 0.3s; }
.portfolio-card:nth-child(7) { transition-delay: 0.35s; }
.portfolio-card:nth-child(8) { transition-delay: 0.4s; }
.metric:nth-child(1) { transition-delay: 0s; }
.metric:nth-child(2) { transition-delay: 0.1s; }
.metric:nth-child(3) { transition-delay: 0.2s; }
.metric:nth-child(4) { transition-delay: 0.3s; }

/* ======= RESPONSIVE ======= */
@media (max-width: 1024px) {
  .approach-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .mobile-toggle { display: flex; }
  .nav-links { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100vh; background: #111; flex-direction: column; align-items: center; justify-content: center; gap: 32px; z-index: 100; }
  .nav-links.active { display: flex; }
  .nav-links a { color: rgba(255,255,255,0.7) !important; font-size: 1.3rem; font-weight: 500; }
  .nav-links a:hover { color: #fff !important; }
  .nav-cta { margin-top: 16px; background: #fff !important; color: #111 !important; padding: 14px 32px !important; border-radius: 6px; font-size: 1rem !important; }

  .nav-logo { z-index: 200; position: relative; }
  .nav-logo-img { height: 54px; }
  .hero { min-height: 90vh; }
  .hero h1 { font-size: 2.2rem; letter-spacing: -1px; }
  .hero-sub { font-size: 1rem; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { text-align: center; }

  .metrics-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .metric-number { font-size: 2rem; }

  .section { padding: 64px 0; }
  .section-header { margin-bottom: 40px; }
  .section-header h2 { font-size: 1.8rem; }
  .section-header h2.nowrap { white-space: normal; }

  .about-grid { grid-template-columns: 1fr; gap: 20px; }
  .about-card { padding: 28px 24px; }

  .approach-grid { grid-template-columns: 1fr; gap: 16px; }
  .approach-step { padding: 24px; }
  .approach-number { font-size: 2rem; margin-bottom: 8px; }

  .portfolio-grid { grid-template-columns: 1fr; gap: 16px; }
  .portfolio-card { padding: 28px 24px; }

  .cta-section { padding: 64px 0; }
  .cta-content h2 { font-size: 1.8rem; }
  .cta-content .btn { font-size: 0.85rem; padding: 14px 28px; }

  .footer-inner { flex-direction: column; gap: 12px; text-align: center; }
}

@media (max-width: 480px) {
  .metrics-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
  .hero h1 { font-size: 1.9rem; }
}
