/* ============================================
   Mango Trees AI — Neo-Brutalist Design System
   Colors: green #22c55e, purple #8b5cf6, pink #fb7185,
           cream #fefce8, black #121212
   Fonts: Inter (body), Instrument Serif (accents)
   ============================================ */

/* --- Reset & Base --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: #fefce8;
  color: #121212;
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.5rem, 6vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); }

.serif-italic {
  font-family: 'Instrument Serif', Georgia, serif;
  font-style: italic;
  font-weight: 400;
}

/* --- Layout --- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: 96px 0;
}

/* --- Neo-Brutalist Components --- */
.card {
  background: #fff;
  border: 3px solid #121212;
  border-radius: 16px;
  padding: 32px;
  box-shadow: 6px 6px 0 #121212;
  transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
  transform: translate(-2px, -2px);
  box-shadow: 8px 8px 0 #121212;
}

.card-dark {
  background: #121212;
  color: #fefce8;
  border-color: #121212;
  box-shadow: 6px 6px 0 #8b5cf6;
}

.card-dark:hover {
  box-shadow: 8px 8px 0 #8b5cf6;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  font-size: 1rem;
  font-weight: 600;
  font-family: inherit;
  border: 3px solid #121212;
  border-radius: 12px;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
  box-shadow: 4px 4px 0 #121212;
  text-decoration: none;
}

.btn:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 #121212;
}

.btn:active {
  transform: translate(2px, 2px);
  box-shadow: 0 0 0 #121212;
}

.btn-primary {
  background: #22c55e;
  color: #121212;
}

.btn-secondary {
  background: #fefce8;
  color: #121212;
}

.btn-dark {
  background: #121212;
  color: #fefce8;
  box-shadow: 4px 4px 0 #8b5cf6;
}

.btn-dark:hover {
  box-shadow: 6px 6px 0 #8b5cf6;
}

/* --- Pills / Badges --- */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  font-size: 0.85rem;
  font-weight: 600;
  border: 2px solid #121212;
  border-radius: 999px;
  background: #fff;
}

.pill-green { background: #dcfce7; }
.pill-purple { background: #ede9fe; }
.pill-pink { background: #ffe4e6; }

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(254, 252, 232, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 3px solid #121212;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 24px;
}

.nav-logo {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-logo span {
  color: #22c55e;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.15s;
}

.nav-links a:hover {
  color: #8b5cf6;
}

.nav-cta {
  padding: 10px 20px;
  font-size: 0.9rem;
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 3px;
  background: #121212;
  margin: 5px 0;
  border-radius: 2px;
  transition: 0.3s;
}

/* --- Hero --- */
.hero {
  padding-top: 140px;
  padding-bottom: 80px;
  position: relative;
  overflow: hidden;
}

.hero-content {
  max-width: 800px;
  position: relative;
  z-index: 2;
}

.hero-opening {
  font-size: 1.15rem;
  color: #555;
  margin-bottom: 16px;
}

.hero h1 {
  margin-bottom: 24px;
}

.hero h1 .serif-italic {
  color: #8b5cf6;
}

.hero-sub {
  font-size: 1.2rem;
  line-height: 1.7;
  color: #333;
  max-width: 640px;
  margin-bottom: 32px;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.trust-badges {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 0.9rem;
  font-weight: 500;
  color: #555;
}

.trust-badges span {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Floating credential card */
.credential-card {
  position: absolute;
  right: 0;
  top: 200px;
  z-index: 1;
}

.credential-card .card {
  max-width: 280px;
  padding: 24px;
  background: #fff;
}

.credential-card .stat {
  font-size: 1.75rem;
  font-weight: 800;
  color: #22c55e;
}

.credential-card .stat-label {
  font-size: 0.85rem;
  color: #666;
  margin-top: 4px;
}

/* Animated blobs */
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.3;
  z-index: 0;
  animation: blobFloat 8s ease-in-out infinite;
}

.blob-green {
  width: 400px;
  height: 400px;
  background: #22c55e;
  top: -100px;
  right: -100px;
}

.blob-purple {
  width: 300px;
  height: 300px;
  background: #8b5cf6;
  bottom: -50px;
  left: -50px;
  animation-delay: -4s;
}

.blob-pink {
  width: 250px;
  height: 250px;
  background: #fb7185;
  top: 50%;
  right: 20%;
  animation-delay: -2s;
}

@keyframes blobFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -20px) scale(1.05); }
  66% { transform: translate(-20px, 20px) scale(0.95); }
}

/* --- Problem Section --- */
.problem-section {
  background: #fff;
  border-top: 3px solid #121212;
  border-bottom: 3px solid #121212;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 56px;
}

.section-header h2 {
  margin-bottom: 12px;
}

.section-header p {
  font-size: 1.1rem;
  color: #555;
}

.pain-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 56px;
}

.pain-card .icon-box {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  border: 2px solid #121212;
}

.icon-box svg {
  width: 24px;
  height: 24px;
}

.bg-pink { background: #ffe4e6; }
.bg-purple { background: #ede9fe; }
.bg-green { background: #dcfce7; }

.pain-card h3 {
  margin-bottom: 12px;
}

.pain-card p {
  font-size: 0.95rem;
  color: #444;
  line-height: 1.65;
}

/* Comparison table */
.comparison-table {
  width: 100%;
  border: 3px solid #121212;
  border-radius: 16px;
  overflow: hidden;
  border-collapse: separate;
  border-spacing: 0;
}

.comparison-table thead th {
  padding: 16px 24px;
  font-size: 1rem;
  font-weight: 700;
  text-align: left;
  border-bottom: 3px solid #121212;
}

.comparison-table thead th:first-child {
  background: #ffe4e6;
}

.comparison-table thead th:last-child {
  background: #dcfce7;
  border-left: 3px solid #121212;
}

.comparison-table td {
  padding: 14px 24px;
  font-size: 0.95rem;
  border-bottom: 1px solid #e5e5e5;
}

.comparison-table td:last-child {
  border-left: 3px solid #121212;
  font-weight: 600;
}

.comparison-table tr:last-child td {
  border-bottom: none;
}

/* --- Solutions Section --- */
.solutions-section {
  background: #fefce8;
}

.solution-featured {
  margin-bottom: 32px;
}

.solution-featured .card {
  padding: 40px;
  border-color: #22c55e;
  box-shadow: 8px 8px 0 #22c55e;
}

.solution-featured:hover .card {
  box-shadow: 10px 10px 0 #22c55e;
}

.solution-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.solution-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.solution-card h3 {
  margin-bottom: 4px;
}

.solution-card .subtitle {
  font-size: 0.9rem;
  color: #8b5cf6;
  font-weight: 600;
  margin-bottom: 12px;
}

.solution-card p {
  font-size: 0.95rem;
  color: #444;
  line-height: 1.65;
  margin-bottom: 16px;
}

.impact-badge {
  display: inline-flex;
  padding: 6px 14px;
  font-size: 0.8rem;
  font-weight: 700;
  border-radius: 8px;
  background: #f0fdf4;
  color: #166534;
  border: 2px solid #22c55e;
  margin-right: 8px;
  margin-bottom: 8px;
}

.scenario-box {
  margin-top: 20px;
  padding: 20px;
  background: #f0fdf4;
  border: 2px dashed #22c55e;
  border-radius: 12px;
  font-style: italic;
  color: #333;
  font-size: 0.95rem;
  line-height: 1.65;
}

/* --- Process Section --- */
.process-section {
  background: #fff;
  border-top: 3px solid #121212;
  border-bottom: 3px solid #121212;
}

.timeline {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 24px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: #121212;
}

.timeline-step {
  position: relative;
  padding-left: 72px;
  margin-bottom: 48px;
}

.timeline-step:last-child {
  margin-bottom: 0;
}

.timeline-dot {
  position: absolute;
  left: 8px;
  top: 4px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 3px solid #121212;
  background: #22c55e;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.85rem;
  color: #121212;
  z-index: 1;
}

.timeline-step:nth-child(2) .timeline-dot { background: #8b5cf6; color: #fff; }
.timeline-step:nth-child(3) .timeline-dot { background: #fb7185; }
.timeline-step:nth-child(4) .timeline-dot { background: #fefce8; }
.timeline-step:nth-child(5) .timeline-dot { background: #121212; color: #fefce8; }

.timeline-step h3 {
  margin-bottom: 4px;
}

.timeline-week {
  font-size: 0.85rem;
  font-weight: 600;
  color: #8b5cf6;
  margin-bottom: 8px;
}

.timeline-step p {
  font-size: 0.95rem;
  color: #444;
  line-height: 1.6;
}

.timeline-deliverable {
  display: inline-block;
  margin-top: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 4px 12px;
  border: 2px solid #121212;
  border-radius: 8px;
  background: #fefce8;
}

/* --- Engagement Section --- */
.engagement-section {
  background: #fefce8;
}

.engagement-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

.engagement-card {
  display: flex;
  flex-direction: column;
}

.engagement-card .includes {
  margin: 20px 0;
  flex-grow: 1;
}

.engagement-card .includes li {
  padding: 8px 0;
  font-size: 0.95rem;
  border-bottom: 1px solid #e5e5e5;
  display: flex;
  align-items: center;
  gap: 8px;
}

.engagement-card .includes li::before {
  content: '✓';
  font-weight: 700;
  color: #22c55e;
}

.card-dark .includes li {
  border-color: #333;
}

.card-dark .includes li::before {
  color: #22c55e;
}

.featured-label {
  display: inline-block;
  padding: 4px 12px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  background: #8b5cf6;
  color: #fff;
  border-radius: 6px;
  margin-bottom: 12px;
}

/* --- About / Founders Section --- */
.about-section {
  background: #fff;
  border-top: 3px solid #121212;
  border-bottom: 3px solid #121212;
}

.founders-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-bottom: 48px;
}

.founder-card {
  text-align: center;
}

.founder-avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  border: 3px solid #121212;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.founder-avatar svg {
  width: 40px;
  height: 40px;
  color: #fff;
}

.founder-card h3 {
  margin-bottom: 4px;
}

.founder-role {
  font-size: 0.9rem;
  font-weight: 600;
  color: #8b5cf6;
  margin-bottom: 12px;
}

.founder-bio {
  font-size: 0.95rem;
  color: #444;
  line-height: 1.65;
  max-width: 380px;
  margin: 0 auto 12px;
}

.founder-linkedin {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #8b5cf6;
  transition: color 0.15s;
}

.founder-linkedin:hover {
  color: #7c3aed;
}

/* Netherlands card */
.nl-card {
  background: #121212;
  color: #fefce8;
  border: 3px solid #121212;
  border-radius: 16px;
  padding: 48px;
  box-shadow: 8px 8px 0 #22c55e;
}

.nl-card h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 16px;
}

.nl-card p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #ccc;
  max-width: 600px;
  margin-bottom: 24px;
}

.nl-badges {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.nl-badges .pill {
  background: #1e1e1e;
  color: #fefce8;
  border-color: #333;
}

/* --- CTA Section --- */
.cta-section {
  background: #121212;
  color: #fefce8;
  text-align: center;
}

.cta-section h2 {
  margin-bottom: 16px;
}

.cta-section p {
  font-size: 1.1rem;
  color: #ccc;
  max-width: 560px;
  margin: 0 auto 32px;
  line-height: 1.7;
}

.cta-trust {
  margin-top: 16px;
  font-size: 0.9rem;
  color: #888;
}

/* --- Footer --- */
.footer {
  background: #121212;
  color: #999;
  border-top: 1px solid #333;
  padding: 64px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand {
  font-size: 0.95rem;
  line-height: 1.7;
}

.footer-brand .nav-logo {
  color: #fefce8;
  margin-bottom: 12px;
}

.footer h4 {
  color: #fefce8;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}

.footer a {
  display: block;
  padding: 4px 0;
  font-size: 0.9rem;
  transition: color 0.15s;
}

.footer a:hover {
  color: #22c55e;
}

.footer-bottom {
  border-top: 1px solid #333;
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
}

.footer-legal {
  display: flex;
  gap: 24px;
}

/* --- Responsive --- */
@media (max-width: 768px) {
  section { padding: 64px 0; }

  .nav-links { display: none; }
  .nav-toggle { display: block; }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(254, 252, 232, 0.98);
    backdrop-filter: blur(12px);
    padding: 24px;
    gap: 16px;
    border-bottom: 3px solid #121212;
  }

  .pain-grid,
  .solution-grid,
  .engagement-grid {
    grid-template-columns: 1fr;
  }

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

  .credential-card {
    display: none;
  }

  .hero { padding-top: 120px; }

  .comparison-table { font-size: 0.85rem; }
  .comparison-table td,
  .comparison-table thead th {
    padding: 10px 14px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

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

  .nl-card { padding: 32px 24px; }
}

@media (max-width: 480px) {
  h1 { font-size: 2rem; }
  .hero-sub { font-size: 1.05rem; }
  .trust-badges { flex-direction: column; gap: 8px; }
}
