/* ============================================================
   Softideia — 30 Anos  |  Sustainability Theme
   ============================================================ */

:root {
  --green-a:      #1a4a1e;
  --green-b:      #0d2e10;
  --green-deep:   #071209;
  --green-brand:  #4ade80;
  --green-light:  #86efac;
  --green-glow:   #bbf7d0;
  --amber:        #f59e0b;
  --amber-light:  #fcd34d;
  --earth:        #78350f;
  --white:        #ffffff;
  --white-soft:   rgba(255,255,255,0.08);
  --white-border: rgba(255,255,255,0.14);
  --text-muted:   rgba(255,255,255,0.52);
  --card-bg:      rgba(8, 22, 10, 0.62);
  --card-border:  rgba(74,222,128,0.18);
  --radius-lg:    20px;
  --radius-md:    14px;
  --radius-sm:    10px;
  --shadow-glow:  0 0 48px rgba(34,197,94,0.12);
  --transition:   0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
  background: linear-gradient(160deg, #071a09 0%, #0f2812 45%, #1a320a 100%);
  background-attachment: fixed;
  color: var(--white);
  min-height: 100dvh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ── Organic texture overlay ────────────────────────────── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    radial-gradient(ellipse 80% 60% at 20% 10%, rgba(74,222,128,0.06) 0%, transparent 60%),
    radial-gradient(ellipse 60% 80% at 80% 90%, rgba(34,197,94,0.05) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 50% 50%, rgba(245,158,11,0.03) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

body::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 64px,
      rgba(74,222,128,0.025) 64px,
      rgba(74,222,128,0.025) 65px
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 64px,
      rgba(74,222,128,0.025) 64px,
      rgba(74,222,128,0.025) 65px
    );
  pointer-events: none;
  z-index: 0;
}

/* ── Canvas particles ───────────────────────────────────── */
#particles-canvas {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: .25;
}

/* ── Layout wrapper ─────────────────────────────────────── */
.page {
  position: relative;
  z-index: 2;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ── Hero header ─────────────────────────────────────────── */
.hero {
  width: 100%;
  padding: 48px 24px 32px;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(74,222,128,0.1);
  border: 1px solid rgba(74,222,128,0.3);
  color: var(--green-light);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 20px;
  backdrop-filter: blur(8px);
}

.hero h1 {
  font-size: clamp(1.9rem, 6vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 12px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.hero p {
  color: rgba(255,255,255,0.65);
  font-size: 0.95rem;
  max-width: 340px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ── Softideia logo mark ─────────────────────────────────── */
.softideia-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.softideia-logo-img {
  height: 48px;
  width: auto;
  object-fit: contain;
}

/* ── Tree hero visual ────────────────────────────────────── */
.trinta-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 6px 0 18px;
}
.trinta-img {
  width: 110px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 4px 24px rgba(74,222,128,0.25));
}

/* ── Stat badges ─────────────────────────────────────────── */
.stats-row {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 20px;
  flex-wrap: wrap;
}
.stat-badge {
  background: rgba(74,222,128,0.08);
  border: 1px solid rgba(74,222,128,0.2);
  border-radius: 100px;
  padding: 7px 16px;
  font-size: 0.78rem;
  display: flex;
  align-items: center;
  gap: 7px;
  color: rgba(255,255,255,0.85);
  backdrop-filter: blur(8px);
}
.stat-badge .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--green-brand);
  flex-shrink: 0;
  animation: pulse-dot 2s infinite;
  box-shadow: 0 0 6px rgba(74,222,128,0.6);
}
@keyframes pulse-dot {
  0%,100% { opacity: 1; transform: scale(1); }
  50%      { opacity: .45; transform: scale(1.4); }
}

/* ── Milestone strip ─────────────────────────────────────── */
.milestone-strip {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 0 0 6px;
  scrollbar-width: none;
  margin-top: 16px;
  justify-content: flex-start;
  width: 100%;
  max-width: 480px;
}
.milestone-strip::-webkit-scrollbar { display: none; }
.milestone-chip {
  flex-shrink: 0;
  background: rgba(74,222,128,0.08);
  border: 1px solid rgba(74,222,128,0.18);
  border-radius: 100px;
  padding: 6px 14px;
  font-size: 0.72rem;
  color: rgba(255,255,255,0.65);
  white-space: nowrap;
  backdrop-filter: blur(4px);
}
.milestone-chip strong { color: var(--green-light); }

/* ── Glass card ──────────────────────────────────────────── */
.card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  padding: 8px;
  width: calc(100% - 32px);
  max-width: 480px;
  margin: 0 auto 32px;
  box-shadow: var(--shadow-glow), 0 24px 48px rgba(0,0,0,0.4);
}

.card-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--white);
}
.card-sub {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 28px;
}

/* ── Form elements ───────────────────────────────────────── */
.form-group { margin-bottom: 18px; }

label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: rgba(255,255,255,0.55);
  margin-bottom: 7px;
  text-transform: uppercase;
}
input[type="text"],
input[type="email"],
input[type="number"],
input[type="tel"] {
  width: 100%;
  background: rgba(255,255,255,0.06);
  border: 1.5px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-sm);
  color: var(--white);
  font-size: 0.97rem;
  padding: 14px 16px;
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
  -webkit-appearance: none;
}
input::placeholder { color: rgba(255,255,255,0.22); }
input:focus {
  border-color: rgba(74,222,128,0.5);
  box-shadow: 0 0 0 3px rgba(74,222,128,0.08);
}
input[type="number"]::-webkit-inner-spin-button { opacity: .4; }

/* ── Number picker ───────────────────────────────────────── */
.num-picker {
  display: flex; align-items: center;
  background: rgba(255,255,255,0.06);
  border: 1.5px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.num-picker button {
  width: 46px; flex-shrink: 0;
  background: rgba(255,255,255,0.05);
  border: none; color: var(--white);
  font-size: 1.3rem; padding: 12px 0;
  cursor: pointer;
  transition: background var(--transition);
  -webkit-tap-highlight-color: transparent;
}
.num-picker button:active { background: rgba(255,255,255,0.15); }
.num-picker input {
  flex: 1; border: none !important; border-radius: 0 !important;
  text-align: center; background: transparent !important;
  box-shadow: none !important; font-weight: 700; font-size: 1.05rem;
}

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  display: flex; align-items: center; justify-content: center;
  gap: 9px; width: 100%; padding: 16px 24px;
  border: none; border-radius: var(--radius-sm);
  font-size: 1rem; font-weight: 700; cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), opacity var(--transition);
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: scale(0.97); }
.btn:disabled { opacity: .45; pointer-events: none; }

.btn-primary {
  background: rgba(74,222,128,0.12);
  border: 1.5px solid rgba(74,222,128,0.3);
  color: var(--green-light);
  backdrop-filter: blur(8px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}
.btn-primary:hover { background: rgba(74,222,128,0.2); box-shadow: 0 8px 32px rgba(34,197,94,0.15); }

.btn-white {
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
  color: var(--white);
  font-weight: 800;
  box-shadow: 0 8px 24px rgba(22,163,74,0.35);
  border: none;
}
.btn-white:hover { box-shadow: 0 8px 32px rgba(22,163,74,0.5); transform: translateY(-1px); }

.btn-outline {
  background: transparent;
  border: 1.5px solid rgba(74,222,128,0.22);
  color: rgba(255,255,255,0.75);
}
.btn-outline:hover { border-color: rgba(74,222,128,0.5); color: var(--white); }

.btn-sm {
  width: auto; padding: 10px 20px;
  font-size: 0.87rem; border-radius: var(--radius-sm);
}

/* ── Step indicator ──────────────────────────────────────── */
.steps {
  display: flex; align-items: center; justify-content: center;
  gap: 0; margin-bottom: 32px; padding: 0 24px;
  width: 100%; max-width: 400px;
}
.step {
  display: flex; flex-direction: column; align-items: center;
  flex: 1; position: relative;
}
.step:not(:last-child)::after {
  content: ''; position: absolute; top: 16px; left: 50%;
  width: 100%; height: 2px;
  background: rgba(255,255,255,0.12); z-index: 0;
}
.step.done:not(:last-child)::after,
.step.active:not(:last-child)::after { background: rgba(74,222,128,0.5); }

.step-num {
  width: 32px; height: 32px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.78rem; font-weight: 700; position: relative; z-index: 1;
  background: rgba(255,255,255,0.07);
  border: 2px solid rgba(255,255,255,0.15);
  color: var(--text-muted);
  transition: all var(--transition);
}
.step.active .step-num {
  background: linear-gradient(135deg, #22c55e, #16a34a);
  border-color: var(--green-brand);
  color: white;
  box-shadow: 0 0 18px rgba(74,222,128,0.4);
}
.step.done .step-num {
  background: rgba(74,222,128,0.2);
  border-color: rgba(74,222,128,0.5);
  color: var(--green-light);
}
.step-label {
  font-size: 0.65rem; margin-top: 6px; color: var(--text-muted);
  text-align: center; letter-spacing: 0.04em; text-transform: uppercase;
  font-weight: 600; white-space: nowrap;
}
.step.active .step-label { color: var(--green-light); }
.step.done .step-label   { color: rgba(255,255,255,0.6); }

/* ── Upload zone ─────────────────────────────────────────── */
.upload-zone {
  border: 2px dashed rgba(74,222,128,0.2);
  border-radius: var(--radius-md); padding: 32px 20px;
  text-align: center; cursor: pointer;
  transition: all var(--transition);
  background: rgba(74,222,128,0.03);
  position: relative; overflow: hidden;
}
.upload-zone:hover, .upload-zone.drag-over {
  border-color: rgba(74,222,128,0.5);
  background: rgba(74,222,128,0.07);
}
.upload-zone input[type="file"] {
  position: absolute; inset: 0; opacity: 0; cursor: pointer;
  width: 100%; height: 100%;
}
.upload-icon {
  width: 48px; height: 48px;
  background: rgba(74,222,128,0.1);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 14px;
  border: 1px solid rgba(74,222,128,0.2);
}
.upload-zone p { font-size: 0.88rem; color: rgba(255,255,255,0.55); line-height: 1.5; }
.upload-zone strong { color: var(--white); }

/* ── Camera view ─────────────────────────────────────────── */
.camera-wrap {
  position: relative; border-radius: var(--radius-md);
  overflow: hidden; background: #000;
  width: 100%; aspect-ratio: 16/9;
}
.camera-wrap video { width: 100%; height: 100%; object-fit: cover; display: block; }
.camera-overlay {
  position: absolute; inset: 0;
  border: 3px solid rgba(74,222,128,0.25);
  border-radius: var(--radius-md); pointer-events: none;
}
.camera-overlay::before, .camera-overlay::after {
  content: ''; position: absolute;
  width: 24px; height: 24px;
  border-color: var(--green-brand); border-style: solid;
}
.camera-overlay::before { top: 10px; left: 10px; border-width: 3px 0 0 3px; }
.camera-overlay::after  { bottom: 10px; right: 10px; border-width: 0 3px 3px 0; }

/* ── Preview grid ─────────────────────────────────────────── */
.preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 10px; margin-top: 20px;
}
.preview-item {
  position: relative; aspect-ratio: 1;
  border-radius: var(--radius-sm); overflow: hidden;
  border: 1.5px solid rgba(74,222,128,0.15);
  animation: pop-in 0.4s cubic-bezier(0.34,1.56,0.64,1) both;
}
@keyframes pop-in {
  from { opacity: 0; transform: scale(0.7); }
  to   { opacity: 1; transform: scale(1); }
}
.preview-item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.preview-item .member-tag {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.7));
  padding: 16px 8px 6px;
  font-size: 0.7rem; font-weight: 600; color: var(--white);
  text-align: center; white-space: nowrap;
  overflow: hidden; text-overflow: ellipsis;
}
.preview-item .uploading-overlay {
  position: absolute; inset: 0;
  background: rgba(7,18,9,0.75);
  display: flex; align-items: center; justify-content: center;
}

/* ── Progress bar ─────────────────────────────────────────── */
.progress-bar-wrap {
  background: rgba(255,255,255,0.08);
  border-radius: 100px; height: 8px; overflow: hidden; margin: 16px 0;
}
.progress-bar-fill {
  height: 100%; border-radius: 100px;
  background: linear-gradient(90deg, #22c55e, #86efac);
  transition: width 0.5s cubic-bezier(0.4,0,0.2,1);
}
.progress-label {
  font-size: 0.78rem; color: var(--text-muted);
  display: flex; justify-content: space-between; margin-bottom: 6px;
}

/* ── Profile page ─────────────────────────────────────────── */
.company-header { text-align: center; margin-bottom: 28px; }
.company-logo {
  width: 80px; height: 80px;
  background: rgba(74,222,128,0.12);
  border: 2px solid rgba(74,222,128,0.25);
  border-radius: 24px;
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem; font-weight: 800;
  margin: 0 auto 14px; color: white;
  box-shadow: 0 12px 32px rgba(0,0,0,0.25);
  backdrop-filter: blur(8px);
}
.company-name {
  font-size: 1.4rem; font-weight: 800; color: var(--white);
}
.company-meta { font-size: 0.82rem; color: var(--text-muted); margin-top: 4px; }
.company-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(74,222,128,0.1);
  border: 1px solid rgba(74,222,128,0.25);
  color: var(--green-light); font-size: 0.72rem; font-weight: 600;
  padding: 4px 14px; border-radius: 100px; margin-top: 10px;
}

.info-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 10px; margin-bottom: 24px;
}
.info-item {
  background: rgba(74,222,128,0.05);
  border: 1px solid rgba(74,222,128,0.1);
  border-radius: var(--radius-sm); padding: 14px;
}
.info-item .lbl {
  font-size: 0.68rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--text-muted); margin-bottom: 4px;
}
.info-item .val {
  font-size: 0.92rem; font-weight: 600; color: var(--white);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

.members-section h3 {
  font-size: 0.85rem; font-weight: 700;
  color: rgba(255,255,255,0.45);
  text-transform: uppercase; letter-spacing: 0.1em;
  margin-bottom: 14px;
  display: flex; align-items: center; gap: 8px;
}
.members-section h3::after {
  content: ''; flex: 1; height: 1px;
  background: rgba(74,222,128,0.12);
}

.member-card {
  display: flex; align-items: center; gap: 14px;
  padding: 14px;
  background: rgba(74,222,128,0.04);
  border: 1px solid rgba(74,222,128,0.08);
  border-radius: var(--radius-sm); margin-bottom: 10px;
  animation: slide-up 0.4s ease both;
}
@keyframes slide-up {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
.member-avatar {
  width: 52px; height: 52px; border-radius: 50%;
  object-fit: cover; border: 2px solid rgba(74,222,128,0.25); flex-shrink: 0;
}
.member-avatar-placeholder {
  width: 52px; height: 52px; border-radius: 50%;
  background: rgba(74,222,128,0.08);
  border: 2px dashed rgba(74,222,128,0.2);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; font-size: 1.2rem;
}
.member-info { flex: 1; min-width: 0; }
.member-info .name { font-weight: 600; font-size: 0.9rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.member-info .time { font-size: 0.72rem; color: var(--text-muted); margin-top: 2px; }
.member-info .pending { font-size: 0.72rem; color: rgba(245,158,11,0.85); margin-top: 2px; }

.slot-empty {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px;
  background: rgba(255,255,255,0.02);
  border: 1px dashed rgba(255,255,255,0.07);
  border-radius: var(--radius-sm); margin-bottom: 10px;
  color: var(--text-muted); font-size: 0.82rem;
}

/* ── Toast notification ──────────────────────────────────── */
.toast-container {
  position: fixed; bottom: 24px; left: 50%;
  transform: translateX(-50%); z-index: 9999;
  display: flex; flex-direction: column;
  align-items: center; gap: 8px; pointer-events: none;
  width: calc(100% - 48px); max-width: 420px;
}
.toast {
  background: rgba(8,22,10,0.96);
  border: 1px solid rgba(74,222,128,0.2);
  border-radius: var(--radius-sm); padding: 14px 18px;
  font-size: 0.88rem; display: flex; align-items: center;
  gap: 10px; backdrop-filter: blur(16px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
  animation: toast-in 0.3s ease; width: 100%;
}
@keyframes toast-in {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
.toast.success { border-color: rgba(74,222,128,0.35); }
.toast.error   { border-color: rgba(255,100,100,0.3); }
.toast-icon    { font-size: 1.1rem; flex-shrink: 0; }

/* ── Spinner ─────────────────────────────────────────────── */
.spinner {
  width: 20px; height: 20px;
  border: 2.5px solid rgba(255,255,255,0.15);
  border-top-color: var(--green-brand);
  border-radius: 50%;
  animation: spin 0.7s linear infinite; flex-shrink: 0;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ── Divider ─────────────────────────────────────────────── */
.divider {
  display: flex; align-items: center; gap: 12px;
  margin: 20px 0; color: var(--text-muted);
  font-size: 0.78rem; font-weight: 500;
}
.divider::before, .divider::after {
  content: ''; flex: 1; height: 1px;
  background: rgba(74,222,128,0.1);
}

/* ── Tab bar ─────────────────────────────────────────────── */
.tab-bar {
  display: grid; grid-template-columns: 1fr 1fr;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(74,222,128,0.1);
  border-radius: var(--radius-sm); padding: 4px;
  margin-bottom: 24px; gap: 4px;
}
.tab-btn {
  background: transparent; border: none;
  color: rgba(255,255,255,0.45); padding: 10px;
  border-radius: 8px; font-size: 0.85rem; font-weight: 600;
  cursor: pointer; display: flex; align-items: center;
  justify-content: center; gap: 7px;
  transition: all var(--transition);
  -webkit-tap-highlight-color: transparent;
}
.tab-btn.active {
  background: rgba(74,222,128,0.12);
  border: 1px solid rgba(74,222,128,0.25);
  color: var(--green-light);
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

/* ── Share link ──────────────────────────────────────────── */
.share-link {
  display: flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(74,222,128,0.12);
  border-radius: var(--radius-sm); padding: 12px 14px; margin-top: 20px;
  word-break: break-all;
}
.share-link code {
  flex: 1; font-size: 0.75rem; color: var(--green-light); font-family: monospace;
}
.copy-btn {
  background: rgba(74,222,128,0.12);
  border: 1px solid rgba(74,222,128,0.25);
  border-radius: 8px; color: var(--green-light);
  padding: 7px 12px; font-size: 0.75rem; font-weight: 600;
  cursor: pointer; flex-shrink: 0; transition: background var(--transition);
}
.copy-btn:hover { background: rgba(74,222,128,0.22); }

/* ── Splash screen ───────────────────────────────────────── */
#splash {
  position: fixed; inset: 0; z-index: 9000;
  background: linear-gradient(160deg, #050f06 0%, #0b1e0d 50%, #111f07 100%);
  display: flex; align-items: center; justify-content: center;
  flex-direction: column;
  transition: opacity 0.7s ease, visibility 0.7s ease;
}
#splash.splash-hide {
  opacity: 0; visibility: hidden; pointer-events: none;
}

#splash-tree {
  width: 110px; height: auto;
  filter: drop-shadow(0 0 32px rgba(74,222,128,0.5));
  animation: splash-tree-in 1s cubic-bezier(0.34,1.36,0.64,1) both;
}
@keyframes splash-tree-in {
  from { opacity: 0; transform: scale(0.4) translateY(20px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

#splash-brand {
  margin-top: 24px;
  font-size: 1.6rem; font-weight: 900; color: #fff; letter-spacing: .02em;
  animation: splash-fade-up 0.6s 0.5s ease both;
}
#splash-sub {
  font-size: 0.82rem; font-weight: 600; letter-spacing: .22em;
  text-transform: uppercase; color: var(--green-brand); margin-top: 6px;
  animation: splash-fade-up 0.6s 0.75s ease both;
}
#splash-line {
  width: 0; height: 2px; background: var(--green-brand);
  border-radius: 2px; margin-top: 16px;
  animation: splash-line-in 0.7s 0.9s ease both;
  opacity: .6;
}
@keyframes splash-fade-up {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes splash-line-in {
  from { width: 0; }
  to   { width: 60px; }
}

/* Hide page content until splash is dismissed */
.splash-lock { overflow: hidden; }

/* ── Utilities ───────────────────────────────────────────── */
.mt-4  { margin-top: 16px; }
.mb-4  { margin-bottom: 16px; }
.hidden { display: none !important; }
.text-center { text-align: center; }
.text-muted { color: var(--text-muted); font-size: 0.82rem; }

/* ── Media: larger screens ────────────────────────────────── */
@media (min-width: 520px) {
  .hero { padding: 64px 32px 40px; }
  .card { padding: 8px; }
  .preview-grid { grid-template-columns: repeat(3, 1fr); }
}
