*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --gold: #c9a96e;
  --gold-light: #e8c98a;
  --gold-dim: rgba(201, 169, 110, 0.15);
  --dark: #0a0a0f;
  --dark2: #111118;
  --dark3: #18181f;
  --dark4: #22222c;
  --text: #f0ede6;
  --muted: #8a8799;
  --accent: #6c63ff;
  --success: #3dd68c;
  --border: rgba(201, 169, 110, 0.18);
}
.author p{
    color: var(--gold);
}
body {
  font-family: "Inter", sans-serif;
  background: var(--dark);
  color: var(--text);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(
      ellipse 80% 60% at 10% 10%,
      rgba(201, 169, 110, 0.07) 0%,
      transparent 60%
    ),
    radial-gradient(
      ellipse 60% 80% at 90% 90%,
      rgba(108, 99, 255, 0.07) 0%,
      transparent 60%
    ),
    radial-gradient(
      ellipse 40% 40% at 50% 50%,
      rgba(201, 169, 110, 0.03) 0%,
      transparent 70%
    );
  pointer-events: none;
  z-index: 0;
}

.wrapper {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-width: 1040px;
  width: 100%;
  min-height: 640px;
  border-radius: 28px;
  overflow: hidden;
  box-shadow:
    0 40px 100px rgba(0, 0, 0, 0.7),
    0 0 0 1px var(--border);
  animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(40px) scale(0.97);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* ── LEFT COLUMN ── */
.offer {
  background: linear-gradient(145deg, #13131a 0%, #0e0e14 60%, #0a0a10 100%);
  padding: 52px 44px;
  display: flex;
  flex-direction: column;
  position: relative;
  border-right: 1px solid var(--border);
  overflow: hidden;
}

.offer::before {
  content: "";
  position: absolute;
  top: -80px;
  left: -80px;
  width: 340px;
  height: 340px;
  background: radial-gradient(
    circle,
    rgba(201, 169, 110, 0.12) 0%,
    transparent 70%
  );
  pointer-events: none;
}

.offer::after {
  content: "";
  position: absolute;
  bottom: -60px;
  right: -60px;
  width: 260px;
  height: 260px;
  background: radial-gradient(
    circle,
    rgba(108, 99, 255, 0.1) 0%,
    transparent 70%
  );
  pointer-events: none;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--gold-dim);
  border: 1px solid rgba(201, 169, 110, 0.3);
  color: var(--gold-light);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 100px;
  width: fit-content;
  margin-bottom: 28px;
  animation: fadeUp 0.8s 0.15s both;
}

.badge .dot {
  width: 7px;
  height: 7px;
  background: var(--gold);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.4;
    transform: scale(0.7);
  }
}

.offer h1 {
  font-family: "Playfair Display", serif;
  font-size: 42px;
  font-weight: 700;
  line-height: 1.12;
  color: var(--text);
  margin-bottom: 10px;
  animation: fadeUp 0.8s 0.2s both;
}

.offer h1 span {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.tagline {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 34px;
  line-height: 1.6;
  animation: fadeUp 0.8s 0.25s both;
}

/* Price block */
.price-block {
  background: var(--dark3);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 22px 24px;
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 18px;
  animation: fadeUp 0.8s 0.3s both;
  position: relative;
  overflow: hidden;
}

.price-block::before {
  content: "BEST VALUE";
  position: absolute;
  top: 12px;
  right: -24px;
  background: var(--gold);
  color: #0a0a0f;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 4px 32px;
  transform: rotate(40deg);
}

.price-old {
  font-size: 15px;
  color: var(--muted);
  text-decoration: line-through;
}

.price-new {
  font-family: "Playfair Display", serif;
  font-size: 52px;
  font-weight: 700;
  color: var(--gold-light);
  line-height: 1;
}

.price-new sup {
  font-size: 22px;
  vertical-align: top;
  margin-top: 8px;
  display: inline-block;
}

.price-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.price-save {
  background: rgba(61, 214, 140, 0.12);
  color: var(--success);
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 6px;
  width: fit-content;
}

.price-period {
  font-size: 12px;
  color: var(--muted);
}

/* Features */
.features {
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1;
  animation: fadeUp 0.8s 0.35s both;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 13px;
}

.feature-icon {
  width: 30px;
  height: 30px;
  background: var(--gold-dim);
  border: 1px solid rgba(201, 169, 110, 0.2);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
  margin-top: 1px;
}

.feature-text strong {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 2px;
}

.feature-text span {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
}

.timer-block {
  background: linear-gradient(
    135deg,
    rgba(201, 169, 110, 0.08),
    rgba(108, 99, 255, 0.08)
  );
  border: 1px solid rgba(201, 169, 110, 0.2);
  border-radius: 14px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 28px;
  animation: fadeUp 0.8s 0.4s both;
}

.timer-label {
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}

.timer-digits {
  display: flex;
  gap: 6px;
  align-items: center;
}

.tdig {
  background: var(--dark4);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 5px 9px;
  font-family: "Playfair Display", serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--gold-light);
  min-width: 36px;
  text-align: center;
  line-height: 1;
}

.tsep {
  color: var(--gold);
  font-weight: 700;
  font-size: 18px;
}

/* ── RIGHT COLUMN ── */
.payment {
  background: var(--dark2);
  padding: 52px 44px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.payment::before {
  content: "";
  position: absolute;
  top: -100px;
  right: -100px;
  width: 320px;
  height: 320px;
  background: radial-gradient(
    circle,
    rgba(108, 99, 255, 0.08) 0%,
    transparent 70%
  );
  pointer-events: none;
}

.pay-title {
  font-family: "Playfair Display", serif;
  font-size: 26px;
  font-weight: 600;
  margin-bottom: 6px;
  animation: fadeUp 0.8s 0.2s both;
}

.pay-subtitle {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 30px;
  animation: fadeUp 0.8s 0.25s both;
}

/* Payment methods */
.pay-methods {
  display: flex;
  gap: 10px;
  margin-bottom: 28px;
  animation: fadeUp 0.8s 0.3s both;
}

.pay-method {
  flex: 1;
  background: var(--dark3);
  border: 2px solid transparent;
  border-radius: 12px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: all 0.25s ease;
  font-size: 11px;
  color: var(--muted);
  font-weight: 500;
}

.pay-method:hover {
  border-color: rgba(201, 169, 110, 0.3);
  color: var(--text);
}

.pay-method.active {
  border-color: var(--gold);
  background: var(--gold-dim);
  color: var(--gold-light);
}

.pay-method .icon {
  font-size: 22px;
}

/* Form */
.form-group {
  margin-bottom: 18px;
  animation: fadeUp 0.8s 0.35s both;
}

.form-label {
  display: block;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.form-input {
  width: 100%;
  background: var(--dark3);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 13px 16px;
  color: var(--text);
  font-family: "DM Sans", sans-serif;
  font-size: 14px;
  outline: none;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}

.form-input::placeholder {
  color: rgba(138, 135, 153, 0.5);
}

.form-input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 169, 110, 0.1);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  animation: fadeUp 0.8s 0.38s both;
}

/* Card number with icon */
.input-wrap {
  position: relative;
}

.input-wrap .card-icon {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  gap: 5px;
  align-items: center;
}

.card-brand {
  width: 28px;
  height: 18px;
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 8px;
  font-weight: 800;
}

.cb-visa {
  background: #1a1f71;
  color: #fff;
  letter-spacing: 0.05em;
}

.cb-mc {
  background: transparent;
  position: relative;
}

.cb-mc::before {
  content: "";
  position: absolute;
  left: 0;
  width: 16px;
  height: 16px;
  background: #eb001b;
  border-radius: 50%;
}

.cb-mc::after {
  content: "";
  position: absolute;
  right: 0;
  width: 16px;
  height: 16px;
  background: #f79e1b;
  border-radius: 50%;
  opacity: 0.85;
}

/* Order summary */
.summary {
  background: var(--dark3);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px 18px;
  margin-top: 4px;
  margin-bottom: 20px;
  animation: fadeUp 0.8s 0.42s both;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  padding: 5px 0;
}

.summary-row.total {
  border-top: 1px solid var(--border);
  margin-top: 8px;
  padding-top: 12px;
  font-weight: 600;
  font-size: 15px;
  color: var(--text);
}

.summary-row .label {
  color: var(--muted);
}

.summary-row .val {
  color: var(--text);
}

.discount-val {
  color: var(--success);
}

.total-val {
  font-family: "Playfair Display", serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--gold-light);
}

/* CTA */
.cta-btn {
  width: 100%;
  padding: 16px;
  background: linear-gradient(135deg, #c9a96e, #e8c98a, #c9a96e);
  background-size: 200% 100%;
  border: none;
  border-radius: 14px;
  color: #0a0a0f;
  font-family: "DM Sans", sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition:
    background-position 0.4s,
    transform 0.15s,
    box-shadow 0.3s;
  box-shadow: 0 8px 30px rgba(201, 169, 110, 0.3);
  animation: fadeUp 0.8s 0.48s both;
}

.cta-btn:hover {
  background-position: 100% 0;
  transform: translateY(-2px);
  box-shadow: 0 14px 40px rgba(201, 169, 110, 0.45);
}

.cta-btn:active {
  transform: translateY(0);
}

.secure-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  font-size: 11.5px;
  color: var(--muted);
  margin-top: 14px;
  animation: fadeUp 0.8s 0.52s both;
}

.secure-note svg {
  opacity: 0.6;
}

/* Responsive */
@media (max-width: 780px) {
  .wrapper {
    grid-template-columns: 1fr;
  }

  .offer {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }
}
.benefits-list {
  list-style: none;
  padding: 0;
  margin-bottom: 24px;
}

.benefits-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 0;
  font-size: 13.5px;
  color: #d0ccc4;
  border-bottom: 1px solid rgba(201, 169, 110, 0.1);
  line-height: 1.5;
}

.benefits-list li::before {
  content: "✦";
  color: #c9a96e;
  font-size: 11px;
  margin-top: 2px;
  flex-shrink: 0;
}
