:root {
  --bg: #050816;
  --bg-secondary: #081024;
  --bg-elevated: rgba(9, 16, 33, 0.78);
  --panel: rgba(14, 22, 42, 0.72);
  --card: rgba(255, 255, 255, 0.07);
  --line: rgba(255, 255, 255, 0.1);
  --line-strong: rgba(255, 255, 255, 0.16);
  --text: #f7f9fd;
  --muted: rgba(247, 249, 253, 0.72);
  --accent: #77c1ff;
  --accent-strong: #0a84ff;
  --accent-soft: rgba(119, 193, 255, 0.16);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
  --surface-highlight: linear-gradient(180deg, rgba(255,255,255,0.18), rgba(255,255,255,0.06) 20%, rgba(255,255,255,0.02) 56%, rgba(255,255,255,0.02));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(83, 138, 255, 0.12), transparent 26%),
    radial-gradient(circle at 85% 10%, rgba(97, 194, 255, 0.1), transparent 20%),
    linear-gradient(180deg, #071022 0%, #050816 40%, #04070f 100%);
}

a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }

.page-glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  filter: blur(110px);
  opacity: 0.38;
}

.glow-a {
  inset: -14% auto auto -10%;
  width: 34rem;
  height: 34rem;
  background: rgba(23, 124, 255, 0.18);
}

.glow-b {
  inset: auto -12% 0 auto;
  width: 30rem;
  height: 30rem;
  background: rgba(122, 197, 255, 0.1);
}

.shell {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.glass-panel,
.glass-card,
.glass-tile,
.service-card,
.price-card,
.perk-card,
.nav,
.lang-switch,
.contact-form input,
.contact-form textarea,
.floating-whatsapp {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  backdrop-filter: blur(24px) saturate(140%);
  -webkit-backdrop-filter: blur(24px) saturate(140%);
}

.glass-panel::before,
.glass-card::before,
.glass-tile::before,
.service-card::before,
.price-card::before,
.perk-card::before,
.nav::before,
.lang-switch::before,
.contact-form input::before,
.contact-form textarea::before,
.floating-whatsapp::before,
.liquid-target::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: var(--surface-highlight);
  pointer-events: none;
}

.glass-panel::after,
.glass-card::after,
.glass-tile::after,
.service-card::after,
.price-card::after,
.perk-card::after,
.nav::after,
.lang-switch::after,
.contact-form input::after,
.contact-form textarea::after,
.floating-whatsapp::after,
.liquid-target::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255,255,255,0.08), transparent 45%, transparent 72%, rgba(255,255,255,0.03));
  opacity: 0;
  transition: opacity 0.28s ease;
  pointer-events: none;
}

:where(.liquid-target, .nav a, .lang-switch button, .btn, .service-card, .price-card, .perk-card, .floating-whatsapp, .contact-form input, .contact-form textarea) {
  transition:
    transform 0.38s cubic-bezier(.22,1,.36,1),
    border-color 0.3s ease,
    box-shadow 0.3s ease,
    background 0.3s ease;
}

:where(.liquid-target, .nav a, .lang-switch button, .btn, .service-card, .price-card, .perk-card, .floating-whatsapp, .contact-form input, .contact-form textarea).is-hovered {
  transform: translateY(-2px);
  border-color: var(--line-strong);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.34), inset 0 1px 0 rgba(255,255,255,0.08);
}

:where(.liquid-target, .nav a, .lang-switch button, .btn, .service-card, .price-card, .perk-card, .floating-whatsapp, .contact-form input, .contact-form textarea).is-hovered::after,
.nav.is-hovered::after,
.lang-switch.is-hovered::after {
  opacity: 1;
}

.glass-panel,
.hero-copy,
.hero-showcase,
.contact-layout { border-radius: 34px; }
.glass-card,
.glass-tile,
.service-card,
.price-card,
.perk-card,
.nav,
.lang-switch,
.contact-form input,
.contact-form textarea,
.floating-whatsapp { border-radius: 26px; }

.site-header {
  padding-top: 18px;
  position: sticky;
  top: 0;
  z-index: 10;
}

.header-shell {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 14px 16px;
  background: color-mix(in srgb, var(--bg-elevated) 88%, transparent);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: rgba(247, 249, 253, 0.94);
}

.brand img {
  width: 34px;
  height: 34px;
}

.nav {
  display: inline-flex;
  justify-self: center;
  gap: 10px;
  padding: 10px;
  background: rgba(255,255,255,0.05);
}

.nav a,
.lang-switch button,
.btn,
.theme-toggle {
  border: 0;
  background: transparent;
  color: var(--muted);
  padding: 12px 18px;
  border-radius: 18px;
  cursor: pointer;
  font-weight: 600;
}

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

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

.lang-switch {
  display: inline-flex;
  gap: 8px;
  padding: 10px;
  background: rgba(255,255,255,0.05);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.88fr);
  gap: 20px;
  padding: 28px 0 8px;
}

.hero-copy,
.hero-showcase,
.contact-layout {
  padding: 40px;
}

.hero-copy {
  min-height: 720px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background:
    radial-gradient(circle at 18% 0%, rgba(255,255,255,0.08), transparent 36%),
    linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0));
}

.pill,
.section-kicker {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  font-size: 0.95rem;
  color: var(--muted);
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.05);
}

.hero h1 {
  margin: 24px 0 0;
  font-size: clamp(4rem, 8vw, 6.5rem);
  line-height: 0.9;
  letter-spacing: -0.07em;
  max-width: 8ch;
}

.hero-subtitle,
.section-heading p,
.contact-copy p,
.pricing-note,
.form-status {
  color: var(--muted);
  font-size: clamp(1.06rem, 1.6vw, 1.18rem);
  line-height: 1.6;
}

.hero-subtitle {
  max-width: 34rem;
  margin: 24px 0 0;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--text);
  font-weight: 700;
}

.btn-primary {
  color: white;
  background: linear-gradient(135deg, #0A84FF, #64C6FF);
  box-shadow: 0 18px 40px rgba(10, 132, 255, 0.26);
}

.btn-secondary {
  background: rgba(255,255,255,0.05);
}

.hero-showcase {
  min-height: 720px;
}

.showcase-window {
  height: 100%;
  padding: 20px;
  background: rgba(255,255,255,0.04);
}

.window-topbar {
  display: flex;
  gap: 8px;
  padding: 4px 0 18px;
}

.window-topbar span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255,255,255,0.16);
}

.showcase-stack,
.card-grid,
.pricing-grid,
.perk-grid {
  display: grid;
  gap: 18px;
}

.showcase-stack {
  grid-template-columns: 1fr 1fr;
}

.showcase-card,
.service-card,
.price-card,
.perk-card {
  padding: 22px;
  background: rgba(255,255,255,0.045);
}

.stat-card strong,
.price-card strong,
.perk-card h3,
.service-card h3,
.info-value {
  display: block;
  margin-top: 10px;
  font-size: clamp(1.45rem, 2vw, 2rem);
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.stat-card span,
.price-card span,
.service-card p,
.perk-card p,
.info-label,
.pricing-preview-title,
.section-kicker {
  color: var(--muted);
}

.pricing-showcase {
  grid-column: 1 / -1;
}

.pricing-preview-head {
  margin-bottom: 14px;
}

.pricing-preview-title {
  margin: 0 0 8px;
  font-weight: 600;
}

.pricing-preview-text {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.pricing-preview-list {
  display: grid;
  gap: 12px;
}

.price-inline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255,255,255,0.04);
}

.price-inline strong {
  margin: 0;
  font-size: 1.25rem;
}

.section {
  padding: 110px 0 0;
}

.section-heading {
  max-width: 46rem;
  margin-bottom: 28px;
}

.section-heading h2,
.contact-copy h2 {
  margin: 16px 0 12px;
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  line-height: 1;
  letter-spacing: -0.05em;
}

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

.service-card {
  min-height: 240px;
}

.service-card p,
.perk-card p,
.contact-form label span,
.pricing-note {
  font-size: 1rem;
  line-height: 1.6;
}

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

.price-card {
  min-height: 220px;
}

.price-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.price-top strong {
  margin: 0;
}

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

.perk-card {
  min-height: 210px;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 24px;
}

.contact-meta {
  margin-top: 26px;
  display: grid;
  gap: 14px;
  padding: 18px;
}

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

.contact-form label {
  display: grid;
  gap: 10px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 16px 18px;
  color: var(--text);
  background: rgba(255,255,255,0.04);
  border-radius: 20px;
  border: 1px solid var(--line);
  outline: none;
}

.contact-form textarea {
  resize: vertical;
  min-height: 140px;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: rgba(119,193,255,0.36);
  box-shadow: 0 0 0 4px rgba(10,132,255,0.12);
}

.form-status {
  min-height: 24px;
  margin: 0;
}

.form-status[data-type='success'] { color: #7fe3a3; }
.form-status[data-type='error'] { color: #ff9595; }

.site-footer {
  padding: 40px 0 52px;
  color: var(--muted);
  text-align: center;
}

.floating-whatsapp {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 12;
  padding: 15px 18px;
  color: var(--text);
  background: rgba(11, 18, 35, 0.84);
}

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

.reveal-delay {
  transition-delay: 0.08s;
}

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

@media (max-width: 1080px) {
  .header-shell,
  .hero,
  .contact-layout,
  .card-grid,
  .pricing-grid,
  .perk-grid {
    grid-template-columns: 1fr;
  }

  .nav {
    order: 3;
    justify-self: stretch;
    justify-content: space-between;
    overflow-x: auto;
  }

  .header-shell {
    grid-template-columns: 1fr auto;
  }

  .hero-copy,
  .hero-showcase,
  .contact-layout {
    min-height: auto;
    padding: 28px;
  }

  .showcase-stack {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .shell {
    width: min(100% - 20px, 1180px);
  }

  .site-header {
    padding-top: 12px;
  }

  .header-shell {
    padding: 12px;
    gap: 12px;
  }

  .brand span {
    font-size: 0.96rem;
  }

  .nav {
    gap: 6px;
    padding: 8px;
  }

  .nav a,
  .lang-switch button,
  .btn {
    padding: 11px 14px;
    font-size: 0.96rem;
  }

  .hero h1 {
    font-size: clamp(3.1rem, 18vw, 4.4rem);
    max-width: 9ch;
  }

  .hero-copy,
  .hero-showcase,
  .contact-layout,
  .showcase-window {
    padding: 22px;
  }

  .section {
    padding-top: 84px;
  }

  .floating-whatsapp {
    left: 12px;
    right: 12px;
    bottom: 12px;
    text-align: center;
  }
}
