:root {
  --primary-50: #ecfdf5;
  --primary-100: #d1fae5;
  --primary-200: #a7f3d0;
  --primary-300: #6ee7b7;
  --primary-400: #34d399;
  --primary-500: #22c55e;
  --primary-600: #16a34a;
  --primary-700: #15803d;
  --primary-800: #166534;
  --primary-900: #14532d;

  --text: #0f172a;
  --muted: #475569;
  --border: #e2e8f0;
  --surface: #ffffff;
  --surface-2: #f1f5f9;

  --bg: #f8fafc;
  --footer-bg: #1e293b;

  --btn-text: #ffffff;

  --radius-1: 4px;
  --radius-2: 8px;

  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-12: 3rem;
  --space-16: 4rem;

  --shadow-1: 0 1px 2px rgba(0, 0, 0, 0.06);
  --shadow-2: 0 1px 3px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.06);
  --shadow-3: 0 4px 8px rgba(0, 0, 0, 0.08);

  --focus: #22c55e;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html:focus-within {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, "Noto Sans", Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img,
svg,
video,
canvas,
audio,
iframe,
embed,
object {
  display: block;
  max-width: 100%;
}

input,
button,
textarea,
select {
  font: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-left: var(--space-4);
  padding-right: var(--space-4);
}

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-1);
}

.header .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  gap: var(--space-4);
}

.brand {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--primary-700);
  text-decoration: none;
}

.brand .logo {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--primary-600), var(--primary-400));
  box-shadow: 0 2px 8px rgba(20, 83, 45, 0.25);
  position: relative;
  overflow: hidden;
}

.brand .logo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 20%, rgba(255, 255, 255, 0.25), transparent 60%);
}

.nav {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav a {
  color: var(--muted);
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-1);
  transition: color 150ms ease, background-color 150ms ease;
}

.nav a:hover {
  color: var(--text);
  background: var(--primary-50);
  text-decoration: none;
}

.cta-header {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  background: var(--primary-600);
  color: var(--btn-text);
  border: 1px solid var(--primary-700);
  border-radius: var(--radius-1);
  font-weight: 600;
  box-shadow: var(--shadow-1);
  transition: background-color 150ms ease, transform 150ms ease, box-shadow 150ms ease;
}

.cta-header:hover {
  background: var(--primary-700);
  transform: translateY(-1px);
  box-shadow: var(--shadow-2);
  text-decoration: none;
}

.hero {
  padding-block: var(--space-16);
  background:
    radial-gradient(1000px 400px at 90% -10%, var(--primary-100), transparent 70%),
    linear-gradient(to right, var(--primary-50), transparent 50%);
  border-bottom: 1px solid var(--border);
}

.hero .wrap {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--space-12);
  align-items: center;
}

.hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.2;
  margin: 0 0 var(--space-4) 0;
  letter-spacing: -0.01em;
}

.hero p {
  font-size: 1.125rem;
  color: var(--muted);
  margin: 0 0 var(--space-6) 0;
}

.hero .actions {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.hero-image {
  width: 100%;
  border-radius: var(--radius-2);
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow-2);
  padding: var(--space-4);
}

.section {
  padding-block: var(--space-16);
  background: var(--bg);
  position: relative;
}

.section:nth-child(odd) {
  background: #f1f5f9;
}

.section:nth-child(even).alt {
  background: #ecfdf5;
}

.section:last-of-type {
  background: var(--bg);
}

.section-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  line-height: 1.3;
  margin: 0 0 var(--space-2) 0;
  letter-spacing: -0.01em;
  position: relative;
  padding-bottom: var(--space-3);
}

.section-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 3px;
  width: 64px;
  background: linear-gradient(90deg, var(--primary-600), var(--primary-400));
  border-radius: 2px;
}

.section-subtitle {
  color: var(--muted);
  margin: 0 0 var(--space-8) 0;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-6);
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-2);
  padding: var(--space-6);
  box-shadow: var(--shadow-1);
  transition: transform 150ms ease, box-shadow 150ms ease, border-color 150ms ease;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-2);
  border-color: var(--primary-200);
}

.card h3 {
  margin: 0 0 var(--space-2) 0;
  font-size: 1.25rem;
  line-height: 1.3;
}

.card p {
  color: var(--muted);
  margin: 0;
}

.icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--primary-50), var(--primary-100));
  display: grid;
  place-items: center;
  margin-bottom: var(--space-4);
  border: 1px solid var(--border);
}

.icon svg {
  width: 22px;
  height: 22px;
  color: var(--primary-700);
}

.features {
  background: #ecfdf5;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.features .card-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.cta {
  background: linear-gradient(0deg, var(--primary-600), var(--primary-600));
  color: var(--btn-text);
  border-radius: var(--radius-2);
  padding: var(--space-12);
  border: 1px solid var(--primary-700);
  box-shadow: var(--shadow-3);
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.08), transparent 60%);
  pointer-events: none;
}

.cta h2 {
  margin: 0 0 var(--space-3) 0;
  color: var(--btn-text);
}

.cta p {
  margin: 0 0 var(--space-6) 0;
  color: rgba(255, 255, 255, 0.9);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  font-weight: 700;
  border-radius: var(--radius-1);
  border: 1px solid var(--primary-700);
  background: var(--primary-500);
  color: var(--btn-text);
  box-shadow: var(--shadow-1);
  transition: background-color 150ms ease, transform 150ms ease, box-shadow 150ms ease;
}

.btn:hover {
  background: var(--primary-600);
  transform: translateY(-1px);
  box-shadow: var(--shadow-2);
  text-decoration: none;
}

.btn-outline {
  background: transparent;
  color: var(--btn-text);
  border-color: rgba(255, 255, 255, 0.6);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.8);
}

.btn-secondary {
  background: var(--primary-400);
  border-color: var(--primary-500);
}

.btn-secondary:hover {
  background: var(--primary-500);
}

.form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-2);
  padding: var(--space-6);
  box-shadow: var(--shadow-1);
}

.form .row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}

.field {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

label {
  font-weight: 600;
  color: var(--text);
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
textarea,
select {
  border: 1px solid var(--border);
  border-radius: var(--radius-1);
  padding: var(--space-3) var(--space-4);
  background: var(--surface);
  color: var(--text);
  transition: border-color 150ms ease, box-shadow 150ms ease;
}

textarea {
  min-height: 120px;
  resize: vertical;
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--primary-400);
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.2);
  outline: none;
}

.checkbox {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
}

.checkbox input[type="checkbox"] {
  margin-top: 2px;
  accent-color: var(--primary-600);
}

.help {
  color: var(--muted);
  font-size: 0.875rem;
}

.footer {
  background: var(--footer-bg);
  color: rgba(255, 255, 255, 0.85);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer .inner {
  padding-block: var(--space-12);
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-8);
}

.footer a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
}

.footer a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.footer h4 {
  margin: 0 0 var(--space-3) 0;
  font-size: 1rem;
  color: #ffffff;
}

.footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: var(--space-2);
}

.footer .bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-block: var(--space-4);
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
  text-align: center;
}

.table {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-2);
  overflow: hidden;
  box-shadow: var(--shadow-1);
}

.table th,
.table td {
  text-align: left;
  padding: var(--space-4);
  border-bottom: 1px solid var(--border);
}

.table th {
  background: #f8fafc;
  font-weight: 700;
  color: var(--text);
}

.table tr:last-child td {
  border-bottom: none;
}

@media (max-width: 1024px) {
  .hero .wrap {
    grid-template-columns: 1fr;
  }

  .card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .features .card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer .inner {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-6);
  }
}

@media (max-width: 640px) {
  .header .inner {
    flex-wrap: wrap;
    gap: var(--space-3);
  }

  .nav {
    display: none;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }

  .features .card-grid {
    grid-template-columns: 1fr;
  }

  .form .row {
    grid-template-columns: 1fr;
  }

  .footer .inner {
    grid-template-columns: 1fr;
  }
}


/* Cookie Banner Additional Styles for Tailwind */
.cookie-banner-hover-effect:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

@media (prefers-reduced-motion: reduce) {
    .cookie-banner-hover-effect:hover {
        transform: none;
    }
}