:root {
  --bg-main: #071126;
  --bg-soft: rgba(14, 25, 49, 0.82);
  --bg-card: rgba(21, 32, 58, 0.88);
  --text-main: #f6f3ec;
  --text-soft: #d3d9e8;
  --accent: #ff7a1a;
  --accent-soft: rgba(255, 122, 26, 0.18);
  --line: rgba(255, 255, 255, 0.08);
  --shadow: 0 30px 70px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Avenir Next", "Trebuchet MS", sans-serif;
  color: var(--text-main);
  background:
    radial-gradient(circle at top left, rgba(26, 46, 91, 0.52), transparent 34%),
    linear-gradient(135deg, #040b19 0%, #09142d 55%, #0d1934 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(to right, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 68px 68px;
  opacity: 0.3;
}

.page-shell {
  position: relative;
  width: min(1380px, calc(100% - 40px));
  margin: 0 auto;
  padding: 40px 0;
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.82fr);
  gap: 34px;
  align-items: start;
}

.copy-panel,
.success-card {
  background: linear-gradient(180deg, rgba(8, 16, 34, 0.92), rgba(10, 19, 38, 0.82));
  border: 1px solid var(--line);
  border-radius: 30px;
  box-shadow: var(--shadow);
}

.copy-panel {
  padding: 42px;
}

.eyebrow {
  margin: 0 0 12px;
  color: #ffbf8f;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.76rem;
  font-weight: 700;
}

h1 {
  margin: 0 0 20px;
  font-size: clamp(2.4rem, 4.1vw, 4.4rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
}

h2 {
  margin: 0 0 8px;
  font-size: 1.08rem;
}

p,
label span,
input,
textarea,
.upload-preview {
  font-size: 1.05rem;
  line-height: 1.7;
}

p {
  margin: 0 0 18px;
  color: var(--text-soft);
}

.lead {
  font-size: 1.28rem;
  color: #eef2fb;
}

.quote-card {
  margin: 30px 0;
  padding: 28px 32px;
  background: var(--bg-soft);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-left: 5px solid var(--accent);
  border-radius: 22px;
}

.quote-card p {
  margin: 0;
  font-size: 1.2rem;
  font-style: italic;
  color: #ffd9be;
}

.benefit-list {
  display: grid;
  gap: 16px;
  margin: 0 0 26px;
}

.benefit-item {
  padding: 18px 22px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 18px;
}

.benefit-item p {
  margin: 0;
}

.closing-text {
  margin-bottom: 30px;
  color: #f6f3ec;
}

.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 210px;
  padding: 16px 28px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #ff983f, var(--accent));
  color: #08101f;
  font-size: 1rem;
  font-weight: 800;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  box-shadow: 0 16px 30px rgba(255, 122, 26, 0.3);
  cursor: pointer;
}

.media-panel {
  position: sticky;
  top: 36px;
}

.media-frame {
  position: relative;
  min-height: 760px;
  padding: 18px;
  border-radius: 34px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
  border: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow: var(--shadow);
}

.media-frame::after {
  content: "";
  position: absolute;
  top: 22px;
  right: -10px;
  width: 10px;
  height: calc(100% - 44px);
  border-radius: 999px;
  background: var(--accent);
}

.tall-frame {
  min-height: 880px;
}

.media-placeholder {
  display: grid;
  place-items: center;
  gap: 10px;
  min-height: 100%;
  border-radius: 26px;
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 122, 26, 0.28), transparent 24%),
    radial-gradient(circle at 80% 75%, rgba(255, 255, 255, 0.08), transparent 22%),
    linear-gradient(160deg, rgba(12, 24, 46, 0.78), rgba(4, 9, 20, 0.96));
  text-align: center;
  padding: 24px;
}

.media-image {
  display: block;
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  object-position: center top;
  border-radius: 26px;
}

.media-placeholder span {
  font-size: 2rem;
  font-weight: 800;
}

.media-placeholder small {
  color: #f8d5bc;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.form-panel {
  padding-bottom: 34px;
}

.vip-form {
  display: grid;
  gap: 20px;
  margin-top: 26px;
}

.vip-form label,
.upload-card {
  display: grid;
  gap: 10px;
}

.vip-form label span,
.upload-card span {
  color: #f3efe7;
  font-weight: 700;
  letter-spacing: 0.02em;
}

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

input:focus,
textarea:focus {
  border-color: rgba(255, 122, 26, 0.75);
  box-shadow: 0 0 0 4px rgba(255, 122, 26, 0.14);
}

textarea {
  resize: vertical;
}

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

.upload-card {
  padding: 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 24px;
}

.upload-card input[type="file"] {
  padding: 10px 0;
  border: 0;
  background: transparent;
}

.upload-preview {
  display: grid;
  place-items: center;
  min-height: 220px;
  border-radius: 20px;
  border: 1px dashed rgba(255, 255, 255, 0.14);
  background: rgba(5, 12, 24, 0.65);
  color: #cbd3e5;
  overflow: hidden;
  text-align: center;
  padding: 12px;
}

.upload-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 14px;
}

.submit-button {
  width: 100%;
  min-height: 64px;
  margin-top: 10px;
}

.submit-button[disabled] {
  opacity: 0.7;
  cursor: wait;
}

.form-status {
  min-height: 30px;
  margin: 4px 0 0;
  color: #ffd2b3;
}

.form-status.is-error {
  color: #ff9f9f;
}

.form-status.is-success {
  color: #b7f0c1;
}

.success-shell {
  min-height: calc(100vh - 80px);
  display: grid;
  place-items: center;
}

.success-card {
  width: min(760px, 100%);
  padding: 56px 44px;
  text-align: center;
}

.success-card p {
  margin-left: auto;
  margin-right: auto;
  max-width: 620px;
}

.success-tick {
  display: grid;
  place-items: center;
  width: 152px;
  height: 152px;
  margin: 0 auto 28px;
  border-radius: 50%;
  background: radial-gradient(circle at top, #ffb171, var(--accent));
  box-shadow: 0 18px 42px rgba(255, 122, 26, 0.28);
}

.success-tick span {
  width: 44px;
  height: 76px;
  border-right: 10px solid #071126;
  border-bottom: 10px solid #071126;
  transform: rotate(45deg) translate(-4px, -6px);
}

@media (max-width: 1080px) {
  .content-grid {
    grid-template-columns: 1fr;
  }

  .media-panel {
    position: relative;
    top: 0;
  }

  .media-frame,
  .tall-frame {
    min-height: 460px;
  }
}

@media (max-width: 720px) {
  .page-shell {
    width: min(100% - 24px, 1380px);
    padding: 12px 0 24px;
  }

  .copy-panel,
  .success-card {
    padding: 28px 22px;
    border-radius: 24px;
  }

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

  .media-frame::after {
    right: 22px;
    top: auto;
    bottom: -10px;
    width: calc(100% - 44px);
    height: 10px;
  }

  .primary-button,
  .submit-button {
    width: 100%;
  }
}
