:root {
  color-scheme: light dark;
  --bg: #ffffff;
  --panel: #ffffff;
  --text: #1d1f23;
  --muted: #626773;
  --primary: #1f6fff;
  --primary-strong: #0f54cc;
  --accent: #ffd54a;
  --line: #dbe6ff;
  --shadow: 0 20px 60px rgba(31, 111, 255, 0.18);
}

:root[data-theme="dark"] {
  --bg: #171a20;
  --panel: #171a20;
  --text: #f5f6f8;
  --muted: #b3bac6;
  --primary: #4d8dff;
  --primary-strong: #2e73f5;
  --accent: #ffd54a;
  --line: #2d323c;
  --shadow: 0 18px 48px rgba(0, 0, 0, 0.45);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Sora", sans-serif;
  background:
    linear-gradient(135deg, rgba(31, 111, 255, 0.18) 0%, rgba(255, 213, 74, 0.16) 100%),
    var(--bg);
  color: var(--text);
  line-height: 1.5;
  min-height: 100vh;
}

.container {
  width: min(1120px, 92vw);
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(12px);
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  border-bottom: 1px solid var(--line);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 0;
  gap: 1rem;
}

.logo-placeholder {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  height: 38px;
  border-radius: 8px;
  color: var(--primary);
  text-decoration: none;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  font-weight: 600;
  transition: transform 0.3s ease;
}

.logo-placeholder {
  padding: 6px 10px;
}

:root[data-theme="dark"] .logo-placeholder {
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.logo-img {
  height: 40px;
  max-width: 200px;
  width: auto;
  display: block;
}

.logo-placeholder:hover {
  transform: translateY(-2px);
}

.navbar {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.navbar a,
.site-footer a {
  text-decoration: none;
  color: var(--text);
  position: relative;
}

.navbar a::after,
.site-footer a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.22rem;
  width: 100%;
  height: 2px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}

.navbar a:hover::after,
.site-footer a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-actions {
  display: flex;
  gap: 0.5rem;
}

.menu-toggle {
  display: none;
  border: none;
  background: transparent;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-open .menu-toggle span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}

.nav-open .menu-toggle span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.lang-flag {
  font-size: 1rem;
  line-height: 1;
}

.theme-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.theme-icon svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.btn {
  font-family: "Space Grotesk", sans-serif;
  border: 1px solid transparent;
  padding: 0.7rem 1.1rem;
  border-radius: 10px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.25s ease, background 0.25s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn:hover {
  transform: translateY(-2px);
}

.subtle-btn {
  background: transparent;
  color: var(--text);
  border-color: transparent;
}

.primary-btn {
  background: var(--primary);
  color: #fff;
  box-shadow: var(--shadow);
  font-size: 1.02rem;
  padding: 0.85rem 1.35rem;
}

.primary-btn:hover {
  background: var(--primary-strong);
}

.ghost-btn {
  background: transparent;
  color: var(--text);
  border-color: var(--line);
}

.hero {
  padding: 5rem 0 4rem;
}

.page-hero {
  padding-bottom: 2rem;
}

.hero-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
}

.eyebrow {
  color: var(--primary);
  font-weight: 600;
  letter-spacing: 0.03em;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.1rem;
}

h1,
h2 {
  font-family: "Space Grotesk", sans-serif;
  line-height: 1.1;
}

h1 {
  margin: 0.5rem 0 1rem;
  font-size: clamp(2rem, 5vw, 3.4rem);
}

h2 {
  margin: 0.5rem 0 1rem;
  font-size: clamp(1.4rem, 3.5vw, 2.2rem);
}

.hero-punchline {
  font-size: clamp(1.3rem, 2.8vw, 1.8rem);
  margin-bottom: 1.4rem;
  font-weight: 600;
}

.cta-row {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.hero-image-placeholder {
  min-height: 280px;
  border-radius: 18px;
  border: none;
  background: transparent;
  display: grid;
  place-items: center;
  color: var(--muted);
  font-weight: 600;
  overflow: hidden;
  box-shadow: none;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-logo {
  height: 168px;
  width: auto;
  display: block;
}

.eyebrow span {
  display: flex;
  align-items: center;
  min-height: 168px;
}

.partners {
  padding: 2rem 0 4rem;
}

.carousel {
  margin-top: 1.2rem;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--panel);
}

.carousel-track {
  display: flex;
  width: max-content;
  animation: scroll 24s linear infinite;
}

.partners-static-grid {
  margin-top: 1.2rem;
  display: grid;
  gap: 0.9rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.partner-card {
  min-width: 220px;
  margin: 1rem;
  padding: 1rem 1.2rem;
  border-radius: 10px;
  border: 1px solid var(--line);
  text-align: center;
  color: var(--muted);
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--panel);
}

.partner-card img {
  max-height: 72px;
  max-width: 220px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

@keyframes scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.faq {
  padding: 1rem 0 4rem;
}

.faq-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 0.8fr 1.2fr;
}

.faq-list details {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.9rem 1rem;
  margin-bottom: 0.8rem;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
}

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

.faq-list p {
  margin: 0.75rem 0 0;
  color: var(--muted);
}

.ready {
  padding: 0 0 4.5rem;
}

.services-page-section {
  padding: 0 0 4rem;
}

.pricing-section {
  padding: 0 0 4rem;
}

.contact-page-section {
  padding: 0 0 4rem;
}

.contact-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 0.9fr 1.1fr;
}

.legal-section {
  padding: 0 0 4rem;
}

.legal-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--panel);
  padding: 1.6rem;
}

.legal-card h2 {
  margin: 1.1rem 0 0.5rem;
  font-family: "Space Grotesk", sans-serif;
}

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

.legal-list {
  margin: 0.4rem 0 0;
  padding-left: 1.2rem;
  color: var(--muted);
}

.contact-form-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--panel);
  padding: 1.4rem;
}

.contact-form {
  display: grid;
  gap: 0.6rem;
}

.contact-form label {
  font-weight: 600;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.72rem 0.8rem;
  font: inherit;
  color: var(--text);
  background: color-mix(in srgb, var(--panel) 85%, transparent);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid color-mix(in srgb, var(--primary) 40%, transparent);
  outline-offset: 1px;
}

.form-status {
  min-height: 1.2rem;
  margin: 0.2rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.hp-field {
  position: absolute;
  left: -5000px;
  opacity: 0;
  pointer-events: none;
}

.pricing-table-wrap {
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow-x: auto;
  background: var(--panel);
}

.pricing-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 900px;
}

.pricing-table th,
.pricing-table td {
  border-bottom: 1px solid var(--line);
  padding: 0.85rem 0.95rem;
  text-align: center;
  vertical-align: middle;
}

.pricing-table th:first-child,
.pricing-table td:first-child {
  text-align: left;
  font-weight: 600;
}

.pricing-table .tier5-cell {
  vertical-align: top;
  padding: 0.9rem;
}

.tier5-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  align-items: center;
  text-align: center;
}

.tier5-card h3 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
}

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

.pricing-table thead th {
  font-family: "Space Grotesk", sans-serif;
  background: color-mix(in srgb, var(--primary) 8%, var(--panel));
}

.icon-check,
.icon-cross {
  width: 18px;
  height: 18px;
  fill: none;
  stroke-width: 2.3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon-check {
  stroke: #19a15f;
}

.icon-cross {
  stroke: #d35656;
}

.custom-tier-card {
  margin-top: 1rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--panel);
  padding: 1.4rem;
}

.volume-pricing-card {
  margin-top: 1rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--panel);
  padding: 1.4rem;
}

.volume-pricing-card h2 {
  margin: 0.25rem 0 0.9rem;
}

.volume-grid {
  display: grid;
  gap: 0.8rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.volume-tier {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.9rem;
}

.volume-tier h3 {
  margin: 0 0 0.6rem;
  font-family: "Space Grotesk", sans-serif;
}

.volume-tier ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.volume-tier li {
  display: flex;
  justify-content: space-between;
  gap: 0.7rem;
  padding: 0.42rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}

.volume-tier li:last-child {
  border-bottom: 0;
}

.volume-tier strong {
  color: var(--text);
}

.custom-tier-card h2 {
  margin: 0.25rem 0 0.45rem;
}

.custom-tier-card p {
  margin: 0 0 1rem;
  color: var(--muted);
}

.addons-card {
  margin-top: 1rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--panel);
  padding: 1.4rem;
}

.addons-card h2 {
  margin: 0.25rem 0 0.9rem;
}

.addons-table-wrap {
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}

.addons-table {
  width: 100%;
  border-collapse: collapse;
}

.addons-table th,
.addons-table td {
  padding: 0.8rem 0.95rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.addons-table thead th {
  font-family: "Space Grotesk", sans-serif;
  background: color-mix(in srgb, var(--primary) 8%, var(--panel));
}

.addons-table tbody tr:last-child td {
  border-bottom: 0;
}

.service-stack {
  display: grid;
  gap: 1rem;
}

.service-block {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.4rem;
  background: var(--panel);
}

.service-tag {
  display: inline-block;
  margin: 0 0 0.4rem;
  padding: 0.25rem 0.55rem;
  font-size: 0.78rem;
  border-radius: 999px;
  background: color-mix(in srgb, var(--accent) 30%, transparent);
  color: var(--text);
  font-weight: 600;
}

.service-block h2 {
  margin: 0.25rem 0 0.6rem;
}

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

.service-child-grid {
  display: grid;
  gap: 0.8rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 1rem;
}

.service-child {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1rem;
}

.service-child h3 {
  margin: 0 0 0.6rem;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.05rem;
}

.service-child p {
  margin: 0;
}

.ready-card {
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: 18px;
  padding: 2.1rem;
  text-align: center;
}

.ready-card .btn {
  margin: 0.35rem;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.2rem 0 2rem;
}

.footer-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-wrap nav {
  display: flex;
  gap: 1rem;
}

@media (max-width: 900px) {
  .nav-wrap {
    flex-wrap: wrap;
  }

  .navbar {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem 0 0.4rem;
    border-top: 1px solid var(--line);
  }

  .nav-open .navbar {
    display: flex;
  }

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

  .hero-grid,
  .faq-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .partners-static-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-child-grid {
    grid-template-columns: 1fr;
  }

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

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: var(--panel);
  border-top: 1px solid var(--line);
  padding: 1.2rem 0;
  z-index: 1000;
  transform: translateY(100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.08);
}

:root[data-theme="dark"] .cookie-banner {
  box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.4);
}

.cookie-banner.visible {
  transform: translateY(0);
}

.cookie-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  width: min(1120px, 92vw);
  margin-inline: auto;
}

.cookie-content p {
  margin: 0;
  color: var(--text);
  font-weight: 500;
}

@media (max-width: 768px) {
  .cookie-content {
    flex-direction: column;
    text-align: center;
  }
}
