@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Space+Grotesk:wght@300;400;500;600;700&display=swap');

:root {
  /* Colors - Minimalist Silver / Light Theme */
  --bg-primary: #f1f5f9;
  --bg-secondary: #ffffff;
  --bg-surface: #ffffff;
  --accent-primary: #2563eb;
  --accent-secondary: #0891b2;
  --accent-purple: #7c3aed;
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #64748b;
  --border-subtle: rgba(15, 23, 42, 0.08); /* Dark subtle border for white backgrounds */
  --border-accent: rgba(37, 99, 235, 0.2);
  --glow-color: rgba(37, 99, 235, 0.15);
  
  /* Spacing */
  --container-max: 1200px;
  --section-padding: 6rem;
  --border-radius-lg: 1.25rem;
  --border-radius-md: 0.75rem;

  /* Font */
  --font-heading: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

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

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

section {
  padding: var(--section-padding) 0;
  position: relative;
  width: 100%;
}

/* Typography */
h1, h2, h3, h4, h5 {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.gradient-text {
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary), var(--accent-purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-label {
  display: block;
  font-family: var(--font-heading);
  text-transform: uppercase;
  color: var(--accent-primary);
  font-weight: 600;
  letter-spacing: 0.2em;
  font-size: 0.9375rem; /* Unifying all labels to hero label size */
  margin-bottom: 1rem;
}

.section-title {
  font-size: clamp(1.875rem, 4.5vw, 3.375rem); /* Reduced by roughly 2px */
  margin-bottom: 1.5rem;
}

.section-desc {
  color: var(--text-secondary);
  font-size: 1.125rem;
  max-width: 600px;
  margin-bottom: 3rem;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.text-center .section-desc {
  margin-left: auto;
  margin-right: auto;
}

/* Glassmorphism */
.glass {
  background: var(--bg-surface);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
}

.glass-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--border-radius-lg);
  padding: 2.5rem;
  transition: var(--transition-normal);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 10px 15px -3px rgba(0, 0, 0, 0.02);
}

.glass-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-5px);
  background: var(--bg-surface);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem 1.75rem;
  border-radius: var(--border-radius-md);
  font-weight: 600;
  font-size: 1.125rem; /* Increased size for buttons globally */
  cursor: pointer;
  transition: var(--transition-normal);
  text-decoration: none;
  font-family: var(--font-heading);
}

.btn-primary {
  background: var(--accent-primary);
  color: white;
  border: none;
  box-shadow: 0 10px 20px rgba(59, 130, 246, 0.2);
}

.btn-primary:hover {
  background: #2563eb;
  transform: translateY(-2px);
  box-shadow: 0 15px 30px rgba(59, 130, 246, 0.3);
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
}

.btn-outline:hover {
  border-color: var(--accent-primary);
  background: rgba(59, 130, 246, 0.05);
}

/* Animations */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.text-center {
  text-align: center !important;
}

.text-center > * {
  margin-left: auto;
  margin-right: auto;
}

.glass-card {
  text-align: center;
}

.text-center > * {
  margin-left: auto;
  margin-right: auto;
}

/* Grid Pattern Overlay */
.grid-overlay {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(15, 23, 42, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  pointer-events: none;
  z-index: 0;
}

/* Navigation */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  padding: 1.5rem 0;
  z-index: 1000;
  transition: var(--transition-normal);
}

nav.scrolled {
  padding: 0.75rem 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
}

nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.logo img {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: #ffffff;
}

.logo-text {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.logo-name {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.1;
}

.logo-tag {
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--text-secondary);
  font-weight: 700;
}

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

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: var(--transition-fast);
}

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

.nav-cta {
  padding: 0.6rem 1.2rem;
  font-size: 0.8125rem;
}

/* Burger Menu */
.burger {
  display: none;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
  z-index: 1001;
}

.burger span {
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  transition: var(--transition-normal);
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 100px;
}

#hero-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.hero-content {
  max-width: 900px;
  position: relative;
  z-index: 10;
}

.hero .section-label {
  font-size: 0.9375rem; /* Increased by 3px from 0.75rem */
  letter-spacing: 0.2em;
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-size: clamp(2.5rem, 8vw, 4.5rem);
  margin-bottom: 1.5rem;
}

.hero p {
  font-size: 1.25rem;
  color: var(--text-secondary);
  max-width: 700px;
  margin: 0 auto 2.5rem;
}

.hero-btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
}

.service-icon {
  width: 50px;
  height: 50px;
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid var(--border-accent);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--accent-primary);
}

.text-center .service-icon {
  margin-left: auto;
  margin-right: auto;
}

.text-center .service-points {
  display: inline-block;
  text-align: left;
  margin: 2rem auto 0;
}

.text-center .service-points-container {
  display: flex;
  justify-content: center;
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.service-points {
  list-style: none;
  margin-top: 1.5rem;
}

.service-points li {
  font-size: 0.875rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.service-points li::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--accent-primary);
  border-radius: 50%;
}

/* Operating Model */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
}

.step-card {
  text-align: center;
}

.step-num {
  font-family: var(--font-heading);
  font-size: 4rem;
  font-weight: 800;
  color: rgba(59, 130, 246, 0.1);
  line-height: 1;
  margin-bottom: -1rem;
}

/* Venture Framework Tags */
.tag-container {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  gap: 0.75rem;
  margin: 3rem 0;
  overflow-x: auto;
  padding-bottom: 0.5rem; /* Scrollbar clearance */
  /* Hide scrollbar for standard browsers, but keep functionality */
  scrollbar-width: none; 
}
.tag-container::-webkit-scrollbar {
  display: none;
}

.tag {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  padding: 0.6rem 1.25rem;
  border-radius: 99px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-primary);
  white-space: nowrap;
  flex-shrink: 0;
}

/* Contact Section */
.contact-container {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 4rem;
}

.contact-info .section-label {
  font-size: 0.75rem; /* specifically smaller for Why Partner With Us */
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  text-decoration: none;
  color: inherit;
}

.info-icon {
  width: 50px;
  height: 50px;
  background: rgba(59, 130, 246, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-primary);
}

form {
  display: grid;
  gap: 1.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  position: relative;
}

.form-group input, 
.form-group textarea {
  width: 100%;
  background: rgba(15, 23, 42, 0.02);
  border: 1px solid var(--border-subtle);
  border-radius: 0.75rem;
  padding: 1rem 1rem 1rem 3rem;
  color: var(--text-primary);
  font-family: var(--font-body);
  transition: var(--transition-normal);
}

.form-group i,
.form-group svg {
  position: absolute;
  left: 1rem;
  top: 1.1rem;
  color: var(--text-muted);
}

.form-group input:focus, 
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-primary);
  background: rgba(255, 255, 255, 0.05);
}

/* Footer */
footer {
  padding: 4rem 0 2rem;
  border-top: 1px solid var(--border-subtle);
}

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

.footer-logo-area p {
  color: var(--text-secondary);
  font-size: 0.875rem;
  margin-top: 1.5rem;
}

.footer-links h4 {
  margin-bottom: 1.5rem;
  font-size: 1rem;
}

.footer-links ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.875rem;
  transition: var(--transition-fast);
}

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

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: var(--text-muted);
  animation: bounce 2s infinite;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 20;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0) translateX(-50%); }
  40% { transform: translateY(-10px) translateX(-50%); }
  60% { transform: translateY(-5px) translateX(-50%); }
}

/* Responsive */
@media (max-width: 1024px) {
  .nav-links { display: none; }
  .nav-links.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: calc(100% + 10px);
    right: 1.25rem;
    left: auto;
    min-width: 220px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(16px);
    padding: 0.5rem;
    border: 1px solid var(--border-subtle);
    border-radius: var(--border-radius-md);
    box-shadow: 0 10px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1);
  }
  .nav-links.active a {
    padding: 0.75rem 1rem;
    text-align: left;
    border-bottom: none;
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: 0.5rem;
  }
  .nav-links.active a:hover {
    background: rgba(15, 23, 42, 0.04);
    color: var(--accent-primary);
  }
  .burger { display: flex; }
  .footer-main { grid-template-columns: repeat(2, 1fr); }
  .contact-container { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  :root { --section-padding: 3rem; }
  .hero h1 { font-size: 2.25rem; }
  .section-title { font-size: 1.75rem; }
  .section-desc { font-size: 0.875rem; }
  .section-label { font-size: 0.75rem !important; margin-bottom: 0.75rem; }
  .btn { padding: 0.8rem 1.2rem; font-size: 0.875rem; width: 100%; justify-content: center; }
  .step-num { font-size: 3rem; }
  
  .hero-btns {
    flex-direction: column;
    gap: 1rem;
    width: 100%;
  }
  
  .container {
    padding: 0 1.25rem;
  }
  
  .glass-card {
    padding: 1.5rem 1rem;
  }

  .logo {
    justify-content: center;
  }

  .nav-cta {
    display: none;
  }

  /* Force Full Center on Mobile footer */
  .footer-main { 
    grid-template-columns: 1fr; 
    gap: 2.5rem; 
  }
  .footer-main .text-left,
  .footer-logo-area p, 
  .footer-links h4 { 
    text-align: center !important; 
  }
  .footer-links ul { 
    align-items: center; 
  }
  .footer-links ul li { 
    justify-content: center; 
    text-align: center;
  }
  .footer-logo-area .logo {
    justify-content: center !important;
  }
  .footer-bottom {
    justify-content: center !important;
    text-align: center;
    flex-direction: column;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
}
