:root {
  --bg: #f6f9ff;
  --surface: rgba(255, 255, 255, 0.82);
  --surface-strong: #ffffff;
  --line: rgba(126, 151, 190, 0.18);
  --text: #10203b;
  --muted: #5f6f8b;
  --primary: #315efb;
  --primary-deep: #1f43cc;
  --accent: #7ec8ff;
  --shadow: 0 30px 80px rgba(36, 62, 120, 0.14);
  --radius: 28px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(126, 200, 255, 0.28), transparent 26%),
    radial-gradient(circle at top right, rgba(49, 94, 251, 0.12), transparent 24%),
    linear-gradient(180deg, #fbfdff 0%, #eef4ff 100%);
  color: var(--text);
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

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

.section {
  padding: 104px 0;
}

.section-alt {
  background: rgba(255, 255, 255, 0.58);
  border-top: 1px solid rgba(126, 151, 190, 0.15);
  border-bottom: 1px solid rgba(126, 151, 190, 0.15);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(255, 255, 255, 0.72);
  border-bottom: 1px solid rgba(126, 151, 190, 0.15);
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  gap: 24px;
}

.brand,
h1,
h2,
h3,
h4 {
  font-family: "Outfit", sans-serif;
}

.brand {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: -0.03em;
}

.site-nav {
  display: flex;
  gap: 28px;
  align-items: center;
}

.site-nav a {
  color: var(--muted);
  font-weight: 600;
}

.site-nav a:hover {
  color: var(--primary);
}

.nav-toggle {
  display: none;
  border: 0;
  background: transparent;
  width: 48px;
  height: 48px;
  padding: 0;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  margin: 5px auto;
  border-radius: 999px;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 72px 0 96px;
}

.hero-noise {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.2) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.2) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(180deg, black, transparent 90%);
  opacity: 0.45;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 48px;
  align-items: center;
}

.eyebrow,
.section-heading span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(49, 94, 251, 0.15);
  background: rgba(255, 255, 255, 0.72);
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero-copy h1 {
  margin: 18px 0 20px;
  font-size: clamp(2.8rem, 5vw, 5rem);
  line-height: 0.95;
  letter-spacing: -0.06em;
  max-width: 10ch;
}

.hero-copy p,
.section-heading p,
.body-copy,
.feature-card p,
.faq-card p,
.review-card p,
.step-card p,
.info-box p,
.creation-meta p {
  color: var(--muted);
  line-height: 1.75;
}

.hero-copy p {
  max-width: 58ch;
  font-size: 1.1rem;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 24px;
  border-radius: 16px;
  font-weight: 700;
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

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

.button-primary {
  background: linear-gradient(135deg, var(--primary) 0%, #4c88ff 100%);
  color: #fff;
  box-shadow: 0 18px 36px rgba(49, 94, 251, 0.26);
}

.button-primary[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
}

.button-secondary {
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(126, 151, 190, 0.24);
}

.full-width {
  width: 100%;
}

.hero-visual {
  position: relative;
  min-height: 620px;
}

.hero-card {
  position: absolute;
  overflow: hidden;
  border-radius: 32px;
  border: 1px solid rgba(255, 255, 255, 0.75);
  box-shadow: var(--shadow);
  background: rgba(255, 255, 255, 0.5);
}

.hero-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-card-main {
  inset: 40px 72px 0 0;
  transform: rotate(-6deg);
}

.hero-card-float {
  width: 260px;
  height: 360px;
  right: 0;
  bottom: 40px;
  transform: rotate(9deg);
}

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

.section-heading.centered {
  text-align: center;
  margin-inline: auto;
}

.section-heading h2 {
  margin: 18px 0 14px;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  line-height: 1;
  letter-spacing: -0.05em;
}

.builder-panel,
.creation-card,
.info-box,
.step-card,
.feature-card,
.faq-card,
.review-card,
.visual-box {
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  backdrop-filter: blur(12px);
}

.builder-panel {
  position: relative;
  padding: 34px;
  overflow: hidden;
}

.service-mask {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  text-align: center;
  background: rgba(11, 17, 29, 0.72);
  color: #fff;
}

.service-mask h3 {
  margin: 0 0 8px;
  font-size: clamp(1.8rem, 3vw, 2.7rem);
}

.service-mask p {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
}

.builder-form {
  display: grid;
  gap: 20px;
}

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

.preview-frame,
.drop-zone {
  min-height: 264px;
  border-radius: 22px;
}

.preview-frame {
  position: relative;
  display: none;
  overflow: hidden;
  background: #dfe7f7;
}

.preview-frame.is-visible {
  display: block;
}

.preview-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.preview-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  cursor: pointer;
  font-size: 1.4rem;
}

.drop-zone {
  display: grid;
  place-items: center;
  text-align: center;
  padding: 32px;
  border: 2px dashed rgba(126, 151, 190, 0.4);
  background: rgba(255, 255, 255, 0.45);
  transition: border-color 180ms ease, background-color 180ms ease;
  cursor: pointer;
}

.drop-zone:hover,
.drop-zone.is-dragging {
  border-color: var(--primary);
  background: rgba(49, 94, 251, 0.06);
}

.drop-zone input {
  display: none;
}

.drop-zone-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  border-radius: 999px;
  background: rgba(49, 94, 251, 0.08);
  color: var(--primary);
  font-size: 1.8rem;
}

.drop-zone strong,
.drop-zone span,
.drop-zone small {
  display: block;
}

.drop-zone span,
.drop-zone small {
  color: var(--muted);
}

.drop-zone small {
  margin-top: 10px;
}

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

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

.builder-form label span {
  font-size: 0.95rem;
  font-weight: 700;
}

.builder-form input:not([type="color"]),
.builder-form select,
.builder-form textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(126, 151, 190, 0.25);
  background: rgba(255, 255, 255, 0.85);
  color: var(--text);
}

.builder-form input[type="color"] {
  width: 100%;
  min-height: 54px;
  padding: 6px;
  border-radius: 16px;
  border: 1px solid rgba(126, 151, 190, 0.25);
  background: rgba(255, 255, 255, 0.85);
}

.gallery-grid,
.review-grid,
.feature-grid {
  display: grid;
  gap: 22px;
}

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

.creation-card {
  padding: 18px;
}

.creation-meta {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

.creation-meta h3 {
  margin: 0;
  font-size: 1rem;
}

.creation-meta p {
  margin: 0;
  font-size: 0.88rem;
  text-align: right;
}

.creation-card img {
  aspect-ratio: 2 / 3;
  width: 100%;
  object-fit: cover;
  border-radius: 18px;
}

.center-action {
  display: flex;
  justify-content: center;
  margin-top: 36px;
}

.split-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 48px;
  align-items: center;
}

.info-box {
  padding: 28px;
  margin-top: 28px;
  background: linear-gradient(180deg, rgba(241, 247, 255, 0.92), rgba(230, 239, 255, 0.88));
}

.info-box h3,
.feature-card h3,
.faq-card h3,
.step-card h3,
.review-card h3 {
  margin: 0 0 10px;
  font-size: 1.3rem;
}

.visual-box {
  padding: 24px;
  min-height: 460px;
}

.visual-stage {
  height: 100%;
  min-height: 412px;
  border-radius: 24px;
  display: grid;
  place-items: center;
  color: #fff;
  font-family: "Outfit", sans-serif;
  font-size: 1.2rem;
  background:
    radial-gradient(circle at 50% 30%, rgba(126, 200, 255, 0.6), transparent 30%),
    linear-gradient(135deg, #315efb 0%, #0f2045 100%);
}

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

.step-card,
.feature-card,
.faq-card,
.review-card {
  padding: 28px;
}

.step-number,
.feature-icon,
.avatar {
  display: grid;
  place-items: center;
}

.step-number {
  width: 52px;
  height: 52px;
  margin-bottom: 16px;
  border-radius: 999px;
  color: #fff;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary) 0%, #5ca2ff 100%);
}

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

.feature-icon {
  width: 62px;
  height: 62px;
  margin-bottom: 18px;
  border-radius: 18px;
  background: rgba(49, 94, 251, 0.08);
  color: var(--primary);
  font-size: 1.6rem;
}

.narrow {
  width: min(860px, calc(100% - 32px));
}

.faq-list {
  display: grid;
  gap: 20px;
}

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

.review-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.site-footer {
  padding: 32px 0 44px;
  border-top: 1px solid rgba(126, 151, 190, 0.15);
  background: rgba(255, 255, 255, 0.54);
  backdrop-filter: blur(12px);
}

.footer-shell {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
}

.footer-brand {
  display: inline-block;
  margin-bottom: 10px;
}

.footer-shell p {
  max-width: 40ch;
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px 24px;
}

.footer-links a {
  color: var(--muted);
  font-weight: 600;
}

.footer-links a:hover {
  color: var(--primary);
}

.avatar {
  width: 52px;
  height: 52px;
  border-radius: 999px;
  background: linear-gradient(135deg, #d7deed 0%, #edf3ff 100%);
}

.stars {
  color: #ffb648;
  letter-spacing: 0.14em;
}

@media (max-width: 1080px) {
  .hero-grid,
  .split-layout,
  .steps-grid,
  .feature-grid,
  .review-grid,
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-visual {
    min-height: 520px;
  }

  .steps-grid article:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 820px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 78px;
    left: 16px;
    right: 16px;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 18px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
  }

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

  .hero-grid,
  .upload-row,
  .form-grid,
  .split-layout,
  .steps-grid,
  .feature-grid,
  .review-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 40px;
  }

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

  .hero-visual {
    min-height: 420px;
  }

  .hero-card-main {
    inset: 20px 32px 0 0;
  }

  .hero-card-float {
    width: 180px;
    height: 240px;
  }

  .section {
    padding: 84px 0;
  }

  .footer-shell {
    flex-direction: column;
  }

  .footer-links {
    justify-content: flex-start;
  }
}
