:root {
  --bg: #f6efe4;
  --bg-soft: rgba(255, 255, 255, 0.78);
  --surface: rgba(255, 255, 255, 0.92);
  --surface-strong: #fff8f0;
  --text: #182126;
  --muted: #52616d;
  --accent: #bb5a3c;
  --accent-strong: #8f381f;
  --accent-soft: rgba(187, 90, 60, 0.12);
  --line: rgba(24, 33, 38, 0.09);
  --shadow: 0 24px 80px rgba(74, 44, 26, 0.12);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.34) 0%, rgba(255, 255, 255, 0.08) 24%, rgba(255, 255, 255, 0.02) 100%),
    radial-gradient(circle at top left, rgba(232, 182, 137, 0.55), transparent 28%),
    radial-gradient(circle at top center, rgba(255, 255, 255, 0.58), transparent 22%),
    radial-gradient(circle at right center, rgba(187, 90, 60, 0.2), transparent 24%),
    linear-gradient(145deg, #f9f3ea 0%, #f2e6d7 52%, #efe4d5 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.15) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.15) 1px, transparent 1px);
  background-size: 34px 34px;
  opacity: 0.25;
  pointer-events: none;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse at top, rgba(255, 255, 255, 0.3), transparent 46%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.16), transparent 38%, rgba(255, 255, 255, 0.06) 62%, transparent 100%);
  opacity: 0.5;
  mix-blend-mode: screen;
  pointer-events: none;
}

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

.topbar,
.hero,
.card,
.contact-card,
.footer,
.support-section {
  backdrop-filter: blur(18px);
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 24px;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 999px;
  box-shadow: 0 12px 40px rgba(78, 53, 35, 0.08);
  margin-bottom: 22px;
}

.brand,
.section-tag,
.panel-badge {
  font-family: "Space Grotesk", sans-serif;
  letter-spacing: 0.04em;
}

.brand {
  font-family: "Indie Flower", cursive;
  font-size: 2.45rem;
  font-weight: 600;
  font-style: normal;
  letter-spacing: 0.04em;
  color: #07073f;
  text-transform: none;
}


.topbar-link,
.hero-button,
.trial-button {
  text-decoration: none;
  color: white;
  background: linear-gradient(145deg, #e98a66 0%, #c55635 45%, #8f381f 100%);
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.55),
    0 12px 28px rgba(143, 56, 31, 0.22);
  position: relative;
  overflow: hidden;
}

.topbar-link::before,
.hero-button::before,
.trial-button::before,
.submit-button::before {
  content: "";
  position: absolute;
  inset: 2px 2px auto 2px;
  height: 52%;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0.08));
  pointer-events: none;
}

.topbar-link span,
.hero-button span,
.trial-button span,
.submit-button span {
  position: relative;
  z-index: 1;
}

.topbar-link:hover,
.hero-button:hover,
.trial-button:hover,
.submit-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 32px rgba(143, 56, 31, 0.24);
}

.hero {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.75), rgba(255, 248, 240, 0.86));
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 36px;
  padding: 38px;
  box-shadow: var(--shadow);
}

.hero-content {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap: 28px;
  align-items: stretch;
}

.eyebrow,
.section-tag {
  color: var(--accent-strong);
  font-size: 1.5rem;
  text-transfor: uppercase;
  font-weight: 700;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.05;
}

h1 {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2.6rem, 5vw, 4.7rem);
  max-width: 11ch;
  margin: 12px 0 18px;
}

h2 {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.2rem, 4vw, 2rem);
  margin-bottom: 12px;
}

.title-softened {
  font-size: clamp(1.34rem, 4.5vw, 4.23rem);
}

.section-title-softened {
  font-size: clamp(1.71rem, 3.6vw, 2.7rem);
}

.hero-text,
.support-grid p,
.hero-panel p,
.form-note,
small {
  color: var(--muted);
  line-height: 1.75;
}

.hero-copy {
  padding: 18px 0 10px;
}

.hero-panel {
  align-self: end;
  background: linear-gradient(160deg, rgba(24, 33, 38, 0.93), rgba(55, 37, 27, 0.88));
  color: white;
  border-radius: var(--radius-xl);
  padding: 30px;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  overflow: hidden;
}

.hero-panel::before {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 183, 120, 0.42), transparent 68%);
  top: -40px;
  right: -30px;
}

.panel-badge {
  display: inline-flex;
  width: fit-content;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.12);
  margin-bottom: 18px;
  font-size: 0.85rem;
}

.section {
  margin-top: 30px;
}

.section-heading {
  display: grid;
  gap: 8px;
  margin-bottom: 22px;
}

.pricing-grid,
.support-grid,
.form-grid {
  display: grid;
  gap: 20px;
}

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

.card {
  background: var(--surface);
  border-radius: var(--radius-xl);
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 360px;
}

.card::after {
  content: "";
  position: absolute;
  inset: auto -30px -50px auto;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(187, 90, 60, 0.16), transparent 70%);
}

.featured {
  background: linear-gradient(160deg, rgba(255, 247, 240, 0.98), rgba(255, 235, 215, 0.98));
  transform: translateY(-8px);
}

.card-icon {
  width: 74px;
  height: 74px;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  margin-bottom: 24px;
  border: 1px solid rgba(255, 255, 255, 0.46);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.68),
    0 14px 28px rgba(24, 33, 38, 0.12);
}

.card-icon::before {
  content: "";
  position: absolute;
  inset: 2px 2px auto 2px;
  height: 45%;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.12));
  pointer-events: none;
}

.card-icon svg {
  width: 38px;
  height: 38px;
  fill: none;
  position: relative;
  z-index: 1;
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 4px 10px rgba(255, 255, 255, 0.22));
}

.icon-start {
  background:
    radial-gradient(circle at 28% 24%, rgba(255, 255, 255, 0.78), transparent 34%),
    linear-gradient(145deg, #7fd9ff 0%, #2d95f5 52%, #1752c8 100%);
}

.icon-start svg {
  stroke: #ffffff;
}

.icon-plus {
  background:
    radial-gradient(circle at 28% 24%, rgba(255, 255, 255, 0.82), transparent 34%),
    linear-gradient(145deg, #ffe082 0%, #ffb347 38%, #ff7a18 100%);
}

.icon-plus svg {
  stroke: #fff7ef;
}

.icon-elite {
  background:
    radial-gradient(circle at 28% 24%, rgba(255, 255, 255, 0.82), transparent 34%),
    linear-gradient(145deg, #cdb7ff 0%, #8b6cff 46%, #4b2fbb 100%);
}

.icon-elite svg {
  stroke: #f8f2ff;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 14px;
  color: var(--text);
}

.feature-list li {
  position: relative;
  padding-left: 20px;
  line-height: 1.6;
}

.feature-list li::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  position: absolute;
  left: 0;
  top: 10px;
}

.card-footer {
  margin-top: auto;
  padding-top: 28px;
  display: grid;
  gap: 12px;
}

.card-footer h3 {
  margin: 0;
}

.plan-name {
  display: inline-flex;
  align-items: center;
  min-height: 56px;
  padding: 12px 18px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(24, 33, 38, 0.98), rgba(80, 47, 33, 0.92));
  color: #fffaf3;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  font-weight: 700;
  letter-spacing: 0.03em;
  box-shadow: 0 16px 32px rgba(24, 33, 38, 0.18);
}

.card-footer p {
  color: var(--accent-strong);
  font-size: clamp(1.3rem, 2.2vw, 1.8rem);
  font-weight: 800;
  margin: 0;
}

.support-section,
.trial-card,
.contact-card,
.footer {
  background: var(--bg-soft);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow);
  padding: 30px;
}

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

.trial-card {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) auto;
  gap: 24px;
  align-items: center;
  padding: 32px;
  position: relative;
  overflow: hidden;
}

.trial-card::before {
  content: "";
  position: absolute;
  inset: auto -40px -60px auto;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(187, 90, 60, 0.18), transparent 70%);
}

.trial-copy {
  position: relative;
  z-index: 1;
}

.trial-button {
  position: relative;
  z-index: 1;
  white-space: nowrap;
  font-weight: 800;
}

.support-grid p {
  margin: 0;
  padding: 22px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.8);
}

.contact-heading {
  max-width: 920px;
}

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

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

label {
  display: grid;
  gap: 10px;
  font-weight: 700;
}

.field-narrow {
  max-width: 760px;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 13px 15px;
  font: inherit;
  background: rgba(255, 255, 255, 0.9);
  color: var(--text);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: rgba(187, 90, 60, 0.6);
  box-shadow: 0 0 0 4px rgba(187, 90, 60, 0.12);
  transform: translateY(-1px);
}

textarea {
  resize: vertical;
  min-height: 180px;
}

.phone-row {
  display: grid;
  grid-template-columns: minmax(230px, 320px) minmax(220px, 420px);
  gap: 12px;
  align-items: center;
}

input[name="ime"] {
  max-width: 420px;
}

input[name="phone_number"] {
  max-width: 420px;
}

.submit-button {
  width: fit-content;
  border: 0;
  border-radius: 999px;
  padding: 15px 26px;
  font: inherit;
  font-weight: 800;
  color: white;
  cursor: pointer;
  background: linear-gradient(145deg, #e98a66 0%, #c55635 45%, #8f381f 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.55),
    0 12px 28px rgba(143, 56, 31, 0.18);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  position: relative;
  overflow: hidden;
}

.footer {
  margin-top: 30px;
  text-align: center;
}

.footer p {
  margin: 0;
  color: var(--muted);
  font-weight: 700;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  animation: rise 0.8s ease forwards;
}

.delay-1 { animation-delay: 0.08s; }
.delay-2 { animation-delay: 0.16s; }
.delay-3 { animation-delay: 0.24s; }

@keyframes rise {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 980px) {
  .hero-content,
  .pricing-grid,
  .support-grid,
  .form-grid,
  .trial-card {
    grid-template-columns: 1fr;
  }

  .featured {
    transform: none;
  }
}

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

  .topbar,
  .hero,
  .support-section,
  .contact-card,
  .footer {
    padding: 20px;
  }

  .topbar {
    border-radius: 24px;
    flex-direction: column;
    gap: 12px;
  }

  .topbar-link,
  .hero-button,
  .trial-button,
  .submit-button {
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  .hero {
    border-radius: 28px;
    padding: 22px;
  }

  .hero-panel,
  .card,
  .trial-card,
  .support-grid p,
  .contact-card {
    border-radius: 22px;
  }

  .phone-row {
    grid-template-columns: 1fr;
  }

  .field-narrow,
  input[name="ime"],
  input[name="phone_number"] {
    max-width: 100%;
  }

  h1 {
    max-width: 100%;
    font-size: clamp(2.1rem, 10vw, 3rem);
  }

  h2 {
    font-size: clamp(1.6rem, 8vw, 2.2rem);
  }

  .title-softened {
    font-size: clamp(1.9rem, 9vw, 2.7rem);
  }

  .section-title-softened {
    font-size: clamp(1.45rem, 7.2vw, 2rem);
  }

  .card {
    min-height: auto;
  }

  .plan-name {
    width: 100%;
    justify-content: center;
    font-size: 1.45rem;
  }

  .trial-card {
    padding: 24px 20px;
  }

  .support-grid p {
    padding: 18px;
  }

  input,
  select,
  textarea {
    padding: 14px;
  }
}
