:root {
    --eka-bg: #f5f1e8;
    --eka-surface: #ffffff;
    --eka-surface-soft: #faf7f2;
    --eka-border: #e7dfd4;
    --eka-text: #1d2939;
    --eka-muted: #667085;
    --eka-primary: #0f766e;
    --eka-primary-soft: rgba(15, 118, 110, 0.12);
    --eka-danger-soft: rgba(220, 38, 38, 0.12);
    --eka-shadow-sm: 0 12px 28px rgba(15, 23, 42, 0.06);
    --eka-shadow-md: 0 20px 42px rgba(15, 23, 42, 0.08);
}

[data-bs-theme="dark"] {
    --eka-bg: #111a20;
    --eka-surface: #17232d;
    --eka-surface-soft: #1d2b36;
    --eka-border: rgba(255, 255, 255, 0.09);
    --eka-text: #f8fafc;
    --eka-muted: #9fb0c1;
    --eka-primary: #34d399;
    --eka-primary-soft: rgba(52, 211, 153, 0.14);
    --eka-danger-soft: rgba(248, 113, 113, 0.12);
    --eka-shadow-sm: 0 14px 30px rgba(2, 8, 23, 0.28);
    --eka-shadow-md: 0 22px 44px rgba(2, 8, 23, 0.36);
}

* {
    box-sizing: border-box;
}

body {
    font-family: "Manrope", sans-serif;
    min-height: 100vh;
    background:
        radial-gradient(circle at top left, rgba(15, 118, 110, 0.1), transparent 28%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.2), transparent 22%),
        var(--eka-bg);
    color: var(--eka-text);
}

a {
    color: inherit;
}

.auth-shell,
.error-shell {
    min-height: 100vh;
}

.auth-stage {
    position: relative;
    z-index: 2;
}

.auth-card,
.panel-card,
.metric-card,
.error-card,
.sidebar-shell,
.topbar-shell,
.filter-shell,
.form-section,
.stat-tile,
.empty-block {
    background: var(--eka-surface);
    border: 1px solid var(--eka-border);
    box-shadow: var(--eka-shadow-sm);
}

.shadow-soft {
    box-shadow: var(--eka-shadow-md);
}

.auth-card {
    border-radius: 24px;
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    overflow: hidden;
}

.auth-side {
    background: linear-gradient(150deg, rgba(15, 118, 110, 0.96), rgba(14, 116, 144, 0.82));
    color: #f8fafc;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1.1rem;
}

.auth-panel {
    padding: 2rem;
}

.brand-mark,
.brand-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.14);
    font-weight: 800;
}

.auth-brand-logo {
    width: min(240px, 100%);
    height: auto;
}

.brand-badge-logo {
    overflow: hidden;
    background: rgba(255, 255, 255, 0.08);
}

.brand-badge-image,
.topbar-brand-image {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    background: var(--eka-surface);
    padding: 0.18rem;
}

.eyebrow,
.page-eyebrow,
.sidebar-overline {
    margin: 0;
    color: var(--eka-muted);
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.76rem;
}

.auth-side .eyebrow,
.auth-side .hero-copy,
.auth-side h1,
.auth-side span {
    color: #f8fafc;
}

.hero-points {
    display: grid;
    gap: 0.7rem;
}

.hero-points span {
    display: inline-flex;
    gap: 0.65rem;
    align-items: center;
}

.auth-links {
    margin-top: 1rem;
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    color: var(--eka-muted);
}

.app-grid {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    min-height: 100vh;
    gap: 1rem;
    padding: 1rem;
}

.sidebar-shell {
    border-radius: 24px;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.sidebar-brand {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-bottom: 1.5rem;
}

.sidebar-brand h2,
.page-heading,
.panel-head h3,
.form-section-head h2,
.filter-shell-copy h2 {
    margin: 0;
}

.sidebar-nav {
    display: grid;
    gap: 0.35rem;
}

.sidebar-link {
    display: flex;
    gap: 0.8rem;
    align-items: center;
    text-decoration: none;
    color: var(--eka-text);
    padding: 0.85rem 0.95rem;
    border-radius: 16px;
    border: 1px solid transparent;
    transition: 0.18s ease;
}

.sidebar-link:hover {
    background: var(--eka-surface-soft);
    color: var(--eka-primary);
}

.sidebar-link.active {
    background: var(--eka-primary-soft);
    border-color: rgba(15, 118, 110, 0.18);
    color: var(--eka-primary);
    font-weight: 700;
}

.sidebar-foot {
    padding-top: 1rem;
    color: var(--eka-muted);
    font-size: 0.92rem;
}

.sidebar-foot p {
    margin: 0;
}

.app-main {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    min-width: 0;
}

.topbar-shell {
    border-radius: 20px;
    padding: 0.95rem 1.2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.topbar-title-row {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    flex-wrap: wrap;
}

.topbar-title-row strong {
    font-size: 1rem;
    font-weight: 700;
}

.topbar-title-row span {
    color: var(--eka-muted);
    font-size: 0.82rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.topbar-brand-pill {
    width: 2.2rem;
    height: 2.2rem;
    border-radius: 999px;
    overflow: hidden;
    background: var(--eka-surface-soft);
    border: 1px solid var(--eka-border);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.topbar-actions {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    flex-wrap: wrap;
}

.topbar-actions form {
    margin: 0;
}

.app-content {
    padding-bottom: 1rem;
}

.page-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
}

.page-header-copy {
    min-width: 0;
}

.page-heading {
    font-size: 1.85rem;
    font-weight: 800;
    line-height: 1.08;
}

.page-subtitle,
.filter-shell-copy p,
.form-section-head p,
.panel-head p,
.stat-hint {
    margin: 0.35rem 0 0;
    color: var(--eka-muted);
}

.page-actions,
.quick-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.filter-shell,
.form-section,
.panel-card,
.metric-card,
.stat-tile {
    border-radius: 20px;
    padding: 1rem 1.1rem;
}

.filter-shell {
    display: grid;
    gap: 0.9rem;
}

.filter-shell-body form,
.form-section-body form {
    margin: 0;
}

.form-section {
    display: grid;
    gap: 1rem;
}

.panel-head,
.form-section-head,
.filter-shell-copy {
    display: grid;
    gap: 0.2rem;
}

.panel-head h3,
.form-section-head h2,
.filter-shell-copy h2 {
    font-size: 1.05rem;
    font-weight: 700;
}

.advanced-block {
    border: 1px dashed var(--eka-border);
    border-radius: 18px;
    background: var(--eka-surface-soft);
    padding: 0 1rem;
}

.advanced-block summary {
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1rem;
    padding: 0.95rem 0;
    cursor: pointer;
    font-weight: 700;
}

.advanced-block summary::-webkit-details-marker {
    display: none;
}

.advanced-block summary small {
    color: var(--eka-muted);
    font-weight: 500;
}

.advanced-block-body {
    padding: 0 0 1rem;
}

.stat-grid {
    display: grid;
    gap: 0.75rem;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    margin-bottom: 1rem;
}

.stat-tile,
.metric-card {
    display: grid;
    gap: 0.4rem;
}

.stat-tile.highlight,
.metric-card.highlight {
    background: linear-gradient(140deg, var(--eka-primary-soft), var(--eka-surface));
    border-color: rgba(15, 118, 110, 0.18);
}

.stat-label,
.metric-card span {
    font-size: 0.78rem;
    color: var(--eka-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.stat-value,
.metric-card strong {
    font-size: 1.4rem;
    line-height: 1.1;
    font-weight: 800;
}

.simple-list {
    display: grid;
    gap: 0;
}

.simple-row {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
    padding: 0.95rem 0;
    border-bottom: 1px solid var(--eka-border);
}

.simple-row:first-child {
    padding-top: 0;
}

.simple-row:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.simple-row.stacked {
    flex-direction: column;
    align-items: flex-start;
}

.empty-state {
    margin: 0;
    color: var(--eka-muted);
}

.empty-block {
    border-style: dashed;
    border-radius: 18px;
    padding: 1.25rem;
    display: grid;
    gap: 0.85rem;
    justify-items: start;
    background: var(--eka-surface-soft);
}

.empty-icon {
    width: 2.65rem;
    height: 2.65rem;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--eka-primary-soft);
    color: var(--eka-primary);
}

.empty-copy h3 {
    margin: 0;
    font-size: 1.04rem;
    font-weight: 700;
}

.empty-copy p {
    margin: 0.35rem 0 0;
    color: var(--eka-muted);
}

.status-badge {
    border-radius: 999px;
    padding: 0.45rem 0.7rem;
    font-weight: 700;
}

.calendar-grid {
    display: grid;
    gap: 1rem;
}

.calendar-grid-day {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.calendar-grid-span {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

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

.calendar-day-card {
    min-height: 220px;
}

.calendar-day-muted {
    opacity: 0.7;
}

.calendar-day-title {
    font-weight: 700;
    font-size: 1.05rem;
}

.booking-card {
    display: block;
    padding: 0.85rem 0.95rem;
    border-radius: 16px;
    border: 1px solid var(--eka-border);
    background: var(--eka-surface-soft);
    text-decoration: none;
}

.booking-card:hover {
    border-color: rgba(15, 118, 110, 0.22);
    box-shadow: var(--eka-shadow-sm);
}

.alert-soft {
    border-radius: 16px;
    border-width: 0;
}

.error-card {
    max-width: 560px;
    margin: 10vh auto;
    padding: 2.5rem;
    border-radius: 24px;
    box-shadow: var(--eka-shadow-md);
    text-align: center;
}

.btn {
    border-radius: 14px;
    font-weight: 600;
    padding: 0.7rem 1rem;
}

.btn-sm {
    border-radius: 12px;
    padding: 0.5rem 0.8rem;
}

.btn-primary {
    background-color: var(--eka-primary);
    border-color: var(--eka-primary);
}

.btn-outline-primary {
    color: var(--eka-primary);
    border-color: rgba(15, 118, 110, 0.22);
}

.btn-outline-primary:hover,
.btn-outline-secondary:hover,
.btn-outline-danger:hover {
    transform: translateY(-1px);
}

.form-control,
.form-select,
.form-control-color {
    border-radius: 14px;
    min-height: 48px;
    padding: 0.75rem 0.9rem;
    border-color: var(--eka-border);
    background: var(--eka-surface-soft);
    color: var(--eka-text);
}

textarea.form-control {
    min-height: auto;
}

.form-control-color {
    padding: 0.35rem;
}

.form-control:focus,
.form-select:focus,
.form-check-input:focus {
    border-color: rgba(15, 118, 110, 0.35);
    box-shadow: 0 0 0 0.22rem rgba(15, 118, 110, 0.12);
}

.form-check-input {
    width: 1.1rem;
    height: 1.1rem;
    margin-top: 0.2rem;
}

.form-label {
    font-weight: 700;
    margin-bottom: 0.45rem;
}

.branding-preview-shell {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 1rem;
    align-items: center;
}

.branding-preview-frame {
    background: var(--eka-surface-soft);
    border: 1px dashed var(--eka-border);
    border-radius: 24px;
    padding: 1rem;
    min-height: 112px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.branding-preview-image {
    max-width: 100%;
    max-height: 88px;
    object-fit: contain;
}

.receipt-toggle {
    width: 100%;
    display: flex;
    gap: 0.75rem;
    align-items: center;
    border: 1px solid var(--eka-border);
    background: var(--eka-surface-soft);
    border-radius: 16px;
    padding: 0.9rem 1rem;
    cursor: pointer;
}

.receipt-toggle input {
    width: 1.05rem;
    height: 1.05rem;
    margin: 0;
}

.receipt-toggle span {
    font-weight: 600;
}

.text-body-secondary,
.small,
small {
    color: var(--eka-muted) !important;
}

.border,
.border-top,
.border-bottom,
.border-start,
.border-end,
.rounded-4 {
    border-color: var(--eka-border) !important;
}

.table > :not(caption) > * > * {
    background: transparent;
    color: var(--eka-text);
    border-color: var(--eka-border);
}

@media (max-width: 991.98px) {
    .auth-card,
    .app-grid {
        grid-template-columns: 1fr;
    }

    .auth-side {
        padding: 2rem;
    }

    .auth-panel {
        padding: 1.5rem;
    }

    .sidebar-shell,
    .topbar-shell,
    .panel-card,
    .filter-shell,
    .form-section,
    .metric-card,
    .stat-tile {
        border-radius: 18px;
    }

    .topbar-shell,
    .page-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .page-actions,
    .topbar-actions {
        width: 100%;
    }

    .page-actions .btn,
    .topbar-actions .btn,
    .topbar-actions form {
        flex: 1 1 calc(50% - 0.5rem);
    }

    .calendar-grid-month,
    .calendar-grid-span,
    .calendar-grid-day {
        grid-template-columns: 1fr;
    }

    .branding-preview-shell {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575.98px) {
    .app-grid {
        gap: 0.75rem;
        padding: 0.75rem;
    }

    .page-heading {
        font-size: 1.55rem;
    }

    .page-actions .btn,
    .topbar-actions .btn,
    .topbar-actions form,
    .topbar-actions form .btn {
        width: 100%;
        flex: 1 1 100%;
    }

    .simple-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.55rem;
    }

    .stat-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.public-shell {
    position: relative;
    overflow-x: hidden;
    background:
        radial-gradient(1200px 520px at -10% -15%, rgba(15, 118, 110, 0.18), transparent 62%),
        radial-gradient(920px 420px at 108% 2%, rgba(59, 130, 246, 0.16), transparent 64%),
        linear-gradient(180deg, #f8fbfc 0%, #f2f6f9 48%, #edf3f7 100%);
}

.public-main {
    display: grid;
    gap: 3.35rem;
    padding-bottom: 3.5rem;
}

.public-shell::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(15, 23, 42, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(15, 23, 42, 0.03) 1px, transparent 1px);
    background-size: 46px 46px;
    opacity: 0.35;
}

[data-bs-theme="dark"] .public-shell {
    background:
        radial-gradient(1200px 520px at -10% -15%, rgba(34, 211, 238, 0.12), transparent 65%),
        radial-gradient(920px 420px at 108% 2%, rgba(14, 116, 144, 0.2), transparent 66%),
        linear-gradient(180deg, #0f1720 0%, #101a25 44%, #0f1a24 100%);
}

[data-bs-theme="dark"] .public-shell::before {
    background-image:
        linear-gradient(rgba(148, 163, 184, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(148, 163, 184, 0.06) 1px, transparent 1px);
    opacity: 0.24;
}

.public-header {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 1rem;
    padding: 0.95rem 1.25rem !important;
    border-radius: 22px;
    border: 1px solid rgba(148, 163, 184, 0.24);
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(14px);
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.08);
}

[data-bs-theme="dark"] .public-header {
    border-color: rgba(148, 163, 184, 0.2);
    background: rgba(15, 23, 35, 0.72);
    box-shadow: 0 16px 34px rgba(2, 6, 23, 0.4);
}

.public-brand {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    padding: 0.5rem 0.8rem;
    border-radius: 16px;
    border: 1px solid rgba(15, 118, 110, 0.24);
    background: linear-gradient(135deg, rgba(15, 118, 110, 0.14), rgba(37, 99, 235, 0.1));
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.66),
        0 8px 16px rgba(15, 23, 42, 0.06);
}

.public-brand-logo {
    width: min(276px, 56vw);
    max-height: 70px;
    height: auto;
    object-fit: contain;
    filter: contrast(1.12) saturate(1.12) drop-shadow(0 2px 7px rgba(15, 23, 42, 0.2));
}

[data-bs-theme="dark"] .public-brand {
    border-color: rgba(52, 211, 153, 0.26);
    background: linear-gradient(135deg, rgba(15, 118, 110, 0.26), rgba(37, 99, 235, 0.22));
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        0 10px 20px rgba(2, 6, 23, 0.32);
}

[data-bs-theme="dark"] .public-brand-logo {
    filter: contrast(1.12) saturate(1.12) drop-shadow(0 2px 8px rgba(2, 6, 23, 0.38));
}

.public-nav {
    gap: 0.35rem;
    align-items: center;
    border: 1px solid rgba(148, 163, 184, 0.28);
    background: rgba(255, 255, 255, 0.62);
    border-radius: 999px;
    padding: 0.35rem;
}

[data-bs-theme="dark"] .public-nav {
    border-color: rgba(148, 163, 184, 0.2);
    background: rgba(15, 23, 35, 0.48);
}

.public-nav a {
    text-decoration: none;
    color: var(--eka-muted);
    font-weight: 700;
    font-size: 0.93rem;
    padding: 0.5rem 0.9rem;
    border-radius: 999px;
    transition: 0.18s ease;
}

.public-nav a:hover {
    background: rgba(15, 118, 110, 0.12);
    color: var(--eka-primary);
}

.public-header-actions,
.public-hero-actions {
    display: flex;
    gap: 0.85rem;
    flex-wrap: wrap;
}

.public-header-actions .btn,
.public-hero-actions .btn {
    min-height: 50px;
    border-radius: 14px;
    padding-inline: 1.2rem;
    font-weight: 700;
}

.public-hero {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(310px, 0.9fr);
    gap: 1.5rem;
    align-items: stretch;
    margin-top: 0.35rem;
}

.public-hero-copy {
    border-radius: 28px;
    padding: 2.15rem 2rem;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(148, 163, 184, 0.2);
    box-shadow: 0 22px 44px rgba(15, 23, 42, 0.1);
    backdrop-filter: blur(10px);
}

[data-bs-theme="dark"] .public-hero-copy {
    background: rgba(17, 27, 39, 0.8);
    border-color: rgba(148, 163, 184, 0.16);
    box-shadow: 0 24px 46px rgba(2, 6, 23, 0.42);
}

.public-hero-copy h1 {
    margin: 0.35rem 0 1rem;
    font-size: clamp(2.2rem, 4.5vw, 4rem);
    line-height: 1.02;
    letter-spacing: -0.03em;
    max-width: 14ch;
    text-wrap: balance;
}

.public-hero-text {
    max-width: 62ch;
    color: var(--eka-muted);
    font-size: 1.08rem;
    margin-bottom: 1.25rem;
}

.public-highlight-list {
    display: grid;
    gap: 0.7rem;
    margin-top: 1.25rem;
}

.public-highlight-list span {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    color: #24364d;
    font-weight: 600;
}

.public-highlight-list i {
    width: 1.55rem;
    height: 1.55rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(15, 118, 110, 0.14);
    color: var(--eka-primary);
    font-size: 0.82rem;
}

[data-bs-theme="dark"] .public-highlight-list span {
    color: #dbe6f3;
}

[data-bs-theme="dark"] .public-highlight-list i {
    background: rgba(52, 211, 153, 0.16);
}

.public-hero-panel {
    display: flex;
    height: 100%;
}

.public-panel-card,
.public-card,
.public-cta {
    border-radius: 24px;
    padding: 1.25rem;
}

.public-panel-card {
    width: 100%;
    display: grid;
    gap: 0.9rem;
    background: linear-gradient(170deg, #0f766e 0%, #115e59 46%, #0f4a68 100%);
    border: 1px solid rgba(15, 118, 110, 0.22);
    box-shadow: 0 24px 48px rgba(15, 23, 42, 0.2);
    color: #ecfeff;
}

[data-bs-theme="dark"] .public-panel-card {
    background: linear-gradient(170deg, #115e59 0%, #1f6f89 100%);
}

.public-panel-card .eyebrow {
    color: rgba(236, 254, 255, 0.8);
}

.public-project-mini-list,
.public-card-grid,
.public-feature-bullets {
    display: grid;
    gap: 1rem;
}

.public-project-mini-item {
    padding: 0.92rem 1rem;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.24);
    display: grid;
    gap: 0.3rem;
    backdrop-filter: blur(4px);
}

[data-bs-theme="dark"] .public-project-mini-item {
    background: rgba(15, 23, 35, 0.38);
    border-color: rgba(255, 255, 255, 0.22);
}

.public-project-mini-item strong,
.public-card h3,
.public-cta h2 {
    margin: 0;
}

.public-project-mini-item strong {
    color: #ffffff;
}

.public-project-mini-item span {
    color: rgba(236, 254, 255, 0.9);
}

.public-card p,
.public-section-head p,
.public-footer p,
.public-pricing-copy {
    color: var(--eka-muted);
}

.public-section {
    position: relative;
    z-index: 2;
    display: grid;
    gap: 1.2rem;
}

.public-section-head {
    max-width: 62ch;
}

.public-section-head h2 {
    margin: 0.35rem 0 0.65rem;
    font-size: clamp(1.65rem, 2.8vw, 2.45rem);
    line-height: 1.08;
    text-wrap: balance;
}

.public-card-grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1rem;
}

.public-card {
    display: grid;
    gap: 0.75rem;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(148, 163, 184, 0.2);
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.08);
    backdrop-filter: blur(10px);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.public-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 42px rgba(15, 23, 42, 0.12);
    border-color: rgba(15, 118, 110, 0.28);
}

[data-bs-theme="dark"] .public-card {
    background: rgba(17, 27, 39, 0.84);
    border-color: rgba(148, 163, 184, 0.16);
    box-shadow: 0 20px 40px rgba(2, 6, 23, 0.38);
}

.public-card-eyebrow,
.public-price-stack span {
    margin: 0;
    color: var(--eka-primary);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 700;
}

.public-feature-card {
    min-height: 208px;
}

.public-feature-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, rgba(15, 118, 110, 0.2), rgba(37, 99, 235, 0.18));
    color: var(--eka-primary);
    font-size: 1.1rem;
}

.public-pricing-grid {
    align-items: stretch;
}

.public-pricing-card {
    position: relative;
    padding-top: 1.6rem;
}

.public-pricing-card.featured {
    transform: translateY(-6px);
    border-color: rgba(15, 118, 110, 0.34);
    background: linear-gradient(180deg, rgba(15, 118, 110, 0.16), rgba(255, 255, 255, 0.95));
}

[data-bs-theme="dark"] .public-pricing-card.featured {
    background: linear-gradient(180deg, rgba(52, 211, 153, 0.22), rgba(17, 27, 39, 0.9));
}

.public-pricing-badge {
    position: absolute;
    top: -0.65rem;
    right: 1.25rem;
    padding: 0.45rem 0.8rem;
    border-radius: 999px;
    background: var(--eka-primary);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.public-price-stack,
.public-plan-limits {
    display: grid;
    gap: 0.75rem;
}

.public-price-stack strong {
    display: block;
    font-size: 1.45rem;
    line-height: 1;
}

.public-plan-limits {
    padding: 0.85rem 0;
    border-top: 1px solid var(--eka-border);
    border-bottom: 1px solid var(--eka-border);
}

.public-feature-bullets {
    margin: 0;
    padding-left: 1.1rem;
}

.public-feature-bullets li {
    color: var(--eka-text);
}

.public-cta {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    background: linear-gradient(140deg, #0f172a, #0f3f59);
    border: 1px solid rgba(148, 163, 184, 0.16);
    box-shadow: 0 24px 44px rgba(2, 6, 23, 0.3);
    color: #e2f4f6;
}

[data-bs-theme="dark"] .public-cta {
    background: linear-gradient(140deg, #0b1320, #10304a);
}

.public-cta .eyebrow {
    color: rgba(226, 244, 246, 0.72);
}

.public-cta p {
    color: rgba(226, 244, 246, 0.84);
}

.public-cta .btn-outline-primary {
    color: #e2f4f6;
    border-color: rgba(226, 244, 246, 0.38);
}

.public-cta .btn-outline-primary:hover {
    background: rgba(226, 244, 246, 0.14);
    color: #ffffff;
}

.public-footer {
    position: relative;
    z-index: 2;
    padding-bottom: 2rem;
    text-align: center;
}

.public-orb {
    position: fixed;
    inset: auto;
    border-radius: 999px;
    filter: blur(14px);
    opacity: 0.4;
    pointer-events: none;
}

.public-orb-a {
    width: 420px;
    height: 420px;
    top: 80px;
    right: -120px;
    background: radial-gradient(circle, rgba(15, 118, 110, 0.32), transparent 68%);
}

.public-orb-b {
    width: 360px;
    height: 360px;
    bottom: 40px;
    left: -120px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.18), transparent 70%);
}

@media (max-width: 991.98px) {
    .public-hero {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .public-header {
        position: relative;
        top: 0;
    }

    .public-header,
    .public-cta {
        flex-direction: column;
        align-items: flex-start;
    }

    .public-header-actions,
    .public-hero-actions {
        width: 100%;
    }

    .public-main {
        gap: 2.5rem;
    }

    .public-hero-copy h1 {
        max-width: 16ch;
    }

    .public-header-actions .btn,
    .public-hero-actions .btn {
        flex: 1 1 calc(50% - 0.5rem);
    }
}

@media (max-width: 575.98px) {
    .public-header {
        margin-top: 0.75rem;
        padding: 0.8rem 0.95rem !important;
    }

    .public-hero-copy,
    .public-panel-card,
    .public-card,
    .public-cta {
        padding: 1.15rem;
        border-radius: 22px;
    }

    .public-brand-logo {
        width: min(208px, 62vw);
        max-height: 56px;
    }

    .public-hero-copy h1 {
        font-size: clamp(1.8rem, 10vw, 2.55rem);
    }

    .public-hero-text {
        font-size: 0.98rem;
    }

    .public-highlight-list span {
        font-size: 0.94rem;
    }

    .public-section-head h2 {
        font-size: 1.55rem;
    }

    .public-header-actions .btn,
    .public-hero-actions .btn {
        width: 100%;
        flex: 1 1 100%;
    }
}
