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

:root {
  --bg: #080808;
  --bg-soft: #111111;
  --bg-panel: rgba(255, 255, 255, 0.03);
  --bg-panel-strong: rgba(255, 255, 255, 0.05);
  --line: rgba(255, 255, 255, 0.1);
  --line-strong: rgba(255, 255, 255, 0.18);
  --text: #ffffff;
  --muted: #a6a6a6;
  --muted-soft: #777777;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --container: 1200px;
}

html {
  scroll-behavior: smooth;
}

body {
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.04), transparent 28%),
    radial-gradient(circle at left center, rgba(255, 255, 255, 0.03), transparent 24%),
    var(--bg);
  color: var(--text);
  font-family: "Inter", sans-serif;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(circle at center, black 30%, transparent 85%);
  pointer-events: none;
  z-index: -1;
}

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

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

button,
input,
textarea {
  font: inherit;
}

.container {
  width: min(90%, var(--container));
  margin: 0 auto;
}

.site-shell {
  min-height: 100vh;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(12px);
  background: rgba(8, 8, 8, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
}

.logo {
  width: 150px;
  opacity: 0.94;
}

.nav-wrap {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text);
  cursor: pointer;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 999px;
  position: relative;
  transition: 0.3s ease;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle span::before {
  top: -6px;
}

.nav-toggle span::after {
  top: 6px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-nav a {
  color: var(--muted);
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 0.95rem;
  transition: 0.3s ease;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 28px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  cursor: pointer;
  transition: 0.3s ease;
  backdrop-filter: blur(6px);
}

.btn:hover {
  transform: translateY(-2px);
  background: #ffffff;
  color: #000000;
}

.btn:disabled {
  opacity: 0.72;
  cursor: wait;
  transform: none;
}

.btn-primary {
  background: #ffffff;
  color: #000000;
  border-color: #ffffff;
}

.btn-primary:hover {
  background: transparent;
  color: #ffffff;
}

.btn-ghost {
  background: transparent;
}

.hero,
.page-hero {
  position: relative;
  min-height: calc(100vh - 94px);
  display: flex;
  align-items: center;
  padding: 80px 0 64px;
}

.hero::before,
.page-hero::before {
  content: "";
  position: absolute;
  right: -4%;
  top: 50%;
  transform: translateY(-50%);
  width: min(42vw, 620px);
  height: min(42vw, 620px);
  background: url("img/logo-icon.png") no-repeat center;
  background-size: contain;
  opacity: 0.04;
  pointer-events: none;
}

.hero-grid,
.page-hero-grid,
.split-grid,
.cards-grid,
.proof-grid,
.pricing-grid,
.contact-grid,
.compare-grid,
.footer-grid {
  display: grid;
  gap: 28px;
}

.hero-grid,
.page-hero-grid {
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  align-items: center;
}

.hero-copy,
.page-hero-copy {
  max-width: 700px;
  position: relative;
  z-index: 2;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  margin-bottom: 24px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.74rem;
  font-weight: 700;
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ffffff;
}

.hero-logo {
  width: 170px;
  margin-bottom: 30px;
  opacity: 0.9;
}

h1,
h2,
h3 {
  font-family: "Playfair Display", serif;
  font-weight: 700;
  letter-spacing: -0.03em;
}

h1 {
  font-size: clamp(3.3rem, 6vw, 5.4rem);
  line-height: 1.02;
  margin-bottom: 24px;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.06;
  margin-bottom: 16px;
}

h3 {
  font-size: 1.55rem;
  margin-bottom: 16px;
}

p {
  color: var(--muted);
  line-height: 1.75;
}

.lead {
  font-size: 1.08rem;
  max-width: 620px;
}

.hero-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.hero-panel,
.panel,
.cta-panel {
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.hero-panel,
.panel {
  padding: 34px;
}

.logo-stage {
  position: relative;
  min-height: 420px;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.logo-stage::before {
  content: "";
  position: absolute;
  inset: 8% 10%;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.05), transparent 60%);
}

.logo-stage img {
  width: min(100%, 430px);
  position: relative;
  z-index: 1;
}

.mini-stack {
  display: grid;
  gap: 16px;
}

.mini-card {
  padding: 18px 20px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.mini-card strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1.35rem;
  font-family: "Playfair Display", serif;
}

.section {
  padding: 120px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.section-head {
  max-width: 760px;
  margin-bottom: 46px;
}

.section-head p {
  max-width: 640px;
}

.cards-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.card {
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 34px;
  border-radius: var(--radius-md);
  transition: 0.3s ease;
  background: rgba(255, 255, 255, 0.025);
}

.card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, 0.2);
}

.card-label {
  display: inline-flex;
  padding: 8px 12px;
  margin-bottom: 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.list {
  display: grid;
  gap: 12px;
  list-style: none;
}

.list li {
  display: flex;
  gap: 12px;
  color: var(--muted);
}

.list li::before {
  content: "";
  width: 8px;
  height: 8px;
  margin-top: 10px;
  border-radius: 50%;
  background: #ffffff;
  flex: 0 0 8px;
}

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

.stat-card {
  padding: 34px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.stat-card strong {
  display: block;
  margin-bottom: 10px;
  font-size: 2.6rem;
  font-family: "Playfair Display", serif;
}

.pricing-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
}

.price-card {
  padding: 36px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.025);
}

.price-card.featured {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
  border-color: rgba(255, 255, 255, 0.2);
}

.price-tag {
  display: inline-flex;
  padding: 8px 12px;
  margin-bottom: 20px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.76rem;
}

.price-value {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  margin: 22px 0 10px;
}

.price-value strong {
  font-family: "Playfair Display", serif;
  font-size: 3rem;
  line-height: 1;
}

.price-value span,
.price-note {
  color: var(--muted);
}

.table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-md);
}

table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
}

th,
td {
  padding: 18px 20px;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

th {
  color: #ffffff;
  font-family: "Playfair Display", serif;
  font-size: 1.05rem;
}

.timeline {
  display: grid;
  gap: 18px;
}

.timeline-item {
  padding: 28px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.025);
}

.timeline-item span {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.76rem;
}

.case-card {
  display: grid;
  gap: 24px;
}

.case-media {
  padding: 24px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(circle at top, rgba(255, 255, 255, 0.05), transparent 60%),
    rgba(255, 255, 255, 0.025);
}

.before-after {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.compare-box {
  padding: 22px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
}

.compare-box strong {
  display: block;
  margin-bottom: 12px;
}

.contact-grid {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.8fr);
}

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

.field-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.field {
  display: grid;
  gap: 10px;
}

.field label {
  color: var(--text);
  font-size: 0.94rem;
}

.field input,
.field textarea {
  width: 100%;
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
}

.field textarea {
  min-height: 170px;
  resize: vertical;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.26);
}

.form-feedback {
  min-height: 24px;
  font-size: 0.95rem;
  line-height: 1.5;
}

.form-feedback.is-success {
  color: #c8ffd0;
}

.form-feedback.is-warning {
  color: #ffe3a3;
}

.form-feedback.is-error {
  color: #ffb8b8;
}

.cta-panel {
  padding: 42px;
}

.cta-panel h2,
.cta-panel p {
  max-width: 680px;
}

.site-footer {
  padding: 40px 0 60px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
  grid-template-columns: minmax(0, 1.2fr) repeat(2, minmax(0, 0.8fr));
  align-items: start;
}

.footer-col {
  display: grid;
  gap: 14px;
}

.footer-col h3 {
  font-size: 1.2rem;
  margin-bottom: 2px;
}

.footer-links {
  display: grid;
  gap: 10px;
}

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

.footer-links a:hover {
  color: var(--text);
}

.footer-note {
  color: var(--muted-soft);
  font-size: 0.95rem;
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  filter: blur(8px);
  transition: opacity 0.8s ease, transform 0.8s ease, filter 0.8s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

@media (max-width: 980px) {
  .hero-grid,
  .page-hero-grid,
  .contact-grid,
  .footer-grid,
  .pricing-grid,
  .proof-grid,
  .compare-grid,
  .cards-grid,
  .cards-grid.two {
    grid-template-columns: 1fr;
  }

  .hero,
  .page-hero {
    min-height: auto;
    padding: 60px 0;
  }

  .hero::before,
  .page-hero::before {
    opacity: 0.025;
    width: 440px;
    height: 440px;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 14px;
    border-radius: 22px;
    border: 1px solid var(--line);
    background: rgba(12, 12, 12, 0.96);
  }

  .nav-wrap.is-open .site-nav {
    display: flex;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
}

@media (max-width: 720px) {
  .container {
    width: min(92%, var(--container));
  }

  .header-inner {
    padding: 18px 0;
  }

  .logo {
    width: 134px;
  }

  h1 {
    font-size: 2.7rem;
  }

  h2 {
    font-size: 2rem;
  }

  .section {
    padding: 86px 0;
  }

  .hero-panel,
  .panel,
  .cta-panel,
  .card,
  .price-card,
  .stat-card,
  .timeline-item {
    padding: 26px;
  }

  .field-row,
  .before-after {
    grid-template-columns: 1fr;
  }

  .hero-actions,
  .cta-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn,
  .cta-actions .btn,
  .form .btn {
    width: 100%;
  }

  .hero-logo {
    width: 136px;
  }
}
