:root {
  --primary-color: #00d4aa;
  --primary-dim: rgba(0, 212, 170, 0.15);
  --secondary-color: #0a0f1c;
  --surface-dark: #0d1322;
  --surface-medium: #141b2d;
  --text-primary: #e8edf5;
  --text-secondary: #d1d5de;
  --text-muted: #5a6478;
  --border: rgba(255, 255, 255, 0.08);
  --font-display: "Outfit", sans-serif;
  --font-mono: "JetBrains Mono", monospace;
}

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

body {
  font-family: var(--font-display);
  color: var(--text-primary);
  background: var(--secondary-color);
  line-height: 1.6;
}

/* Modern Navigation Styles */
.navbar {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 40px);
  max-width: 1400px;
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  z-index: 1000;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 16px;
  border: 1px solid var(--primary-color);
  box-shadow: 0 8px 32px rgba(11, 78, 88, 0.08);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 12px 48px rgba(11, 78, 88, 0.15);
  top: 10px;
}

.nav-container {
  padding: 0 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 72px;
}

.nav-logo {
  height: 30px;
  width: auto;
  transition: all 0.3s ease;
}

/* .nav-logo:hover {
        transform: scale(1.05);
        filter: brightness(0) drop-shadow(0 2px 8px rgba(11, 78, 88, 0.2));
      } */

.nav-links {
  display: flex;
  flex: 1;
  gap: 8px;
  list-style: none;
  justify-content: flex-end;
}

.nav-links a {
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.94rem;
  letter-spacing: -0.01em;
  transition: all 0.3s ease;
  position: relative;
  padding: 10px 16px;
  border-radius: 8px;
}

.nav-links .active {
  color: var(--primary-color);
  cursor: pointer;
}

.nav-links a:hover {
  color: var(--secondary-color);
  background: var(--primary-color);
}

.nav-cta {
  background: linear-gradient(135deg, #0b4e58 0%, #0d5f6d 100%);
  color: white !important;
  padding: 11px 24px;
  border-radius: 10px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 16px rgba(11, 78, 88, 0.2);
  font-weight: 600;
  letter-spacing: -0.01em;
}

.nav-cta:hover {
  background: linear-gradient(135deg, #0d5f6d 0%, #0b4e58 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(11, 78, 88, 0.3);
}

.nav-cta::before {
  display: none;
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 6px;
  padding: 8px;
  border-radius: 8px;
  transition: background 0.3s;
}

.hamburger:hover {
  background: rgba(11, 78, 88, 0.06);
}

.hamburger span {
  width: 24px;
  height: 2.5px;
  background: #0b4e58;
  border-radius: 3px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(7px, 7px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
  transform: translateX(-10px);
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

@media (max-width: 900px) {
  .navbar {
    top: 10px;
    width: calc(100% - 20px);
  }

  .nav-container {
    padding: 0 20px;
  }

  .nav-links {
    position: fixed;
    top: 92px;
    left: 10px;
    right: 10px;
    width: calc(100% - 20px);
    max-height: 0;
    overflow: hidden;
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    flex-direction: column;
    gap: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(11, 78, 88, 0.08);
    padding: 0;
  }

  .nav-links.active {
    max-height: 400px;
    padding: 16px;
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links a {
    display: block;
    width: 100%;
    font-size: 1.05rem;
    padding: 14px 20px;
    text-align: left;
  }

  .hamburger {
    display: flex;
  }
}

.container {
  max-width: 1400px;
  margin: 0 auto;
}

section {
  padding: 20vh 60px;
  position: relative;
}

/* Subtle grid pattern overlay */
.grid-bg {
  position: relative;
}

.grid-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(
      rgba(255, 255, 255, 0.02) 1px,
      transparent 1px
    ),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.hero-section {
  background: var(--secondary-color);
  padding: 150px 0px;
  position: relative;
  overflow: hidden;
}

.hero-section::after {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 80%;
  height: 150%;
  background: radial-gradient(
    ellipse at center,
    rgba(0, 212, 170, 0.06) 0%,
    transparent 60%
  );
  pointer-events: none;
}

.logo {
  font-family: var(--font-mono);
  font-size: 32px;
  font-weight: 600;
  color: var(--primary-color);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 12px;
}

/* .logo::before {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--primary-color);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--primary-color);
} */

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-text h1 {
  font-family: var(--font-display);
  font-size: 80px;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 0.95;
  letter-spacing: -0.03em;
  margin-bottom: 40px;
}

.hero-text h1 span {
  color: var(--primary-color);
}

.milestone-label {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--primary-color);
  font-weight: 500;
  margin-bottom: 20px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 12px;
}

.milestone-label::after {
  content: "";
  flex: 1;
  max-width: 80px;
  height: 1px;
  background: linear-gradient(90deg, var(--primary-color), transparent);
}

.hero-image {
  width: 100%;
  height: 480px;
  background: var(--surface-medium);
  border-radius: 8px;
  border: 1px solid var(--border);
  object-fit: cover;
  position: relative;
}

.hero-image-wrapper {
  position: relative;
}

.hero-image-wrapper::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 9px;
  padding: 1px;
  background: linear-gradient(135deg, rgba(0, 212, 170, 0.3), transparent 50%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.intro-text {
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.8;
  max-width: 540px;
  font-weight: 400;
}

.dark-section {
  background: var(--surface-dark);
}

.surface-section {
  background: var(--surface-medium);
}

.section-number {
  font-family: var(--font-mono);
  font-size: 100px;
  font-weight: 700;
  color: var(--surface-medium);
  line-height: 1;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.5);
}

.dark-section .section-number {
  color: var(--secondary-color);
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.5);
}

h2 {
  font-family: var(--font-display);
  font-size: 52px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 32px;
}

h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

p {
  color: var(--text-secondary);
  margin-bottom: 20px;
  font-size: 16px;
  line-height: 1.8;
}

.purpose-content {
  max-width: 800px;
}

.purpose-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-top: 60px;
  align-items: center;
}

.purpose-image {
  width: 100%;
  height: auto;
  background: var(--surface-medium);
  border-radius: 8px;
  border: 1px solid var(--border);
  object-fit: cover;
}

.component-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  margin-top: 60px;
}

.final-grid-container {
  grid-column: span 2;
}

.component-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 32px;
  transition: border-color 0.3s ease, background 0.3s ease;
}

.component-card:hover {
  border-color: rgba(0, 212, 170, 0.3);
  background: rgba(0, 212, 170, 0.02);
}

.component-card h3 {
  font-family: var(--font-mono);
  color: var(--primary-color);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.component-card h3::before {
  content: "";
  width: 4px;
  height: 4px;
  background: var(--primary-color);
  border-radius: 50%;
}

ul {
  margin-top: 16px;
  list-style: none;
}

ul li {
  color: var(--text-secondary);
  padding-left: 20px;
  margin-bottom: 12px;
  position: relative;
  font-size: 15px;
  line-height: 1.7;
}

ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 1px;
  background: var(--text-muted);
}

.deliverable-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
  margin-top: 60px;
}

.deliverable-title {
  font-size: 28px;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.4;
}

.deliverable-list {
  background: var(--surface-dark);
  padding: 40px;
  border-radius: 8px;
  border-left: 3px solid var(--primary-color);
}

.deliverable-image {
  width: 100%;
  height: 240px;
  background: var(--surface-medium);
  border-radius: 8px;
  border: 1px solid var(--border);
  margin-top: 32px;
  object-fit: cover;
}

.tasks-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  margin-top: 60px;
}

.task-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 32px;
}

.summary-section {
  background: linear-gradient(
    135deg,
    var(--surface-dark) 0%,
    var(--secondary-color) 100%
  );
  padding: 120px 60px;
  position: relative;
  overflow: hidden;
}

.summary-section::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--primary-color),
    transparent
  );
}

.summary-section .section-number {
  color: transparent;
  -webkit-text-stroke: 1px rgba(0, 212, 170, 0.2);
}

.summary-section h2 {
  color: var(--text-primary);
  margin-bottom: 40px;
}

.summary-text {
  font-size: 24px;
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 900px;
  font-weight: 400;
}

.summary-text strong {
  color: var(--primary-color);
  font-weight: 500;
}

.tech-divider {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 60px 0;
}

.tech-divider::before,
.tech-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--border);
}

.tech-divider span {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.feature-image {
  width: 100%;
  height: auto;
  background: var(--surface-dark);
  border-radius: 8px;
  border: 1px solid var(--border);
  object-fit: cover;
  margin-top: 40px;
}

/* Hamburger menu styles */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 6px;
  z-index: 10;
}

.hamburger span {
  width: 28px;
  height: 2px;
  background: var(--primary-color);
  transition: all 0.3s ease;
  border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

@media (max-width: 1024px) {
  .hero-content,
  .component-grid,
  .deliverable-content,
  .tasks-grid,
  .purpose-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .final-grid-container {
    grid-column: span 1;
  }

  .hero-text h1 {
    font-size: 60px;
  }

  h2 {
    font-size: 42px;
  }

  section {
    padding: 80px 40px;
  }

  /* Mobile menu */
  .hamburger {
    display: flex;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(10, 15, 28, 0.98);
    backdrop-filter: blur(20px);
    padding: 20px 32px;
    margin-top: 12px;
    border-radius: 16px;
    border: 1px solid var(--border);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
  }

  .nav-links.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav-links a {
    padding: 12px 16px;
    width: 100%;
    text-align: left;
  }
}

@media (max-width: 768px) {
  section {
    padding: 60px 24px;
  }

  .hero-section {
    padding: 150px 24px 80px;
  }

  .hero-text h1 {
    font-size: 44px;
  }

  h2 {
    font-size: 32px;
  }

  .section-number {
    font-size: 64px;
  }

  .hero-image {
    height: 280px;
  }

  .summary-text {
    font-size: 20px;
  }

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

  .component-card {
    padding: 24px;
  }
}
