/* ── Reset & Base ──────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --bg: #0d0d0d;
  --surface: #161616;
  --surface2: #1e1e1e;
  --border: #2a2a2a;
  --border2: #3a3a3a;
  --text: #f0ede8;
  --muted: #888;
  --hint: #555;
  --accent: #c8f04b;
  --accent-dark: #a8d030;
  --accent-text: #0d0d0d;
  --pro: #7c6af7;
  --pro-bg: #1a1730;
  --radius: 12px;
  --radiuslg: 20px;
}
html { font-size: 16px; scroll-behavior: smooth; }
body { font-family: 'DM Sans', sans-serif; background: var(--bg); color: var(--text); line-height: 1.6; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; }

/* ── Typography ────────────────────────────────────────────────────────── */
h1, h2, h3, h4 { font-family: 'Syne', sans-serif; line-height: 1.15; }
em { font-style: italic; color: var(--accent); }

/* ── Buttons ────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 10px 20px; border-radius: 8px; font-size: 14px; font-weight: 500;
  font-family: 'DM Sans', sans-serif; cursor: pointer; border: none;
  transition: all .15s; text-decoration: none; white-space: nowrap;
}
.btn-primary { background: var(--accent); color: var(--accent-text); }
.btn-primary:hover { background: var(--accent-dark); }
.btn-outline { background: transparent; color: var(--text); border: 1px solid var(--border2); }
.btn-outline:hover { border-color: var(--text); }
.btn-ghost { background: transparent; color: var(--muted); }
.btn-ghost:hover { color: var(--text); }
.btn-lg { padding: 14px 28px; font-size: 15px; border-radius: 10px; }
.btn-full { width: 100%; }
.btn-danger { background: #c0392b; color: #fff; }
.btn-danger:hover { background: #a93226; }
.btn-sm { padding: 7px 14px; font-size: 13px; }

/* ── Nav ────────────────────────────────────────────────────────────────── */
.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 48px; border-bottom: 1px solid var(--border);
  position: sticky; top: 0; background: rgba(13,13,13,.92); backdrop-filter: blur(12px); z-index: 100;
}
.nav-logo { font-family: 'Syne', sans-serif; font-weight: 800; font-size: 20px; letter-spacing: -0.5px; }
.nav-links { display: flex; align-items: center; gap: 24px; }
.nav-links a:not(.btn) { font-size: 14px; color: var(--muted); transition: color .15s; }
.nav-links a:not(.btn):hover { color: var(--text); }

/* ── Hero ────────────────────────────────────────────────────────────────── */
.hero {
  text-align: center; padding: 100px 24px 80px;
  background: radial-gradient(ellipse 80% 60% at 50% -20%, rgba(200,240,75,.1) 0%, transparent 70%);
}
.hero-badge {
  display: inline-block; padding: 6px 14px; border: 1px solid var(--border2);
  border-radius: 20px; font-size: 13px; color: var(--muted); margin-bottom: 32px;
}
.hero-title { font-size: clamp(48px, 7vw, 88px); font-weight: 800; letter-spacing: -2px; margin-bottom: 24px; line-height: 1.05; }
.hero-sub { font-size: 18px; color: var(--muted); max-width: 520px; margin: 0 auto 40px; line-height: 1.6; }
.hero-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 32px; }
.hero-social-proof { font-size: 13px; color: var(--hint); }

/* ── Features strip ──────────────────────────────────────────────────────── */
.features-strip {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 0;
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  padding: 0;
}
.feature-item {
  display: flex; align-items: center; gap: 8px;
  padding: 16px 32px; font-size: 13.5px; color: var(--muted);
  border-right: 1px solid var(--border);
}
.feature-item:last-child { border-right: none; }
.fi { font-size: 16px; }

/* ── Sections ─────────────────────────────────────────────────────────────── */
.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.section-label { font-size: 12px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
.section-title { font-size: clamp(28px, 4vw, 42px); font-weight: 700; letter-spacing: -1px; margin-bottom: 48px; }

/* ── Features grid ─────────────────────────────────────────────────────────── */
.features { padding: 100px 0; }
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2px; border: 1px solid var(--border); }
.feature-card { padding: 36px 32px; background: var(--surface); border: 1px solid var(--border); transition: background .2s; }
.feature-card:hover { background: var(--surface2); }
.feature-icon { font-size: 28px; margin-bottom: 16px; }
.feature-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 10px; }
.feature-card p { font-size: 14px; color: var(--muted); line-height: 1.65; }

/* ── Pricing ──────────────────────────────────────────────────────────────── */
.pricing-preview { padding: 100px 0; background: var(--surface); border-top: 1px solid var(--border); }
.plans-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; max-width: 680px; }
.plan-card { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radiuslg); padding: 32px; position: relative; }
.plan-featured { border-color: var(--pro); background: var(--pro-bg); }
.plan-badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--pro); color: #fff; font-size: 11px; font-weight: 600; padding: 4px 12px; border-radius: 20px; white-space: nowrap; }
.plan-name { font-family: 'Syne', sans-serif; font-size: 15px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 12px; }
.plan-price { font-family: 'Syne', sans-serif; font-size: 48px; font-weight: 800; letter-spacing: -2px; margin-bottom: 28px; }
.plan-price span { font-size: 16px; font-weight: 400; color: var(--muted); }
.plan-features { display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; }
.plan-features li { font-size: 14px; color: var(--text); }
.plan-features li.muted { color: var(--hint); }

/* ── Footer ──────────────────────────────────────────────────────────────── */
.footer { padding: 48px 24px; border-top: 1px solid var(--border); text-align: center; }
.footer-brand { font-family: 'Syne', sans-serif; font-weight: 800; font-size: 18px; margin-bottom: 16px; }
.footer-links { display: flex; justify-content: center; gap: 24px; margin-bottom: 16px; }
.footer-links a { font-size: 13px; color: var(--muted); }
.footer-copy { font-size: 12px; color: var(--hint); }

/* ── Auth forms ──────────────────────────────────────────────────────────── */
.auth-page { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 24px; }
.auth-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radiuslg); padding: 40px; width: 100%; max-width: 420px; }
.auth-logo { font-family: 'Syne', sans-serif; font-weight: 800; font-size: 22px; margin-bottom: 32px; display: block; text-align: center; }
.auth-title { font-size: 24px; font-weight: 700; margin-bottom: 6px; }
.auth-sub { font-size: 14px; color: var(--muted); margin-bottom: 28px; }
.form-group { margin-bottom: 16px; }
.form-label { display: block; font-size: 13px; color: var(--muted); margin-bottom: 6px; }
.form-input {
  width: 100%; background: var(--bg); border: 1px solid var(--border2); border-radius: 8px;
  padding: 11px 14px; font-size: 14px; font-family: 'DM Sans', sans-serif; color: var(--text);
  outline: none; transition: border .15s;
}
.form-input:focus { border-color: var(--accent); }
.form-error { background: rgba(192,57,43,.15); border: 1px solid rgba(192,57,43,.4); color: #e74c3c; padding: 10px 14px; border-radius: 8px; font-size: 13px; margin-bottom: 16px; display: none; }
.form-error.show { display: block; }
.auth-footer { text-align: center; font-size: 13px; color: var(--muted); margin-top: 20px; }
.auth-footer a { color: var(--accent); }

/* ── Pricing page ─────────────────────────────────────────────────────────── */
.pricing-page { padding: 80px 24px; min-height: 100vh; }
.pricing-page .section-title { text-align: center; margin-bottom: 56px; }
.pricing-page .plans-grid { margin: 0 auto; }

/* ── App shell ─────────────────────────────────────────────────────────────── */
.app-shell { display: flex; height: 100vh; overflow: hidden; background: #0d0d0d; }
.app-sidebar {
  width: 220px; flex-shrink: 0; background: var(--surface);
  border-right: 1px solid var(--border); display: flex; flex-direction: column;
}
.app-sidebar-logo { padding: 20px 18px 16px; border-bottom: 1px solid var(--border); display: flex; align-items: center; gap: 8px; }
.sidebar-logo-text { font-family: 'Syne', sans-serif; font-weight: 800; font-size: 17px; }
.sidebar-nav { flex: 1; padding: 10px 8px; overflow-y: auto; }
.sidebar-nav-item {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 12px; border-radius: 9px; cursor: pointer;
  font-size: 13.5px; color: var(--muted); transition: all .15s; margin-bottom: 2px;
}
.sidebar-nav-item:hover { background: var(--surface2); color: var(--text); }
.sidebar-nav-item.active { background: rgba(200,240,75,.1); color: var(--accent); font-weight: 500; }
.sidebar-nav-icon { font-size: 16px; width: 18px; text-align: center; }
.sidebar-footer { padding: 10px 8px 16px; border-top: 1px solid var(--border); }
.sidebar-user { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 9px; cursor: pointer; }
.sidebar-user:hover { background: var(--surface2); }
.user-avatar { width: 30px; height: 30px; border-radius: 50%; background: var(--pro-bg); border: 1px solid var(--pro); display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 600; color: var(--pro); flex-shrink: 0; }
.user-name { font-size: 12.5px; font-weight: 500; }
.user-plan { font-size: 11px; color: var(--muted); }
.plan-badge-free { color: var(--muted); }
.plan-badge-pro { color: var(--pro); }

/* ── App main ──────────────────────────────────────────────────────────────── */
.app-main { flex: 1; display: flex; flex-direction: column; overflow: hidden; }
.app-topbar { height: 52px; background: var(--surface); border-bottom: 1px solid var(--border); display: flex; align-items: center; padding: 0 20px; gap: 12px; flex-shrink: 0; }
.app-topbar-title { font-size: 14px; font-weight: 600; flex: 1; font-family: 'Syne', sans-serif; }
.app-content { flex: 1; overflow-y: auto; }

/* ── Editor ─────────────────────────────────────────────────────────────────── */
.editor-layout { display: flex; height: 100%; }
.editor-sidebar { width: 320px; flex-shrink: 0; background: var(--surface); border-right: 1px solid var(--border); overflow-y: auto; display: flex; flex-direction: column; }
.editor-preview-area { flex: 1; display: flex; flex-direction: column; align-items: center; padding: 32px 24px; overflow-y: auto; gap: 24px; background: var(--bg); }
.editor-tabs { display: flex; border-bottom: 1px solid var(--border); }
.editor-tab { flex: 1; padding: 12px 8px; text-align: center; font-size: 13px; cursor: pointer; color: var(--muted); border-bottom: 2px solid transparent; transition: all .15s; }
.editor-tab.active { color: var(--accent); border-bottom-color: var(--accent); }
.editor-section { padding: 20px; border-bottom: 1px solid var(--border); }
.editor-section-label { font-size: 10.5px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--hint); margin-bottom: 14px; }
.editor-field { margin-bottom: 14px; }
.editor-field label { display: block; font-size: 12px; color: var(--muted); margin-bottom: 5px; }
.editor-field input, .editor-field textarea, .editor-field select {
  width: 100%; background: var(--bg); border: 1px solid var(--border2); border-radius: 8px;
  padding: 9px 12px; font-size: 13.5px; font-family: 'DM Sans', sans-serif;
  color: var(--text); outline: none; transition: border .15s;
}
.editor-field input:focus, .editor-field textarea:focus, .editor-field select:focus { border-color: var(--accent); }
.editor-field select option { background: var(--surface2); }
.editor-field textarea { resize: none; height: 80px; line-height: 1.5; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.color-swatches { display: flex; gap: 8px; flex-wrap: wrap; }
.color-swatch { width: 26px; height: 26px; border-radius: 50%; cursor: pointer; border: 2px solid transparent; transition: transform .15s; }
.color-swatch.active { border-color: var(--text); transform: scale(1.2); }
.toggle-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.toggle-label { font-size: 13px; }
.toggle { width: 36px; height: 20px; background: var(--border2); border-radius: 10px; cursor: pointer; position: relative; transition: background .2s; flex-shrink: 0; }
.toggle.on { background: var(--accent); }
.toggle::after { content: ''; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: left .2s; }
.toggle.on::after { left: 18px; }
.publish-btn { margin: 16px; background: var(--accent); color: var(--accent-text); border: none; border-radius: 10px; padding: 12px; font-size: 14px; font-weight: 700; font-family: 'DM Sans', sans-serif; cursor: pointer; transition: background .15s; width: calc(100% - 32px); }
.publish-btn:hover { background: var(--accent-dark); }
.upload-row { display: flex; align-items: center; gap: 12px; }
.photo-preview { width: 54px; height: 54px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; color: #fff; font-size: 18px; border: 2px solid var(--border2); cursor: pointer; background-size: cover; background-position: center; flex-shrink: 0; }
.upload-info { font-size: 11px; color: var(--hint); margin-top: 4px; }

/* ── Phone preview ──────────────────────────────────────────────────────────── */
.preview-label { font-size: 11px; font-weight: 600; letter-spacing: .8px; text-transform: uppercase; color: var(--hint); align-self: flex-start; }
.phone-wrap { width: 288px; border-radius: 40px; border: 6px solid #222; background: #111; box-shadow: 0 32px 80px rgba(0,0,0,.6); overflow: hidden; }
.phone-notch { height: 24px; background: #111; display: flex; align-items: center; justify-content: center; }
.phone-pill { width: 72px; height: 12px; background: #222; border-radius: 6px; }
.card-scroll { overflow-y: auto; max-height: 580px; background: #fff; }
.card-banner { height: 110px; position: relative; }
.card-avatar-wrap { position: absolute; bottom: -32px; left: 50%; transform: translateX(-50%); }
.card-avatar { width: 72px; height: 72px; border-radius: 50%; border: 4px solid #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 24px; color: #fff; background-size: cover; background-position: center; }
.card-body-inner { padding: 44px 20px 20px; text-align: center; }
.card-name-el { font-size: 18px; font-weight: 800; color: #1a1a1a; letter-spacing: -.3px; margin-bottom: 2px; }
.card-title-el { font-size: 13px; color: #666; }
.card-company-el { font-size: 13px; font-weight: 600; color: #333; margin-bottom: 12px; }
.card-bio-el { font-size: 12px; color: #666; line-height: 1.55; margin-bottom: 16px; }
.card-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 14px; }
.card-btn { padding: 9px; border-radius: 10px; font-size: 12px; font-weight: 600; border: none; cursor: pointer; }
.card-btn-primary { color: #fff; }
.card-btn-secondary { background: #f0f0f0; color: #333; }
.card-links-row { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-bottom: 14px; }
.card-link-icon { width: 38px; height: 38px; border-radius: 10px; background: #f5f5f5; display: flex; align-items: center; justify-content: center; font-size: 16px; cursor: pointer; border: 1px solid #eee; text-decoration: none; }
.card-save-btn { width: 100%; padding: 11px; border-radius: 10px; background: #1a1a1a; color: #fff; font-size: 13px; font-weight: 600; border: none; cursor: pointer; }
.card-footer-el { padding: 10px 20px 14px; text-align: center; font-size: 10px; color: #ccc; }

/* ── Share panel ───────────────────────────────────────────────────────────── */
.share-panel { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radiuslg); padding: 20px; width: 288px; }
.share-panel-title { font-size: 13px; font-weight: 600; margin-bottom: 14px; }
.qr-box { width: 100px; height: 100px; background: var(--bg); border: 1px solid var(--border); border-radius: 10px; margin: 0 auto 14px; display: flex; align-items: center; justify-content: center; font-size: 40px; }
.url-row { display: flex; gap: 6px; margin-bottom: 12px; }
.url-display { flex: 1; background: var(--bg); border: 1px solid var(--border); border-radius: 8px; padding: 8px 10px; font-size: 12px; color: var(--muted); font-family: monospace; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.copy-btn { background: var(--accent); color: var(--accent-text); border: none; border-radius: 8px; padding: 8px 12px; font-size: 12px; font-weight: 600; cursor: pointer; font-family: 'DM Sans', sans-serif; white-space: nowrap; }
.share-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.share-btn { padding: 8px; border-radius: 8px; border: 1px solid var(--border); background: var(--bg); font-size: 12px; cursor: pointer; font-family: 'DM Sans', sans-serif; display: flex; align-items: center; justify-content: center; gap: 5px; color: var(--text); transition: border .15s; }
.share-btn:hover { border-color: var(--border2); }

/* ── Stats ─────────────────────────────────────────────────────────────────── */
.stats-mini { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; width: 288px; }
.stat-mini { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 12px; text-align: center; }
.stat-mini-num { font-family: 'Syne', sans-serif; font-size: 22px; font-weight: 800; color: var(--accent); }
.stat-mini-label { font-size: 10px; color: var(--muted); margin-top: 2px; }

/* ── Cards grid ──────────────────────────────────────────────────────────────── */
.cards-grid-wrap { padding: 24px; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }
.card-thumb { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radiuslg); overflow: hidden; cursor: pointer; transition: border .2s; }
.card-thumb:hover { border-color: var(--border2); }
.thumb-banner { height: 56px; }
.thumb-avatar { width: 38px; height: 38px; border-radius: 50%; border: 3px solid var(--surface); margin: -19px auto 0; display: flex; align-items: center; justify-content: center; font-weight: 700; color: #fff; font-size: 13px; }
.thumb-body { padding: 10px 14px 14px; text-align: center; }
.thumb-name { font-size: 13px; font-weight: 600; }
.thumb-role { font-size: 11px; color: var(--muted); margin-top: 2px; }
.thumb-actions { display: flex; border-top: 1px solid var(--border); }
.thumb-action { flex: 1; padding: 9px; font-size: 11.5px; text-align: center; cursor: pointer; color: var(--muted); transition: color .15s; border: none; background: none; font-family: 'DM Sans', sans-serif; }
.thumb-action:hover { color: var(--accent); }
.thumb-action + .thumb-action { border-left: 1px solid var(--border); }
.new-card-tile { background: transparent; border: 1px dashed var(--border2); border-radius: var(--radiuslg); display: flex; align-items: center; justify-content: center; cursor: pointer; min-height: 160px; transition: border .2s; }
.new-card-tile:hover { border-color: var(--accent); }
.new-card-tile-inner { text-align: center; color: var(--muted); }
.new-card-tile-icon { font-size: 28px; margin-bottom: 8px; }

/* ── Contacts ────────────────────────────────────────────────────────────────── */
.contacts-table-wrap { overflow-x: auto; }
.contacts-table { width: 100%; border-collapse: collapse; min-width: 600px; }
.contacts-table th { font-size: 11px; font-weight: 600; letter-spacing: .5px; text-transform: uppercase; color: var(--hint); padding: 10px 16px; border-bottom: 1px solid var(--border); text-align: left; }
.contacts-table td { padding: 12px 16px; font-size: 13px; border-bottom: 1px solid var(--border); color: var(--text); }
.contacts-table tr:hover td { background: var(--surface2); }
.badge { display: inline-block; padding: 2px 9px; border-radius: 20px; font-size: 11px; font-weight: 500; }
.badge-qr { background: var(--pro-bg); color: var(--pro); }
.badge-email { background: rgba(200,240,75,.1); color: var(--accent); }
.badge-direct { background: var(--surface2); color: var(--muted); }
.empty-state { text-align: center; padding: 80px 20px; color: var(--muted); }
.empty-icon { font-size: 40px; margin-bottom: 12px; }

/* ── Analytics ─────────────────────────────────────────────────────────────── */
.analytics-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; padding: 20px; }
.analytics-stat { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; }
.analytics-num { font-family: 'Syne', sans-serif; font-size: 28px; font-weight: 800; color: var(--accent); }
.analytics-label { font-size: 12px; color: var(--muted); margin-top: 2px; }
.analytics-chart { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); margin: 0 20px 20px; padding: 20px; }
.chart-title { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .5px; color: var(--hint); margin-bottom: 16px; }
.upgrade-gate { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radiuslg); padding: 48px; text-align: center; margin: 24px; }
.upgrade-gate h3 { font-size: 20px; font-weight: 700; margin-bottom: 10px; }
.upgrade-gate p { font-size: 14px; color: var(--muted); margin-bottom: 24px; }

/* ── Settings ─────────────────────────────────────────────────────────────── */
.settings-section { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radiuslg); padding: 24px; margin-bottom: 16px; }
.settings-section-title { font-size: 14px; font-weight: 700; margin-bottom: 16px; }

/* ── Public card page ─────────────────────────────────────────────────────── */
.public-card-page { min-height: 100vh; background: #f5f3f0; display: flex; align-items: center; justify-content: center; padding: 24px; }
.public-card { background: #fff; border-radius: 24px; width: 100%; max-width: 380px; overflow: hidden; box-shadow: 0 20px 60px rgba(0,0,0,.12); }
.public-card-banner { height: 120px; }
.public-card-avatar-wrap { display: flex; justify-content: center; margin-top: -36px; }
.public-card-avatar { width: 72px; height: 72px; border-radius: 50%; border: 4px solid #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 24px; color: #fff; background-size: cover; background-position: center; box-shadow: 0 4px 12px rgba(0,0,0,.15); }
.public-card-body { padding: 16px 24px 24px; text-align: center; }
.public-card-name { font-family: 'Syne', sans-serif; font-size: 22px; font-weight: 800; letter-spacing: -.5px; color: #1a1a1a; margin-bottom: 2px; }
.public-card-title { font-size: 14px; color: #666; }
.public-card-company { font-size: 14px; font-weight: 600; color: #333; margin-bottom: 14px; }
.public-card-bio { font-size: 13px; color: #666; line-height: 1.6; margin-bottom: 18px; }
.public-card-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 14px; }
.public-card-btn { padding: 11px; border-radius: 10px; font-size: 13px; font-weight: 600; border: none; cursor: pointer; font-family: 'DM Sans', sans-serif; text-decoration: none; display: block; text-align: center; }
.public-card-btn-primary { color: #fff; }
.public-card-btn-secondary { background: #f0f0ee; color: #333; }
.public-card-links { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-bottom: 16px; }
.public-card-link { width: 42px; height: 42px; border-radius: 11px; background: #f5f5f3; display: flex; align-items: center; justify-content: center; font-size: 18px; text-decoration: none; border: 1px solid #eee; }
.public-card-save { width: 100%; padding: 13px; border-radius: 12px; background: #1a1a1a; color: #fff; font-size: 14px; font-weight: 700; border: none; cursor: pointer; font-family: 'DM Sans', sans-serif; margin-bottom: 12px; }
.public-card-powered { text-align: center; font-size: 11px; color: #bbb; padding-bottom: 8px; }
.public-card-powered a { color: #999; }
.save-modal { position: fixed; inset: 0; background: rgba(0,0,0,.5); display: flex; align-items: center; justify-content: center; z-index: 1000; padding: 24px; display: none; }
.save-modal.open { display: flex; }
.save-modal-card { background: #fff; border-radius: 20px; padding: 28px; width: 100%; max-width: 360px; }
.save-modal-title { font-family: 'Syne', sans-serif; font-size: 18px; font-weight: 800; margin-bottom: 6px; color: #1a1a1a; }
.save-modal-sub { font-size: 13px; color: #666; margin-bottom: 20px; }
.save-modal-input { width: 100%; border: 1px solid #e0e0e0; border-radius: 8px; padding: 10px 12px; font-size: 14px; font-family: 'DM Sans', sans-serif; outline: none; color: #1a1a1a; margin-bottom: 10px; background: #fafafa; }
.save-modal-input:focus { border-color: #1a1a1a; }
.save-modal-btns { display: flex; gap: 8px; margin-top: 4px; }
.save-modal-cancel { flex: 1; padding: 10px; border-radius: 8px; border: 1px solid #e0e0e0; background: #fafafa; cursor: pointer; font-family: 'DM Sans', sans-serif; font-size: 13px; }

/* ── Utilities ─────────────────────────────────────────────────────────────── */
.hidden { display: none !important; }
.text-center { text-align: center; }
.mt-4 { margin-top: 4px; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.link-item { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.link-icon-badge { width: 30px; height: 30px; border-radius: 8px; background: var(--bg); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; font-size: 15px; flex-shrink: 0; }
.link-input { flex: 1; background: var(--bg); border: 1px solid var(--border2); border-radius: 8px; padding: 8px 10px; font-size: 13px; font-family: 'DM Sans', sans-serif; color: var(--text); outline: none; }
.link-input:focus { border-color: var(--accent); }
.add-link-btn { display: flex; align-items: center; gap: 6px; color: var(--accent); font-size: 13px; cursor: pointer; padding: 4px 0; margin-top: 4px; background: none; border: none; font-family: 'DM Sans', sans-serif; }
.toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 12px 20px; font-size: 13px; z-index: 9999; opacity: 0; transition: opacity .2s; pointer-events: none; }
.toast.show { opacity: 1; }
