:root {
  --bg: #0c0f14;
  --bg-soft: #121722;
  --bg-glass: rgba(18, 23, 34, 0.7);
  --text: #f5f6f8;
  --muted: #b2b8c7;
  --accent: #7cf7d4;
  --accent-2: #7aa7ff;
  --stroke: rgba(255, 255, 255, 0.1);
  --card: rgba(17, 22, 32, 0.9);
  --shadow: 0 30px 70px rgba(0, 0, 0, 0.45);
  --radius: 18px;
  --radius-lg: 28px;
  --max-width: 1200px;
  --section-gap: 120px;
}

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

body {
  font-family: "Sora", "Segoe UI", sans-serif;
  background: radial-gradient(1200px 600px at 10% -10%, rgba(122, 167, 255, 0.2), transparent),
    radial-gradient(800px 500px at 90% 10%, rgba(124, 247, 212, 0.18), transparent),
    var(--bg);
  color: var(--text);
  line-height: 1.6;
}

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

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

.container {
  width: min(100%, var(--max-width));
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: var(--section-gap) 0;
}

.section.compact {
  padding: 80px 0;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--stroke);
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  font-size: 0.85rem;
}

h1,
h2,
h3,
h4 {
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-weight: 600;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.6rem, 5vw, 4.2rem);
  line-height: 1.05;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.1;
}

h3 {
  font-size: 1.5rem;
  line-height: 1.2;
}

p {
  color: var(--muted);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.button.primary {
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  color: #091017;
  box-shadow: 0 20px 40px rgba(122, 167, 255, 0.25);
}

.button.secondary {
  border-color: var(--stroke);
  color: var(--text);
  background: rgba(255, 255, 255, 0.02);
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.35);
}

.header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(8, 10, 16, 0.88);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.logo-img {
  width: 54px;
  height: 54px;
  object-fit: contain;
  background: transparent;
  border: none;
  padding: 0;
}

.nav-links {
  display: flex;
  gap: 24px;
  align-items: center;
  color: var(--muted);
  font-size: 0.95rem;
}

.nav-actions {
  display: flex;
  gap: 12px;
}

.mobile-toggle {
  display: none;
  border: 1px solid var(--stroke);
  background: transparent;
  color: var(--text);
  padding: 10px 12px;
  border-radius: 10px;
}

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

.hero-copy {
  display: grid;
  gap: 24px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.hero-mockup {
  position: relative;
  background: linear-gradient(160deg, rgba(124, 247, 212, 0.08), rgba(122, 167, 255, 0.08));
  border-radius: var(--radius-lg);
  padding: 32px;
  min-height: 420px;
  border: 1px solid var(--stroke);
  overflow: hidden;
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
  filter: saturate(1.1);
  z-index: 0;
}

.mockup-card {
  position: absolute;
  background: var(--card);
  border: 1px solid var(--stroke);
  border-radius: 18px;
  padding: 18px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  animation: float 7s ease-in-out infinite;
  z-index: 1;
}

.mockup-card.small {
  width: 160px;
  top: 40px;
  right: 40px;
  animation-delay: -2s;
}

.mockup-card.large {
  width: 260px;
  bottom: 60px;
  left: 40px;
}

.mockup-card.medium {
  width: 200px;
  top: 160px;
  left: 120px;
  animation-delay: -4s;
}

.mockup-chart {
  height: 120px;
  border-radius: 14px;
  background: linear-gradient(120deg, rgba(124, 247, 212, 0.3), rgba(122, 167, 255, 0.3));
  margin-top: 12px;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-14px);
  }
}

.trust-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  align-items: center;
  padding: 24px 32px;
  border-radius: var(--radius);
  background: var(--bg-glass);
  border: 1px solid var(--stroke);
}

.trust-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: var(--muted);
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.quick-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  color: var(--muted);
}

.grid {
  display: grid;
  gap: 24px;
}

.grid.cards {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.card {
  background: var(--card);
  border: 1px solid var(--stroke);
  padding: 24px;
  border-radius: var(--radius);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 50px rgba(0, 0, 0, 0.35);
}

.card .tag {
  font-size: 0.8rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.2em;
}

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

.case-card {
  background: linear-gradient(160deg, rgba(124, 247, 212, 0.04), rgba(122, 167, 255, 0.08));
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  padding: 24px;
  display: grid;
  gap: 16px;
  cursor: pointer;
}

.case-image {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.case-card .badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.badge.small {
  font-size: 0.7rem;
}

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

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

.testimonial {
  background: var(--bg-glass);
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  padding: 24px;
}

.feature-image {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.cta-strip {
  padding: 50px;
  border-radius: var(--radius-lg);
  background: linear-gradient(140deg, rgba(124, 247, 212, 0.18), rgba(122, 167, 255, 0.18));
  border: 1px solid var(--stroke);
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
}

.footer {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 60px 0;
  background: #090b10;
}

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

.footer small {
  color: var(--muted);
}

.sticky-cta {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 30;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.modal {
  position: fixed;
  inset: 0;
  background: rgba(6, 8, 12, 0.7);
  display: none;
  place-items: center;
  padding: 24px;
  z-index: 40;
}

.modal.active {
  display: grid;
}

.modal-content {
  background: var(--card);
  border-radius: var(--radius);
  border: 1px solid var(--stroke);
  padding: 32px;
  width: min(720px, 95vw);
  max-height: 85vh;
  overflow: auto;
}

.estimator {
  display: grid;
  gap: 20px;
  background: var(--bg-glass);
  border-radius: var(--radius);
  border: 1px solid var(--stroke);
  padding: 24px;
}

.estimator .steps {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.estimator button.option {
  border: 1px solid var(--stroke);
  background: transparent;
  color: var(--text);
  padding: 10px 16px;
  border-radius: 999px;
  cursor: pointer;
}

.estimator button.option.active {
  background: linear-gradient(130deg, rgba(124, 247, 212, 0.3), rgba(122, 167, 255, 0.3));
  border-color: transparent;
}

.estimator-result {
  border-top: 1px solid var(--stroke);
  padding-top: 16px;
  display: grid;
  gap: 8px;
}

.table {
  display: grid;
  gap: 16px;
  background: var(--bg-glass);
  border: 1px solid var(--stroke);
  padding: 24px;
  border-radius: var(--radius);
}

.table .row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

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

.tag-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text);
  background: linear-gradient(140deg, rgba(124, 247, 212, 0.1), rgba(122, 167, 255, 0.12));
  font-weight: 500;
  animation: pulse 4s ease-in-out infinite;
}

.tag-chip img {
  width: 18px;
  height: 18px;
  filter: brightness(0) invert(1);
}

@keyframes pulse {
  0%,
  100% {
    border-color: rgba(255, 255, 255, 0.1);
  }
  50% {
    border-color: rgba(124, 247, 212, 0.5);
  }
}

.form {
  display: grid;
  gap: 16px;
}

input,
select,
textarea {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--stroke);
  padding: 12px 16px;
  border-radius: 12px;
  color: var(--text);
  font-family: inherit;
}

textarea {
  min-height: 120px;
  resize: vertical;
}

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

.hero.small {
  min-height: 280px;
}

.page-title {
  display: grid;
  gap: 16px;
  max-width: 700px;
}

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

.filters button {
  border: 1px solid var(--stroke);
  padding: 10px 16px;
  border-radius: 999px;
  background: transparent;
  color: var(--text);
}

.notice {
  border-left: 3px solid var(--accent);
  padding-left: 16px;
  color: var(--muted);
}

@media (max-width: 960px) {
  .nav-links {
    display: none;
  }

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

  .nav.mobile-open .nav-links {
    position: absolute;
    top: 70px;
    left: 24px;
    right: 24px;
    background: var(--bg-soft);
    border: 1px solid var(--stroke);
    border-radius: 16px;
    padding: 20px;
    display: grid;
    gap: 12px;
  }

  .nav.mobile-open .nav-actions {
    display: none;
  }
}

@media (max-width: 640px) {
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .cta-strip {
    padding: 32px;
  }

  .sticky-cta {
    bottom: 16px;
    right: 16px;
  }
}
