/* === TYPOGRAPHY === */
:root {
  --font-display: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --bg-deep: #050810;
  --bg-dark: #0a0f1e;
  --indigo: #1a1a3e;
  --teal: #00d4aa;
  --teal-dim: rgba(0, 212, 170, 0.12);
  --orange: #ff6b35;
  --coral: #ff4757;
  --gold: #ffd166;
  --white: #f5f5f0;
  --muted: #8a8a9e;
  --surface: rgba(255,255,255,0.04);
  --border: rgba(255,255,255,0.08);
}

/* === RESET + BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg-deep);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* === CUSTOM SCROLLBAR === */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-deep); }
::-webkit-scrollbar-thumb { background: var(--teal); border-radius: 3px; }

/* === NAV === */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 3rem;
  background: rgba(5, 8, 16, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.nav__brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.nav__logo {
  width: 32px;
  height: 32px;
  background: var(--teal);
  color: var(--bg-deep);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
}
.nav__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--white);
}
.nav__links {
  display: flex;
  gap: 2rem;
}
.nav__links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: color 0.2s;
}
.nav__links a:hover { color: var(--white); }

/* === HERO === */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 8rem 3rem 5rem;
  overflow: hidden;
}
.hero__noise {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
}
.hero__geo {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}
.hero__geo-circle {
  position: absolute;
  border-radius: 50%;
  border: 1px solid;
}
.hero__geo-circle--1 {
  width: 600px; height: 600px;
  top: -200px; right: -150px;
  border-color: rgba(0, 212, 170, 0.08);
  animation: rotate-slow 60s linear infinite;
}
.hero__geo-circle--2 {
  width: 400px; height: 400px;
  top: -50px; right: -50px;
  border-color: rgba(255, 107, 53, 0.06);
  animation: rotate-slow 40s linear infinite reverse;
}
.hero__geo-circle--3 {
  width: 200px; height: 200px;
  top: 100px; right: 100px;
  border-color: rgba(0, 212, 170, 0.12);
  animation: pulse 8s ease-in-out infinite;
}
.hero__geo-line {
  position: absolute;
  background: linear-gradient(90deg, transparent, rgba(0,212,170,0.05), transparent);
  height: 1px;
}
.hero__geo-line--1 {
  width: 100%; height: 1px;
  top: 40%; left: 0;
}
.hero__geo-line--2 {
  width: 1px; height: 100%;
  left: 60%; top: 0;
  background: linear-gradient(180deg, transparent, rgba(255,107,53,0.05), transparent);
}
.hero__content {
  position: relative;
  z-index: 2;
  max-width: 900px;
}
.hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 2rem;
  color: var(--teal);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.hero__dot {
  width: 8px; height: 8px;
  background: var(--teal);
  border-radius: 50%;
  display: inline-block;
  animation: pulse 2s ease-in-out infinite;
}
.hero__headline {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(4rem, 10vw, 8rem);
  line-height: 0.92;
  letter-spacing: -0.03em;
  margin-bottom: 2rem;
}
.hero__line--1 { color: var(--white); }
.hero__line--2 { color: var(--teal); display: block; }
.hero__line--3 { color: var(--gold); }
.hero__sub {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  color: var(--muted);
  max-width: 580px;
  line-height: 1.7;
  font-weight: 300;
}
.hero__badges {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 3rem;
}
.badge {
  padding: 0.4rem 1rem;
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--muted);
  background: var(--surface);
  letter-spacing: 0.05em;
}

/* === MANIFESTO === */
.manifesto {
  position: relative;
  padding: 7rem 3rem;
  background: var(--bg-dark);
  overflow: hidden;
}
.manifesto__inner {
  max-width: 780px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.manifesto__tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 2rem;
  border: 1px solid var(--teal-dim);
  padding: 0.3rem 0.8rem;
  border-radius: 100px;
}
.manifesto__quote {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  font-weight: 600;
  line-height: 1.3;
  color: var(--white);
  border-left: 3px solid var(--teal);
  padding-left: 2rem;
  margin-bottom: 2.5rem;
}
.manifesto__sub {
  padding-left: 2rem;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.8;
  max-width: 620px;
  margin-left: auto;
}
.manifesto__sub p + p { margin-top: 1rem; }
.manifesto__sub em { color: var(--white); font-style: italic; }
.manifesto__accent {
  position: absolute;
  right: -200px;
  top: 50%;
  transform: translateY(-50%);
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,212,170,0.04) 0%, transparent 70%);
  pointer-events: none;
}

/* === PILLARS === */
.pillars {
  padding: 7rem 3rem;
  background: var(--bg-deep);
}
.pillars__header {
  max-width: 1200px;
  margin: 0 auto 4rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.pillars__label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--teal);
}
.pillars__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--white);
}
.pillars__grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}
.pillar {
  padding: 2rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: border-color 0.3s, background 0.3s;
  position: relative;
  overflow: hidden;
}
.pillar::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--teal), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}
.pillar:hover::before { opacity: 1; }
.pillar:hover {
  border-color: rgba(0,212,170,0.2);
  background: rgba(0,212,170,0.03);
}
.pillar__num {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--teal);
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
  opacity: 0.7;
}
.pillar__name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.75rem;
}
.pillar__desc {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.6;
}

/* === FEATURES === */
.features {
  padding: 7rem 3rem;
  background: var(--bg-dark);
}
.features__header {
  max-width: 1200px;
  margin: 0 auto 4rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.features__label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--orange);
}
.features__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--white);
}
.features__list {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
  gap: 1.5px;
  background: var(--border);
  border-radius: 16px;
  overflow: hidden;
}
.feature {
  display: flex;
  gap: 1.5rem;
  padding: 2rem;
  background: var(--bg-dark);
  align-items: flex-start;
  transition: background 0.2s;
}
.feature:hover { background: rgba(255,255,255,0.02); }
.feature__icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
}
.feature__body { flex: 1; }
.feature__title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.5rem;
}
.feature__desc {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.6;
}

/* === SECTIONS === */
.sections {
  padding: 7rem 3rem;
  background: var(--bg-deep);
}
.sections__header {
  max-width: 900px;
  margin: 0 auto 4rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.sections__label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}
.sections__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--white);
}
.sections__list {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.site-section {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  padding: 2rem 0;
  border-bottom: 1px solid var(--border);
}
.site-section:last-child { border-bottom: none; }
.site-section__marker {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
  padding-top: 0.5rem;
}
.site-section__dot {
  width: 12px; height: 12px;
  background: var(--teal);
  border-radius: 50%;
  box-shadow: 0 0 12px rgba(0,212,170,0.5);
  flex-shrink: 0;
}
.site-section__line {
  width: 1px;
  flex: 1;
  min-height: 40px;
  background: linear-gradient(180deg, var(--teal), transparent);
  opacity: 0.3;
  margin-top: 8px;
}
.site-section__content { flex: 1; }
.site-section__name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.4rem;
}
.site-section__desc {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.6;
}

/* === CLOSING === */
.closing {
  position: relative;
  padding: 9rem 3rem;
  background: var(--bg-dark);
  text-align: center;
  overflow: hidden;
}
.closing__inner { position: relative; z-index: 1; max-width: 800px; margin: 0 auto; }
.closing__headline {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--white);
  margin-bottom: 2.5rem;
}
.closing__headline em { color: var(--teal); font-style: normal; }
.closing__body {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: var(--muted);
  line-height: 1.8;
  max-width: 640px;
  margin: 0 auto 1.5rem;
}
.closing__divider {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin: 3rem auto;
  max-width: 200px;
}
.closing__divider-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border));
}
.closing__divider-line:last-child {
  background: linear-gradient(90deg, var(--border), transparent);
}
.closing__divider-mark { color: var(--teal); font-size: 1rem; }
.closing__tagline {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.1em;
}
.closing__glow {
  position: absolute;
  bottom: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(0,212,170,0.06) 0%, transparent 70%);
  pointer-events: none;
}

/* === FOOTER === */
.footer {
  padding: 4rem 3rem;
  background: var(--bg-deep);
  border-top: 1px solid var(--border);
  text-align: center;
}
.footer__brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}
.footer__logo {
  width: 36px; height: 36px;
  background: var(--teal);
  color: var(--bg-deep);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
}
.footer__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--white);
}
.footer__desc {
  font-size: 0.875rem;
  color: var(--muted);
  max-width: 400px;
  margin: 0 auto 2rem;
}
.footer__links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  margin-bottom: 2rem;
}
.footer__links span {
  font-size: 0.8rem;
  color: var(--muted);
  opacity: 0.6;
}
.footer__copy {
  font-size: 0.75rem;
  color: var(--muted);
  opacity: 0.4;
  font-style: italic;
}

/* === ANIMATIONS === */
@keyframes rotate-slow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.9); }
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .nav { padding: 1rem 1.5rem; }
  .nav__links { display: none; }
  .hero { padding: 7rem 1.5rem 4rem; }
  .hero__headline { font-size: 3.5rem; }
  .manifesto, .pillars, .features, .sections, .closing { padding: 5rem 1.5rem; }
  .features__list { grid-template-columns: 1fr; }
  .pillars__grid { grid-template-columns: 1fr; }
  .manifesto__quote { font-size: 1.4rem; }
  .closing__headline { font-size: 3rem; }
}
@media (max-width: 480px) {
  .hero__headline { font-size: 2.8rem; }
  .closing__headline { font-size: 2.5rem; }
}