:root {
    --font-sans: 'Inter', 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --bg: #f5f7fb;
    --bg-soft: #eef1f6;
    --surface: #ffffff;
    --surface-muted: #f9fafc;
    --surface-dark: #0f172a;
    --surface-dark-alt: #1a2237;
    --border: #e3e7ef;
    --text: #0f172a;
    --text-muted: #6b7280;
    --shadow-soft: 0 24px 65px rgba(15, 23, 42, 0.08);
    --shadow-card: 0 18px 40px rgba(15, 23, 42, 0.12);
    --radius-sm: 12px;
    --radius-md: 18px;
    --radius-lg: 28px;
    --accent: #6366f1;
    --accent-strong: #4f46e5;
    --accent-soft: #a5b4fc;
    --success: #16a34a;
    --danger: #ef4444;
}

* {
    box-sizing: border-box;
}

html {
    height: 100%;
}

body {
    margin: 0;
    font-family: var(--font-sans);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    min-height: 100%;
    -webkit-font-smoothing: antialiased;
}

.body-wrapper {
    min-height: 100%;
    display: flex;
    flex-direction: column;
}

.body-wrapper > .container {
    flex: 1 0 auto;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1 0 auto;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration-color: rgba(99, 102, 241, 0.3);
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

a:hover {
    text-decoration-color: rgba(99, 102, 241, 0.8);
}

.container {
    width: min(1120px, 94vw);
    margin: 0 auto;
    padding: 32px 0 96px;
}

.site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 32px 0 24px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--text);
}

.header-logo {
    display: flex;
    align-items: center;
    height: 40px;
}

.header-logo img {
    height: 100%;
    width: auto;
    object-fit: contain;
    image-rendering: auto;
    image-rendering: -webkit-optimize-contrast;
    border-radius: 0;
}

@media (max-width: 480px) {
    .header-logo {
        height: 32px;
    }
}

.nav-links,
.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-links a {
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    font-weight: 500;
    color: var(--text-muted);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--text);
    background: rgba(99, 102, 241, 0.08);
}

.header-pro-indicator {
    display: flex;
    align-items: center;
    min-width: 60px;
    justify-content: center;
}

.pro-badge {
    background: linear-gradient(90deg, #a855f7, #6366f1);
    padding: 4px 8px;
    font-size: 10px;
    border-radius: 6px;
    color: #fff;
    display: inline-block;
    margin-top: 10px;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.nav-actions form {
    margin: 0;
}

.btn,
button.btn,
input[type="submit"].btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: none;
    border-radius: 999px;
    padding: 0.85rem 1.85rem;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease, opacity 0.2s ease;
    background: linear-gradient(120deg, var(--accent-strong), #8b5cf6);
    color: #fff;
    box-shadow: 0 12px 24px rgba(99, 102, 241, 0.25);
    text-decoration: none;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn:active {
    transform: translateY(0);
}

.btn-accent {
    background: linear-gradient(120deg, var(--accent-color, var(--accent-strong)), var(--accent-soft));
    box-shadow: 0 14px 28px rgba(79, 70, 229, 0.25);
}

.btn-outline {
    background: transparent;
    border: 1px solid rgba(99, 102, 241, 0.4);
    color: var(--accent-strong);
    box-shadow: none;
}

.btn-ghost {
    background: rgba(99, 102, 241, 0.08);
    color: var(--accent-strong);
    box-shadow: none;
}

.btn-danger {
    background: linear-gradient(120deg, #f43f5e, #fb7185);
    box-shadow: 0 12px 24px rgba(244, 63, 94, 0.25);
}

.btn-secondary {
    background: linear-gradient(120deg, #0ea5e9, #38bdf8);
    box-shadow: 0 12px 24px rgba(14, 165, 233, 0.25);
}

.pro-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    background: linear-gradient(90deg, #a855f7, #6366f1);
    color: #fff;
}

.menu-pro-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 12px;
}

.sidebar-user {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
}

.menu-pro-list .locked a {
    opacity: 0.4;
    cursor: not-allowed;
}

.menu-pro-list .locked a:hover {
    opacity: 0.6;
}

.share-block {
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.share-btn {
    padding: 10px 14px;
    border-radius: 10px;
    background: var(--accent, #6d4aff);
    color: #fff;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    border: none;
}

.share-block form {
    margin: 0;
}

.share-btn.copy {
    cursor: pointer;
}

.share-btn.self {
    background: #111;
}

.paywall {
    padding: 30px;
    border-radius: 20px;
    background: #111;
    color: #fff;
    text-align: center;
    margin: 24px 0;
}

.btn-upgrade {
    display: inline-block;
    margin-top: 12px;
    padding: 12px 20px;
    border-radius: 12px;
    background: linear-gradient(90deg, #a855f7, #6366f1);
    color: #fff;
    font-weight: 700;
}

.upgrade-hero {
    max-width: 880px;
    margin: 80px auto 40px;
    text-align: center;
}

.upgrade-hero h1 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 12px;
    background: linear-gradient(90deg, #6d4aff, #a855f7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.upgrade-hero p {
    font-size: 20px;
    color: #555;
}

.upgrade-pricing {
    display: flex;
    justify-content: center;
    margin: 40px 0;
}

.pricing-card {
    width: 360px;
    padding: 32px;
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
    text-align: center;
}

.pricing-card h2 {
    font-size: 32px;
    margin-bottom: 10px;
}

.price {
    font-size: 28px;
    margin-bottom: 20px;
}

.price span {
    font-size: 16px;
    color: #888;
}

.period-select {
    width: 100%;
    padding: 14px;
    font-size: 16px;
    border-radius: 12px;
    margin-bottom: 20px;
}

.pay-btn {
    width: 100%;
    padding: 14px;
    background: linear-gradient(90deg, #6d4aff, #a855f7);
    color: #fff;
    font-size: 18px;
    border-radius: 12px;
    cursor: pointer;
    border: none;
}

.upgrade-features {
    max-width: 1050px;
    margin: 60px auto;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
}

.feature-card {
    background: #fff;
    padding: 24px;
    border-radius: 22px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

.feature-card h3 {
    margin-bottom: 12px;
    font-size: 20px;
}

.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: linear-gradient(90deg, #6d4aff, #a855f7);
    margin-bottom: 12px;
}
.billing-result {
    text-align: center;
    padding: 80px 20px;
}

.billing-result h1 {
    font-size: 40px;
    margin-bottom: 20px;
}

.billing-result .btn {
    display: inline-block;
    padding: 14px 22px;
    background: linear-gradient(90deg, #6d4aff, #a855f7);
    color: #fff;
    border-radius: 12px;
    margin-top: 20px;
}

.upgrade-page {
    max-width: 780px;
    margin: 60px auto;
    padding: 40px;
    text-align: center;
}
.main-header {
    width: 100%;
    background: #f8f9fc;
    padding: 12px 0;
}

.logo-img {
    height: 32px;
    width: auto;
    display: block;
    object-fit: contain;
}

.header-inner {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav {
    display: flex;
    align-items: center;
    gap: 24px;
    white-space: nowrap;
}

.nav a {
    text-decoration: none;
    color: #111;
    font-weight: 500;
}

.nav-upgrade {
    background: #6d4aff;
    padding: 8px 14px;
    border-radius: 12px;
    color: #fff !important;
    font-weight: 600;
}

.logout-btn {
    background: #6d4aff;
    padding: 8px 14px;
    border-radius: 12px;
    color: #fff !important;
    font-weight: 600;
    text-decoration: none;
}

.btn-add-phone {
    padding: 12px 16px;
    border-radius: 10px;
    background: var(--accent);
    color: #fff;
    font-weight: 600;
    display: inline-block;
    margin-top: 10px;
    text-align: center;
}

main {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.card {
    background: var(--surface);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.brandkit-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(280px, 1fr);
    gap: 32px;
}

@media (max-width: 960px) {
    .brandkit-grid {
        grid-template-columns: 1fr;
    }
}

.brandkit-forms .card-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
    padding: 20px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(13, 13, 15, 0.35);
}

.brandkit-forms input[type="file"] {
    padding: 10px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-md);
}

.brandkit-forms select {
    padding: 10px;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: inherit;
}

.brandkit-color-picker {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brandkit-color-picker input[type="color"] {
    width: 60px;
    height: 42px;
    border: none;
    padding: 0;
    background: transparent;
    border-radius: var(--radius-md);
    overflow: hidden;
}

.brandkit-preview-card {
    background: var(--surface);
    border-radius: 24px;
    padding: 32px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: var(--shadow-soft);
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.brandkit-preview .preview-logo,
.profile-logo {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    object-fit: cover;
    margin-bottom: 10px;
}

.profile-logo {
    align-self: center;
}

.brandkit-preview .preview-hint {
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0.18em;
    color: rgba(255, 255, 255, 0.5);
}

.preview-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.preview-btn {
    padding: 12px 18px;
    border-radius: 999px;
    font-weight: 600;
    background: linear-gradient(120deg, var(--preview-accent, var(--accent-strong)), var(--accent-soft));
    color: #0b0b0f;
}

.preview-btn--ghost {
    background: transparent;
    color: var(--preview-accent, var(--accent-strong));
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.preview-meta {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    opacity: 0.8;
}

.card-muted {
    background: var(--surface-muted);
    border: 1px solid var(--border);
    box-shadow: none;
}

.page-head {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 24px;
}

.page-head h1 {
    margin: 0;
    font-size: clamp(1.6rem, 2vw, 2.4rem);
}

.page-head p {
    margin: 0;
    color: var(--text-muted);
}

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

.eyebrow {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--text-muted);
    margin: 0;
}

.alert {
    border-radius: var(--radius-md);
    padding: 14px 18px;
    font-size: 0.95rem;
    margin-bottom: 16px;
    border: 1px solid transparent;
}

.alert-danger {
    background: rgba(239, 68, 68, 0.08);
    color: #b91c1c;
    border-color: rgba(239, 68, 68, 0.3);
}

.alert-success {
    background: rgba(16, 185, 129, 0.08);
    color: #047857;
    border-color: rgba(16, 185, 129, 0.3);
}

.stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}

.stat-card {
    background: var(--surface);
    border-radius: var(--radius-md);
    padding: 24px;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.stat-card p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.stat-value {
    font-size: 2.4rem;
    font-weight: 600;
    margin-top: 8px;
}

.code-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--surface-muted);
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 10px 16px;
    font-family: 'JetBrains Mono', 'SFMono-Regular', Menlo, Monaco, Consolas, monospace;
    font-size: 0.85rem;
}

.form-card {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-section {
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    padding: 24px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
}

.section-head {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 18px;
}

.section-head h2 {
    margin: 0;
    font-size: 1.1rem;
}

.section-head p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.form-grid {
    display: grid;
    gap: 16px;
}

.form-grid.two-columns {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

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

.form-group label {
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--text);
}

.username-status {
    margin-top: 6px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-muted);
}

.username-status.success {
    color: #28a745;
}

.username-status.error {
    color: #d93025;
}

.accent-swatches {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
}

.accent-swatch {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    cursor: pointer;
}

.accent-swatch input {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    margin: 0;
    cursor: pointer;
}

.accent-swatch span {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: inline-block;
    background: var(--swatch-color, #4f46e5);
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.16);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.accent-swatch span::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid transparent;
    transition: border 0.2s ease;
    pointer-events: none;
}

.accent-swatch input:checked + span::after {
    border-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.35);
}

.accent-swatch input:focus-visible + span {
    outline: 2px solid rgba(79, 70, 229, 0.4);
    outline-offset: 3px;
}

.accent-swatch:hover span {
    transform: translateY(-1px);
    box-shadow: 0 12px 22px rgba(15, 23, 42, 0.2);
}

input,
select,
textarea {
    width: 100%;
    padding: 12px 14px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    background: var(--surface-muted);
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

input:focus,
select:focus,
textarea:focus {
    border-color: rgba(99, 102, 241, 0.7);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
    outline: none;
}

textarea {
    min-height: 120px;
    resize: vertical;
}

input[type="file"] {
    padding: 10px;
    background: transparent;
}

input[type="checkbox"] {
    width: auto;
    accent-color: var(--accent-strong);
}

.checkbox-inline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.form-actions {
    display: flex;
    justify-content: flex-end;
    padding-top: 12px;
}

.table-modern {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: var(--surface);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
}

.table-modern th,
.table-modern td {
    padding: 16px;
    text-align: left;
    font-size: 0.95rem;
}

.table-modern thead {
    background: var(--surface-muted);
    color: var(--text-muted);
}

.table-modern tbody tr + tr td {
    border-top: 1px solid var(--border);
}

.table-modern tbody tr:hover {
    background: rgba(99, 102, 241, 0.03);
}

.badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 600;
}

.badge-success {
    background: rgba(16, 185, 129, 0.15);
    color: #047857;
}

.badge-muted {
    background: rgba(148, 163, 184, 0.2);
    color: #475569;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}

.feature-card {
    border-radius: var(--radius-lg);
    padding: 24px;
    background: #fff;
    border: 1px solid rgba(99, 102, 241, 0.1);
    box-shadow: 0 15px 40px rgba(15, 23, 42, 0.06);
}

.feature-card h3 {
    margin-top: 0;
    margin-bottom: 8px;
}

.profile-card {
    border-radius: var(--radius-lg);
    padding: 40px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(255, 255, 255, 0.6);
    margin-bottom: 32px;
}

.theme-dark .profile-card {
    background: rgba(17, 24, 39, 0.85);
    border-color: rgba(255, 255, 255, 0.08);
}

.profile-hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
    margin-bottom: 32px;
}

.profile-hero .profile-avatar {
    width: 144px;
    height: 144px;
    border-radius: 50%;
    border: 6px solid rgba(255, 255, 255, 0.85);
    box-shadow: 0 30px 70px rgba(15, 23, 42, 0.25);
    overflow: hidden;
}

.profile-hero .profile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-hero h1 {
    margin: 0;
    font-size: 2.2rem;
}

.profile-hero p {
    margin: 0;
    color: var(--text-muted);
}

.profile-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.link-section {
    border-radius: var(--radius-lg);
    padding: 24px;
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(18px);
    box-shadow: 0 25px 50px rgba(15, 23, 42, 0.08);
    margin-bottom: 16px;
}

.link-section h3 {
    margin-top: 0;
    margin-bottom: 12px;
}

.links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 14px;
}

.links-grid--professional {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 20px;
}

.contact-card {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    text-align: center;
    padding: 16px 20px;
}

.link-pill,
.link-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    border-radius: var(--radius-md);
    background: #fff;
    text-decoration: none;
    border: 1px solid rgba(99, 102, 241, 0.08);
    box-shadow: 0 12px 20px rgba(15, 23, 42, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.link-card {
    align-items: flex-start;
    gap: 12px;
    border-radius: 14px;
    padding: 16px 20px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.06);
}

.contact-card.link-card {
    align-items: center;
}

/* Center full content of contact cards */
.contact-card,
.link-card {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 12px !important;
    text-align: center;
}

.contact-card .contact-icon,
.contact-card .contact-title {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.link-card-content {
    flex: 0 0 auto !important;
    text-align: center !important;
    margin: 0 !important;
}

.link-card-icon,
.link-card-content {
    margin: 0 !important;
}

.link-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.link-pill:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 30px rgba(15, 23, 42, 0.14);
}

.icon-circle,
.link-card-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(99, 102, 241, 0.08);
    display: grid;
    place-items: center;
}

.link-card-icon {
    min-width: 40px;
    min-height: 40px;
    max-width: 40px;
    max-height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.link-pill .icon-circle .iconify,
.link-card-icon .iconify {
    font-size: 22px;
    width: 22px;
    height: 22px;
    line-height: 1;
}

.link-pill .text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.link-card-content {
    flex: 1;
    min-width: 0;
}

.link-card-title {
    font-weight: 600;
    font-size: 15px;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.link-card-url {
    font-size: 13px;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.link-title {
    font-weight: 600;
}

.link-sub {
    font-size: 0.82rem;
    color: var(--text-muted);
}

.theme-dark .link-card,
.theme-dark .link-pill {
    background: rgba(26, 34, 55, 0.9);
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: none;
}

.theme-dark .link-card-url,
.theme-dark .link-sub {
    color: rgba(226, 232, 240, 0.85);
}

.public-body {
    margin: 0;
    font-family: var(--font-sans);
    min-height: 100vh;
    background: var(--bg);
    padding: 48px 0 72px;
}

.public-shell {
    width: min(760px, 92vw);
    margin: 0 auto;
}

.theme-dark .public-body {
    background: var(--surface-dark);
    color: var(--text-dark, #e2e8f0);
}

.theme-dark .link-section,
.theme-dark .link-pill,
.theme-dark .card,
.theme-dark .stat-card,
.theme-dark .feature-card {
    background: rgba(15, 23, 42, 0.75);
    border-color: rgba(255, 255, 255, 0.06);
    color: #e2e8f0;
}

.theme-dark .link-pill {
    background: rgba(26, 34, 55, 0.9);
}

.theme-dark .links-grid .link-pill .icon-circle {
    background: rgba(255, 255, 255, 0.08);
}

.qr-block {
    display: none;
    text-align: center;
}

.qr-block.is-visible {
    display: block;
}

.qr-block img,
.qr-card img {
    border-radius: var(--radius-md);
    background: #fff;
    padding: 12px;
    box-shadow: 0 18px 30px rgba(15, 23, 42, 0.12);
}

.auth-card {
    max-width: 480px;
    margin: 0 auto;
    padding: 40px;
}

.auth-card form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.auth-card p {
    margin-top: 16px;
    text-align: center;
    color: var(--text-muted);
}

.auth-divider {
    text-align: center;
    color: var(--text-muted);
    margin: 16px 0;
    font-size: 0.85rem;
}

.auth-fallback {
    margin-bottom: 12px;
}

.auth-fallback summary {
    cursor: pointer;
    font-weight: 600;
    margin-bottom: 12px;
}

.tg-login-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    margin-top: 20px;
}

.tg-login-button {
    display: flex;
    justify-content: center;
    width: 100%;
}

.tg-login-note {
    max-width: 360px;
    text-align: center;
    font-size: 14px;
    line-height: 1.4;
    color: var(--text-muted);
    background: rgba(15, 23, 42, 0.04);
    padding: 12px 16px;
    border-radius: 12px;
}

.status-card {
    text-align: center;
    padding: 56px 32px;
}

.status-card h1 {
    font-size: 3rem;
    margin-bottom: 12px;
}

.analytics-controls {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.analytics-charts {
    display: grid;
    gap: 24px;
}

.range-select {
    width: auto;
    min-width: 160px;
}

.hero-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(247, 248, 252, 0.95));
    border-radius: var(--radius-lg);
    padding: 48px;
    box-shadow: var(--shadow-soft);
}

.hero-card h1 {
    margin: 12px 0;
    font-size: clamp(2rem, 4vw, 3rem);
}

.hero-card p {
    margin: 0;
    color: var(--text-muted);
    font-size: 1.05rem;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 28px;
}

.hero-meta {
    margin-top: 24px;
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.chip {
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.06);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
}

.demonstration {
    border-radius: var(--radius-lg);
    padding: 32px;
    background: #fff;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
}

.profile-pill-group {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.info-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    margin-left: 6px;
    border-radius: 50%;
    font-size: 11px;
    font-weight: 600;
    color: #fff;
    background: var(--accent-strong);
    cursor: help;
}

.info-icon--muted {
    background: rgba(99, 102, 241, 0.25);
    color: var(--accent-strong);
}

.qr-color-control {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    background: rgba(148, 163, 184, 0.12);
}

.qr-color-input {
    border: none;
    background: transparent;
    width: 54px;
    height: 38px;
    padding: 0;
    cursor: pointer;
}

.qr-color-bar {
    flex: 1;
    height: 20px;
    border-radius: 999px;
    background: var(--qr-preview-color, #000);
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.08);
}

.qr-visibility-card {
    margin-top: 24px;
    padding: 16px 18px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(79, 70, 229, 0.18);
    background: rgba(99, 102, 241, 0.08);
}

.qr-visibility-toggle {
    display: flex;
    align-items: center;
    gap: 14px;
    cursor: pointer;
}

.qr-visibility-toggle span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.qr-visibility-toggle input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.qr-visibility-card p {
    margin: 10px 0 0;
    color: var(--text-muted);
    font-size: 0.92rem;
}

/* Home page */
.hero {
    position: relative;
    padding: 100px 0 120px;
    overflow: hidden;
    background: linear-gradient(140deg, #eef1ff 0%, #f3f5ff 35%, #f9fbff 100%);
    border-radius: 48px;
    margin-bottom: 60px;
}

.hero-background::before,
.hero-background::after {
    content: '';
    position: absolute;
    z-index: 1;
}

.hero-background {
    position: absolute;
    inset: 0;
}

.hero-background::before {
    top: -120px;
    left: -80px;
    width: 420px;
    height: 420px;
    background: radial-gradient(circle at 30% 30%, #8b5cf640, transparent 70%);
    filter: blur(60px);
}

.hero-background::after {
    bottom: -160px;
    right: -120px;
    width: 480px;
    height: 480px;
    background: radial-gradient(circle at 70% 70%, #6366f140, transparent 70%);
    filter: blur(70px);
}

.hero-content {
    position: relative;
    z-index: 5;
    max-width: 640px;
    margin-left: 8%;
}

.hero-title {
    font-size: 44px;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 24px;
    color: #0f172a;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-muted);
    max-width: 560px;
    margin-bottom: 32px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.hero-cta {
    padding: 16px 34px;
    background: linear-gradient(135deg, #6a4dff, #915bff);
    color: #fff;
    font-weight: 700;
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(100, 60, 255, 0.3);
    text-decoration: none;
    transition: 0.25s ease;
}

.hero-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(100, 60, 255, 0.45);
}

.hero-secondary {
    padding: 16px 28px;
    border-radius: 14px;
    border: 2px solid rgba(0, 0, 0, 0.08);
    font-weight: 600;
    color: #333;
    background: #fff;
    text-decoration: none;
    transition: 0.25s ease;
}

.hero-secondary:hover {
    transform: translateY(-2px);
    border-color: rgba(0, 0, 0, 0.18);
}

.hero-mockup {
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
}

.hero-mockup img {
    width: 380px;
    filter: drop-shadow(0 24px 48px rgba(0,0,0,0.25));
}

.home-trust {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin: 32px 0 48px;
}

.home-trust article {
    padding: 20px;
    border-radius: var(--radius-md);
    background: var(--surface);
    box-shadow: 0 10px 28px rgba(15,23,42,0.08);
}

.home-steps,
.home-preview,
.home-compare,
.home-security,
.home-final-cta {
    margin-bottom: 56px;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
}

.steps-grid article {
    background: var(--surface);
    border-radius: var(--radius-md);
    padding: 24px;
    box-shadow: 0 12px 30px rgba(15,23,42,0.07);
}

.step-number {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(99,102,241,0.12);
    color: var(--accent-strong);
    display: grid;
    place-items: center;
    font-weight: 600;
    margin-bottom: 14px;
}

.home-preview .preview-tabs {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.preview-tab {
    border: 1px solid rgba(99,102,241,0.25);
    border-radius: 999px;
    padding: 8px 18px;
    background: transparent;
    color: var(--text);
    font-weight: 600;
    cursor: pointer;
}

.preview-tab.active {
    background: rgba(99,102,241,0.12);
    color: var(--accent-strong);
    border-color: transparent;
}

.preview-panels {
    border-radius: var(--radius-lg);
    background: #fff;
    padding: 32px;
    box-shadow: 0 18px 45px rgba(15,23,42,0.12);
}

.preview-panel {
    display: none;
}

.preview-panel.active {
    display: block;
}

.preview-card,
.preview-editor,
.preview-analytics {
    min-height: 220px;
}

.preview-card {
    text-align: center;
}

.preview-card .profile-avatar {
    width: 72px;
    height: 72px;
    margin: 0 auto 12px;
    border-radius: 50%;
    background: linear-gradient(135deg,#6366f1,#a855f7);
    background-size: cover;
    background-position: center;
}

.preview-links {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin: 16px 0;
}

.preview-links a {
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(99,102,241,0.08);
    text-decoration: none;
    font-size: 0.9rem;
}

.preview-qr {
    width: 90px;
    height: 90px;
    background: rgba(15,23,42,0.9);
    border-radius: 12px;
    margin: 0 auto;
}

.preview-editor input {
    width: 100%;
    margin-bottom: 10px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    padding: 10px 12px;
}

.preview-editor__chips {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.preview-editor__chips span {
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(99,102,241,0.12);
}

.preview-analytics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 18px;
}

.preview-analytics div {
    background: rgba(99,102,241,0.06);
    border-radius: var(--radius-md);
    padding: 18px;
}

.preview-chart {
    grid-column: span 2;
    height: 140px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, rgba(99,102,241,0.15), rgba(14,165,233,0.15));
}

.section {
    position: relative;
    margin: 80px 0;
    padding: 64px 48px;
    border-radius: 32px;
    background: #f8f9fb;
    overflow: hidden;
}

.usecases-section {
    background: linear-gradient(135deg, rgba(99,102,241,0.08), rgba(248,250,252,0.9));
}

.features-section {
    background: linear-gradient(135deg, rgba(236,72,153,0.08), rgba(248,250,252,0.95));
}

.usecases-section .section-head,
.features-section .section-head {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 48px;
}

.section-eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.85rem;
    color: var(--accent-strong);
    margin-bottom: 12px;
    display: block;
}

.section-title {
    font-size: 2.1rem;
    font-weight: 800;
    margin: 0 0 18px;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

.section-background {
    position: absolute;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.65;
    z-index: 0;
}

.section-background.bg-left {
    top: -60px;
    left: -80px;
    background: radial-gradient(circle at 30% 30%, rgba(99,102,241,0.35), transparent 70%);
}

.section-background.bg-right {
    bottom: -60px;
    right: -80px;
    background: radial-gradient(circle at 70% 70%, rgba(236,72,153,0.35), transparent 70%);
}

.feature-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 32px;
}

.feature-card {
    background: #fff;
    padding: 32px;
    border-radius: 24px;
    box-shadow: 0 8px 32px rgba(15,23,42,0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(15,23,42,0.15);
}

.feature-icon {
    width: 58px;
    height: 58px;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(200,182,255,0.35), rgba(184,192,255,0.3));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    box-shadow: 0 10px 24px rgba(79,70,229,0.15);
    border: 1px solid rgba(255,255,255,0.4);
    backdrop-filter: blur(6px);
}

.feature-icon img,
.feature-icon svg {
    width: 26px;
    height: 26px;
    object-fit: contain;
    filter: brightness(0) saturate(100%);
    opacity: 0.9;
}

.feature-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0 0 12px;
}

.feature-text {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-muted);
}

@media (max-width: 768px) {
    .section {
        padding: 48px 24px;
    }
    .section-title {
        font-size: 1.8rem;
    }
    .feature-card {
        padding: 28px;
    }
}

.home-security .security-card {
    display: flex;
    gap: 18px;
    padding: 24px;
    border-radius: var(--radius-lg);
    background: var(--surface);
    box-shadow: 0 12px 34px rgba(15,23,42,0.09);
}

.security-icon {
    font-size: 2rem;
}

.comparison-section {
    background: linear-gradient(135deg, rgba(255,255,255,0.7), rgba(116,119,255,0.08));
    padding: 80px 48px;
    border-radius: 36px;
    box-shadow: inset 0 0 0 1px rgba(99,102,241,0.08);
}

.comparison-section .section-title {
    margin-bottom: 40px;
    text-align: center;
}

.comparison-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
}

.comparison-card {
    padding: 32px;
    border-radius: 32px;
    box-shadow: 0 12px 40px rgba(15,23,42,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: #0f172a;
}

.comparison-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(15,23,42,0.15);
}

.negative-card {
    background: linear-gradient(145deg, rgba(248,113,113,0.08), rgba(248,113,113,0.2));
}

.positive-card {
    background: linear-gradient(145deg, rgba(129,140,248,0.35), rgba(99,102,241,0.55));
    color: #fff;
}

.comparison-title {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.comparison-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
    font-size: 1rem;
}

.comparison-list .icon {
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 8px;
    font-weight: 700;
}

.comparison-list.negative .icon {
    background: rgba(248,113,113,0.15);
    color: #dc2626;
}

.comparison-list.positive .icon {
    background: rgba(34,197,94,0.25);
    color: #047857;
}

.cta-section {
    padding: 0;
    background: transparent;
}

.cta-card {
    margin: 0 auto;
    max-width: 860px;
    padding: 60px 48px;
    border-radius: 40px;
    text-align: center;
    background: linear-gradient(135deg, #7a5cff, #6b8dff, #8ac4ff);
    box-shadow: 0 12px 48px rgba(90,60,255,0.25);
    color: #fff;
}

.cta-title {
    font-size: 2.2rem;
    font-weight: 800;
    margin: 0 0 16px;
}

.cta-subtitle {
    font-size: 1.1rem;
    margin: 0 0 32px;
    color: rgba(255,255,255,0.9);
}

.cta-button {
    display: inline-block;
    padding: 16px 36px;
    border-radius: 16px;
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    background: linear-gradient(135deg, #6a4dff, #915bff);
    color: #fff;
    box-shadow: 0 6px 20px rgba(80,50,255,0.35);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(80,50,255,0.45);
}

.cta-note {
    margin-top: 18px;
    color: rgba(255,255,255,0.85);
    font-size: 0.95rem;
}

.footer-dark {
    width: 100%;
    background: #0d0d0f;
    color: #ffffff;
    padding: 80px 0 40px;
    margin-top: 100px;
    flex-shrink: 0;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    padding: 0 20px;
}

.footer-brand h3 {
    font-size: 26px;
    font-weight: 700;
}

.footer-brand p {
    opacity: 0.7;
    max-width: 280px;
}

.footer-col h4 {
    font-size: 18px;
    margin-bottom: 16px;
}

.footer-col a {
    display: block;
    margin-bottom: 8px;
    color: #ffffff;
    opacity: 0.75;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.footer-col a:hover {
    opacity: 1;
}

.footer-legal {
    text-align: center;
    margin-top: 50px;
    opacity: 0.5;
    font-size: 14px;
    line-height: 1.6;
}

@media (max-width: 900px) {
    .footer-container {
        grid-template-columns: 1fr 1fr;
    }
}

/* Public card copyright bar */
.public-copy {
    width: 100%;
    text-align: center;
    padding: 14px 0;
    font-size: 13px;
    color: rgba(0,0,0,0.55);
    margin-top: 40px;
}

.public-copy a {
    color: rgba(0,0,0,0.75);
    font-weight: 600;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.public-copy a:hover {
    opacity: 1;
}

.public-page-wrapper {
    min-height: calc(100% - 60px);
    display: flex;
    flex-direction: column;
}

.public-content {
    flex-grow: 1;
}

.theme-dark .public-copy {
    color: rgba(255,255,255,0.65);
}

.theme-dark .public-copy a {
    color: rgba(255,255,255,0.85);
}
@media (max-width: 600px) {
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .footer-brand p {
        max-width: none;
    }
}


@media (max-width: 900px) {
    .hero {
        padding: 80px 0 40px;
        text-align: center;
    }
    .hero-content {
        margin: 0 auto;
        padding: 0 24px;
    }
    .hero-mockup {
        position: static;
        transform: none;
        margin: 40px auto 0;
        text-align: center;
    }
    .hero-mockup img {
        width: 260px;
    }
    .hero-buttons {
        justify-content: center;
    }
    .hero-title {
        font-size: 32px;
    }
}

@media (max-width: 768px) {
    .preview-panels {
        padding: 20px;
    }
    .cta-card {
        padding: 48px 28px;
    }
}

.admin-body {
    background: var(--bg-soft);
}

.admin-shell {
    display: flex;
    min-height: 100vh;
}

.admin-sidebar {
    width: 260px;
    padding: 32px 24px;
    background: var(--surface);
    border-right: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.admin-user p {
    margin: 0;
    font-weight: 600;
}

.admin-nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.admin-nav a {
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 600;
}

.admin-nav a.active,
.admin-nav a:hover {
    background: rgba(99, 102, 241, 0.12);
    color: var(--text);
}

/* 3D Phone Mockup */
.device-3d {
    position: relative;
    width: 340px;
    height: 680px;
    transform-style: preserve-3d;
    transition: transform 0.15s ease-out;
    animation: phoneFloat 6s ease-in-out infinite;
}

@keyframes phoneFloat {
    0%   { transform: translateY(-6px); }
    50%  { transform: translateY(6px); }
    100% { transform: translateY(-6px); }
}

.device-frame {
    width: 100%;
    height: 100%;
    border-radius: 36px;
    background: #111;
    padding: 14px;
    box-shadow: 
        0 18px 40px rgba(0,0,0,0.35),
        0 0 120px rgba(110,70,255,0.22);
    position: relative;
}

.device-screen {
    width: 100%;
    height: 100%;
    border-radius: 26px;
    object-fit: cover;
    display: block;
}

.device-3d::after {
    content: "";
    position: absolute;
    width: 180%;
    height: 180%;
    left: -40%;
    top: -40%;
    background: radial-gradient(
        circle at 70% 30%,
        rgba(120,80,255,0.35),
        transparent 65%
    );
    filter: blur(80px);
    z-index: -1;
}

@media (max-width: 900px) {
    .device-3d {
        width: 240px;
        height: 480px;
        margin: 40px auto 0;
        animation: none;
    }
}

.admin-content {
    flex: 1;
    padding: 40px;
    background: linear-gradient(180deg, rgba(255,255,255,0.9), rgba(247,248,252,0.9));
}

@media (max-width: 960px) {
    .admin-shell {
        flex-direction: column;
    }
    .admin-sidebar {
        width: 100%;
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
    }
    .admin-content {
        padding: 24px;
    }
}

@media (max-width: 768px) {
    .site-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-card,
    .card,
    .form-section,
    .auth-card {
        padding: 24px;
    }

    .profile-actions {
        flex-direction: column;
    }

    .link-section {
        padding: 20px;
    }
}
.brandkit-preview {
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-lg);
    padding: 24px;
}

.protected-contact .secret-contact {
    margin-top: 8px;
}

.reveal-contact {
    border: 1px dashed rgba(99, 102, 241, 0.4);
    background: transparent;
    color: inherit;
    padding: 6px 10px;
    border-radius: 8px;
    cursor: pointer;
}

.hidden-contact {
    display: none;
    font-weight: 600;
    margin-left: 6px;
}

.hidden-contact.is-visible {
    display: inline-block;
}

.analytics-pro-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 32px;
}

.geo-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.geo-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.bar-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.bar-row {
    display: grid;
    grid-template-columns: 140px 1fr auto;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
}

.bar-track {
    height: 8px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    overflow: hidden;
}

.bar-fill {
    height: 100%;
    background: linear-gradient(120deg, var(--accent-strong), var(--accent-soft));
    border-radius: inherit;
}

.bar-value {
    font-weight: 600;
}

.dual-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}

.heatmap {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 6px;
}

.heatmap .cell {
    width: 100%;
    padding-bottom: 100%;
    border-radius: 6px;
}

.heatmap .intensity-0 { background: #f0f0f0; }
.heatmap .intensity-1 { background: #c0c8ff; }
.heatmap .intensity-2 { background: #8890ff; }
.heatmap .intensity-3 { background: #5a5ef0; }
.heatmap .intensity-4 { background: #3434d0; }

.linkee-brand-hint {
    margin-top: 20px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.table-responsive {
    overflow-x: auto;
}

.recent-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
}

.recent-table th,
.recent-table td {
    padding: 10px 6px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    text-align: left;
}

.top-contacts {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.top-contact-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

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

.badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(99, 102, 241, 0.15);
    color: var(--accent-strong);
    font-weight: 600;
}
.link-section[data-section="extra"] .link-card .link-card-title,
.link-section:not(.qr-block):last-of-type .link-card .link-card-title,
.link-section:has(+ .qr-block) .link-card .link-card-title {
    white-space: normal !important;
    overflow-wrap: break-word !important;
    word-break: break-word !important;
    text-align: center !important;
    line-height: 1.4;
}

.link-section[data-section="extra"] .link-card-content,
.link-section:not(.qr-block):last-of-type .link-card-content,
.link-section:has(+ .qr-block) .link-card-content {
    flex: 0 1 auto !important;
}
