/* Future X - PHP Version Styles */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Inter:wght@400;500;600&display=swap');

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: #070A12;
  color: #F3F5FA;
  line-height: 1.6;
  overflow-x: hidden;
  padding-top: 4.5rem;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
}

/* Grain overlay */
.grain-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.06;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* Navigation */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 4.5rem;
  z-index: 1000;
  background: rgba(7, 10, 18, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(243, 245, 250, 0.08);
}

.nav-container {
  max-width: 1280px;
  height: 100%;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: #F3F5FA;
  text-decoration: none;
  flex-shrink: 0;
}

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

.nav-links a {
  font-size: 0.875rem;
  color: #A7ACB8;
  text-decoration: none;
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: #F3F5FA;
}

/* Hamburger toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 2.5rem;
  height: 2.5rem;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.nav-toggle-bar {
  display: block;
  width: 22px;
  height: 2px;
  background-color: #F3F5FA;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Mobile nav */
@media (max-width: 1023px) {
  .nav-links {
    position: fixed;
    top: 4.5rem;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #070A12;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2.5rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 999;
  }

  .nav-links.open {
    opacity: 1;
    pointer-events: auto;
  }

  .nav-links a {
    font-size: 1.5rem;
    font-weight: 600;
    color: #F3F5FA;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-toggle.open .nav-toggle-bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .nav-toggle.open .nav-toggle-bar:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
  }

  .nav-toggle.open .nav-toggle-bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
}

/* Push page content below fixed header — handled by body padding-top */

/* Sections */
section {
  position: relative;
  width: 100%;
  padding: 6rem 0;
}

@media (min-width: 1024px) {
  section {
    padding: 8rem 0;
  }
}

.container {
  max-width: 1152px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Hero */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: radial-gradient(ellipse at 50% 30%, rgba(185, 185, 185, 0.05) 0%, transparent 50%);
}

.hero h1 {
  margin-bottom: 2rem;
}

.hero-line-1 {
  display: block;
  font-size: 3rem;
  font-weight: 700;
  color: #F3F5FA;
  letter-spacing: -0.02em;
  line-height: 1;
}

.hero-line-2 {
  display: block;
  font-size: 3rem;
  font-weight: 700;
  color: #B9B9B9;
  letter-spacing: -0.02em;
  line-height: 1;
  margin-top: 0.5rem;
}

@media (min-width: 768px) {
  .hero-line-1,
  .hero-line-2 {
    font-size: 4.5rem;
  }
}

@media (min-width: 1024px) {
  .hero-line-1,
  .hero-line-2 {
    font-size: 6rem;
  }
}

.hero-subtitle {
  font-size: 1.125rem;
  color: #A7ACB8;
  max-width: 42rem;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

.hero-subtitle span {
  color: #F3F5FA;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #B9B9B9;
  text-decoration: none;
  transition: color 0.3s ease;
}

.hero-cta:hover {
  color: #F3F5FA;
}

.hero-cta span {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

/* Section headings */
.section-title {
  font-size: 2.25rem;
  font-weight: 700;
  color: #F3F5FA;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .section-title {
    font-size: 3rem;
  }
}

.section-subtitle {
  font-size: 1.125rem;
  color: #A7ACB8;
  max-width: 42rem;
  margin-bottom: 4rem;
}

/* Stats */
.stats-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
  }
}

.stat-item {
  border-top: 1px solid rgba(243, 245, 250, 0.12);
  padding-top: 1.5rem;
}

.stat-value {
  display: block;
  font-size: 3rem;
  font-weight: 700;
  color: #B9B9B9;
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .stat-value {
    font-size: 3.5rem;
  }
}

.stat-label {
  color: #F3F5FA;
  line-height: 1.6;
  margin-bottom: 0.5rem;
}

.stat-source {
  font-size: 0.875rem;
  color: #A7ACB8;
}

/* Gap section */
.gap-section {
  background-color: #111827;
}

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

@media (min-width: 1024px) {
  .gap-content {
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
  }
}

.gap-quote {
  border-left: 2px solid #B9B9B9;
  padding-left: 1.5rem;
  margin: 1.5rem 0;
}

.gap-quote p {
  font-size: 1.25rem;
  color: #F3F5FA;
  line-height: 1.5;
}

/* Glass card */
.glass-card {
  background-color: rgba(17, 24, 39, 0.6);
  border: 1px solid rgba(243, 245, 250, 0.12);
  border-radius: 1.125rem;
  padding: 2rem;
}

/* Approach section */
.approach-section {
  text-align: center;
}

.approach-section .section-title {
  margin-bottom: 2rem;
}

.approach-statement {
  font-size: 1.5rem;
  color: #F3F5FA;
  margin-bottom: 3rem;
}

.approach-statement span {
  color: #B9B9B9;
}

.approach-box {
  display: inline-block;
  max-width: 48rem;
  text-align: left;
}

.approach-box p:first-child {
  font-size: 1.125rem;
  color: #A7ACB8;
  margin-bottom: 1.5rem;
}

.approach-box p:last-child {
  font-size: 1.25rem;
  color: #F3F5FA;
  line-height: 1.6;
}

/* Services */
.services-section {
  background-color: #111827;
}

.label-text {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #A7ACB8;
  margin-bottom: 1rem;
  display: block;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.service-card {
  background-color: rgba(17, 24, 39, 0.6);
  border: 1px solid rgba(243, 245, 250, 0.12);
  border-radius: 1.125rem;
  padding: 1.5rem;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(185, 185, 185, 0.35);
}

.service-icon {
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid rgba(243, 245, 250, 0.12);
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.service-card:hover .service-icon {
  border-color: rgba(185, 185, 185, 0.35);
}

.service-icon svg {
  width: 1.25rem;
  height: 1.25rem;
  color: #B9B9B9;
}

.service-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: #F3F5FA;
  margin-bottom: 0.5rem;
}

.service-description {
  font-size: 0.875rem;
  color: #A7ACB8;
  line-height: 1.5;
}

/* Model section */
.model-subtitle {
  font-size: 1.25rem;
  color: #B9B9B9;
  margin-bottom: 4rem;
}

.phases-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .phases-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .phases-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.phase-card {
  background-color: rgba(17, 24, 39, 0.6);
  border: 1px solid rgba(243, 245, 250, 0.12);
  border-radius: 1.125rem;
  padding: 1.5rem;
  position: relative;
  overflow: hidden;
}

.phase-number {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 3rem;
  font-weight: 700;
  color: rgba(185, 185, 185, 0.1);
}

.phase-icon {
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid rgba(243, 245, 250, 0.12);
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.phase-icon svg {
  width: 1.25rem;
  height: 1.25rem;
  color: #B9B9B9;
}

.phase-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: #F3F5FA;
  margin-bottom: 0.5rem;
}

.phase-question {
  font-size: 0.875rem;
  color: #B9B9B9;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.phase-description {
  font-size: 0.875rem;
  color: #A7ACB8;
  line-height: 1.5;
}

.model-note {
  text-align: center;
  color: #A7ACB8;
  font-size: 0.875rem;
  margin-top: 3rem;
}

/* Opportunity section */
.opportunity-section {
  background-color: #111827;
}

/* Team section */
.team-intro {
  font-size: 1.125rem;
  color: #A7ACB8;
  max-width: 42rem;
  margin-bottom: 4rem;
}

.partners-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 4rem;
}

@media (min-width: 768px) {
  .partners-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
  }
}

.partner-card {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .partner-card {
    flex-direction: row;
  }
}

.partner-image {
  width: 100%;
  height: 16rem;
  border-radius: 1rem;
  overflow: hidden;
  flex-shrink: 0;
}

@media (min-width: 768px) {
  .partner-image {
    width: 12rem;
    height: 14rem;
  }
}

.partner-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.partner-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.partner-role {
  font-size: 0.875rem;
  color: #B9B9B9;
  margin-bottom: 0.25rem;
}

.partner-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: #F3F5FA;
  margin-bottom: 0.75rem;
}

.partner-description {
  color: #A7ACB8;
  margin-bottom: 0.75rem;
  line-height: 1.5;
}

.partner-belief {
  font-size: 0.875rem;
  color: #F3F5FA;
  font-style: italic;
}

.team-closing {
  border-top: 1px solid rgba(243, 245, 250, 0.12);
  padding-top: 3rem;
}

.team-closing p:first-child {
  font-size: 1.5rem;
  font-weight: 600;
  color: #F3F5FA;
  line-height: 1.4;
  margin-bottom: 1rem;
}

.team-closing p:last-child {
  font-size: 1.125rem;
  color: #A7ACB8;
}

.team-closing span {
  color: #F3F5FA;
}

/* Commitments section */
.commitments-section {
  background-color: #111827;
}

.commitments-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 4rem;
}

@media (min-width: 768px) {
  .commitments-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.commitment-card {
  background-color: rgba(17, 24, 39, 0.6);
  border: 1px solid rgba(243, 245, 250, 0.12);
  border-radius: 1.125rem;
  padding: 2rem;
}

.commitment-header {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.commitment-icon {
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid rgba(243, 245, 250, 0.12);
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.commitment-icon svg {
  width: 1.25rem;
  height: 1.25rem;
  color: #B9B9B9;
}

.commitment-number {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #B9B9B9;
  margin-bottom: 0.25rem;
  display: block;
}

.commitment-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #F3F5FA;
  margin-bottom: 0.75rem;
}

.commitment-description {
  color: #A7ACB8;
  line-height: 1.5;
}

.commitments-closing {
  text-align: center;
  border-top: 1px solid rgba(243, 245, 250, 0.12);
  padding-top: 3rem;
}

.commitments-closing p:first-child {
  font-size: 1.5rem;
  font-weight: 600;
  color: #F3F5FA;
  margin-bottom: 1rem;
}

.commitments-closing p:last-child {
  font-size: 1.25rem;
  color: #B9B9B9;
}

/* Contact section */
.contact-section {
  text-align: center;
}

.contact-logo {
  font-size: 1.875rem;
  font-weight: 700;
  color: #F3F5FA;
  margin-bottom: 2rem;
  display: block;
}

.contact-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #F3F5FA;
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

@media (min-width: 768px) {
  .contact-title {
    font-size: 3.5rem;
  }
}

.contact-tagline {
  font-size: 1.125rem;
  color: #A7ACB8;
  margin-bottom: 3rem;
}

.contact-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 4rem;
}

@media (min-width: 640px) {
  .contact-links {
    flex-direction: row;
  }
}

.contact-links a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #F3F5FA;
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-links a:hover {
  color: #B9B9B9;
}

.contact-links svg {
  width: 1.25rem;
  height: 1.25rem;
}

/* Footer */
footer {
  border-top: 1px solid rgba(243, 245, 250, 0.12);
  padding-top: 2rem;
}

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

@media (min-width: 768px) {
  .footer-content {
    flex-direction: row;
  }
}

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

.footer-nav a {
  font-size: 0.875rem;
  color: #A7ACB8;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-nav a:hover {
  color: #F3F5FA;
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer-social a {
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid rgba(243, 245, 250, 0.12);
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.3s ease;
}

.footer-social a:hover {
  border-color: rgba(185, 185, 185, 0.35);
}

.footer-social svg {
  width: 1rem;
  height: 1rem;
  color: #A7ACB8;
}

.footer-copyright {
  text-align: center;
  margin-top: 2rem;
  padding-bottom: 2rem;
}

.footer-copyright p {
  font-size: 0.75rem;
  color: #A7ACB8;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

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

::-webkit-scrollbar-track {
  background: #070A12;
}

::-webkit-scrollbar-thumb {
  background: rgba(185, 185, 185, 0.3);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(185, 185, 185, 0.5);
}
