/* Dark Lean Startup-Inspired Design System */
:root {
  --primary-blue: #4A90E2;
  --secondary-blue: #2E5BBA;
  --accent-blue: #6BB6FF;
  --bright-blue: #00D4FF;
  --neutral-900: #0A0A0F;
  --neutral-800: #151520;
  --neutral-700: #1F1F2E;
  --neutral-600: #2A2A3A;
  --neutral-500: #4A4A5A;
  --neutral-400: #6A6A7A;
  --neutral-300: #8A8A9A;
  --neutral-200: #AAAAAA;
  --neutral-100: #CCCCCC;
  --neutral-50: #E8E8E8;
  --dark-surface: #0F0F1A;
  --card-surface: #2A2A3E;
  --text-primary: #FFFFFF;
  --text-secondary: #CCCCCC;
  --text-muted: #8A8A9A;
  --background-primary: var(--neutral-900);
  --background-secondary: var(--dark-surface);
  --background-tertiary: var(--card-surface);
  --border-subtle: rgba(255, 255, 255, 0.1);
  --border-accent: rgba(74, 144, 226, 0.3);
  --shadow-subtle: 0 1px 2px 0 rgba(0, 0, 0, 0.5);
  --shadow-medium: 0 4px 12px 0 rgba(0, 0, 0, 0.4);
  --shadow-large: 0 8px 24px 0 rgba(0, 0, 0, 0.6);
  --glow-blue: 0 0 20px rgba(74, 144, 226, 0.3);
}

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

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text-primary);
  line-height: 1.5;
  background: var(--background-primary);
  background-image: radial-gradient(circle at 1px 1px, rgba(74, 144, 226, 0.05) 1px, transparent 0);
  background-size: 20px 20px;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: -0.011em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Modern Typography System */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight: 500;
  line-height: 1.1;
  color: var(--text-primary);
  margin: 0;
  letter-spacing: -0.02em;
}

h1 { 
  font-size: clamp(3rem, 6vw, 5rem); 
  font-weight: 500; 
  letter-spacing: -0.04em;
  line-height: 0.95;
}
h2 { 
  font-size: clamp(2.25rem, 4vw, 3.5rem); 
  font-weight: 500; 
  letter-spacing: -0.03em;
  line-height: 1.05;
}
h3 { 
  font-size: clamp(1.5rem, 3vw, 2.25rem); 
  font-weight: 500;
  letter-spacing: -0.02em;
}
h4 { 
  font-size: clamp(1.125rem, 2vw, 1.5rem); 
  font-weight: 500;
  letter-spacing: -0.01em;
}

/* Modern accents */
.accent {
  color: var(--accent-blue);
  font-weight: 600;
  text-shadow: 0 0 10px rgba(107, 182, 255, 0.3);
}

.mono {
  font-family: 'JetBrains Mono', 'SF Mono', Monaco, monospace;
  font-weight: 400;
  letter-spacing: -0.01em;
}

/* Modern Navigation */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: clamp(0.75rem, 2vw, 1rem) clamp(1rem, 5vw, 3rem);
  background: rgba(10, 10, 15, 0.95);
  backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border-subtle);
  position: sticky;
  top: 0;
  z-index: 100;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar .logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
  font-size: clamp(1.125rem, 2.5vw, 1.5rem);
  color: var(--text-primary);
  letter-spacing: -0.03em;
}

.logo-img {
  height: 60px;
  width: auto;
}

.footer-logo-img {
  height: 48px;
  width: auto;
}

.navbar nav {
  display: flex;
  gap: 2rem;
}

.navbar nav a {
  text-decoration: none;
  color: var(--text-secondary);
  font-weight: 450;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 0.5rem 1rem;
  border-radius: 6px;
  position: relative;
  font-size: 0.875rem;
  letter-spacing: -0.01em;
}

.navbar nav a:hover {
  color: var(--accent-blue);
  background: rgba(74, 144, 226, 0.1);
}

/* Modern Hero Section */
.hero {
  background: linear-gradient(135deg, var(--neutral-900) 0%, var(--neutral-800) 50%, var(--dark-surface) 100%);
  text-align: center;
  padding: clamp(6rem, 12vw, 10rem) 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 0 100px rgba(74, 144, 226, 0.1);
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
}

.hero-video-iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100vw;
  height: 56.25vw; /* 16:9 aspect ratio */
  min-height: 100vh;
  min-width: 177.77vh; /* 16:9 aspect ratio */
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 10, 15, 0.7);
  z-index: 2;
}

.hero-bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-content {
  position: relative;
  z-index: 3;
}

.hero h1 {
  margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
  color: var(--text-primary);
  text-shadow: 0 0 30px rgba(74, 144, 226, 0.3);
  font-weight: 600;
}

.hero-tagline {
  font-size: clamp(1.125rem, 2.5vw, 1.5rem);
  font-weight: 500;
  color: var(--accent-blue);
  margin-bottom: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.02em;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.4;
  text-shadow: 0 0 20px rgba(107, 182, 255, 0.4);
}

.hero p {
  font-size: clamp(1rem, 2vw, 1.25rem);
  margin-bottom: clamp(3rem, 6vw, 5rem);
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: var(--text-secondary);
  line-height: 1.6;
  font-weight: 400;
}

.btn {
  display: inline-block;
  padding: clamp(0.875rem, 2vw, 1.125rem) clamp(1.5rem, 3vw, 2.25rem);
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--accent-blue) 100%);
  color: var(--text-primary);
  border: none;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: clamp(0.875rem, 1.5vw, 0.95rem);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  letter-spacing: -0.01em;
  text-align: center;
  position: relative;
  box-shadow: var(--glow-blue);
}

.btn:hover {
  background: linear-gradient(135deg, var(--accent-blue) 0%, var(--bright-blue) 100%);
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(74, 144, 226, 0.5);
}



/* Modern Container System */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 5vw, 3rem);
}

.section {
  padding: clamp(4rem, 8vw, 8rem) 0;
}

.section-header {
  text-align: center;
  margin-bottom: clamp(3rem, 6vw, 6rem);
}

.section-title {
  margin-bottom: clamp(1rem, 2vw, 2rem);
}

.section-subtitle {
  font-size: clamp(1.125rem, 2vw, 1.375rem);
  color: var(--text-secondary);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
  font-weight: 400;
}

/* Modern Value Section */
.value-section {
  background: var(--background-secondary);
  border-top: 1px solid var(--border-subtle);
  position: relative;
}

.value-section::before {
  content: '>>';
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--background-secondary);
  color: var(--accent-blue);
  font-family: 'JetBrains Mono', monospace;
  font-size: 1rem;
  font-weight: 500;
  padding: 0 1rem;
  z-index: 10;
}

.section-image-container {
  display: flex;
  justify-content: center;
  margin-bottom: 3rem;
}

.section-photo {
  max-width: 600px;
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: var(--shadow-large);
}


.value-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  gap: clamp(2rem, 4vw, 4rem);
  max-width: 1400px;
  margin: 0 auto;
}

.value-card {
  background: var(--background-tertiary);
  padding: clamp(2rem, 4vw, 3rem);
  border-radius: 16px;
  text-align: left;
  border: 1px solid var(--border-subtle);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  box-shadow: var(--shadow-medium);
}

.value-card:hover {
  border-color: var(--border-accent);
  box-shadow: var(--glow-blue);
  transform: translateY(-4px);
}

.value-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.value-card h3 {
  font-size: 0.8125rem;
  font-weight: 500;
  margin-bottom: clamp(1rem, 2vw, 1.5rem);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.value-card h4 {
  font-size: clamp(1.25rem, 2.5vw, 1.625rem);
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: clamp(1rem, 2vw, 1.5rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.value-card p {
  color: var(--text-secondary);
  line-height: 1.6;
  font-size: clamp(0.9rem, 1.5vw, 1rem);
  font-weight: 400;
}

/* Modern Platform Journey */
.platform-journey {
  background: var(--background-primary);
  border-top: 1px solid var(--border-subtle);
  position: relative;
}

.platform-journey::before {
  content: '>>';
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--background-primary);
  color: var(--accent-blue);
  font-family: 'JetBrains Mono', monospace;
  font-size: 1rem;
  font-weight: 500;
  padding: 0 1rem;
  z-index: 10;
}

.platform-visual {
  display: flex;
  justify-content: center;
  margin-bottom: 3rem;
}

.platform-diagram {
  max-width: 400px;
  width: 100%;
  height: auto;
}


.journey-steps {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(2rem, 4vw, 3rem);
  max-width: 1400px;
  margin: 0 auto;
}

.journey-step {
  background: var(--neutral-500);
  padding: clamp(2rem, 4vw, 2.5rem);
  border-radius: 12px;
  text-align: left;
  position: relative;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-medium);
}

.step-number {
  position: absolute;
  top: -12px;
  left: 16px;
  background: var(--primary-blue);
  color: var(--background-primary);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 500;
  font-family: 'JetBrains Mono', monospace;
}

.journey-step h3 {
  font-size: clamp(1.125rem, 2vw, 1.375rem);
  font-weight: 500;
  margin: 0 0 clamp(0.75rem, 1.5vw, 1rem) 0;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

.journey-step p {
  color: var(--text-secondary);
  font-size: clamp(0.875rem, 1.5vw, 0.95rem);
  line-height: 1.6;
  font-weight: 400;
}

/* Modern Technology Section */
.technology {
  background: var(--background-secondary);
  border-top: 1px solid var(--border-subtle);
  position: relative;
}

.technology::before {
  content: '>>';
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--background-secondary);
  color: var(--accent-blue);
  font-family: 'JetBrains Mono', monospace;
  font-size: 1rem;
  font-weight: 500;
  padding: 0 1rem;
  z-index: 10;
}

.technology-visual {
  display: flex;
  justify-content: center;
  margin-bottom: 3rem;
}

.tech-photo {
  max-width: 600px;
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 20px 40px -8px rgba(0, 0, 0, 0.2);
}


.tech-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  gap: clamp(2rem, 4vw, 4rem);
  max-width: 1400px;
  margin: 0 auto;
}

.tech-card {
  background: var(--background-tertiary);
  padding: clamp(2rem, 4vw, 3rem);
  border-radius: 16px;
  text-align: left;
  border: 1px solid var(--border-subtle);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  box-shadow: var(--shadow-medium);
}

.tech-card:hover {
  border-color: var(--border-accent);
  box-shadow: var(--glow-blue);
  transform: translateY(-4px);
}

.tech-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.tech-card h3 {
  font-size: clamp(1.125rem, 2vw, 1.375rem);
  font-weight: 600;
  margin-bottom: clamp(1rem, 2vw, 1.5rem);
  color: var(--accent-blue);
  letter-spacing: -0.01em;
  text-shadow: 0 0 15px rgba(107, 182, 255, 0.2);
}

.tech-card p {
  color: var(--text-secondary);
  line-height: 1.6;
  font-size: clamp(0.9rem, 1.5vw, 1rem);
  font-weight: 400;
}

/* Modern CTA Section */
.cta-section {
  background: linear-gradient(135deg, var(--neutral-900) 0%, var(--neutral-800) 100%);
  color: var(--text-primary);
  text-align: center;
  position: relative;
  border-top: 1px solid var(--border-subtle);
  box-shadow: inset 0 0 50px rgba(74, 144, 226, 0.1);
}

.cta-section::before {
  content: '>>';
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--neutral-900);
  color: var(--accent-blue);
  font-family: 'JetBrains Mono', monospace;
  font-size: 1rem;
  font-weight: 500;
  padding: 0 1rem;
  z-index: 10;
}

.impact-metrics {
  display: flex;
  justify-content: center;
  margin-bottom: 2.5rem;
}

.metrics-photo {
  max-width: 400px;
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  opacity: 0.9;
}

.cta-section h2 {
  margin-bottom: clamp(1.5rem, 3vw, 2rem);
  color: var(--text-primary);
}

.cta-section p {
  font-size: 1.25rem;
  margin-bottom: 2.5rem;
  opacity: 0.9;
  line-height: 1.6;
  color: var(--text-secondary);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 2.5rem;
}

/* Additional CTA Styles */
.cta-section .btn {
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--accent-blue) 100%);
  color: var(--text-primary);
  box-shadow: var(--glow-blue);
}

.cta-section .btn:hover {
  background: linear-gradient(135deg, var(--accent-blue) 0%, var(--bright-blue) 100%);
  color: var(--text-primary);
  box-shadow: 0 0 30px rgba(74, 144, 226, 0.5);
}

/* Footer */
footer {
  background: var(--background-secondary);
  color: var(--text-primary);
  padding: 4rem 0 2rem;
  border-top: 1px solid var(--border-subtle);
  position: relative;
}

footer::before {
  content: '>>';
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--background-secondary);
  color: var(--accent-blue);
  font-family: 'JetBrains Mono', monospace;
  font-size: 1rem;
  font-weight: 500;
  padding: 0 1rem;
  z-index: 10;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  margin-bottom: 2rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 300;
  font-size: 1.5rem;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.footer-section h4 {
  font-weight: 500;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.9;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section a {
  color: var(--text-muted);
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 0.9rem;
}

.footer-section a:hover {
  color: var(--accent-blue);
  opacity: 1;
}

.footer-bottom {
  border-top: 1px solid var(--border-subtle);
  padding-top: 2rem;
  margin-top: 2rem;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* Modern Animations */
@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.98);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Modern Animation Classes */
.fade-in {
  opacity: 0;
  animation: fadeIn 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.fade-in-up {
  opacity: 0;
  animation: slideUp 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.scale-in {
  opacity: 0;
  animation: scaleIn 0.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/* Staggered Delays */
.value-card:nth-child(1) { animation-delay: 0.05s; }
.value-card:nth-child(2) { animation-delay: 0.1s; }
.value-card:nth-child(3) { animation-delay: 0.15s; }

.journey-step:nth-child(1) { animation-delay: 0.05s; }
.journey-step:nth-child(2) { animation-delay: 0.1s; }
.journey-step:nth-child(3) { animation-delay: 0.15s; }
.journey-step:nth-child(4) { animation-delay: 0.2s; }

.tech-card:nth-child(1) { animation-delay: 0.05s; }
.tech-card:nth-child(2) { animation-delay: 0.1s; }
.tech-card:nth-child(3) { animation-delay: 0.15s; }

/* Responsive Design */
@media (max-width: 768px) {
  .container {
    padding: 0 1rem;
  }
  
  .navbar {
    padding: 1rem;
  }
  
  .navbar nav {
    display: none;
  }
  
  .section {
    padding: 3rem 0;
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .hero-tagline {
    font-size: 1.25rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .value-cards, .journey-steps, .tech-features {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .section-photo {
    height: 200px;
  }
  
  .tech-photo {
    height: 180px;
  }
  
  .metrics-photo {
    height: 160px;
  }
  
  .platform-diagram {
    max-width: 250px;
  }
  
  .value-card, .tech-card, .journey-step {
    padding: 2rem;
  }
  
  .btn {
    padding: 0.875rem 1.5rem;
    font-size: 0.95rem;
  }
}

/* Modern Interaction Enhancements */
@media (prefers-reduced-motion: no-preference) {
  .value-card,
  .journey-step,
  .tech-card {
    animation: slideUp 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Smooth Scrolling */
html {
  scroll-behavior: smooth;
}

/* Modern Focus States */
*:focus {
  outline: 2px solid var(--primary-blue);
  outline-offset: 2px;
}

.btn:focus {
  outline: 2px solid var(--background-primary);
  outline-offset: 2px;
}
