/* ═══════════════════════════════════════════════════════════════════
   Netz Atlas Landing Page — Styles
   ═══════════════════════════════════════════════════════════════════ */

/* ─── TOKENS ─────────────────────────────────────────────────────── */
:root {
  /* Brand */
  --forest:   #1A5C3A;
  --emerald:  #4DBF7A;
  --mint:     #A8E6C3;
  --frost:    #D8F2E6;
  --deep:     #0D3D26;

  /* Neutrals */
  --ink:      #111916;
  --slate:    #2E3D35;
  --mist:     #6B7E73;
  --border:   #C8D8CE;
  --surface:  #EFF5F1;
  --white:    #FFFFFF;

  /* Semantic */
  --success:  #4DBF7A;
  --warning:  #E6A817;
  --error:    #CC4040;

  /* Type */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', monospace;

  /* Radius */
  --r-sm: 4px;
  --r-md: 6px;
  --r-lg: 10px;
  --r-xl: 14px;

  /* Shadow */
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md: 0 2px 8px rgba(0,0,0,0.07), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.08), 0 2px 6px rgba(0,0,0,0.04);
}

/* ─── RESET ──────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  background: var(--white);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
ul { list-style: none; }
button, input, textarea { font-family: inherit; font-size: inherit; }

/* ─── UTILITY ────────────────────────────────────────────────────── */
.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}
.eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--emerald);
  font-family: var(--font-mono);
  margin-bottom: 12px;
}
.section-title {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 16px;
}
.section-desc {
  font-size: 16px;
  color: var(--mist);
  line-height: 1.7;
  max-width: 600px;
}

/* ─── NAV ────────────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  height: 60px;
  transition: box-shadow 0.2s;
}
.nav.scrolled {
  box-shadow: var(--shadow-sm);
}
.nav .container {
  display: flex;
  align-items: center;
  height: 100%;
  gap: 32px;
}
.nav-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.nav-logo svg {
  height: 32px;
  width: auto;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}
.nav-link {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  padding: 6px 14px;
  border-radius: var(--r-md);
  transition: color 0.15s, background 0.15s;
}
.nav-link:hover {
  color: var(--forest);
  background: var(--frost);
}
.nav-cta {
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
  background: var(--forest);
  padding: 8px 20px;
  border-radius: var(--r-md);
  border: none;
  cursor: pointer;
  transition: background 0.15s, transform 0.1s;
  margin-left: 8px;
}
.nav-cta:hover {
  background: var(--deep);
  transform: translateY(-1px);
}
.nav-mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  margin-left: auto;
}
.nav-mobile-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  margin: 5px 0;
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}

/* ─── HERO ───────────────────────────────────────────────────────── */
.hero {
  padding: 140px 0 100px;
  background: var(--deep);
  position: relative;
  overflow: hidden;
}
.hero-grid {
  position: absolute;
  inset: 0;
  opacity: 0.05;
  background-image:
    linear-gradient(var(--emerald) 1px, transparent 1px),
    linear-gradient(90deg, var(--emerald) 1px, transparent 1px);
  background-size: 40px 40px;
}
.hero .container {
  position: relative;
}
.hero-content {
  max-width: 680px;
}
.hero .eyebrow {
  color: var(--emerald);
  margin-bottom: 20px;
}
.hero-title {
  font-size: clamp(36px, 5.5vw, 56px);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin-bottom: 20px;
}
.hero-title em {
  font-style: normal;
  color: var(--emerald);
}
.hero-sub {
  font-size: 18px;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
  max-width: 520px;
  margin-bottom: 36px;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 600;
  color: var(--deep);
  background: var(--emerald);
  padding: 14px 28px;
  border-radius: var(--r-md);
  border: none;
  cursor: pointer;
  transition: background 0.15s, transform 0.1s;
}
.btn-primary:hover {
  background: var(--mint);
  transform: translateY(-1px);
}
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
  padding: 14px 20px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--r-md);
  background: transparent;
  cursor: pointer;
  transition: color 0.15s, border-color 0.15s;
}
.btn-secondary:hover {
  color: var(--white);
  border-color: rgba(255,255,255,0.35);
}

/* Trust badges */
.hero-trust {
  display: flex;
  gap: 24px;
  margin-top: 48px;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.45);
}
.trust-item svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* ─── PAIN SECTION ───────────────────────────────────────────────── */
.pain {
  padding: 100px 0;
  background: var(--surface);
}
.pain-header {
  text-align: center;
  margin-bottom: 56px;
}
.pain-header .section-desc {
  margin: 0 auto;
}
.pain-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.pain-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 32px 28px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.pain-card:hover {
  border-color: var(--emerald);
  box-shadow: var(--shadow-md);
}
.pain-icon {
  width: 48px;
  height: 48px;
  background: var(--frost);
  border-radius: var(--r-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.pain-icon svg {
  width: 24px;
  height: 24px;
  color: var(--forest);
}
.pain-stat {
  font-size: 32px;
  font-weight: 800;
  color: var(--forest);
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}
.pain-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
}
.pain-card p {
  font-size: 14px;
  color: var(--mist);
  line-height: 1.65;
}

/* ─── SOLUTION / PERSONAS ────────────────────────────────────────── */
.solution {
  padding: 100px 0;
  background: var(--white);
}
.solution-header {
  margin-bottom: 56px;
  text-align: center;
}
.solution-header .section-desc {
  margin: 0 auto;
}
.persona-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.persona-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 32px 28px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.persona-card:hover {
  border-color: var(--emerald);
  box-shadow: var(--shadow-md);
}
.persona-icon {
  width: 48px;
  height: 48px;
  background: var(--frost);
  border-radius: var(--r-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.persona-icon svg {
  width: 24px;
  height: 24px;
  color: var(--forest);
}
.persona-role {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--emerald);
  font-family: var(--font-mono);
  margin-bottom: 8px;
}
.persona-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 12px;
}
.persona-card p {
  font-size: 14px;
  color: var(--mist);
  line-height: 1.65;
  margin-bottom: 20px;
}
.persona-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.persona-feature {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--slate);
  line-height: 1.5;
}
.persona-feature svg {
  width: 16px;
  height: 16px;
  color: var(--emerald);
  flex-shrink: 0;
  margin-top: 2px;
}

/* ─── USP SECTION ────────────────────────────────────────────────── */
.usp {
  padding: 100px 0;
  background: var(--deep);
}
.usp-header {
  margin-bottom: 56px;
  text-align: center;
}
.usp-header .section-desc {
  margin: 0 auto;
}
.usp-header .section-title {
  color: var(--white);
}
.usp-header .section-desc {
  color: rgba(255,255,255,0.5);
}
.usp-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.usp-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--r-xl);
  padding: 32px 28px;
  transition: border-color 0.2s, background 0.2s;
}
.usp-card:hover {
  border-color: rgba(77, 191, 122, 0.3);
  background: rgba(255,255,255,0.08);
}
.usp-icon {
  width: 48px;
  height: 48px;
  background: rgba(77, 191, 122, 0.12);
  border-radius: var(--r-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.usp-icon svg {
  width: 24px;
  height: 24px;
  color: var(--emerald);
}
.usp-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}
.usp-card p {
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
}

/* ─── CONTACT ────────────────────────────────────────────────────── */
.contact {
  padding: 100px 0;
  background: var(--surface);
}
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.contact-text {
  max-width: 440px;
}
.contact-text .section-title {
  margin-bottom: 16px;
}
.contact-text .section-desc {
  margin-bottom: 32px;
}
.founder-block {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 28px 0 24px;
}

.founder-photo {
  width: 180px;
  height: 220px;
  border-radius: 12px;
  object-fit: cover;
  object-position: center top;
  border: 2px solid var(--mint);
  flex-shrink: 0;
  image-rendering: high-quality;
}

.founder-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.4;
}

.contact-info-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: var(--slate);
  margin-bottom: 16px;
}
.contact-info-item svg {
  width: 20px;
  height: 20px;
  color: var(--emerald);
  flex-shrink: 0;
}

/* Form */
.contact-form {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 36px;
}
.form-group {
  margin-bottom: 20px;
}
.form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--slate);
  margin-bottom: 6px;
}
.form-label .required {
  color: var(--error);
}
.form-input,
.form-textarea {
  width: 100%;
  padding: 10px 14px;
  font-size: 15px;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.form-input:focus,
.form-textarea:focus {
  border-color: var(--emerald);
  box-shadow: 0 0 0 3px rgba(77, 191, 122, 0.12);
}
.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--mist);
}
.form-textarea {
  resize: vertical;
  min-height: 100px;
}
.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 24px;
}
.form-checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--forest);
  flex-shrink: 0;
}
.form-checkbox label {
  font-size: 13px;
  color: var(--mist);
  line-height: 1.5;
}
.form-checkbox a {
  color: var(--forest);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.form-submit {
  width: 100%;
  padding: 14px;
  font-size: 16px;
  font-weight: 600;
  color: var(--white);
  background: var(--forest);
  border: none;
  border-radius: var(--r-md);
  cursor: pointer;
  transition: background 0.15s, transform 0.1s;
}
.form-submit:hover {
  background: var(--deep);
  transform: translateY(-1px);
}
.form-submit:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}
.form-success {
  display: none;
  text-align: center;
  padding: 40px 20px;
}
.form-success.visible {
  display: block;
}
.form-success h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--forest);
  margin-bottom: 8px;
}
.form-success p {
  font-size: 14px;
  color: var(--mist);
}

/* ─── FOOTER ─────────────────────────────────────────────────────── */
.footer {
  padding: 40px 0;
  background: var(--white);
  border-top: 1px solid var(--border);
}
.footer .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-logo svg {
  height: 28px;
  width: auto;
}
.footer-links {
  display: flex;
  align-items: center;
  gap: 24px;
}
.footer-link {
  font-size: 13px;
  color: var(--mist);
  transition: color 0.15s;
}
.footer-link:hover {
  color: var(--forest);
}
.footer-copy {
  font-size: 12px;
  color: var(--mist);
}

/* ─── LEGAL PAGES ────────────────────────────────────────────────── */
.legal {
  padding: 120px 0 80px;
}
.legal h1 {
  font-size: 36px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.03em;
  margin-bottom: 32px;
}
.legal h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--ink);
  margin-top: 40px;
  margin-bottom: 12px;
}
.legal h3 {
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
  margin-top: 28px;
  margin-bottom: 8px;
}
.legal p {
  font-size: 15px;
  color: var(--slate);
  line-height: 1.75;
  margin-bottom: 16px;
  max-width: 720px;
}
.legal a {
  color: var(--forest);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.legal ul {
  list-style: disc;
  padding-left: 24px;
  margin-bottom: 16px;
}
.legal li {
  font-size: 15px;
  color: var(--slate);
  line-height: 1.75;
  margin-bottom: 4px;
}

/* ─── RESPONSIVE ─────────────────────────────────────────────────── */
/* ─── ANIMATIONS ─────────────────────────────────────────────────── */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
/* Stagger children */
.pain-grid .fade-in:nth-child(2),
.persona-grid .fade-in:nth-child(2),
.usp-grid .fade-in:nth-child(2) {
  transition-delay: 0.1s;
}
.pain-grid .fade-in:nth-child(3),
.persona-grid .fade-in:nth-child(3),
.usp-grid .fade-in:nth-child(3) {
  transition-delay: 0.2s;
}

/* ─── RESPONSIVE ─────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .pain-grid,
  .persona-grid,
  .usp-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .contact-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 16px 24px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    gap: 4px;
  }
  .nav-links.open {
    display: flex;
  }
  .nav-link {
    width: 100%;
    padding: 12px 14px;
  }
  .nav-cta {
    width: 100%;
    text-align: center;
    margin-left: 0;
    margin-top: 8px;
  }
  .nav-mobile-toggle {
    display: block;
  }

  .hero {
    padding: 110px 0 72px;
  }
  .hero-title {
    font-size: clamp(30px, 7vw, 42px);
  }
  .hero-trust {
    flex-direction: column;
    gap: 12px;
  }

  .pain, .solution, .usp, .contact {
    padding: 72px 0;
  }

  .footer .container {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }
}
