@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap");

:root {
    --bg: #061120;
    --bg-soft: #0d1e39;
    --bg-soft-2: #12274a;
    --surface: #f5f9ff;
    --surface-2: #e6f0ff;
    --ink: #0d1728;
    --muted: #6b7a94;
    --line: rgba(96, 165, 250, 0.18);
    --line-strong: rgba(147, 197, 253, 0.28);
    --blue: #2f80ff;
    --blue-2: #5bbcff;
    --blue-3: #9bd4ff;
    --shadow: 0 24px 60px rgba(4, 20, 43, 0.18);
    --glass: rgba(255, 255, 255, 0.12);
    --glass-strong: rgba(255, 255, 255, 0.16);
}

body {
    font-family: "Manrope", sans-serif;
    color: var(--ink);
}

a {
    color: var(--blue);
}

.guest-body,
.public-card-shell {
    background:
        radial-gradient(circle at top left, rgba(91, 188, 255, 0.16), transparent 26%),
        radial-gradient(circle at top right, rgba(47, 128, 255, 0.24), transparent 24%),
        linear-gradient(180deg, #04101f 0%, #0b1c36 42%, #10274c 100%);
    min-height: 100vh;
}

.dashboard-shell {
    background:
        radial-gradient(circle at top right, rgba(147, 197, 253, 0.24), transparent 26%),
        linear-gradient(180deg, #eef5ff 0%, #e3efff 55%, #dce9fb 100%);
    min-height: 100vh;
}

.navbar,
footer {
    background: transparent;
}

.hero-section,
.section-title {
    color: #fff;
}

.eyebrow-pill,
.hero-chip {
    display: inline-flex;
    padding: 0.48rem 0.95rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    color: #e6f0ff;
    font-size: 0.82rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-preview,
.pricing-card,
.feature-panel,
.metric-card,
.small-panel,
.glass-card,
.glass-panel,
.product-card,
.sidebar-card,
.page-header-card,
.stat-box,
.action-tile,
.detail-chip {
    border-radius: 1.5rem;
}

.feature-panel,
.small-panel,
.page-header-card,
.sidebar-card,
.stat-box,
.card {
    background: rgba(255, 255, 255, 0.92);
    box-shadow: var(--shadow);
}

.metric-card,
.pricing-card {
    padding: 1.5rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(145, 185, 255, 0.08));
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(18px);
}

.feature-panel,
.small-panel {
    padding: 1.5rem;
}

.metric-number {
    font-size: 1.75rem;
    font-weight: 800;
}

.hero-preview .card-body {
    background: linear-gradient(180deg, #ffffff, #eaf2ff);
    border-radius: 1.5rem;
}

.preview-banner {
    height: 130px;
    border-radius: 1.3rem;
    background: linear-gradient(135deg, #0f2344, #2358a5 54%, #62b3ff);
}

.preview-profile {
    display: flex;
    gap: 1rem;
    align-items: flex-end;
    margin-top: -2rem;
}

.preview-avatar {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3b82f6, #60a5fa);
    border: 5px solid #fff;
}

.topbar {
    background: rgba(255, 255, 255, 0.78);
    backdrop-filter: blur(18px);
}

.brand-mark {
    color: var(--ink);
    font-size: 1.3rem;
    font-weight: 800;
}

.page-header-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
}

.avatar-chip {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #133267, #2f80ff);
    color: #fff;
    font-weight: 800;
}

.sidebar-link {
    color: var(--ink);
    border-radius: 0.9rem;
    padding: 0.85rem 1rem;
    transition: 0.2s ease;
}

.sidebar-link.active,
.sidebar-link:hover {
    background: linear-gradient(90deg, rgba(47, 128, 255, 0.12), rgba(91, 188, 255, 0.18));
    color: #0a3b79;
}

.stat-box {
    padding: 1.25rem;
}

.stat-box span {
    display: block;
    font-size: 0.85rem;
    color: var(--muted);
}

.stat-box strong {
    font-size: 1.7rem;
}

.plan-choice {
    display: block;
    padding: 1rem;
    border-radius: 1rem;
    border: 1px solid rgba(47, 128, 255, 0.16);
    cursor: pointer;
    background: linear-gradient(180deg, #fff, #f1f7ff);
    transition: 0.2s ease;
}

.plan-choice:hover {
    border-color: rgba(47, 128, 255, 0.36);
    transform: translateY(-1px);
}

.plan-choice input {
    margin-right: 0.6rem;
}

.public-card {
    position: relative;
    background: rgba(7, 22, 44, 0.72);
    border: 1px solid rgba(147, 197, 253, 0.2);
    box-shadow: 0 30px 80px rgba(4, 13, 28, 0.35);
    backdrop-filter: blur(26px);
}

.public-card-banner {
    position: relative;
    min-height: 240px;
    background: linear-gradient(135deg, #153b7a, #2457b7 48%, #5bbcff);
    background-size: cover;
    background-position: center;
}

.public-card-banner-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(7, 19, 38, 0.02), rgba(3, 13, 27, 0.72)),
        radial-gradient(circle at top right, rgba(255, 255, 255, 0.18), transparent 28%);
}

.public-hero {
    position: relative;
    margin-top: -6.5rem;
    z-index: 2;
}

.public-avatar-wrap {
    flex-shrink: 0;
}

.public-avatar,
.public-avatar-fallback {
    width: 148px;
    height: 148px;
    border-radius: 36px;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: linear-gradient(135deg, #2250a4, #62b3ff);
    color: #fff;
    display: grid;
    place-items: center;
    font-size: 3rem;
    font-weight: 800;
    box-shadow: 0 22px 38px rgba(3, 14, 30, 0.38);
}

.company-logo {
    width: 84px;
    height: 84px;
    object-fit: contain;
    border-radius: 1.25rem;
    background: rgba(255, 255, 255, 0.92);
    padding: 0.75rem;
    box-shadow: 0 14px 28px rgba(3, 14, 30, 0.24);
}

.hero-copy {
    color: rgba(230, 240, 255, 0.8);
    max-width: 760px;
}

.glass-panel,
.glass-product,
.glass-action,
.detail-chip {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.07));
    border: 1px solid rgba(147, 197, 253, 0.18);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(18px);
}

.glass-panel,
.glass-product {
    padding: 1.5rem;
    color: #edf5ff;
}

.glass-panel a,
.glass-product a,
.glass-action {
    color: #ffff;
    background: border-box;
}

.glass-panel p,
.glass-panel label,
.glass-panel small,
.section-helper {
    color: rgba(230, 240, 255, 0.72);
}

.action-tile {
    display: flex;
    gap: 0.8rem;
    align-items: center;
    justify-content: center;
    padding: 1rem 1.15rem;
    text-decoration: none;
    color: #fff;
}

.action-tile i {
    font-size: 1.05rem;
}

.social-chip {
    padding: 0.65rem 1rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(147, 197, 253, 0.2);
    text-decoration: none;
}

.payment-qr-image {
    max-width: 220px;
    width: 100%;
    border-radius: 1.25rem;
    border: 1px solid rgba(147, 197, 253, 0.26);
    background: #fff;
    padding: 0.65rem;
}

.detail-chip {
    padding: 1rem 1.1rem;
    height: 100%;
}

.detail-chip span {
    display: block;
    font-size: 0.82rem;
    color: rgba(230, 240, 255, 0.68);
    margin-bottom: 0.35rem;
}

.detail-chip strong {
    color: #fff;
}

.product-image,
.gallery-thumb {
    width: 100%;
    object-fit: cover;
    border-radius: 1rem;
}

.product-image {
    height: 220px;
}

.gallery-thumb {
    height: 180px;
}

.review-card,
.review-snippet {
    background: rgb(127 156 166 / 95%);
}

.glass-input {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    border: 1px solid rgba(147, 197, 253, 0.18);
}

.glass-input:focus {
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    border-color: rgba(147, 197, 253, 0.44);
    box-shadow: 0 0 0 0.2rem rgba(91, 188, 255, 0.16);
}

.glass-input::placeholder {
    color: rgba(230, 240, 255, 0.54);
}

.btn-primary {
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    border-color: #2563eb;
    box-shadow: 0 14px 28px rgba(37, 99, 235, 0.22);
}

.btn-primary:hover,
.btn-primary:focus {
    background: linear-gradient(135deg, #1d4ed8, #2563eb);
    border-color: #1d4ed8;
}

.table > :not(caption) > * > * {
    padding: 1rem 0.75rem;
}

.modal-content.bg-dark {
    background: linear-gradient(180deg, #09172c, #102749) !important;
}

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

    .public-hero {
        margin-top: -4.75rem;
    }

    .public-avatar,
    .public-avatar-fallback {
        width: 120px;
        height: 120px;
        border-radius: 28px;
    }
}

@media (max-width: 767.98px) {
    .public-card-banner {
        min-height: 180px;
    }

    .public-hero {
        margin-top: -3.75rem;
    }

    .public-avatar,
    .public-avatar-fallback {
        width: 104px;
        height: 104px;
        font-size: 2.3rem;
    }

    .company-logo {
        width: 68px;
        height: 68px;
    }

    .action-tile {
        min-height: 100%;
    }
}
