/* ========================================
   EdgeLaunch Landing Page
   Dark, premium, builder-operator aesthetic
   ======================================== */

:root {
  --bg: #0a0a0a;
  --bg-elevated: #111111;
  --bg-card: #161616;
  --bg-card-hover: #1c1c1c;
  --border: #222222;
  --border-light: #2a2a2a;
  --text: #e8e8e8;
  --text-secondary: #888888;
  --text-muted: #555555;
  --accent: #c8ff00;
  --accent-dim: #a3cc00;
  --white: #ffffff;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --mono: 'JetBrains Mono', monospace;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

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

/* ---- Navigation ---- */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.25rem 0;
  transition: background 0.3s, backdrop-filter 0.3s;
}

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

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.logo-edge {
  color: var(--white);
}

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

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav-links a {
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--text-secondary);
  transition: color 0.2s;
}

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

.nav-cta {
  padding: 0.5rem 1.25rem;
  border: 1px solid var(--border-light);
  border-radius: 6px;
  font-weight: 500 !important;
  color: var(--white) !important;
  transition: border-color 0.2s, background 0.2s !important;
}

.nav-cta:hover {
  border-color: var(--accent) !important;
  background: rgba(200, 255, 0, 0.05);
}

.mobile-menu {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 28px;
  height: 20px;
  position: relative;
  z-index: 110;
}

.mobile-menu span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--white);
  transition: transform 0.3s, opacity 0.3s;
}

.mobile-menu span:first-child {
  position: absolute;
  top: 4px;
}

.mobile-menu span:last-child {
  position: absolute;
  bottom: 4px;
}

.mobile-menu.active span:first-child {
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
}

.mobile-menu.active span:last-child {
  bottom: 50%;
  transform: translateY(50%) rotate(-45deg);
}

.mobile-overlay {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: rgba(10, 10, 10, 0.97);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.mobile-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.mobile-overlay-links {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  text-align: center;
}

.mobile-overlay-links a {
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--text);
  transition: color 0.2s;
}

.mobile-overlay-links a:hover {
  color: var(--accent);
}

/* ---- Hero ---- */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 8rem 0 6rem;
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.hero-label {
  font-family: var(--mono);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: clamp(2.75rem, 6vw, 5rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--white);
  margin-bottom: 1.5rem;
}

.hero-accent {
  color: var(--text-secondary);
}

.hero-sub {
  font-size: 1.2rem;
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 640px;
  margin-bottom: 3.5rem;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  flex-wrap: wrap;
}

.stat-num {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.02em;
}

.stat-label {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
  font-family: var(--mono);
  letter-spacing: 0.02em;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

/* ---- Section Shared ---- */

.section {
  padding: 7rem 0;
}

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

.section h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--white);
  margin-bottom: 1.5rem;
}

.body-text {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--text-secondary);
  max-width: 600px;
}

.section-intro {
  margin-bottom: 3.5rem;
}

.text-muted {
  color: var(--text-muted);
}

/* ---- What We Are ---- */

.what-we-are {
  border-top: 1px solid var(--border);
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.col-cards {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2rem;
  transition: border-color 0.3s, background 0.3s;
}

.card:hover {
  border-color: var(--border-light);
  background: var(--bg-card-hover);
}

.card-icon {
  font-size: 1.5rem;
  color: var(--accent);
  margin-bottom: 1rem;
}

.card h3 {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.card p {
  font-size: 0.925rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ---- Ventures ---- */

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

.ventures-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.venture-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: border-color 0.3s, transform 0.3s;
}

.venture-card:hover {
  border-color: var(--border-light);
  transform: translateY(-2px);
}

.venture-card-ghost {
  border-style: dashed;
  opacity: 0.6;
}

.venture-card-ghost:hover {
  opacity: 0.8;
}

.venture-status {
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  width: fit-content;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
}

.venture-status.active {
  background: rgba(200, 255, 0, 0.1);
  color: var(--accent);
}

.venture-status.cooking {
  background: rgba(255, 180, 0, 0.1);
  color: #ffb400;
}

.venture-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--white);
}

.venture-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.55;
  flex: 1;
}

.venture-tag {
  font-family: var(--mono);
  font-size: 0.7rem;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

/* ---- Partners / Services ---- */

.partners {
  background: #f5f3ef;
  border-top: none;
  border-bottom: none;
}

.partners .section-label {
  color: #1a1a1a;
}

.partners h2 {
  color: #1a1a1a;
}

.partners h2 .text-muted {
  color: #999999;
}

.partners .section-intro {
  color: #555555;
}

/* Header: two-column layout */
.partners-header {
  display: flex;
  align-items: flex-start;
  gap: 4rem;
  margin-bottom: 3.5rem;
}

.partners-header-left {
  flex: 1.2;
}

.partners-header-left h2 {
  margin-bottom: 0;
}

.partners-header-right {
  flex: 1;
  padding-top: 2.2rem;
}

.partners-header-right .section-intro {
  margin-bottom: 0;
  font-size: 1.05rem;
  line-height: 1.7;
}

/* Stats bar */
.partners-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-bottom: 3.5rem;
  padding: 2rem 0;
  border-top: 1px solid #ddd9d0;
  border-bottom: 1px solid #ddd9d0;
}

.partners-stat {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.partners-stat-num {
  font-family: var(--font);
  font-size: 2rem;
  font-weight: 700;
  color: #1a1a1a;
  letter-spacing: -0.02em;
}

.partners-stat-label {
  font-size: 0.85rem;
  color: #888888;
  letter-spacing: 0.01em;
}

/* Services grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: #ddd9d0;
  border: 1px solid #ddd9d0;
  border-radius: 12px;
  overflow: hidden;
}

.service {
  background: #ffffff;
  padding: 2.5rem;
  transition: background 0.3s, transform 0.3s;
}

.service:hover {
  background: #fafaf8;
}

.service-icon {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
  filter: grayscale(1) opacity(0.5);
  transition: filter 0.3s;
}

.service:hover .service-icon {
  filter: grayscale(0) opacity(1);
}

.service-num {
  font-family: var(--mono);
  font-size: 0.7rem;
  color: #bbb5a8;
  margin-bottom: 0.75rem;
  letter-spacing: 0.05em;
}

.service h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 0.5rem;
}

.service p {
  font-size: 0.9rem;
  color: #666666;
  line-height: 1.6;
}

/* Partners CTA */
.partners-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  margin-top: 3.5rem;
  padding-top: 2.5rem;
}

.partners-cta p {
  font-size: 1.1rem;
  color: #555555;
  font-weight: 500;
}

.btn-partners {
  display: inline-flex;
  align-items: center;
  padding: 0.85rem 2.2rem;
  background: #1a1a1a;
  color: #f5f3ef;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.3s, transform 0.2s;
  letter-spacing: 0.01em;
}

.btn-partners:hover {
  background: #333333;
  transform: translateY(-1px);
}

/* ---- AI Section ---- */

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

.ai-inner {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.ai-inner .body-text {
  max-width: 100%;
  margin: 0 auto;
}

/* ---- Founders ---- */

.founders {
  border-top: 1px solid var(--border);
  background: var(--bg-elevated);
}

.founders-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 3rem;
}

.founder-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2.5rem;
}

.founder-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-dim));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 700;
  color: var(--bg);
  margin-bottom: 1.5rem;
}

.founder-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.25rem;
}

.founder-role {
  font-family: var(--mono);
  font-size: 0.8rem;
  color: var(--accent);
  margin-bottom: 1rem;
}

.founder-bio {
  font-size: 0.925rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 1.25rem;
}

.founder-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.founder-tags span {
  font-size: 0.7rem;
  font-family: var(--mono);
  color: var(--text-muted);
  border: 1px solid var(--border);
  padding: 0.25rem 0.65rem;
  border-radius: 4px;
}

/* ---- Quote ---- */

.philosophy {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.philosophy-bg {
  position: absolute;
  inset: 0;
  background: url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?w=1920&q=80') center/cover no-repeat;
  transform: scale(1.05);
  transition: transform 8s ease-out;
}

.philosophy:hover .philosophy-bg {
  transform: scale(1);
}

.philosophy-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(10, 10, 10, 0.85) 0%,
    rgba(10, 10, 10, 0.7) 50%,
    rgba(10, 10, 10, 0.85) 100%
  );
}

.philosophy-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 6rem 2rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.philosophy-dash {
  display: block;
  width: 60px;
  height: 2px;
  background: var(--accent);
  opacity: 0.6;
}

.big-quote {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 300;
  line-height: 1.5;
  color: #ffffff;
  letter-spacing: -0.01em;
  margin: 0;
}

.philosophy-kicker {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  font-weight: 600;
  color: var(--accent);
  letter-spacing: -0.01em;
}

/* ---- Contact ---- */

.contact {
  border-top: 1px solid var(--border);
  background: var(--bg-elevated);
}

.contact-inner {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.contact-inner .body-text {
  max-width: 100%;
  margin: 0 auto 2.5rem;
}

.cta-button {
  display: inline-block;
  padding: 1rem 2.5rem;
  background: var(--accent);
  color: var(--bg);
  font-size: 1rem;
  font-weight: 600;
  border-radius: 8px;
  transition: background 0.2s, transform 0.2s;
  letter-spacing: -0.01em;
}

.cta-button:hover {
  background: var(--accent-dim);
  transform: translateY(-1px);
}

/* ---- Footer ---- */

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

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

.footer-tagline {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.35rem;
}

.footer-links {
  display: flex;
  gap: 2rem;
}

.footer-links a {
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: color 0.2s;
}

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

.footer-copy p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ---- Animations ---- */

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* ---- Responsive ---- */

@media (max-width: 1024px) {
  .ventures-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .partners-header {
    flex-direction: column;
    gap: 1.5rem;
  }

  .partners-header-right {
    padding-top: 0;
  }

  .partners-stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

  .mobile-menu {
    display: block;
  }

  .hero {
    min-height: auto;
    padding: 8rem 0 4rem;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-stats {
    gap: 1.5rem;
  }

  .stat-divider {
    display: none;
  }

  .section {
    padding: 4.5rem 0;
  }

  .two-col {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .ventures-grid {
    grid-template-columns: 1fr;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .founders-grid {
    grid-template-columns: 1fr;
  }

  .partners-header {
    flex-direction: column;
    gap: 1.5rem;
  }

  .partners-header-right {
    padding-top: 0;
  }

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

  .partners-cta {
    flex-direction: column;
    gap: 1.25rem;
    text-align: center;
  }

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

  .footer-links {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1.25rem;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-sub {
    font-size: 1rem;
  }

  .hero-stats {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
  }
}
