:root {
  --violet-600: #7c3aed;
  --violet-500: #8b5cf6;
  --violet-400: #a78bfa;
  --emerald-500: #10b981;
  --emerald-400: #34d399;
  --ink: #0f172a;
  --ink-soft: #334155;
  --mist: #e2e8f0;
  --glass-bg: rgba(255, 255, 255, 0.12);
  --glass-border: rgba(255, 255, 255, 0.22);
  --glass-shadow: 0 8px 32px rgba(15, 23, 42, 0.18);
  --radius: 16px;
  --font-sans: "DM Sans", system-ui, sans-serif;
  --font-display: "Fraunces", Georgia, serif;
  --max-width: 1120px;
  --header-h: 4.25rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink-soft);
  background: #0b1020;
  background-image:
    radial-gradient(ellipse 80% 50% at 10% -10%, rgba(124, 58, 237, 0.45), transparent 55%),
    radial-gradient(ellipse 60% 40% at 90% 20%, rgba(16, 185, 129, 0.35), transparent 50%),
    radial-gradient(ellipse 50% 30% at 50% 100%, rgba(139, 92, 246, 0.25), transparent 45%);
  background-attachment: fixed;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--violet-400);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--emerald-400);
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: #f8fafc;
  line-height: 1.2;
  font-weight: 500;
}

h1 { font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.125rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1rem; }

ul, ol { margin: 0 0 1rem; padding-left: 1.25rem; }

.glass-panel {
  background: var(--glass-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  box-shadow: var(--glass-shadow);
}

.shape-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.5;
  pointer-events: none;
  animation: float 12s ease-in-out infinite;
}

.shape-blob--violet {
  width: 280px;
  height: 280px;
  background: var(--violet-500);
  top: 10%;
  right: 5%;
}

.shape-blob--green {
  width: 220px;
  height: 220px;
  background: var(--emerald-500);
  bottom: 15%;
  left: 8%;
  animation-delay: -4s;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(12px, -18px) scale(1.05); }
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 0.75rem 1rem;
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.65rem 1.25rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: #f8fafc;
  font-weight: 600;
  font-size: 1.1rem;
}

.logo:hover { color: #fff; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  padding: 0.5rem;
  cursor: pointer;
}

.nav-toggle-bar {
  display: block;
  width: 22px;
  height: 2px;
  background: #f8fafc;
}

.primary-nav .nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 1.25rem;
}

.primary-nav a {
  color: #e2e8f0;
  text-decoration: none;
  font-size: 0.95rem;
}

.primary-nav a:hover { color: var(--emerald-400); }

.nav-cta {
  padding: 0.45rem 1rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--violet-600), var(--emerald-500));
  color: #fff !important;
}

.nav-cta:hover { opacity: 0.92; color: #fff !important; }

main {
  position: relative;
  z-index: 1;
}

.page-wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2rem 1.25rem 4rem;
}

.site-footer {
  margin-top: 3rem;
  padding: 2.5rem 1.25rem 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  max-width: var(--max-width);
  margin: 0 auto 2rem;
  display: grid;
  gap: 2rem;
  grid-template-columns: 1.4fr repeat(3, 1fr);
}

.footer-name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: #f8fafc;
  margin: 0 0 0.5rem;
}

.footer-tag { font-size: 0.95rem; margin: 0; }

.footer-heading {
  color: #f8fafc;
  font-weight: 600;
  margin: 0 0 0.75rem;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li { margin-bottom: 0.4rem; }

.footer-links a {
  color: #cbd5e1;
  text-decoration: none;
}

.footer-contact p { margin: 0 0 0.35rem; font-size: 0.95rem; }

.footer-legal {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1rem 1.25rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.875rem;
}

.footer-legal p { margin: 0; color: #94a3b8; }

.legal-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.legal-links a {
  color: #cbd5e1;
  text-decoration: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.35rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--violet-600), #6d28d9);
  color: #fff;
  box-shadow: 0 4px 20px rgba(124, 58, 237, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  color: #fff;
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.08);
  color: #f8fafc;
  border: 1px solid var(--glass-border);
}

.btn-ghost:hover { background: rgba(255, 255, 255, 0.14); color: #fff; }

.hero-home {
  position: relative;
  padding: 3rem 1.25rem 4rem;
  overflow: hidden;
}

.hero-home-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--emerald-400);
  margin-bottom: 1rem;
}

.hero-home h1 { margin: 0 0 1.25rem; }

.hero-lead {
  font-size: 1.15rem;
  color: #cbd5e1;
  margin-bottom: 1.75rem;
  max-width: 32ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-visual {
  position: relative;
}

.hero-visual img {
  border-radius: var(--radius);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  animation: heroReveal 1s ease-out;
}

@keyframes heroReveal {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: -8%;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.25), rgba(16, 185, 129, 0.2));
  border-radius: 24px;
  z-index: -1;
  filter: blur(40px);
}

.section {
  padding: 3rem 0;
}

.section-title {
  margin-bottom: 0.5rem;
}

.section-intro {
  max-width: 52ch;
  margin-bottom: 2rem;
  color: #94a3b8;
}

.card-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}

.service-card {
  padding: 0;
  overflow: hidden;
  transition: transform 0.25s ease;
}

.service-card:hover { transform: translateY(-4px); }

.service-card img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
}

.service-card-body {
  padding: 1.25rem 1.35rem 1.5rem;
}

.service-card h3 { margin: 0 0 0.5rem; }

.service-card p { margin: 0; font-size: 0.95rem; }

.service-card a.card-link {
  display: inline-block;
  margin-top: 0.75rem;
  font-weight: 600;
  text-decoration: none;
}

.quote-strip {
  padding: 2rem 1.75rem;
  border-left: 3px solid var(--emerald-500);
  margin: 2rem 0;
}

.quote-strip p {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: #e2e8f0;
  margin: 0;
}

.quote-attrib {
  margin-top: 0.75rem !important;
  font-family: var(--font-sans) !important;
  font-size: 0.9rem !important;
  color: #94a3b8 !important;
}

.page-hero {
  padding: 2.5rem 0 2rem;
  text-align: center;
}

.page-hero--left { text-align: left; }

.page-hero img.hero-cover {
  width: 100%;
  max-height: 320px;
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: 2rem;
  border: 1px solid var(--glass-border);
}

.breadcrumb {
  font-size: 0.85rem;
  margin-bottom: 1rem;
  color: #94a3b8;
}

.breadcrumb a { color: #cbd5e1; text-decoration: none; }

.prose {
  max-width: 68ch;
}

.prose--wide { max-width: none; }

.legal-prose h2 {
  font-size: 1.35rem;
  margin-top: 2rem;
}

.legal-prose h2:first-child { margin-top: 0; }

table.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  margin: 1rem 0 1.5rem;
}

table.data-table th,
table.data-table td {
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 0.65rem 0.85rem;
  text-align: left;
}

table.data-table th {
  background: rgba(255, 255, 255, 0.06);
  color: #f8fafc;
}

.form-panel {
  padding: 2rem;
  max-width: 520px;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.35rem;
  color: #e2e8f0;
  font-weight: 500;
  font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(15, 23, 42, 0.5);
  color: #f8fafc;
  font: inherit;
}

.form-group textarea { min-height: 140px; resize: vertical; }

.form-error {
  color: #fca5a5;
  font-size: 0.85rem;
  margin-top: 0.35rem;
  display: none;
}

.form-group.is-invalid .form-error { display: block; }

.form-group.is-invalid input,
.form-group.is-invalid select,
.form-group.is-invalid textarea {
  border-color: #f87171;
}

.form-status {
  padding: 0.85rem 1rem;
  border-radius: 10px;
  margin-top: 1rem;
  display: none;
}

.form-status.is-success {
  display: block;
  background: rgba(16, 185, 129, 0.2);
  color: #6ee7b7;
  border: 1px solid rgba(16, 185, 129, 0.4);
}

.form-status.is-error {
  display: block;
  background: rgba(248, 113, 113, 0.15);
  color: #fca5a5;
  border: 1px solid rgba(248, 113, 113, 0.35);
}

.script-error {
  background: rgba(248, 113, 113, 0.2);
  color: #fecaca;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  margin: 1rem 0;
  font-size: 0.9rem;
}

.contact-layout {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: 1fr 1fr;
  align-items: start;
}

.contact-block h2 { font-size: 1.15rem; }

.pricing-table {
  width: 100%;
  border-collapse: collapse;
}

.pricing-table th,
.pricing-table td {
  padding: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  text-align: left;
}

.pricing-table th { color: #f8fafc; }

.review-card {
  padding: 1.5rem 1.75rem;
  margin-bottom: 1.25rem;
}

.review-card cite {
  display: block;
  margin-top: 1rem;
  font-style: normal;
  font-size: 0.9rem;
  color: #94a3b8;
}

.case-study {
  padding: 2rem;
  margin: 2rem 0;
}

.blog-list article {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 1.5rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  align-items: start;
}

.blog-list img {
  border-radius: 12px;
  aspect-ratio: 4/3;
  object-fit: cover;
  width: 100%;
}

.blog-list h2 { font-size: 1.35rem; margin: 0 0 0.5rem; }

.blog-list h2 a {
  color: #f8fafc;
  text-decoration: none;
}

.blog-list h2 a:hover { color: var(--emerald-400); }

.meta { font-size: 0.85rem; color: #94a3b8; }

.article-header { margin-bottom: 2rem; }

.article-header img {
  width: 100%;
  max-height: 360px;
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: 1.5rem;
}

.process-steps {
  counter-reset: step;
  list-style: none;
  padding: 0;
  margin: 0;
}

.process-steps li {
  position: relative;
  padding: 1.5rem 1.5rem 1.5rem 4rem;
  margin-bottom: 1rem;
  counter-increment: step;
}

.process-steps li::before {
  content: counter(step);
  position: absolute;
  left: 1.25rem;
  top: 1.35rem;
  width: 2rem;
  height: 2rem;
  line-height: 2rem;
  text-align: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--violet-600), var(--emerald-500));
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
}

.team-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}

.team-member img {
  border-radius: var(--radius);
  aspect-ratio: 3/4;
  object-fit: cover;
  margin-bottom: 1rem;
  border: 1px solid var(--glass-border);
}

.error-page {
  text-align: center;
  padding: 5rem 1.25rem;
}

.error-page h1 { font-size: 4rem; margin-bottom: 0.5rem; }

#cookie-banner {
  position: fixed;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  z-index: 200;
  max-width: 520px;
  margin: 0 auto;
  padding: 1.25rem 1.5rem;
  display: none;
  animation: slideUp 0.4s ease;
}

#cookie-banner.is-visible { display: block; }

@keyframes slideUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.cookie-banner-inner p {
  margin: 0 0 1rem;
  font-size: 0.9rem;
  color: #e2e8f0;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.cookie-actions .btn { font-size: 0.85rem; padding: 0.5rem 1rem; }

@media (max-width: 900px) {
  .hero-home-inner,
  .contact-layout,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid { grid-template-columns: 1fr 1fr; }

  .blog-list article { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .nav-toggle { display: flex; }

  .primary-nav {
    position: absolute;
    top: calc(var(--header-h) + 0.5rem);
    left: 1rem;
    right: 1rem;
    display: none;
    padding: 1rem;
  }

  .primary-nav.is-open {
    display: block;
  }

  .primary-nav .nav-list {
    flex-direction: column;
    align-items: stretch;
  }

  .site-header { position: relative; }
}
