/* ─── DualWeather Website — Design System ─── */

:root {
  --bg: #0a0a0a;
  --bg-elevated: #141414;
  --bg-card: #1a1a1a;
  --bg-input: #111111;
  --border: #262626;
  --border-focus: #404040;
  --text: #e8e8e8;
  --text-secondary: #888888;
  --text-muted: #555555;
  --accent: #ffffff;
  --accent-dim: rgba(255,255,255,0.06);
  --accent-glow: rgba(255,255,255,0.04);
  --success: #34d399;
  --warning: #fbbf24;
  --error: #f87171;
  --radius: 12px;
  --radius-sm: 8px;
  --radius-xs: 6px;
  --font: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--text); text-decoration: none; }

/* ─── Canvas ─── */
#weatherCanvas {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.45;
}

/* ─── Animations ─── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ─── Nav ─── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 28px;
  background: rgba(10,10,10,0.8);
  backdrop-filter: blur(24px) saturate(1.3);
  -webkit-backdrop-filter: blur(24px) saturate(1.3);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.01em;
}

.nav-logo img { border-radius: 7px; }

.nav-links {
  display: flex;
  gap: 24px;
  font-size: 14px;
  color: var(--text-secondary);
}

.nav-links a { transition: color 0.15s; }
.nav-links a:hover { color: var(--text); }
.nav-logout { color: var(--error) !important; }

/* ─── Hero ─── */
.hero {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 140px 24px 80px;
  min-height: 100dvh;
  justify-content: center;
}

.hero-badge {
  display: inline-flex;
  padding: 6px 18px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-secondary);
  border: 1px solid var(--border);
  background: var(--accent-dim);
  margin-bottom: 32px;
  animation: fadeUp 0.7s ease both;
}

.hero-icon {
  margin-bottom: 36px;
  animation: fadeUp 0.7s ease 0.08s both;
}

.hero-icon img {
  width: 140px;
  height: 140px;
  border-radius: 30px;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.08),
    0 20px 60px rgba(0,0,0,0.5),
    0 0 100px rgba(255,255,255,0.02);
}

.hero-title {
  font-size: clamp(32px, 5.5vw, 58px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.035em;
  margin-bottom: 20px;
  animation: fadeUp 0.7s ease 0.16s both;
}

.hero-accent {
  background: linear-gradient(135deg, #fff 0%, #888 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-tagline {
  font-size: clamp(16px, 2vw, 18px);
  color: var(--text-secondary);
  max-width: 520px;
  line-height: 1.65;
  margin-bottom: 36px;
  animation: fadeUp 0.7s ease 0.24s both;
}

.hero-cta {
  display: inline-flex;
  padding: 14px 36px;
  background: #fff;
  color: #0a0a0a;
  font-weight: 600;
  font-size: 15px;
  border-radius: 100px;
  transition: all 0.2s ease;
  animation: fadeUp 0.7s ease 0.32s both;
}

.hero-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 40px rgba(255,255,255,0.12);
}

/* ─── Platforms ─── */
.platforms {
  margin-top: 52px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  animation: fadeUp 0.7s ease 0.4s both;
}

.platform-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.platform-icons {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

.platform-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  background: var(--accent-dim);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  transition: border-color 0.2s;
}

.platform-chip:hover { border-color: #444; }

/* ─── Shared icon container sizing ─── */
.chip-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}
.chip-icon svg { width: 100%; height: 100%; display: block; }
.chip-icon-sm { width: 14px; height: 14px; }
.chip-icon-xs { width: 12px; height: 12px; }

.platform-android {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text-muted);
  font-style: italic;
}
.platform-android svg { opacity: 0.35; }

/* ─── Sections ─── */
.section {
  position: relative;
  z-index: 1;
  padding: 100px 24px;
}

.section-dark { background: var(--bg-elevated); }

.section-inner {
  max-width: 1080px;
  margin: 0 auto;
}

.section-narrow { max-width: 600px; }

.section-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.12;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.65;
  max-width: 620px;
  margin-bottom: 48px;
}

/* ─── Feature Grid ─── */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.feature-card {
  padding: 28px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.2s, transform 0.2s;
}

.feature-card:hover {
  border-color: #333;
  transform: translateY(-2px);
}

.feature-icon {
  width: 52px;
  height: 52px;
  padding: 11px;
  box-sizing: border-box;
  margin-bottom: 16px;
  background: var(--accent-dim);
  border-radius: var(--radius-sm);
}

.feature-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.feature-card h3 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.feature-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* ─── Personality Grid ─── */
.personality-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.personality-card {
  padding: 28px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.2s, transform 0.2s;
}

.personality-card:hover {
  border-color: #333;
  transform: translateY(-2px);
}

.personality-card-neutral {
  grid-column: 1 / -1;
  text-align: center;
}

.personality-card-neutral .personality-icon {
  margin: 0 auto 16px;
}

.personality-icon {
  width: 68px;
  height: 68px;
  padding: 14px;
  box-sizing: border-box;
  margin-bottom: 16px;
  background: var(--accent-dim);
  border-radius: 50%;
}

.personality-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.personality-card h3 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 10px;
}

.personality-sample {
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.6;
  font-style: italic;
  margin-bottom: 12px;
  padding: 12px 14px;
  background: rgba(255,255,255,0.025);
  border-radius: var(--radius-xs);
  border-left: 2px solid var(--border);
}

.personality-tag {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 0.03em;
}

/* ─── Forms ─── */
.form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.form-group label {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
}

.form-group input,
.form-group textarea {
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-size: 15px;
  font-family: var(--font);
  color: var(--text);
  outline: none;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--border-focus);
}

.form-group textarea { resize: vertical; min-height: 100px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 28px;
  background: #fff;
  color: #0a0a0a;
  font-family: var(--font);
  font-weight: 600;
  font-size: 15px;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.15s;
}

.btn:hover { opacity: 0.9; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-outline:hover { border-color: #444; background: var(--accent-dim); }

.form-result {
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  display: none;
}

.form-result.success {
  display: block;
  background: rgba(52,211,153,0.1);
  color: var(--success);
  border: 1px solid rgba(52,211,153,0.2);
}

.form-result.error {
  display: block;
  background: rgba(248,113,113,0.1);
  color: var(--error);
  border: 1px solid rgba(248,113,113,0.2);
}

.form-disclaimer {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
}

.cf-turnstile { margin: 2px 0; }

/* ─── Footer ─── */
.footer {
  position: relative;
  z-index: 1;
  padding: 36px 24px;
  border-top: 1px solid var(--border);
  background: var(--bg);
}

.footer-inner {
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 14px;
}

.footer-brand img { border-radius: 6px; }

.footer-links {
  display: flex;
  gap: 8px;
  font-size: 13px;
  color: var(--text-secondary);
}

.footer-links a:hover { color: var(--text); }
.footer-sep { color: var(--text-muted); }

.footer-copy {
  font-size: 12px;
  color: var(--text-muted);
}

/* ─── Privacy Page ─── */
.privacy-page { padding-top: 60px; }

.privacy-updated {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 36px;
}

.privacy-content h2 {
  font-size: 19px;
  font-weight: 600;
  margin: 32px 0 10px;
  letter-spacing: -0.01em;
}

.privacy-content p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 12px;
}

.privacy-content ul {
  margin: 0 0 16px 20px;
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.7;
}

.privacy-content a {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.privacy-content strong { color: var(--text); }

/* ─── Admin Login ─── */
.admin-login-wrap {
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.admin-login-card {
  width: 100%;
  max-width: 380px;
  padding: 40px 32px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  text-align: center;
}

.admin-login-card h1 {
  font-size: 20px;
  margin: 16px 0 24px;
  font-weight: 600;
}

.admin-login-card .form-group { text-align: left; margin-bottom: 16px; }

.admin-error {
  background: rgba(248,113,113,0.1);
  color: var(--error);
  border: 1px solid rgba(248,113,113,0.2);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  margin-bottom: 16px;
}

/* ─── Admin Dashboard ─── */
.admin-wrap {
  max-width: 1200px;
  margin: 80px auto 40px;
  padding: 0 24px;
}

.admin-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}

.admin-stat {
  padding: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-align: center;
}

.admin-stat-num {
  display: block;
  font-size: 28px;
  font-weight: 700;
  font-family: var(--mono);
  letter-spacing: -0.02em;
}

.admin-stat-label {
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 4px;
}

.admin-filters {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 20px;
}

.admin-filters-left {
  display: flex;
  gap: 8px;
}

.admin-filter {
  padding: 7px 16px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  border: 1px solid var(--border);
  transition: all 0.15s;
}

.admin-filter:hover { border-color: #444; color: var(--text); }
.admin-filter.active {
  background: #fff;
  color: #0a0a0a;
  border-color: #fff;
}

.admin-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-card);
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.admin-table th {
  text-align: left;
  padding: 12px 16px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}

.admin-table td {
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  vertical-align: middle;
}

.admin-table tbody tr:last-child td { border-bottom: none; }
.admin-table tbody tr:hover { background: rgba(255,255,255,0.02); }

.admin-name { font-weight: 500; white-space: nowrap; }
.admin-email code { font-family: var(--mono); font-size: 13px; color: var(--text-secondary); }
.admin-date { font-size: 13px; color: var(--text-muted); white-space: nowrap; font-family: var(--mono); }
.admin-empty { text-align: center; color: var(--text-muted); padding: 40px 16px !important; }

.admin-badge {
  display: inline-flex;
  padding: 3px 10px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  text-transform: capitalize;
}

.status-requested { background: rgba(251,191,36,0.15); color: var(--warning); }
.status-invited { background: rgba(52,211,153,0.15); color: var(--success); }
.status-retracted { background: rgba(248,113,113,0.15); color: var(--error); }
.status-deleted { background: rgba(160,160,160,0.15); color: #999; }

/* ─── Admin Search ─── */
.admin-search-wrap {
  position: relative;
  margin-bottom: 16px;
}

.admin-search {
  width: 100%;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text);
  font-size: 14px;
  font-family: var(--font);
  outline: none;
  transition: border-color 0.15s;
  box-sizing: border-box;
}

.admin-search:focus { border-color: #555; }
.admin-search::placeholder { color: var(--text-muted); }

.admin-search-clear {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 18px;
  color: var(--text-muted);
  line-height: 1;
}

.admin-search-clear:hover { color: var(--text); }

/* ─── Admin Bulk Bar ─── */
.admin-bulk-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  margin-bottom: 16px;
  background: rgba(99,102,241,0.08);
  border: 1px solid rgba(99,102,241,0.25);
  border-radius: var(--radius-sm);
}

.admin-bulk-count {
  font-size: 13px;
  color: var(--text-secondary);
  margin-right: auto;
}

.admin-bulk-actions {
  display: flex;
  gap: 6px;
}

/* ─── Admin Checkboxes ─── */
.admin-th-check,
.admin-td-check {
  width: 36px;
  text-align: center;
  padding-left: 12px;
  padding-right: 4px;
}

.admin-th-check input,
.admin-td-check input {
  width: 15px;
  height: 15px;
  accent-color: #6366f1;
  cursor: pointer;
}

/* ─── Admin History Page ─── */
.admin-page-header {
  margin-bottom: 24px;
}

.admin-page-title {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}

.admin-page-desc {
  font-size: 14px;
  color: var(--text-secondary);
}

.admin-actions {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.admin-btn {
  padding: 5px 12px;
  border-radius: var(--radius-xs);
  font-size: 12px;
  font-weight: 500;
  font-family: var(--font);
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.15s;
  white-space: nowrap;
}

.admin-btn:hover { border-color: #444; color: var(--text); }
.admin-btn-invite:hover { border-color: var(--success); color: var(--success); }
.admin-btn-retract:hover { border-color: var(--error); color: var(--error); }
.admin-btn-delete { color: var(--text-muted); }
.admin-btn-delete:hover { border-color: #f87171; color: #f87171; background: rgba(248,113,113,0.08); }
.admin-btn-history:hover { border-color: #666; color: var(--text); }
.admin-btn-export {
  padding: 7px 16px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  font-family: var(--font);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  transition: all 0.15s;
}
.admin-btn-export:hover { border-color: var(--success); color: var(--success); }

.admin-table-sm { font-size: 13px; }
.admin-table-sm th, .admin-table-sm td { padding: 8px 12px; }

/* ─── Modal ─── */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.modal-overlay[hidden] { display: none; }

.modal-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  width: 100%;
  max-width: 480px;
  max-height: 80vh;
  overflow: auto;
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
}

.modal-header h3 { font-size: 16px; font-weight: 600; }

.modal-close {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 24px;
  cursor: pointer;
  line-height: 1;
}

.modal-close:hover { color: var(--text); }

.modal-body { padding: 20px 24px; }

/* ─── Responsive ─── */
@media (max-width: 900px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .personality-grid { grid-template-columns: 1fr; }
  .personality-card-neutral { grid-column: 1; }
  .admin-stats { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .nav { padding: 12px 16px; }
  .nav-links { gap: 16px; font-size: 13px; }
  .hero { padding: 120px 20px 60px; }
  .hero-icon img { width: 110px; height: 110px; border-radius: 24px; }
  .section { padding: 72px 20px; }
  .feature-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; text-align: center; }
  .admin-stats { grid-template-columns: 1fr 1fr; }
  .admin-actions { flex-direction: column; }
}

@media (max-width: 420px) {
  .nav-links a:not(:last-child) { display: none; }
  .platform-chip { padding: 6px 10px; font-size: 12px; }
}

/* ─── Screenshot Gallery ─── */
.screenshot-tabs {
  display: flex;
  gap: 6px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.screenshot-tab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 18px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  font-family: var(--font);
  color: var(--text-secondary);
  border: 1px solid var(--border);
  background: transparent;
  cursor: pointer;
  transition: all 0.15s;
  white-space: nowrap;
}

.screenshot-tab svg { flex-shrink: 0; }
.screenshot-tab:hover { border-color: #444; color: var(--text); }
.screenshot-tab.active { background: #fff; color: #0a0a0a; border-color: #fff; }
.screenshot-tab.active svg { filter: invert(1); }

.screenshot-panels { position: relative; }
.screenshot-panel { display: none; }
.screenshot-panel.active { display: block; }

.screenshot-scroll {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 16px;
  scrollbar-width: thin;
  scrollbar-color: #333 transparent;
}

.screenshot-scroll::-webkit-scrollbar { height: 6px; }
.screenshot-scroll::-webkit-scrollbar-track { background: transparent; }
.screenshot-scroll::-webkit-scrollbar-thumb { background: #333; border-radius: 3px; }

.screenshot-phone {
  flex: 0 0 auto;
  width: 240px;
  scroll-snap-align: start;
  text-align: center;
}

.screenshot-phone img {
  width: 100%;
  height: auto;
  border-radius: 20px;
  border: 1px solid var(--border);
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
  -webkit-user-select: none;
  user-select: none;
  pointer-events: none;
}

.screenshot-watch {
  flex: 0 0 auto;
  width: 180px;
  scroll-snap-align: start;
  text-align: center;
}

.screenshot-watch img {
  width: 100%;
  height: auto;
  border-radius: 36px;
  border: 1px solid var(--border);
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
  -webkit-user-select: none;
  user-select: none;
  pointer-events: none;
}

.screenshot-scroll-watch { justify-content: center; }

.screenshot-wide {
  flex: 0 0 auto;
  width: min(560px, 85vw);
  scroll-snap-align: start;
  text-align: center;
}

.screenshot-wide img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  border: 1px solid var(--border);
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
  -webkit-user-select: none;
  user-select: none;
  pointer-events: none;
}

.screenshot-caption {
  display: block;
  margin-top: 12px;
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
}

/* ─── Asset Protection ─── */
img, svg {
  -webkit-user-drag: none;
  user-select: none;
}

/* Prevent right-click context menu on images */
.screenshot-phone img,
.screenshot-watch img,
.screenshot-wide img,
.hero-icon img {
  pointer-events: none;
}

@media (max-width: 640px) {
  .screenshot-phone { width: 200px; }
  .screenshot-watch { width: 150px; }
  .screenshot-wide { width: 90vw; }
  .screenshot-tabs { gap: 4px; }
  .screenshot-tab { padding: 7px 12px; font-size: 12px; }
}

/* ─── Feature Icon Animations ─── */
@keyframes iconSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.icon-spin {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: iconSpin 8s linear infinite;
}
.icon-spin svg { width: 100%; height: 100%; }

.icon-platform-cycle {
  width: 100%;
  height: 100%;
  position: relative;
}

.platform-cycle-icon {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transition: opacity 0.6s ease;
}

