:root {
  --bg: #f6f8fb;
  --card: #ffffff;
  --text: #0d1117;
  --muted: #4a5568;
  --line: rgba(0, 0, 0, 0.08);
  --accent: #b9ff66;
  --accent-deep: #8fd83f;
  --ink: #121212;
  --hero: linear-gradient(135deg, #0f172a 0%, #111827 45%, #1f2937 100%);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: var(--text);
  background:
    radial-gradient(60% 45% at 8% -12%, rgba(185, 255, 102, 0.28), transparent 72%),
    radial-gradient(45% 38% at 92% 8%, rgba(56, 189, 248, 0.14), transparent 70%),
    linear-gradient(180deg, #f8fafc 0%, #eef4fa 52%, #f8fafc 100%);
  line-height: 1.6;
  position: relative;
  min-height: 100vh;
  isolation: isolate;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  inset: -120px -80px auto auto;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(185, 255, 102, 0.22), rgba(185, 255, 102, 0));
  filter: blur(6px);
  z-index: -2;
  pointer-events: none;
}

body::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image: linear-gradient(rgba(15, 23, 42, 0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(15, 23, 42, 0.03) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: radial-gradient(circle at 25% 15%, #000 10%, transparent 70%);
  opacity: 0.35;
  z-index: -3;
  pointer-events: none;
}

.container {
  width: min(1120px, 100% - 40px);
  margin: 0 auto;
}

.topbar {
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.86);
  position: sticky;
  top: 0;
  z-index: 20;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.06);
}

.topbar-inner {
  min-height: 68px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}

.brand {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  text-decoration: none;
  color: var(--ink);
  letter-spacing: -0.5px;
}

.brand span {
  background: var(--accent);
  border-radius: 6px;
  padding: 0 4px;
}

.nav {
  display: flex;
  flex-wrap: nowrap;
  gap: 12px;
  align-items: center;
}

.nav a {
  text-decoration: none;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 600;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 6px 10px;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.nav a:hover {
  border-color: var(--line);
  background: #fff;
}

.dropdown {
  position: relative;
}

.dropdown summary {
  list-style: none;
  cursor: pointer;
  text-decoration: none;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 600;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 6px 12px;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.dropdown summary::-webkit-details-marker {
  display: none;
}

.dropdown summary::after {
  content: '▾';
  margin-left: 8px;
  font-size: 0.72rem;
}

.dropdown[open] summary,
.dropdown:hover summary {
  border-color: var(--line);
  background: #fff;
}

.dropdown-menu {
  display: grid;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 230px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 8px;
  box-shadow: 0 18px 28px rgba(15, 23, 42, 0.15);
  z-index: 30;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px) scale(0.98);
  transform-origin: top left;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.22s ease, visibility 0.2s ease;
}

.dropdown:hover .dropdown-menu,
.dropdown[open] .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.dropdown-menu a {
  border-radius: 10px;
  padding: 8px 10px;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 10px 16px;
  font-weight: 700;
  transition: 0.25s ease;
}

.cta-dark {
  background: #0b0b0b;
  color: #fff;
}

.cta-dark:hover {
  transform: translateY(-2px);
  background: var(--accent);
  color: #000;
}

.hero {
  margin-top: 26px;
  border-radius: 26px;
  padding: clamp(28px, 4vw, 58px);
  color: #fff;
  background: var(--hero);
  box-shadow: 0 24px 45px rgba(17, 24, 39, 0.24);
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  right: -70px;
  top: -70px;
  background: radial-gradient(circle, rgba(185, 255, 102, 0.35), rgba(185, 255, 102, 0));
}

.hero h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.8rem, 5vw, 3rem);
  letter-spacing: -1px;
  line-height: 1.08;
  margin: 0 0 14px;
}

.hero p {
  color: rgba(255, 255, 255, 0.88);
  max-width: 780px;
  margin: 0;
}

.hero-actions {
  margin-top: 20px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.cta-light {
  background: var(--accent);
  color: #121212;
}

.cta-light:hover {
  background: #fff;
}

.section {
  margin: 38px 0;
}

.section h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.4rem, 3vw, 2rem);
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 26px rgba(0, 0, 0, 0.08);
}

.card h3 {
  margin-top: 0;
  margin-bottom: 8px;
  font-size: 1.02rem;
}

.card p {
  margin: 0;
  color: var(--muted);
}

.contact-focus {
  position: relative;
  overflow: hidden;
}

.contact-focus::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(185, 255, 102, 0.2), rgba(255, 255, 255, 0));
  pointer-events: none;
}

.contact-focus h3 {
  margin-bottom: 10px;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  color: #0f172a;
  text-decoration: none;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 8px 10px;
}

.contact-link:hover {
  border-color: #84cc16;
  transform: translateY(-1px);
}

.contact-tag {
  display: inline-block;
  margin-top: 10px;
  font-size: 0.76rem;
  font-weight: 800;
  color: #14532d;
  background: #dcfce7;
  border: 1px solid #86efac;
  border-radius: 999px;
  padding: 4px 10px;
}

.feature-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.feature-list li {
  background: #fff;
  border-radius: 14px;
  border: 1px solid var(--line);
  padding: 12px 14px;
  font-weight: 600;
}

.text-block {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 24px;
}

.breadcrumb {
  margin: 16px 0 0;
  font-size: 0.84rem;
  color: #d1d5db;
}

.breadcrumb a {
  color: #f3f4f6;
}

.page-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}

.page-links a {
  text-decoration: none;
  font-weight: 700;
  color: #111;
  border: 1px solid var(--line);
  background: #fff;
  padding: 8px 12px;
  border-radius: 12px;
}

.site-footer {
  margin-top: 44px;
  padding: 30px 0 46px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.45), rgba(255, 255, 255, 0.9));
}

.site-footer p {
  margin: 0 0 12px;
}

.site-footer .page-links {
  margin-top: 0;
}

.site-footer .page-links a {
  font-size: 0.84rem;
}

.footer-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: 1.3fr 1fr;
  align-items: flex-start;
}

.footer-brand {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: #111;
}

.footer-brand span {
  background: var(--accent);
  border-radius: 5px;
  padding: 0 4px;
}

.footer-copy {
  text-align: right;
  font-size: 0.9rem;
}

footer {
  margin-top: 44px;
  padding: 28px 0 46px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

@media (max-width: 760px) {
  .topbar-inner {
    padding: 10px 0;
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    display: flex;
    overflow-x: auto;
    white-space: nowrap;
    max-width: 100%;
    padding-bottom: 4px;
  }

  .dropdown-menu {
    position: static;
    margin-top: 6px;
    box-shadow: none;
    min-width: 0;
    transform: none;
    transition: opacity 0.2s ease, visibility 0.2s ease;
  }

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

  .footer-copy {
    text-align: left;
  }
}
