:root {
  --blue-primary: #05345B;
  --blue-dark: #0D1B2A;
  --green-strategic: #36B37E;
  --green-alt: #2E7D32;
  --gray-light: #F2F4F7;
  --white: #FFFFFF;
  --text-primary: #333333;
  --text-secondary: #4A4A4A;
  --text-muted: #6B7280;
  --border: rgba(5, 52, 91, 0.1);
  --shadow-sm: 0 1px 3px rgba(13, 27, 42, 0.06);
  --shadow-md: 0 4px 24px rgba(13, 27, 42, 0.08);
  --shadow-lg: 0 12px 48px rgba(13, 27, 42, 0.12);
  --radius: 12px;
  --radius-lg: 20px;
  --font: "Inter", system-ui, -apple-system, sans-serif;
  --max-width: 1200px;
  --header-height: 72px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-primary);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

.container {
  width: min(100% - 2rem, var(--max-width));
  margin-inline: auto;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green-strategic);
  margin-bottom: 1rem;
}

.section-label::before {
  content: "";
  width: 24px;
  height: 2px;
  background: var(--green-strategic);
  border-radius: 1px;
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--blue-primary);
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: clamp(1rem, 2vw, 1.125rem);
  color: var(--text-secondary);
  max-width: 640px;
  margin-top: 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  font-family: var(--font);
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: 8px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--green-strategic);
  color: var(--white);
  border-color: var(--green-strategic);
}

.btn-primary:hover {
  background: var(--green-alt);
  border-color: var(--green-alt);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(54, 179, 126, 0.35);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.35);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.6);
}

.btn-outline {
  background: transparent;
  color: var(--blue-primary);
  border-color: var(--blue-primary);
}

.btn-outline:hover {
  background: var(--blue-primary);
  color: var(--white);
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s ease;
}

.header.scrolled {
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--blue-primary);
}

.logo-mark {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}

.logo-tagline {
  font-size: 0.6875rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links {
  display: flex;
  gap: 1.75rem;
}

.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--blue-primary);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--blue-primary);
  border-radius: 1px;
  transition: all 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(160deg, var(--blue-dark) 0%, var(--blue-primary) 55%, #0a4a7a 100%);
  color: var(--white);
  overflow: hidden;
  padding-top: var(--header-height);
}

.hero-bg {
  position: absolute;
  inset: 0;
  opacity: 0.4;
  pointer-events: none;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
}

.hero-orb-1 {
  width: 500px;
  height: 500px;
  background: rgba(54, 179, 126, 0.15);
  top: -100px;
  right: -100px;
}

.hero-orb-2 {
  width: 400px;
  height: 400px;
  background: rgba(5, 52, 91, 0.5);
  bottom: -150px;
  left: -100px;
}

.hero-content {
  position: relative;
  z-index: 1;
  padding-block: 4rem 6rem;
  max-width: 780px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 0.875rem;
  background: rgba(54, 179, 126, 0.15);
  border: 1px solid rgba(54, 179, 126, 0.3);
  border-radius: 100px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--green-strategic);
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: clamp(2rem, 5.5vw, 3.25rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}

.hero-title em {
  font-style: normal;
  color: var(--green-strategic);
}

.hero-subtitle {
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 1.25rem;
  max-width: 620px;
}

.hero-newsletter {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 2.5rem;
  max-width: 620px;
}

.hero-newsletter a {
  color: var(--green-strategic);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(54, 179, 126, 0.4);
  transition: color 0.2s, text-decoration-color 0.2s;
}

.hero-newsletter a:hover {
  color: var(--white);
  text-decoration-color: var(--green-strategic);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3rem;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-stat-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--green-strategic);
}

.hero-stat-label {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 0.25rem;
}

.hero-visual {
  position: absolute;
  right: 5%;
  top: 50%;
  transform: translateY(-50%);
  width: min(380px, 35vw);
  opacity: 0.9;
  display: none;
}

@media (min-width: 1024px) {
  .hero-visual {
    display: block;
  }
}

/* Problem / Solution */
.problem-section {
  padding: 6rem 0;
  background: var(--gray-light);
}

.problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.problem-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}

.problem-card h3 {
  font-size: 1.25rem;
  color: var(--blue-primary);
  margin-bottom: 1rem;
}

.problem-card p {
  color: var(--text-secondary);
}

.problem-highlight {
  border-left: 3px solid var(--green-strategic);
  padding-left: 1.25rem;
  margin-top: 1.5rem;
  font-weight: 500;
  color: var(--blue-primary);
}

@media (max-width: 768px) {
  .problem-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* DataPYMEs */
.datapymes-section {
  padding: 6rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header .section-subtitle {
  margin-inline: auto;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.pillar-card {
  background: var(--gray-light);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid var(--border);
  transition: transform 0.2s, box-shadow 0.2s;
}

.pillar-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.pillar-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 1.25rem;
}

.pillar-card h3 {
  font-size: 1.125rem;
  color: var(--blue-primary);
  margin-bottom: 0.75rem;
}

.pillar-card p {
  font-size: 0.9375rem;
  color: var(--text-secondary);
}

@media (max-width: 900px) {
  .pillars-grid {
    grid-template-columns: 1fr;
  }
}

/* Flow diagram */
.flow-section {
  padding: 4rem 0 6rem;
  background: var(--blue-dark);
  color: var(--white);
}

.flow-diagram {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 3rem;
}

.flow-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding: 1.5rem 2rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  min-width: 140px;
}

.flow-node-circle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 2px solid var(--green-strategic);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--green-strategic);
}

.flow-node-square {
  width: 56px;
  height: 56px;
  border-radius: 8px;
  border: 2px solid var(--green-strategic);
  background: rgba(54, 179, 126, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--green-strategic);
}

.flow-node-label {
  font-size: 0.8125rem;
  font-weight: 600;
  text-align: center;
}

.flow-arrow {
  color: var(--green-strategic);
  font-size: 1.5rem;
  opacity: 0.7;
}

.flow-tagline {
  text-align: center;
  margin-top: 2.5rem;
  font-size: 1.125rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
}

.flow-tagline strong {
  color: var(--green-strategic);
}

/* Differentiator */
.diff-section {
  padding: 6rem 0;
  background: var(--gray-light);
}

.diff-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.diff-item {
  display: flex;
  gap: 1rem;
  padding: 1.5rem;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.diff-check {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(54, 179, 126, 0.12);
  color: var(--green-strategic);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  margin-top: 2px;
}

.diff-item p {
  color: var(--text-secondary);
  font-size: 0.9375rem;
}

.diff-item strong {
  color: var(--blue-primary);
}

@media (max-width: 768px) {
  .diff-list {
    grid-template-columns: 1fr;
  }
}

/* About */
.about-section {
  padding: 6rem 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 4rem;
  align-items: start;
}

.about-avatar {
  width: 280px;
  aspect-ratio: 1;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--blue-primary), var(--blue-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.about-avatar-mark {
  width: 120px;
  height: 120px;
}

.about-avatar::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--green-strategic);
}

.about-content h2 {
  margin-bottom: 0.5rem;
}

.about-role {
  font-size: 0.9375rem;
  color: var(--green-strategic);
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.about-content p {
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.about-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.about-tag {
  padding: 0.375rem 0.875rem;
  background: var(--gray-light);
  border-radius: 100px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--blue-primary);
}

@media (max-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about-avatar {
    width: 100%;
    max-width: 280px;
  }
}

/* Ecosystem */
.ecosystem-section {
  padding: 6rem 0;
  background: var(--gray-light);
}

.ecosystem-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.eco-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s;
}

.eco-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.eco-card.featured {
  grid-column: span 2;
  background: linear-gradient(135deg, var(--blue-primary), var(--blue-dark));
  color: var(--white);
  border: none;
}

.eco-card.featured .eco-desc,
.eco-card.featured .eco-type {
  color: rgba(255, 255, 255, 0.75);
}

.eco-card.featured .eco-title {
  color: var(--white);
}

.eco-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.eco-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
}

.eco-type {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--green-strategic);
}

.eco-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--blue-primary);
}

.eco-desc {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  flex: 1;
  margin-bottom: 1.5rem;
}

.eco-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--green-strategic);
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  transition: gap 0.2s;
}

.eco-link:hover {
  gap: 0.625rem;
}

@media (max-width: 768px) {
  .ecosystem-grid {
    grid-template-columns: 1fr;
  }

  .eco-card.featured {
    grid-column: span 1;
  }
}

/* Ideas */
.ideas-section {
  padding: 6rem 0;
}

.ideas-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 3rem;
}

.idea-card {
  padding: 1.5rem;
  background: var(--gray-light);
  border-radius: var(--radius);
  border-left: 3px solid var(--green-strategic);
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.idea-number {
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--green-strategic);
  margin-bottom: 0.5rem;
}

@media (max-width: 900px) {
  .ideas-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 500px) {
  .ideas-grid {
    grid-template-columns: 1fr;
  }
}

/* Quotes */
.quotes-section {
  padding: 5rem 0;
  background: var(--blue-primary);
  color: var(--white);
  overflow: hidden;
}

.quotes-track {
  display: flex;
  gap: 2rem;
  animation: scroll 40s linear infinite;
  width: max-content;
}

.quotes-track:hover {
  animation-play-state: paused;
}

@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.quote-item {
  flex-shrink: 0;
  padding: 1.25rem 2rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 100px;
  font-size: 0.9375rem;
  font-weight: 500;
  white-space: nowrap;
}

/* CTA */
.cta-section {
  padding: 6rem 0;
  text-align: center;
}

.cta-box {
  background: linear-gradient(135deg, var(--blue-dark), var(--blue-primary));
  border-radius: var(--radius-lg);
  padding: 4rem 2rem;
  color: var(--white);
}

.cta-box h2 {
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.cta-box p {
  color: rgba(255, 255, 255, 0.75);
  max-width: 520px;
  margin: 0 auto 2rem;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

/* Footer */
.footer {
  padding: 3rem 0 2rem;
  background: var(--blue-dark);
  color: rgba(255, 255, 255, 0.7);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand p {
  font-size: 0.875rem;
  margin-top: 1rem;
  max-width: 320px;
  line-height: 1.6;
}

.footer-heading {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--white);
  margin-bottom: 1rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.footer-links a {
  font-size: 0.875rem;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--green-strategic);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.8125rem;
}

.footer-mission {
  color: var(--green-strategic);
  font-weight: 500;
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* Mobile nav */
@media (max-width: 900px) {
  .menu-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 1.5rem 2rem 2rem;
    gap: 1.25rem;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav .btn {
    display: none;
  }

  .nav-links.open + .btn,
  .nav.open .btn-mobile {
    display: inline-flex;
  }
}

/* Animations */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
