:root {
  --bg: #16181d;
  --panel: rgba(33, 37, 44, 0.82);
  --panel-strong: rgba(22, 25, 31, 0.96);
  --stroke: rgba(232, 222, 198, 0.12);
  --muted: #c8bfb3;
  --text: #f5f0e7;
  --gold: #d8ba73;
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.32);
  --radius: 26px;
  --radius-sm: 18px;
  --container: 1180px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Sora", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(216, 186, 115, 0.16), transparent 32%),
    radial-gradient(circle at 82% 14%, rgba(93, 124, 179, 0.12), transparent 24%),
    linear-gradient(180deg, #232933, #181c23 28%, #121419 100%);
  overflow-x: hidden;
  position: relative;
}

.ambient,
.grid-noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

.ambient-a {
  background: radial-gradient(circle at 18% 12%, rgba(212, 175, 88, 0.18), transparent 24%);
  animation: driftA 16s ease-in-out infinite alternate;
}

.ambient-b {
  background: radial-gradient(circle at 78% 20%, rgba(92, 150, 255, 0.14), transparent 20%);
  animation: driftB 18s ease-in-out infinite alternate;
}

.grid-noise {
  opacity: 0.18;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(to bottom, transparent, black 16%, black 84%, transparent);
}

.container {
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(18px);
  background: rgba(16, 19, 24, 0.78);
  border-bottom: 1px solid rgba(232, 222, 198, 0.08);
}

.topbar {
  min-height: 96px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0;
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  flex-shrink: 0;
}

.brand img {
  object-fit: contain;
  display: block;
}

.site-header .brand img {
  width: auto;
  height: 72px;
  max-width: 360px;
}

.footer-brand img {
  width: auto;
  height: 56px;
  max-width: 240px;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 1.6vw, 24px);
  flex: 1 1 auto;
  min-width: 0;
}

.nav a,
.footer-links a,
.text-link {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.nav a {
  white-space: nowrap;
  line-height: 1.08;
  font-size: 0.98rem;
  text-align: center;
}

.nav a:hover,
.nav a.is-active,
.footer-links a:hover,
.text-link:hover {
  color: var(--text);
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--stroke);
}

.lang-switch a,
.lang-switch span {
  min-width: 40px;
  padding: 8px 12px;
  border-radius: 999px;
  text-align: center;
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.lang-switch a:hover,
.lang-switch a.is-active,
.lang-switch span.is-active {
  color: #1f170b;
  background: linear-gradient(135deg, #ecd39a, #c89b47);
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.topbar-actions .btn {
  white-space: nowrap;
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  padding: 0;
  border-radius: 14px;
  border: 1px solid var(--stroke);
  background: rgba(255, 255, 255, 0.04);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.menu-toggle span {
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: var(--text);
}

.section {
  padding: 96px 0;
}

.section-tight {
  padding: 24px 0 10px;
}

.hero {
  padding-top: 72px;
}

.hero-grid,
.page-hero-grid,
.split-section,
.contact-grid,
.detail-card-large,
.proof-grid,
.feature-grid,
.pricing-grid,
.compare-grid,
.footer-grid {
  display: grid;
  gap: 22px;
}

.hero-grid,
.page-hero-grid {
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
}

.split-section,
.contact-grid {
  grid-template-columns: 0.98fr 1.02fr;
  align-items: center;
}

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

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

.footer-grid {
  grid-template-columns: 1.4fr 0.8fr 0.8fr;
}

.eyebrow {
  margin: 0 0 12px;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--gold);
}

h1,
h2 {
  font-family: "Cormorant Garamond", serif;
  line-height: 0.92;
  letter-spacing: -0.04em;
  margin: 0 0 18px;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.85rem, 5.9vw, 5.15rem);
}

h2 {
  font-size: clamp(1.95rem, 3.8vw, 3.15rem);
}

h3 {
  margin: 0 0 12px;
  font-size: 1.14rem;
}

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

.hero-text {
  max-width: 58ch;
  font-size: 1.02rem;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

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

.btn-primary {
  color: #1f170b;
  background: linear-gradient(135deg, #ecd39a, #c89b47);
  box-shadow: 0 18px 44px rgba(216, 186, 115, 0.24);
}

.btn-secondary,
.btn-ghost {
  color: var(--text);
  background: rgba(255, 255, 255, 0.035);
  border-color: var(--stroke);
}

.btn-full {
  width: 100%;
}

.bullet-list,
.step-list {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}

.bullet-list li,
.step-list li {
  margin-bottom: 10px;
  line-height: 1.65;
}

.compact-list li {
  margin-bottom: 8px;
}

.screen-stack {
  position: relative;
  min-height: 620px;
}

.screen-card,
.proof-card,
.feature-card,
.detail-card,
.price-card,
.compare-card,
.contact-panel,
.contact-card,
.cta-panel,
.thank-you-card {
  background: var(--panel);
  border: 1px solid var(--stroke);
  box-shadow: var(--shadow);
}

.screen-card {
  border-radius: calc(var(--radius) + 6px);
  padding: 18px;
  backdrop-filter: blur(10px);
}

.screen-main {
  position: relative;
  z-index: 2;
}

.screen-floating {
  position: absolute;
  right: -12px;
  bottom: 26px;
  width: min(76%, 420px);
  z-index: 3;
}

.screen-topline {
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--gold);
}

.media-shot {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid rgba(232, 222, 198, 0.08);
  background:
    radial-gradient(circle at top, rgba(216, 186, 115, 0.16), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015));
}

.medium-shot {
  min-height: 300px;
}

.compact-shot {
  min-height: 220px;
}

.media-shot img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  background: #0d0e11;
}

.media-shot.is-empty {
  display: grid;
  place-items: center;
}

.media-shot.is-empty::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.01)),
    repeating-linear-gradient(
      45deg,
      rgba(255, 255, 255, 0.03),
      rgba(255, 255, 255, 0.03) 16px,
      rgba(255, 255, 255, 0.015) 16px,
      rgba(255, 255, 255, 0.015) 32px
    );
}

.shot-placeholder {
  position: relative;
  z-index: 1;
  width: min(72%, 340px);
  padding: 22px;
  text-align: center;
  border-radius: 22px;
  background: rgba(21, 26, 33, 0.84);
  border: 1px dashed rgba(212, 175, 88, 0.42);
}

.shot-placeholder strong {
  display: block;
  margin-bottom: 6px;
  color: var(--text);
  letter-spacing: 0.12em;
}

.shot-placeholder span {
  color: var(--muted);
  font-size: 0.92rem;
}

.proof-card,
.feature-card,
.compare-card,
.contact-card {
  border-radius: var(--radius-sm);
  padding: 24px;
  backdrop-filter: blur(10px);
}

.proof-card strong {
  display: block;
  margin-bottom: 8px;
}

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

.section-heading p,
.footer-copy,
.form-note {
  max-width: 62ch;
}

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

.detail-card {
  border-radius: calc(var(--radius) + 2px);
  padding: 28px;
  backdrop-filter: blur(10px);
}

.detail-card-large {
  grid-template-columns: 1fr 0.94fr;
  align-items: center;
}

.detail-card-large.reverse .detail-copy {
  order: 2;
}

.detail-card-large.reverse .screen-card {
  order: 1;
}

.inset-card {
  background: rgba(14, 16, 21, 0.94);
}

.shot-grid {
  display: grid;
  gap: 20px;
}

.cta-panel,
.compare-panel {
  border-radius: calc(var(--radius) + 6px);
  padding: 30px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.015)),
    rgba(31, 35, 42, 0.82);
  border: 1px solid rgba(216, 186, 115, 0.14);
  box-shadow: var(--shadow);
}

.cta-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.price-card {
  border-radius: calc(var(--radius) + 2px);
  padding: 30px;
  backdrop-filter: blur(10px);
}

.price-card.featured {
  background: linear-gradient(180deg, rgba(216, 186, 115, 0.18), rgba(28, 33, 39, 0.96));
  border-color: rgba(216, 186, 115, 0.32);
}

.price-tag {
  margin: 0 0 18px;
  font-size: 1.58rem;
  font-weight: 700;
  color: var(--text);
}

.contact-panel {
  border-radius: calc(var(--radius) + 2px);
  padding: 30px;
  backdrop-filter: blur(10px);
}

.contact-aside {
  display: grid;
  gap: 18px;
}

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

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

.contact-form span {
  color: var(--text);
  font-size: 0.92rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 14px 16px;
  font: inherit;
  color: var(--text);
  background: rgba(255, 255, 255, 0.035);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: rgba(212, 175, 88, 0.55);
  box-shadow: 0 0 0 4px rgba(212, 175, 88, 0.08);
}

.form-note {
  margin: 0;
  font-size: 0.88rem;
}

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

.footer-brand {
  margin-bottom: 12px;
}

.footer-copy {
  max-width: 48ch;
}

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

.footer-links h3 {
  margin: 0 0 8px;
  font-size: 0.96rem;
}

.footer-bottom {
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--muted);
  font-size: 0.88rem;
}

.thank-you-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 40px 20px;
}

.thank-you-card {
  width: min(720px, 100%);
  border-radius: calc(var(--radius) + 8px);
  padding: 40px;
  text-align: center;
}

.thank-you-logo {
  width: 98px;
  height: 98px;
  object-fit: contain;
  margin-bottom: 14px;
}

code {
  font-family: Consolas, "Courier New", monospace;
  font-size: 0.92em;
  color: var(--text);
}

.admin-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  align-items: start;
}

.admin-panel,
.admin-key-panel {
  border-radius: calc(var(--radius) + 2px);
  padding: 24px;
}

.admin-grid .admin-panel:nth-of-type(1),
.admin-grid .admin-panel:nth-of-type(2) {
  grid-column: span 6;
}

.admin-grid .admin-panel:nth-of-type(3) {
  grid-column: span 12;
}

.admin-panel-wide {
  grid-column: span 12;
}

.admin-heading-tight {
  margin-bottom: 10px;
}

.admin-panel h2,
.admin-key-panel h2 {
  font-size: clamp(2rem, 2.8vw, 3.4rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
}

.admin-inline-form {
  gap: 12px;
}

.admin-inline-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.admin-inline-field {
  display: inline-grid;
  gap: 6px;
  min-width: 180px;
}

.admin-inline-field span {
  font-size: 0.84rem;
  color: var(--muted);
}

.admin-inline-field input {
  max-width: 170px;
}

.admin-inline-actions .btn {
  padding: 11px 16px;
}

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

.admin-form-grid > label,
.admin-inline-form > label,
.admin-key-panel label {
  min-width: 0;
}

.admin-form-grid input,
.admin-form-grid select,
.admin-inline-form input,
.admin-inline-form select {
  min-width: 0;
}

.admin-features {
  margin: 2px 0 0;
  padding: 12px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.admin-features legend {
  padding: 0 6px;
  color: var(--muted);
  font-size: 0.86rem;
}

.admin-checkline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.admin-checkline input[type="checkbox"] {
  width: 16px;
  height: 16px;
}

.admin-feedback {
  min-height: 20px;
}

.admin-feedback.is-ok {
  color: #8ddf9f;
}

.admin-feedback.is-error {
  color: #f2a1a1;
}

.admin-feedback.is-busy {
  color: #d8ba73;
}

.admin-result {
  margin: 0;
  min-height: 146px;
  max-height: 280px;
  overflow: auto;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(11, 14, 19, 0.84);
  color: #e6e6e6;
  padding: 12px;
  font-family: Consolas, "Courier New", monospace;
  font-size: 0.84rem;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.admin-catalog-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr;
}

.admin-catalog-card {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 12px;
  background: rgba(10, 13, 18, 0.52);
}

.admin-catalog-card h3 {
  margin-bottom: 10px;
}

.admin-table-wrap {
  overflow: auto;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
  font-size: 0.84rem;
}

.admin-table th,
.admin-table td {
  text-align: left;
  vertical-align: top;
  padding: 9px 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.admin-table th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: rgba(8, 11, 15, 0.95);
  color: var(--gold);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.75rem;
}

.admin-table tbody tr:last-child td {
  border-bottom: none;
}

.admin-table td code {
  font-size: 0.82rem;
}

@keyframes driftA {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }
  to {
    transform: translate3d(20px, 30px, 0) scale(1.06);
  }
}

@keyframes driftB {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }
  to {
    transform: translate3d(-20px, 20px, 0) scale(1.08);
  }
}

@media (max-width: 1080px) {
  .hero-grid,
  .page-hero-grid,
  .split-section,
  .contact-grid,
  .detail-card-large,
  .proof-grid,
  .feature-grid,
  .pricing-grid,
  .compare-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .detail-card-large.reverse .detail-copy,
  .detail-card-large.reverse .screen-card {
    order: initial;
  }

  .screen-stack {
    min-height: 0;
  }

  .screen-floating {
    position: relative;
    right: 0;
    bottom: 0;
    width: 100%;
    margin-top: 20px;
  }

  .cta-panel {
    flex-direction: column;
    align-items: flex-start;
  }

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

  .admin-grid .admin-panel:nth-of-type(1),
  .admin-grid .admin-panel:nth-of-type(2),
  .admin-grid .admin-panel:nth-of-type(3) {
    grid-column: auto;
  }
}

@media (max-width: 860px) {
  .topbar {
    min-height: 88px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 10px;
  }

  .topbar-actions {
    order: 2;
    justify-self: end;
    gap: 8px;
  }

  .menu-toggle {
    display: inline-flex;
    order: 3;
    justify-self: end;
  }

  .nav {
    position: absolute;
    top: 96px;
    left: 20px;
    right: 20px;
    padding: 18px;
    border-radius: 20px;
    background: rgba(8, 8, 10, 0.94);
    border: 1px solid var(--stroke);
    box-shadow: var(--shadow);
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

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

  .site-header .brand img {
    height: 58px;
    max-width: min(54vw, 260px);
  }

  .topbar-actions .btn {
    display: none;
  }

  .lang-switch a,
  .lang-switch span {
    min-width: 36px;
    padding: 7px 10px;
  }

  .nav a {
    font-size: 1rem;
  }

  .media-shot {
    min-height: 300px;
  }

  .medium-shot {
    min-height: 240px;
  }
}

@media (max-width: 580px) {
  .container {
    width: min(var(--container), calc(100% - 26px));
  }

  .section {
    padding: 74px 0;
  }

  h1 {
    font-size: clamp(2.6rem, 12vw, 4rem);
  }

  h2 {
    font-size: clamp(2rem, 9vw, 3rem);
  }

  .screen-card,
  .price-card,
  .contact-panel,
  .detail-card,
  .thank-you-card {
    padding: 18px;
  }

  .btn {
    width: 100%;
  }

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

  .topbar {
    min-height: 74px;
    gap: 8px;
  }

  .site-header .brand img {
    height: 48px;
    max-width: min(56vw, 190px);
  }

  .footer-brand img {
    height: 48px;
    max-width: 180px;
  }

  .topbar-actions {
    gap: 6px;
  }

  .lang-switch {
    gap: 4px;
    padding: 4px;
  }

  .lang-switch a,
  .lang-switch span {
    min-width: 32px;
    padding: 6px 8px;
    font-size: 0.72rem;
  }

  .nav {
    top: 82px;
    left: 13px;
    right: 13px;
    padding: 16px;
  }

  .admin-form-grid,
  .admin-features {
    grid-template-columns: 1fr;
  }
}
