/* progressive-blur.css, bottomsheet.css and the fonts (site-fonts.css) are linked by views/partials/head.ejs */

@import url('./components/theme-tokens.css');

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

img,
video,
iframe {
  max-width: 100%;
}

html,
body {
  scroll-behavior: smooth;
  max-width: 100vw;
  height: 100%;
}

body {
  font-family: 'Inter', 'Inter Fallback', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
}

/* Make main content area grow to push footer down */
main {
  flex: 1 0 auto;
}

/* Custom Scrollbar */
html {
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
}

::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--text-muted);
}

/* Animated gradient background */
.gradient-bg {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 100vh;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
}

.gradient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.25;
  animation: float 25s ease-in-out infinite;
}

.gradient-orb-1 {
  width: 600px;
  height: 600px;
  background: var(--pink-light);
  top: -200px;
  left: -100px;
  animation-delay: 0s;
}

.gradient-orb-2 {
  width: 500px;
  height: 500px;
  background: var(--indigo);
  top: 100px;
  right: -150px;
  animation-delay: -5s;
}

.gradient-orb-3 {
  width: 400px;
  height: 400px;
  background: var(--orchid);
  bottom: -100px;
  left: 30%;
  animation-delay: -10s;
}

@keyframes float {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  25% {
    transform: translate(30px, -30px) scale(1.05);
  }

  50% {
    transform: translate(-20px, 20px) scale(0.95);
  }

  75% {
    transform: translate(20px, 10px) scale(1.02);
  }
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Public header (dock, mega menus, phone sheet, language switcher): components/site-nav.css */

/* Footer donate */
.footer-donate {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: #ec4899;
}

.footer-donate:hover {
  color: #f472b6;
}

.footer-donate svg {
  stroke: currentColor;
}

/* Hero Section */
.hero {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 8rem 1.5rem 4rem;
}

.hero h1 {
  font-size: clamp(2.5rem, 8vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.6s ease 0.1s both;
}

.hero p {
  font-size: 1.25rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 3rem;
  animation: fadeInUp 0.6s ease 0.2s both;
}

/* URL Input */
.url-form {
  width: 100%;
  max-width: 700px;
  animation: fadeInUp 0.6s ease 0.3s both;
}

.url-input {
  flex: 1;
  padding: 1rem 0.5rem;
  background: transparent;
  border: none;
  font-size: 1rem;
  color: var(--text-primary);
  outline: none;
  min-width: 0;
}

.url-input::placeholder {
  color: var(--text-muted);
}

.btn {
  padding: 1rem 2rem;
  border: none;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

/* Platform disabled modal */
.platform-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(6px);
}

.platform-modal {
  background: var(--bg);
  border-radius: 20px;
  padding: 2.5rem 2rem 2rem;
  max-width: 400px;
  width: 90%;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-color);
}

.platform-modal-icon {
  font-size: 3.5rem;
  margin-bottom: 1rem;
}

.platform-modal-text {
  color: var(--text-primary);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0 0 0.75rem;
}

.platform-modal-subtext {
  color: var(--text-secondary);
  font-size: 0.85rem;
  line-height: 1.6;
  margin: 0 0 1.5rem;
}

.platform-modal-btn + .platform-modal-btn { margin-top: 0.625rem; }

.platform-modal-btn {
  width: 100%;
  box-sizing: border-box;
  padding: 0.9rem;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
}

.btn-primary {
  background: var(--gradient-button);
  color: white;
  box-shadow: 0 4px 20px rgba(217, 70, 239, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(217, 70, 239, 0.4);
}

.btn-primary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.range-slider-container {
  padding: 0.5rem;
  margin-bottom: 1.5rem;
}

.range-slider {
  position: relative;
  height: 8px;
  background: var(--border);
  border-radius: 4px;
  cursor: pointer;
}

.range-track {
  position: absolute;
  height: 100%;
  background: var(--gradient-button);
  border-radius: 4px;
}

.range-handle {
  position: absolute;
  top: 50%;
  width: 16px;
  height: 16px;
  background: white;
  border: 2px solid var(--orchid);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  cursor: grab;
  transition: transform 0.15s, box-shadow 0.15s;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  z-index: 2;
}

.range-handle:hover {
  transform: translate(-50%, -50%) scale(1.2);
  box-shadow: 0 3px 10px rgba(217, 70, 239, 0.4);
}

.range-handle:active {
  cursor: grabbing;
}

/* Custom Select Dropdown */
.custom-select {
  position: relative;
  z-index: 10;
}

.custom-select.open {
  z-index: 100;
}

.select-trigger {
  width: 100%;
  padding: 0.875rem 1rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--text-primary);
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transition: all 0.2s;
}

.select-trigger:hover {
  border-color: var(--orchid);
}

.custom-select.open .select-trigger {
  border-color: var(--orchid);
  box-shadow: 0 0 0 3px rgba(217, 70, 239, 0.15);
}

.select-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--orchid);
}

.select-value {
  flex: 1;
  text-align: left;
}

.select-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: transform 0.2s;
}

.custom-select.open .select-arrow {
  transform: rotate(180deg);
}

.select-dropdown {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 0;
  right: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.5rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.2s;
  max-height: 200px;
  overflow-y: auto;
}

.custom-select.open .select-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.select-option {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.15s;
}

.select-option:hover {
  background: var(--surface-hover);
}

.select-option.active {
  background: var(--gradient-subtle);
}

.select-option.active .option-text {
  color: var(--orchid);
  font-weight: 600;
}

.option-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
}

.select-option.active .option-icon {
  color: var(--orchid);
}

.option-text {
  flex: 1;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-primary);
}

.option-desc {
  font-size: 0.75rem;
  color: var(--text-muted);
  padding: 0.2rem 0.5rem;
  background: var(--surface-hover);
  border-radius: 4px;
}

.select-option.active .option-desc {
  background: rgba(217, 70, 239, 0.1);
  color: var(--orchid);
}

/* Mobile: convert custom-select to bottomsheet trigger */
@media (max-width: 767px) {
  .custom-select .select-dropdown {
    display: none !important;
  }

  .custom-select.open .select-dropdown {
    display: none !important;
  }

  .custom-select {
    max-width: 100%;
  }

  .select-trigger {
    padding: 0.75rem 0.875rem;
    font-size: 0.9rem;
    gap: 0.5rem;
    max-width: 100%;
    box-sizing: border-box;
  }

  .select-icon svg {
    width: 16px;
    height: 16px;
  }

  .select-arrow svg {
    width: 14px;
    height: 14px;
  }
}

.progress-bar {
  height: 8px;
  background: var(--border);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 0.75rem;
}

.progress-fill {
  height: 100%;
  background: var(--gradient-button);
  border-radius: 4px;
  transition: width 0.3s ease;
  position: relative;
}

.progress-fill::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
  0% {
    transform: translateX(-100%);
  }

  100% {
    transform: translateX(100%);
  }
}

.progress-text {
  text-align: center;
  font-size: 0.875rem;
  color: var(--text-secondary);
}

/* Sections */
.section {
  padding-top: 5rem;
  padding-bottom: 5rem;
  margin-bottom: 2rem;
}

.section:last-of-type {
  margin-bottom: 4rem;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 1;
}

.feature-item h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.35rem;
}

.feature-item p {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.45;
  max-width: 160px;
  margin-top: 0.15rem;
}

/* Contact Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-group {
  width: 100%;
}

.form-input {
  width: 100%;
  padding: 0.875rem 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  font-size: 0.9rem;
  color: var(--text-primary);
  transition: all 0.2s;
  font-family: inherit;
}

.form-input::placeholder {
  color: var(--text-muted);
}

.form-input:focus {
  outline: none;
  border-color: var(--orchid);
  box-shadow: 0 0 0 3px rgba(217, 70, 239, 0.1);
}

.form-textarea {
  field-sizing: content;
  min-height: 60px;
  max-height: 150px;
  resize: none;
  overflow-y: auto;
  padding-bottom: 1.75rem;
}

.form-group {
  position: relative;
}

/* FAQ List */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.faq-item:hover {
  border-color: var(--glass-border);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* The open row carries a lighter border so the expanded card reads as the
   active one without a fill change. */
.faq-item.active {
  border-color: #3F3F52;
}

[data-theme="light"] .faq-item.active {
  border-color: var(--text-muted);
}

.faq-question {
  width: 100%;
  padding: 20px 24px;
  background: transparent;
  border: none;
  text-align: left;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-primary);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  transition: color 0.2s;
}

.faq-question:hover {
  color: var(--orchid);
}

.faq-icon-wrapper {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  transition: background 0.2s, color 0.2s;
}

[data-theme="light"] .faq-icon-wrapper {
  background: var(--surface-hover);
}

.faq-item.active .faq-icon-wrapper {
  background: var(--gradient-button);
  color: #fff;
}

/* Grid rows 0fr -> 1fr follows the real answer height. Padding stays fixed so text never re-wraps mid-animation. */
.faq-answer {
  --faq-ease: cubic-bezier(0.32, 0.72, 0, 1);
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.36s var(--faq-ease);
}

.faq-item.active .faq-answer {
  grid-template-rows: 1fr;
}

.faq-answer-inner {
  min-height: 0;
  overflow: hidden;
}

.faq-answer p {
  margin: 0;
  padding: 0 24px 22px;
  color: var(--text-secondary);
  line-height: 1.7;
  font-size: 0.9375rem;
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 0.18s ease, transform 0.36s var(--faq-ease);
}

.faq-item.active .faq-answer p {
  opacity: 1;
  transform: none;
  transition: opacity 0.28s ease 0.06s, transform 0.36s var(--faq-ease);
}

@media (prefers-reduced-motion: reduce) {
  .faq-answer,
  .faq-answer p,
  .faq-item.active .faq-answer p { transition: none; }
}

[data-theme="light"] .faq-item {
  background: white;
}

/* Donate CTA Section */
.donate-cta {
  position: relative;
  overflow: hidden;
  border-radius: 32px;
  padding: 4rem;
  background: var(--gradient-primary);
  color: #14101C;
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(240px, 30%, 380px);
  gap: 3rem;
  align-items: center;
  margin-top: 1rem;
  margin-bottom: 2rem;
}

.donate-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 80% at 20% 120%, rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0));
  pointer-events: none;
}

.donate-inner {
  position: relative;
  z-index: 1;
  container-type: inline-size;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.25rem;
}

.donate-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 6px 12px 6px 8px;
  border-radius: 999px;
  background: rgba(20, 16, 28, 0.12);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.donate-eyebrow-heart {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #14101C;
  color: var(--pink-light);
  display: flex;
  align-items: center;
  justify-content: center;
}

.donate-eyebrow-heart svg {
  fill: currentColor;
  stroke: currentColor;
}

.donate-cta h2 {
  font-size: clamp(1.75rem, 6.5cqw, 3rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.05;
  margin: 0;
  max-width: 640px;
}

.donate-cta p {
  color: rgba(20, 16, 28, 0.75);
  line-height: 1.5;
  margin: 0;
  font-size: clamp(0.9375rem, 2.6cqw, 1.125rem);
  max-width: 560px;
}

.donate-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem;
  margin-top: 0.5rem;
}

.donate-cta-btn {
  display: inline-flex;
  align-items: center;
  height: 54px;
  padding: 0 1.75rem;
  font-family: inherit;
  color: #F4F4F5;
  background: #09090F;
  border: none;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 16px 40px rgba(20, 16, 28, 0.3);
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: pointer;
}

.donate-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 48px rgba(20, 16, 28, 0.4);
  color: #fff;
}

.donate-cta-btn:focus:not(:focus-visible) {
  outline: none;
}

.donate-btn-inner {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 1rem;
  font-weight: 700;
}

.donate-btn-inner svg {
  color: var(--pink-light);
}

.donate-note {
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(20, 16, 28, 0.7);
}

.donate-rings {
  position: relative;
  width: 100%;
  max-width: 300px;
  aspect-ratio: 1;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.donate-ring {
  position: absolute;
  border-radius: 50%;
}

.donate-ring-1 { width: 100%; height: 100%; background: rgba(255, 255, 255, 0.12); }
.donate-ring-2 { width: 75%; height: 75%; background: rgba(255, 255, 255, 0.16); }
.donate-ring-3 { width: 50%; height: 50%; background: rgba(255, 255, 255, 0.24); }

.donate-heart {
  position: relative;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: #14101C;
  color: var(--pink-light);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 20px 50px rgba(20, 16, 28, 0.35);
}

.donate-heart svg {
  fill: currentColor;
  stroke: currentColor;
}

@media (max-width: 900px) {
  .donate-cta {
    grid-template-columns: 1fr;
    padding: 2rem 1.5rem;
    border-radius: 24px;
    gap: 1rem;
  }

  .donate-rings {
    position: absolute;
    right: -70px;
    top: -70px;
    width: 220px;
    max-width: none;
    height: 220px;
    margin: 0;
  }

  .donate-ring-1 { width: 220px; height: 220px; }
  .donate-ring-2 { width: 140px; height: 140px; }
  .donate-ring-3,
  .donate-heart { display: none; }

  .donate-cta p { font-size: 0.9375rem; }
  .donate-actions { width: 100%; flex-direction: column; align-items: stretch; gap: 0.75rem; }
  .donate-cta-btn { justify-content: center; }
  .donate-note { text-align: center; font-size: 0.75rem; }
}

/* Footer */
.footer {
  margin-top: 6rem;
  border-top: 1px solid var(--border);
  background: var(--glass-bg);
  padding: 0 0 3rem;
  flex-shrink: 0;
}

/* Toast */
.toast-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 10000;
}

.toast {
  padding: 1rem 1.5rem;
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  margin-top: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  animation: slideIn 0.3s ease;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.toast.success {
  border-color: var(--success);
}

.toast.error {
  border-color: var(--error);
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(20px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

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

.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Spinner */
.spinner {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: white;
  animation: spin 0.8s linear infinite;
}

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

/* Responsive breakpoints (Tailwind: sm 640, md 768, lg 1024, xl 1280, 2xl 1536) */

/* Below lg: FAQ layout change and ensure section padding */
@media (max-width: 1023px) {

  /* Ensure proper padding for sections */
  .section {
    padding: 4rem 0;
    margin-bottom: 2rem;
  }

  .section:last-of-type {
    margin-bottom: 3.5rem;
  }

  .container {
    padding: 0 1.5rem;
  }
}

/* Tablets and below (< md: 768px) */
@media (max-width: 767px) {

  html,
  body {
    overflow-x: hidden;
    max-width: 100vw;
  }

  .container {
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
    padding: 0 1rem;
  }

  .hero {
    padding: 6rem 1rem 3rem;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .url-input {
    padding: 0.5rem;
  }

  .stats-bar {
    grid-template-columns: repeat(2, 1fr);
  }

  .section {
    padding: 3rem 0;
    margin-bottom: 1.5rem;
  }

  .section:last-of-type {
    margin-bottom: 3rem;
  }

  .container {
    padding: 0 1rem;
  }

  .select-trigger {
    padding: 0.75rem 0.875rem;
  }

  .select-dropdown {
    max-height: 220px;
  }

  .select-option {
    padding: 0.625rem 0.875rem;
  }
}

/* Clip FAB + clip modal live in components/clip-modal.css */

.unlimited-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 0.375rem;
  padding: 0.125rem;
  border-radius: 50%;
  color: rgb(234, 179, 8);
  background: rgba(234, 179, 8, 0.15);
  border: 1px solid rgba(234, 179, 8, 0.3);
  vertical-align: middle;
  line-height: 0;
}

/* Lock background scroll whenever a modal is open (overlays are added on open;
   admin modals stay in the DOM and use .open) */
body:has(.login-modal-overlay),
body:has(.donate-modal-overlay),
body:has(.pro-welcome-overlay),
body:has(.modal-overlay.open) {
  overflow: hidden;
}

/* Pro upgrade celebration — confetti + welcome modal */
.confetti-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  /* Above the welcome modal (10001) so the confetti rains over everything */
  z-index: 10060;
}

.pro-welcome-overlay {
  position: fixed;
  inset: 0;
  z-index: 10001;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  animation: pro-welcome-fade 0.2s ease;
}

@keyframes pro-welcome-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}

.pro-welcome-modal {
  position: relative;
  width: 100%;
  max-width: 420px;
  padding: 36px 32px 32px;
  border-radius: 20px;
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--orchid);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  animation: pro-welcome-pop 0.28s cubic-bezier(0.2, 0.8, 0.3, 1.2);
}

@keyframes pro-welcome-pop {
  from { transform: scale(0.9); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

/* Size and look come from the kit's .ui-sheet-close */
.pro-welcome-close {
  position: absolute;
  top: 14px;
  right: 14px;
}

.pro-welcome-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  margin-bottom: 16px;
  border-radius: 50%;
  color: #fff;
  background: var(--gradient-primary);
  box-shadow: 0 8px 24px rgba(217, 70, 239, 0.4);
}

.pro-welcome-title {
  margin: 0 0 8px;
  font-size: 1.5rem;
  color: var(--text-primary);
}

.pro-welcome-sub {
  margin: 0 0 20px;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.pro-welcome-features {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pro-welcome-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-primary);
  font-size: 0.95rem;
}

.pro-welcome-features li svg {
  color: var(--success);
  flex-shrink: 0;
}

.pro-welcome-actions {
  display: flex;
  gap: 10px;
}

.pro-welcome-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  padding: 13px 20px;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  color: #fff;
  background: var(--gradient-primary);
  transition: opacity 0.15s ease;
}

.pro-welcome-cta:hover {
  opacity: 0.92;
}

.pro-welcome-dismiss {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 20px;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  color: var(--text-secondary);
  background: transparent;
  border: 1px solid var(--border);
  transition: background 0.15s ease;
}

.pro-welcome-dismiss:hover {
  background: var(--surface-hover);
  color: var(--text-primary);
}
