@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root {
  /* Neo Brutalist Configuration */
  --ink: #000000;
  --slate: #000000;
  --muted: #333333;
  --sand: #ffffff;
  --mist: #f0f0f0;
  --paper: #ffffff;
  
  --sea: #3b82f6; /* Blue Primary */
  --sea-bright: #2563eb;
  --sun: #fcd34d; /* Yellow Accent */
  --ember: #ef4444; /* Red Danger */
  
  --line: #000000;
  --shadow: 4px 4px 0px 0px #000000;
  --shadow-hover: 6px 6px 0px 0px #000000;
  
  --radius-lg: 0px;
  --radius-md: 0px;
  --radius-sm: 0px;
}

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

html {
  scroll-behavior: smooth;
}

body.public-page {
  font-family: "Space Grotesk", "Manrope", sans-serif;
  color: var(--ink);
  background: var(--paper);
  min-height: 100vh;
  overflow-x: hidden;
}

/* Background Pattern */
body.public-page::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: radial-gradient(#000000 1px, transparent 1px);
  background-size: 20px 20px;
  opacity: 0.05;
  z-index: -2;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

h1,
h2,
h3,
h4 {
  font-family: "Space Grotesk", sans-serif;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  font-weight: 700;
}

p {
  color: var(--muted);
  line-height: 1.7;
  font-weight: 500;
}

.container {
  width: min(1200px, 90vw);
  margin: 0 auto;
}

/* Header & Nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #ffffff;
  border-bottom: 3px solid #000000;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 0;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--ink);
  text-transform: uppercase;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border: 2px solid #000000;
  background: #ffffff;
  display: grid;
  place-items: center;
  color: #000000;
  font-weight: 900;
  box-shadow: 3px 3px 0 #000000;
}

.nav-toggle {
  display: none;
  border: 2px solid #000;
  background: #fff;
  padding: 0.5rem;
  font-size: 1.4rem;
  cursor: pointer;
  color: var(--ink);
  box-shadow: 3px 3px 0 #000;
}

.nav-panel {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex: 1;
  justify-content: flex-end;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ink);
}

.nav-links a {
  padding: 0.4rem 0.6rem;
  border: 2px solid transparent;
  transition: all 0.2s ease;
  text-transform: uppercase;
}

.nav-links a:hover {
  background: var(--sun);
  border: 2px solid #000;
  box-shadow: 3px 3px 0 #000;
  transform: translate(-2px, -2px);
}

.nav-cta {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.4rem;
  border-radius: 0;
  border: 2px solid #000000;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  text-transform: uppercase;
  box-shadow: 3px 3px 0px 0px #000000;
}

.btn-primary {
  background: var(--sea);
  color: white;
}

.btn-primary:hover {
  transform: translate(-2px, -2px);
  box-shadow: 5px 5px 0px 0px #000000;
  background: var(--sea-bright);
}

.btn-ghost {
  background: #ffffff;
  color: #000000;
}

.btn-ghost:hover {
  background: var(--mist);
  transform: translate(-2px, -2px);
  box-shadow: 5px 5px 0px 0px #000000;
}

.btn-dark {
  background: #000000;
  color: #ffffff;
  border: 2px solid #000000;
}

.btn-dark:hover {
  background: #333333;
  transform: translate(-2px, -2px);
  box-shadow: 5px 5px 0px 0px #000000; /* Shadow remains black */
}

/* Hero Section */
.hero {
  padding: 6.5rem 0 5rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 3rem;
  align-items: center;
}

.hero-kicker {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--ink);
  background: var(--sun);
  padding: 0.2rem 0.5rem;
  border: 2px solid #000;
  box-shadow: 3px 3px 0 #000;
  display: inline-block;
  margin-bottom: 1rem;
}

.hero-title {
  font-size: clamp(2.6rem, 4vw, 3.8rem);
  line-height: 1.1;
  margin: 1rem 0;
  color: var(--ink);
  text-shadow: 2px 2px 0px rgba(0,0,0,0.1);
}

.hero-lead {
  font-size: 1.1rem;
  max-width: 540px;
  color: #000;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

/* Cards */
.hero-card,
.card,
.glass,
.price-card,
.feature-card,
.form-shell {
  background: #ffffff;
  border: 3px solid #000000;
  border-radius: 0;
  box-shadow: 5px 5px 0px 0px #000000;
  padding: 2rem;
  transition: all 0.2s ease;
}

.hero-card {
  padding: 2.5rem;
}

.card:hover,
.price-card:hover {
  transform: translate(-4px, -4px);
  box-shadow: 8px 8px 0px 0px #000000;
}

.card h3 {
  margin-bottom: 0.75rem;
  font-size: 1.2rem;
  border-bottom: 2px solid #000;
  padding-bottom: 0.5rem;
  display: inline-block;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.5rem;
}

/* Stats */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.stat {
  background: #ffffff;
  border: 2px solid #000000;
  padding: 1.2rem 1.4rem;
  box-shadow: 3px 3px 0 #000;
}

.stat strong {
  font-size: 1.4rem;
  display: block;
  color: var(--ink);
  font-weight: 900;
}

/* Sections */
.section {
  padding: 4.5rem 0;
}

.section-alt {
  background: #ffffff;
  border-top: 3px solid #000;
  border-bottom: 3px solid #000;
  padding: 4rem 0;
  margin: 2rem 0;
}

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.section-title {
  font-size: clamp(2rem, 3vw, 2.8rem);
  color: var(--ink);
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.8rem;
  border: 2px solid #000;
  font-size: 0.75rem;
  font-weight: 800;
  background: var(--sun);
  color: #000;
  text-transform: uppercase;
  box-shadow: 2px 2px 0 #000;
}

.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  align-items: center;
}

.glass {
  background: #ffffff; /* Removed transparency for brutalist look */
}

/* Pricing */
.price-card.featured {
  background: #fff;
  border: 4px solid #000;
  transform: scale(1.02);
}

.price-card .price {
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--ink);
}

.price-card li::before {
  content: "■";
  margin-right: 0.4rem;
  color: var(--ink);
  font-size: 0.8em;
}

/* Forms */
.input,
.select,
.textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border-radius: 0;
  border: 2px solid #000000;
  font-size: 0.95rem;
  font-family: inherit;
  background: #ffffff;
  color: #000;
  font-weight: 500;
  box-shadow: 3px 3px 0 rgba(0,0,0,0.1);
  transition: all 0.2s;
}

.input:focus,
.select:focus,
.textarea:focus {
  outline: none;
  border-color: #000;
  box-shadow: 5px 5px 0 #000;
  transform: translate(-2px, -2px);
}

/* Footer */
.footer {
  margin-top: 4rem;
  padding: 3rem 0;
  border-top: 3px solid #000000;
  background: #fff;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}

.footer-links a:hover {
  text-decoration: underline;
  font-weight: 700;
}

.cta-band {
  background: var(--sea); /* Green background */
  border: 3px solid #000;
  border-radius: 0;
  padding: 2.5rem;
  display: grid;
  gap: 1.5rem;
  align-items: center;
  box-shadow: 6px 6px 0 #000;
  color: #ffffff; /* White text for contrast */
}

.cta-band h2, .cta-band p {
    color: #ffffff;
}

.logo-img {
  width: 180px;
  border-radius: 0;
  border: 2px solid #000;
  box-shadow: 8px 8px 0 #000;
  display: inline-block;
  margin-bottom: 1rem;
}
.mt-2 { margin-top: 2rem !important; }
.feature-list {
  margin-top: 1.2rem;
  display: grid;
  gap: 0.6rem;
  color: var(--muted);
  list-style: none;
}
.footer-bottom {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
}
.footer-actions {
  display: flex;
  gap: 1rem;
}

/* Responsive */
@media (max-width: 960px) {
  .nav-panel {
    position: fixed;
    top: 72px;
    right: 20px;
    left: 20px;
    background: #ffffff;
    border: 3px solid #000;
    padding: 1.5rem;
    flex-direction: column;
    align-items: stretch;
    gap: 1.2rem;
    box-shadow: 8px 8px 0 #000;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: all 0.2s ease;
  }

  body.nav-open .nav-panel {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-toggle {
    display: inline-flex;
  }
}

@media (max-width: 600px) {
  .hero-card,
  .form-shell,
  .glass,
  .cta-band {
    padding: 1.5rem;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}
