:root {
  --bg: #f4f7ff;
  --bg-accent: #eef1ff;
  --surface: rgba(255, 255, 255, 0.78);
  --surface-strong: #ffffff;
  --text: #16213d;
  --muted: #566480;
  --line: rgba(102, 124, 184, 0.2);
  --primary: #5c7cff;
  --primary-deep: #3455e5;
  --secondary: #b39dff;
  --secondary-deep: #8f73ff;
  --success: #168c6d;
  --danger: #d14a68;
  --shadow: 0 24px 70px rgba(69, 96, 180, 0.16);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 14px;
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 1rem;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(179, 157, 255, 0.35), transparent 30%),
    radial-gradient(circle at 85% 15%, rgba(92, 124, 255, 0.28), transparent 24%),
    linear-gradient(180deg, #f9fbff 0%, #eef3ff 48%, #f7f9ff 100%);
  min-height: 100vh;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(120, 140, 220, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120, 140, 220, 0.06) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.6), transparent 90%);
  pointer-events: none;
}

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

.site-header,
.site-footer,
.hero,
.upload-section,
.feature-section,
.steps-section,
.why-section {
  animation: rise-in 700ms ease both;
}

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  padding: 24px 0 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
  min-width: 0;
}

.brand-icon {
  width: 54px;
  min-width: 54px;
  height: auto;
  display: block;
  filter: drop-shadow(0 14px 28px rgba(47, 73, 156, 0.18)) saturate(1.03);
}

.brand-wordmark {
  display: inline-flex;
  align-items: baseline;
  gap: 9px;
  min-width: 0;
  white-space: nowrap;
}

.brand-word {
  display: inline-block;
  font-family: "Sora", sans-serif;
  font-size: 2.7rem;
  line-height: 0.9;
  font-weight: 800;
  letter-spacing: -0.08em;
}

.brand-word-pixel {
  color: #16213d;
  transform: skewX(-10deg);
}

.brand-word-verif {
  color: #5c7cff;
  background: linear-gradient(135deg, #6c8dff 0%, #7a5bff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.3);
  transform: skewX(-10deg);
}

.brand-wordmark::before {
  content: "";
  width: 58px;
  height: 5px;
  border-radius: 999px;
  background: linear-gradient(135deg, #5c7cff 0%, #7a5bff 100%);
  position: absolute;
  transform: translateY(-28px);
}

.brand-wordmark {
  position: relative;
  padding-top: 5px;
}

.brand-mark {
  width: 240px;
  max-width: min(44vw, 240px);
  height: auto;
  display: block;
  filter: drop-shadow(0 22px 46px rgba(47, 73, 156, 0.2)) saturate(1.05) contrast(1.05);
}

.brand-name,
.brand-tag,
.eyebrow,
.signal-label,
.summary-label,
.promo-label {
  margin: 0;
}

.brand-name {
  font-weight: 800;
  font-size: 1.05rem;
}

.brand-tag {
  color: var(--muted);
  font-size: 0.92rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.site-nav a {
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  padding: 12px 16px;
  border-radius: 999px;
  white-space: nowrap;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: rgba(255, 255, 255, 0.7);
}

.menu-toggle {
  display: none;
  width: 56px;
  height: 56px;
  border: 1px solid rgba(92, 124, 255, 0.18);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 16px 34px rgba(69, 96, 180, 0.12);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.menu-toggle span {
  width: 22px;
  height: 2px;
  border-radius: 999px;
  background: var(--text);
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-cta {
  background: rgba(92, 124, 255, 0.12);
}

.hero {
  display: grid;
  grid-template-columns: 1.15fr 0.95fr;
  gap: 28px;
  align-items: center;
  padding: 38px 0 28px;
}

.hero-copy,
.hero-panel,
.upload-card,
.info-card,
.feature-card,
.step-card,
.quote-card,
.why-copy {
  backdrop-filter: blur(18px);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.hero-copy,
.hero-panel,
.upload-section,
.feature-section,
.steps-section,
.why-section,
.site-footer {
  border-radius: var(--radius-xl);
}

.hero-copy,
.hero-panel {
  padding: 38px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(92, 124, 255, 0.12);
  color: var(--primary-deep);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.72rem;
}

.hero h1,
.section-heading h2 {
  font-family: "Sora", sans-serif;
  letter-spacing: -0.055em;
  margin: 18px 0 14px;
}

.hero h1 {
  font-size: clamp(2.8rem, 5vw, 4.8rem);
  line-height: 1;
  max-width: 10ch;
  text-wrap: balance;
}

.hero-text,
.section-heading p,
.feature-card p,
.step-card p,
.why-copy p,
.promo-block p,
.quote-card p,
.upload-section p,
.site-footer p {
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.75;
  overflow-wrap: anywhere;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin: 28px 0 26px;
}

.button {
  border: 0;
  border-radius: 999px;
  padding: 15px 22px;
  font-weight: 800;
  font-size: 0.98rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
  text-align: center;
}

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

.button-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary-deep) 100%);
  box-shadow: 0 16px 36px rgba(92, 124, 255, 0.32);
}

.button-secondary {
  color: var(--primary-deep);
  background: rgba(255, 255, 255, 0.8);
}

.button-ghost {
  color: var(--primary-deep);
  background: rgba(92, 124, 255, 0.08);
  border: 1px solid rgba(92, 124, 255, 0.18);
}

.button-wide {
  width: 100%;
}

.hero-points,
.benefit-list,
.file-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-points li,
.benefit-list li,
.file-list li {
  position: relative;
}

.hero-points li {
  padding: 11px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(92, 124, 255, 0.14);
  font-weight: 700;
  letter-spacing: -0.015em;
}

.panel-grid,
.feature-grid,
.steps-grid {
  display: grid;
  gap: 16px;
}

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

.signal-card {
  min-height: 150px;
  padding: 22px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(99, 122, 194, 0.12);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.signal-card.accent {
  background: linear-gradient(180deg, rgba(92, 124, 255, 0.14), rgba(255, 255, 255, 0.92));
}

.signal-card.glow {
  box-shadow: inset 0 0 0 1px rgba(179, 157, 255, 0.24), 0 20px 40px rgba(179, 157, 255, 0.18);
}

.signal-label,
.summary-label,
.promo-label,
.step-card span {
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary-deep);
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 12px 0 34px;
}

.trust-strip p {
  margin: 0;
  padding: 16px 20px;
  text-align: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid var(--line);
  font-weight: 700;
}

.upload-section,
.feature-section,
.steps-section,
.why-section {
  padding: 34px;
  margin-bottom: 24px;
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid var(--line);
}

.section-heading {
  max-width: 700px;
  margin-bottom: 26px;
}

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

.upload-layout,
.why-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 22px;
}

.upload-card,
.info-card,
.quote-card,
.why-copy {
  border-radius: var(--radius-lg);
  padding: 24px;
}

.dropzone {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 12px;
  min-height: 280px;
  padding: 30px;
  border-radius: var(--radius-lg);
  border: 2px dashed rgba(92, 124, 255, 0.35);
  background:
    radial-gradient(circle at top, rgba(179, 157, 255, 0.16), transparent 34%),
    rgba(245, 248, 255, 0.92);
  cursor: pointer;
}

.dropzone input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.dropzone-badge {
  display: inline-flex;
  padding: 9px 12px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--secondary-deep);
  background: rgba(179, 157, 255, 0.18);
}

.dropzone strong {
  font-family: "Sora", sans-serif;
  letter-spacing: -0.04em;
  font-size: 1.6rem;
}

.dropzone small {
  color: var(--muted);
  max-width: 42ch;
}

.upload-summary {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin: 18px 0;
}

.upload-summary > div,
.promo-block {
  padding: 18px;
  border-radius: var(--radius-md);
  background: rgba(244, 247, 255, 0.85);
  border: 1px solid rgba(102, 124, 184, 0.16);
}

.status-box {
  padding: 16px 18px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(102, 124, 184, 0.16);
  color: var(--text);
  font-weight: 600;
}

.status-box.is-error {
  border-color: rgba(209, 74, 104, 0.3);
  background: rgba(255, 241, 244, 0.92);
  color: #7f2038;
}

.status-box.is-success {
  border-color: rgba(22, 140, 109, 0.3);
  background: rgba(239, 255, 251, 0.92);
  color: #0d6b53;
}

.upload-toolbar {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 14px;
}

.file-list {
  margin: 18px 0 22px;
  display: grid;
  gap: 10px;
}

.file-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(102, 124, 184, 0.14);
}

.file-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  flex: 1 1 220px;
}

.file-meta span {
  overflow-wrap: anywhere;
}

.file-remove {
  border: 0;
  border-radius: 999px;
  padding: 9px 14px;
  background: rgba(209, 74, 104, 0.1);
  color: #9f2949;
  font-weight: 800;
  cursor: pointer;
  flex-shrink: 0;
}

.file-remove:hover,
.file-remove:focus-visible {
  background: rgba(209, 74, 104, 0.16);
}

.benefit-list {
  display: grid;
  gap: 14px;
  margin-bottom: 24px;
}

.benefit-list li {
  padding-left: 20px;
  color: var(--text);
  line-height: 1.6;
}

.benefit-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary), var(--secondary-deep));
}

.promo-block h4,
.feature-card h3,
.step-card h3 {
  margin: 8px 0 10px;
  font-family: "Sora", sans-serif;
  letter-spacing: -0.035em;
}

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

.feature-card,
.step-card {
  padding: 24px;
  border-radius: var(--radius-lg);
  min-width: 0;
}

.step-card span {
  display: inline-block;
  margin-bottom: 12px;
}

.quote-card {
  display: flex;
  align-items: center;
  background: linear-gradient(180deg, rgba(92, 124, 255, 0.18), rgba(255, 255, 255, 0.84));
  min-width: 0;
}

.quote-card p {
  margin: 0;
  font-size: 1.3rem;
  color: var(--text);
  font-family: "Sora", sans-serif;
  letter-spacing: -0.03em;
  line-height: 1.35;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin: 18px 0 28px;
  padding: 24px 26px;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid var(--line);
}

.site-footer a {
  color: var(--primary-deep);
  text-decoration: none;
  font-weight: 800;
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1080px) {
  .site-header {
    align-items: flex-start;
  }

  .site-nav {
    justify-content: flex-start;
  }

  .hero,
  .upload-layout,
  .why-layout,
  .feature-grid,
  .steps-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero {
    align-items: stretch;
  }

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

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

@media (max-width: 900px) {
  .hero,
  .upload-layout,
  .why-layout,
  .feature-grid,
  .steps-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy,
  .hero-panel {
    padding: 30px;
  }

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

  .brand-mark {
    width: min(58vw, 220px);
  }
}

@media (max-width: 760px) {
  .page-shell {
    width: min(calc(100% - 20px), var(--max-width));
  }

  .site-header,
  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-header {
    position: relative;
  }

  .hero-copy,
  .hero-panel,
  .upload-section,
  .feature-section,
  .steps-section,
  .why-section {
    padding: 22px;
  }

  .feature-section,
  .steps-section,
  .why-section {
    margin-bottom: 18px;
  }

  .section-heading {
    margin-bottom: 20px;
  }

  .section-heading p {
    font-size: 0.98rem;
  }

  .hero h1 {
    max-width: none;
    font-size: clamp(2.4rem, 10vw, 3.5rem);
  }

  .brand {
    width: 100%;
  }

  .menu-toggle {
    display: inline-flex;
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
  }

  .brand-icon {
    width: 46px;
    min-width: 46px;
  }

  .brand-wordmark {
    gap: 7px;
    padding-top: 4px;
  }

  .brand-wordmark::before {
    width: 44px;
    height: 4px;
    transform: translateY(-19px);
  }

  .brand-word {
    font-size: clamp(1.6rem, 7vw, 2.1rem);
  }

  .site-nav {
    display: none;
    width: 100%;
    margin-top: 10px;
    padding: 12px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(102, 124, 184, 0.18);
    box-shadow: 0 18px 40px rgba(69, 96, 180, 0.12);
    justify-content: stretch;
    gap: 10px;
  }

  .site-nav.is-open {
    display: grid;
    grid-template-columns: 1fr;
  }

  .site-nav a {
    width: 100%;
    padding: 12px 14px;
    text-align: center;
    background: rgba(244, 247, 255, 0.88);
  }

  .dropzone {
    min-height: 220px;
    padding: 22px 18px;
  }

  .dropzone strong {
    font-size: 1.35rem;
  }

  .hero-actions,
  .upload-toolbar {
    width: 100%;
  }

  .hero-actions .button,
  .upload-toolbar .button {
    width: 100%;
  }

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

  .hero-points li,
  .trust-strip p {
    width: 100%;
    border-radius: 18px;
  }

  .panel-grid,
  .trust-strip {
    grid-template-columns: 1fr;
  }

  .feature-grid,
  .steps-grid,
  .why-layout {
    gap: 14px;
  }

  .signal-card {
    min-height: auto;
  }

  .upload-card,
  .info-card,
  .feature-card,
  .step-card,
  .quote-card,
  .why-copy {
    padding: 20px;
  }

  .feature-card h3,
  .step-card h3 {
    font-size: 1.18rem;
    line-height: 1.2;
  }

  .feature-card p,
  .step-card p,
  .why-copy p {
    font-size: 0.98rem;
    line-height: 1.7;
  }

  .file-list li {
    align-items: stretch;
  }

  .file-remove {
    width: 100%;
  }

  .site-footer a {
    width: 100%;
  }
}

@media (max-width: 560px) {
  .page-shell {
    width: min(calc(100% - 16px), var(--max-width));
  }

  .site-header {
    gap: 16px;
    padding: 18px 0 12px;
  }

  .menu-toggle {
    width: 52px;
    height: 52px;
  }

  .brand {
    gap: 10px;
  }

  .brand-icon {
    width: 40px;
    min-width: 40px;
  }

  .brand-word {
    font-size: clamp(1.35rem, 7vw, 1.8rem);
  }

  .brand-wordmark::before {
    width: 36px;
    transform: translateY(-16px);
  }

  .hero-copy,
  .hero-panel,
  .upload-section,
  .feature-section,
  .steps-section,
  .why-section,
  .site-footer {
    padding: 18px;
    border-radius: 24px;
  }

  .feature-grid,
  .steps-grid,
  .why-layout {
    gap: 12px;
  }

  .section-heading {
    margin-bottom: 18px;
  }

  .eyebrow {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .hero h1 {
    font-size: clamp(2rem, 11vw, 2.7rem);
  }

  .section-heading h2 {
    font-size: clamp(1.7rem, 8vw, 2.2rem);
  }

  .feature-card,
  .step-card,
  .quote-card,
  .why-copy {
    padding: 16px;
    border-radius: 20px;
  }

  .feature-card h3,
  .step-card h3 {
    font-size: 1.08rem;
  }

  .quote-card {
    min-height: unset;
  }

  .quote-card p {
    font-size: 1.1rem;
  }
}
