/* ============================================================
   Symbolarity Order System — Complete Standalone Styles
   ============================================================ */

:root {
  --bg: #080a0f;
  --bg-soft: #10141d;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-strong: rgba(255, 255, 255, 0.06);
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.16);
  --text: #ffffff;
  --text-soft: rgba(255, 255, 255, 0.62);
  --text-faint: rgba(255, 255, 255, 0.42);

  --accent: #2563eb;
  --super-start: #7c3aed;
  --super-end: #22c55e;
  --max-start: #1e40af;
  --max-end: #3b82f6;

  --radius-sm: 16px;
  --radius-md: 22px;
  --radius-lg: 28px;

  --shadow-soft: 0 18px 48px rgba(0, 0, 0, 0.24);
  --shadow-card: 0 30px 80px -20px rgba(0, 0, 0, 0.55), 0 2px 0 0 rgba(255, 255, 255, 0.04) inset;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  background:
    radial-gradient(1200px 600px at 50% -10%, rgba(99, 102, 241, 0.10), transparent 60%),
    radial-gradient(900px 500px at 90% 10%, rgba(59, 130, 246, 0.06), transparent 60%),
    radial-gradient(800px 500px at 10% 30%, rgba(124, 58, 237, 0.05), transparent 60%),
    var(--bg);
  color: var(--text);
  line-height: 1.5;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

/* ---- Ambient Glow Orbs ---- */
.ambient-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
}

.ambient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.55;
  will-change: transform;
}

.ambient-orb-super-1 {
  top: -120px;
  left: -80px;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.55), transparent 70%);
  animation: orbFloatA 18s ease-in-out infinite;
}

.ambient-orb-super-2 {
  top: 40%;
  right: -100px;
  width: 460px;
  height: 460px;
  background: radial-gradient(circle, rgba(34, 197, 94, 0.32), transparent 70%);
  animation: orbFloatB 22s ease-in-out infinite;
}

.ambient-orb-max-1 {
  top: -140px;
  left: -60px;
  width: 440px;
  height: 440px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.55), transparent 70%);
  animation: orbFloatA 18s ease-in-out infinite;
}

.ambient-orb-max-2 {
  top: 45%;
  right: -120px;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(30, 64, 175, 0.45), transparent 70%);
  animation: orbFloatB 22s ease-in-out infinite;
}

@keyframes orbFloatA {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%      { transform: translate(40px, 30px) scale(1.08); }
}

@keyframes orbFloatB {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%      { transform: translate(-30px, -40px) scale(1.1); }
}

@media (prefers-reduced-motion: reduce) {
  .ambient-orb { animation: none; }
}

/* ---- Header ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  background: rgba(8, 10, 15, 0.6);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: background 0.3s ease, border-color 0.3s ease;
}

.nav-shell {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px;
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand-name {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
  background: linear-gradient(135deg, #ffffff 0%, rgba(255, 255, 255, 0.7) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: opacity 0.2s ease;
}

.brand-name:hover {
  opacity: 0.85;
}

/* ---- Language Switch ---- */
.lang-switch {
  display: inline-flex;
  align-items: center;
  padding: 3px;
  gap: 2px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 100px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.lang-option {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 5px 11px;
  border-radius: 100px;
  color: var(--text-faint);
  transition: color 0.18s ease, background 0.18s ease;
}

.lang-option:hover {
  color: var(--text-soft);
}

.lang-option.is-active {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

/* ---- Footer ---- */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 32px 16px;
  margin-top: 40px;
  position: relative;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
  color: var(--text-faint);
}

.footer-brand {
  font-weight: 700;
  color: var(--text-soft);
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-links a:hover,
.footer-inner a:hover {
  color: var(--text);
}

/* ---- Canvas Background ---- */
#bg-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  pointer-events: none;
}

/* ---- Reveal Animation ---- */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 0.6s ease,
    transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

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

/* ---- Scrolled Header ---- */
.site-header.scrolled {
  background: rgba(8, 10, 15, 0.82);
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

/* ============================================================
   Order Page
   ============================================================ */

.order-hero {
  min-height: calc(100vh - 64px - 100px);
  padding: 56px 0 80px;
  position: relative;
}

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

/* Product Badge */
.order-product-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px 8px 14px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
  margin-bottom: 26px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  position: relative;
  transition: transform 0.2s ease;
}

.order-product-badge:hover {
  transform: translateY(-1px);
}

.order-badge-pulse {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.order-badge-pulse::before,
.order-badge-pulse::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
}

.order-badge-pulse::before {
  background: currentColor;
  box-shadow: 0 0 12px currentColor;
}

.order-badge-pulse::after {
  background: currentColor;
  opacity: 0.6;
  animation: badgePulse 2s ease-out infinite;
}

@keyframes badgePulse {
  0%   { transform: scale(1);   opacity: 0.6; }
  100% { transform: scale(2.6); opacity: 0; }
}

.order-badge-super {
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.22), rgba(34, 197, 94, 0.14));
  border: 1px solid rgba(124, 58, 237, 0.4);
  color: #c4b5fd;
  box-shadow: 0 8px 24px -8px rgba(124, 58, 237, 0.5);
}

.order-badge-max {
  background: linear-gradient(135deg, rgba(30, 64, 175, 0.24), rgba(59, 130, 246, 0.14));
  border: 1px solid rgba(59, 130, 246, 0.4);
  color: #93c5fd;
  box-shadow: 0 8px 24px -8px rgba(59, 130, 246, 0.5);
}

.order-badge-icon {
  font-size: 15px;
  filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.25));
}

/* Title */
.order-title {
  font-size: clamp(30px, 5.4vw, 44px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin-bottom: 14px;
  color: var(--text);
  background: linear-gradient(180deg, #ffffff 0%, rgba(255, 255, 255, 0.78) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
}

.order-title::after {
  content: "";
  display: block;
  width: 56px;
  height: 3px;
  margin-top: 18px;
  border-radius: 100px;
  opacity: 0.85;
}

.order-title-super::after {
  background: linear-gradient(90deg, #7c3aed, #22c55e);
  box-shadow: 0 0 16px rgba(124, 58, 237, 0.5);
}

.order-title-max::after {
  background: linear-gradient(90deg, #1e40af, #3b82f6);
  box-shadow: 0 0 16px rgba(59, 130, 246, 0.5);
}

.order-subtitle {
  font-size: 16px;
  color: var(--text-soft);
  line-height: 1.65;
  margin-bottom: 38px;
  max-width: 520px;
}

/* Prefill notice */
.prefill-notice {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.12), rgba(34, 197, 94, 0.05));
  border: 1px solid rgba(34, 197, 94, 0.25);
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 500;
  color: #86efac;
  margin-bottom: 28px;
  box-shadow: 0 4px 16px -4px rgba(34, 197, 94, 0.2);
}

.prefill-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(34, 197, 94, 0.25);
  font-size: 11px;
  font-weight: 800;
  flex-shrink: 0;
}

/* Card */
.order-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.02) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  position: relative;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.order-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
}

.order-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(600px 200px at 50% 0%, rgba(255, 255, 255, 0.04), transparent 60%);
}

@media (max-width: 600px) {
  .order-card {
    padding: 28px 20px;
    border-radius: var(--radius-md);
  }
}

/* Form */
.order-form {
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 1;
}

/* Section */
.order-section {
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
}

.order-section:first-of-type {
  padding-top: 0;
}

.order-section:last-of-type {
  border-bottom: none;
  padding-bottom: 0;
}

.order-section-label {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 22px;
}

.order-section-label h2 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}

.order-section-label p {
  font-size: 13px;
  color: var(--text-faint);
  line-height: 1.55;
}

/* Step circle */
.order-step {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--surface-strong);
  border: 1px solid var(--border-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-soft);
  margin-top: 1px;
  position: relative;
  transition: transform 0.2s ease;
}

.order-section:hover .order-step {
  transform: scale(1.05);
}

.order-step-super {
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.35), rgba(34, 197, 94, 0.2));
  border-color: rgba(124, 58, 237, 0.5);
  color: #e9d5ff;
  box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.08), 0 6px 20px -6px rgba(124, 58, 237, 0.6);
}

.order-step-max {
  background: linear-gradient(135deg, rgba(30, 64, 175, 0.35), rgba(59, 130, 246, 0.2));
  border-color: rgba(59, 130, 246, 0.5);
  color: #dbeafe;
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.08), 0 6px 20px -6px rgba(59, 130, 246, 0.6);
}

/* Fields */
.order-fields-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

@media (max-width: 520px) {
  .order-fields-row {
    grid-template-columns: 1fr;
  }
}

.order-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}

.order-field:last-child {
  margin-bottom: 0;
}

.order-field label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-soft);
  display: flex;
  align-items: center;
  gap: 6px;
  letter-spacing: -0.005em;
}

.optional-tag {
  font-size: 11px;
  font-weight: 500;
  color: var(--text-faint);
  background: var(--surface-strong);
  padding: 2px 8px;
  border-radius: 100px;
  border: 1px solid var(--border);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.order-field input,
.order-field select,
.order-field textarea {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  color: var(--text);
  font-size: 14.5px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, transform 0.15s ease;
  outline: none;
  width: 100%;
  -webkit-appearance: none;
}

.order-field input::placeholder,
.order-field textarea::placeholder {
  color: var(--text-faint);
}

.order-field input:hover,
.order-field select:hover,
.order-field textarea:hover {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.05);
}

.order-field input:focus,
.order-field select:focus,
.order-field textarea:focus {
  border-color: rgba(139, 142, 246, 0.6);
  background: rgba(255, 255, 255, 0.05);
  box-shadow:
    0 0 0 4px rgba(99, 102, 241, 0.12),
    0 4px 16px -4px rgba(99, 102, 241, 0.25);
}

.order-field select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' viewBox='0 0 12 12'%3E%3Cpath d='M3 4.5l3 3 3-3' stroke='rgba(255,255,255,0.5)' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.order-field select option {
  background: #10141d;
  color: var(--text);
}

.order-field textarea {
  resize: vertical;
  min-height: 84px;
  font-family: inherit;
  line-height: 1.5;
}

/* Prefilled fields */
.order-field input.prefilled {
  background: rgba(34, 197, 94, 0.06);
  border-color: rgba(34, 197, 94, 0.28);
  color: rgba(255, 255, 255, 0.78);
}

.order-field input.prefilled:focus {
  border-color: rgba(34, 197, 94, 0.55);
  box-shadow:
    0 0 0 4px rgba(34, 197, 94, 0.12),
    0 4px 16px -4px rgba(34, 197, 94, 0.25);
}

/* Field error state — leeres Pflichtfeld nach Submit-Versuch */
.order-field input.field-error,
.order-field select.field-error,
.order-field textarea.field-error {
  border-color: rgba(248, 113, 113, 0.6);
  background: rgba(248, 113, 113, 0.06);
  animation: fieldShake 0.32s ease;
}

.order-field input.field-error:focus,
.order-field select.field-error:focus,
.order-field textarea.field-error:focus {
  border-color: rgba(248, 113, 113, 0.85);
  box-shadow:
    0 0 0 4px rgba(248, 113, 113, 0.12),
    0 4px 16px -4px rgba(248, 113, 113, 0.25);
}

@keyframes fieldShake {
  0%, 100% { transform: translateX(0); }
  20%      { transform: translateX(-4px); }
  40%      { transform: translateX(4px); }
  60%      { transform: translateX(-3px); }
  80%      { transform: translateX(3px); }
}

.order-field-note {
  font-size: 12px;
  color: var(--text-faint);
  line-height: 1.55;
}

.order-field-note strong {
  color: var(--text-soft);
}

/* Error */
.form-error {
  font-size: 13px;
  color: #fca5a5;
  background: linear-gradient(135deg, rgba(248, 113, 113, 0.14), rgba(248, 113, 113, 0.06));
  border: 1px solid rgba(248, 113, 113, 0.28);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  margin-top: 12px;
  box-shadow: 0 4px 16px -4px rgba(248, 113, 113, 0.25);
}

/* Submit */
.order-submit {
  margin-top: 30px;
  width: 100%;
  padding: 17px;
  border-radius: var(--radius-sm);
  border: none;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.005em;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  position: relative;
  overflow: hidden;
  color: #fff;
  background-size: 200% 200%;
  background-position: 0% 50%;
  transition:
    background-position 0.5s ease,
    transform 0.15s ease,
    box-shadow 0.25s ease,
    opacity 0.18s ease;
}

.order-submit::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.22), transparent);
  transform: skewX(-20deg);
  transition: left 0.7s ease;
}

.order-submit:hover::before {
  left: 130%;
}

.order-submit:hover {
  transform: translateY(-2px);
  background-position: 100% 50%;
}

.order-submit:active {
  transform: translateY(0);
}

.order-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.order-submit:disabled::before {
  display: none;
}

.order-submit-super {
  background-image: linear-gradient(135deg, #7c3aed 0%, #6366f1 50%, #22c55e 100%);
  box-shadow:
    0 12px 30px -10px rgba(124, 58, 237, 0.65),
    0 4px 12px -4px rgba(34, 197, 94, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.order-submit-super:hover {
  box-shadow:
    0 18px 40px -10px rgba(124, 58, 237, 0.75),
    0 6px 18px -4px rgba(34, 197, 94, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.order-submit-max {
  background-image: linear-gradient(135deg, #1e40af 0%, #3b82f6 50%, #60a5fa 100%);
  box-shadow:
    0 12px 30px -10px rgba(59, 130, 246, 0.65),
    0 4px 12px -4px rgba(30, 64, 175, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.order-submit-max:hover {
  box-shadow:
    0 18px 40px -10px rgba(59, 130, 246, 0.8),
    0 6px 18px -4px rgba(30, 64, 175, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

/* Spinner */
.spinner {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Success */
.order-success {
  text-align: center;
  padding: 56px 24px;
}

.order-success-icon {
  font-size: 56px;
  margin-bottom: 22px;
  display: inline-block;
  animation: successPop 0.6s cubic-bezier(0.22, 1.5, 0.36, 1) both;
  filter: drop-shadow(0 8px 24px rgba(34, 197, 94, 0.4));
}

@keyframes successPop {
  0%   { transform: scale(0.4); opacity: 0; }
  100% { transform: scale(1);   opacity: 1; }
}

.order-success h2 {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.order-success p {
  font-size: 15px;
  color: var(--text-soft);
  line-height: 1.65;
  max-width: 440px;
  margin: 0 auto;
}

/* ============================================================
   Success Redesign — Checkmark + Timeline + Summary + Confetti
   ============================================================ */

.success-shell {
  text-align: center;
  padding: 48px 28px 40px;
  animation: successFadeIn 0.5s ease both;
}

@keyframes successFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ---- Animated Checkmark ---- */
.success-checkmark {
  position: relative;
  width: 96px;
  height: 96px;
  margin: 0 auto 28px;
}

.success-checkmark svg {
  width: 100%;
  height: 100%;
  position: relative;
  z-index: 2;
  overflow: visible;
}

.success-check-circle {
  fill: none;
  stroke: rgba(34, 197, 94, 0.95);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-dasharray: 226;
  stroke-dashoffset: 226;
  animation: drawCircle 0.7s cubic-bezier(0.65, 0, 0.35, 1) 0.05s forwards;
  filter: drop-shadow(0 0 12px rgba(34, 197, 94, 0.55));
}

.success-check-path {
  fill: none;
  stroke: #4ade80;
  stroke-width: 5;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 60;
  stroke-dashoffset: 60;
  animation: drawCheck 0.45s cubic-bezier(0.65, 0, 0.35, 1) 0.55s forwards;
  filter: drop-shadow(0 0 8px rgba(74, 222, 128, 0.7));
}

@keyframes drawCircle {
  to { stroke-dashoffset: 0; }
}

@keyframes drawCheck {
  to { stroke-dashoffset: 0; }
}

.success-glow {
  position: absolute;
  inset: -30%;
  z-index: 1;
  background: radial-gradient(circle, rgba(34, 197, 94, 0.32), transparent 60%);
  filter: blur(20px);
  opacity: 0;
  animation: glowPulse 2.4s ease-in-out 0.7s infinite;
  pointer-events: none;
}

@keyframes glowPulse {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50%      { opacity: 0.85; transform: scale(1.08); }
}

/* ---- Headline + Intro ---- */
.success-headline {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: 10px;
  background: linear-gradient(135deg, #ffffff 0%, #c4b5fd 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.success-intro {
  font-size: 15px;
  color: var(--text-soft);
  line-height: 1.6;
  margin: 0 auto 32px;
  max-width: 420px;
}

.success-intro strong {
  color: #ffffff;
  font-weight: 600;
}

/* ---- Timeline ---- */
.success-timeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  position: relative;
  margin: 0 auto 36px;
  max-width: 520px;
  padding: 0 6px;
}

.success-timeline::before {
  content: "";
  position: absolute;
  top: 18px;
  left: 18%;
  right: 18%;
  height: 2px;
  background: linear-gradient(90deg,
    rgba(34, 197, 94, 0.7) 0%,
    rgba(34, 197, 94, 0.7) 33%,
    rgba(251, 191, 36, 0.4) 33%,
    rgba(255, 255, 255, 0.10) 66%);
  border-radius: 2px;
  z-index: 0;
}

.success-step {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.success-step-dot {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  border: 2px solid rgba(255, 255, 255, 0.10);
  background: var(--bg-soft);
  color: var(--text-faint);
  transition: all 0.3s ease;
}

.success-step-dot svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.success-step.is-done .success-step-dot {
  background: rgba(34, 197, 94, 0.18);
  border-color: rgba(34, 197, 94, 0.7);
  color: #4ade80;
  stroke: #4ade80;
  box-shadow: 0 0 16px -2px rgba(34, 197, 94, 0.4);
}

.success-step.is-active .success-step-dot {
  background: rgba(251, 191, 36, 0.18);
  border-color: rgba(251, 191, 36, 0.65);
  color: #fbbf24;
  animation: stepPulse 1.8s ease-in-out infinite;
}

@keyframes stepPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(251, 191, 36, 0.45); }
  50%      { box-shadow: 0 0 0 8px rgba(251, 191, 36, 0); }
}

.success-step-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: 0.005em;
}

.success-step.is-pending .success-step-label {
  color: var(--text-faint);
}

.success-step-sub {
  font-size: 11px;
  color: var(--text-faint);
  margin-top: 1px;
}

/* ---- Summary Card ---- */
.success-summary {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 22px 22px 18px;
  margin: 0 auto 28px;
  max-width: 520px;
  text-align: left;
}

.success-summary-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-faint);
  margin-bottom: 14px;
}

.success-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.success-row:last-child {
  border-bottom: none;
}

.success-row-label {
  font-size: 13px;
  color: var(--text-faint);
  flex-shrink: 0;
}

.success-row-value {
  font-size: 14px;
  color: var(--text);
  font-weight: 500;
  text-align: right;
  word-break: break-all;
}

.success-row-value.is-mono {
  font-family: "SF Mono", "Monaco", "Consolas", monospace;
  font-size: 13px;
  letter-spacing: -0.01em;
  background: rgba(255, 255, 255, 0.04);
  padding: 4px 10px;
  border-radius: 8px;
  color: #c4b5fd;
}

/* ---- Footer ---- */
.success-footer {
  font-size: 13px;
  color: var(--text-soft);
  line-height: 1.6;
  max-width: 460px;
  margin: 0 auto 14px;
}

.success-contact {
  font-size: 12.5px;
  color: var(--text-faint);
  margin: 0;
}

.success-contact a {
  color: #93c5fd;
  font-weight: 500;
  border-bottom: 1px solid rgba(147, 197, 253, 0.3);
  transition: color 0.2s, border-color 0.2s;
}

.success-contact a:hover {
  color: #bfdbfe;
  border-color: rgba(191, 219, 254, 0.6);
}

/* ---- Confetti Canvas Overlay ---- */
.confetti-canvas {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
}

@media (max-width: 540px) {
  .success-shell { padding: 36px 18px 28px; }
  .success-checkmark { width: 80px; height: 80px; margin-bottom: 22px; }
  .success-headline { font-size: 24px; }
  .success-step-dot { width: 32px; height: 32px; font-size: 12px; }
  .success-timeline::before { top: 16px; }
  .success-step-label { font-size: 12px; }
  .success-step-sub { font-size: 10px; }
  .success-row { flex-direction: column; align-items: flex-start; gap: 4px; }
  .success-row-value { text-align: left; }
}
