/* ==========================================================================
   CoverMe VPN — Custom Styles
   Stack: Bootstrap 5, Font Awesome 6, Select2, SweetAlert2
   ========================================================================== */

/* ── CSS Variables ────────────────────────────────────────────────────────── */
:root {
    --primary: #0f7574;
    --primary-dark: #0a5756;
    --primary-light: #e0f5f4;
    --secondary: #0c1f23;
    --accent: #2dd4bf;
    --success: #22c55e;
    --warning: #f59e0b;
    --danger: #ef4444;
    --text-main: #1a202c;
    --text-muted: #64748b;
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --border: #e2e8f0;
    --radius: 0.5rem;
    --radius-lg: 1rem;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, .08);
    --shadow: 0 4px 16px rgba(0, 0, 0, .10);
    --shadow-lg: 0 12px 40px rgba(0, 0, 0, .14);
    --sidebar-width: 260px;
    --topbar-height: 60px;
    --font-main: 'Inter', 'Segoe UI', system-ui, sans-serif;
    --font-display: 'Montserrat', 'Outfit', 'Inter', sans-serif;
}

/* ── Reset & Base ────────────────────────────────────────────────────────── */
*,
*::before,
*::after {
    box-sizing: border-box;
}

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

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

a:hover {
    color: var(--primary-dark);
}

/* ── Typography ─────────────────────────────────────────────────────────── */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.2;
    color: var(--secondary);
}

/* ── Buttons ─────────────────────────────────────────────────────────────── */
.btn-primary {
    background: var(--primary);
    border-color: var(--primary);
    font-weight: 600;
    color: #fff;
}

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    color: #fff;
}

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

.btn-outline-primary:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

.btn {
    border-radius: var(--radius);
}

/* ── Cards ───────────────────────────────────────────────────────────────── */
.card {
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.card-header {
    background: var(--bg-white);
    border-bottom: 1px solid var(--border);
    font-weight: 600;
    padding: 1rem 1.25rem;
}

/* ── Page Loader ─────────────────────────────────────────────────────────── */
#page-loader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: var(--bg-white);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity .3s;
}

#page-loader.hidden {
    opacity: 0;
    pointer-events: none;
}

/* ============================================================
   PUBLIC SITE
   ============================================================ */

/* Top info bar */
.top-info-bar {
    background: #071213;
    padding: .4rem 0;
    font-size: .8rem;
    color: rgba(255, 255, 255, .75);
    border-bottom: 1px solid rgba(255, 255, 255, .06);
}

.top-info-bar .info-items {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.top-info-bar .info-item {
    display: flex;
    align-items: center;
    gap: .4rem;
}

.top-info-bar .info-item i {
    color: var(--accent);
    font-size: .75rem;
}

.top-info-bar .status-unprotected {
    color: #f87171;
}

.top-info-bar .status-protected {
    color: #4ade80;
}

.top-info-bar .social-links {
    display: flex;
    align-items: center;
    gap: .75rem;
}

.top-info-bar .social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    min-height: 32px;
    color: rgba(255, 255, 255, .75);
    font-size: .85rem;
    transition: color .2s;
    text-decoration: none;
}

.top-info-bar .social-links a:hover {
    color: var(--accent);
}

/* Navbar */
.navbar-public {
    background: #ffffff;
    padding: 0.65rem 0;
    box-shadow: 0 2px 12px rgba(0, 0, 0, .08);
    border-bottom: 1px solid rgba(0, 0, 0, .06);
}

.navbar-public .navbar-brand {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--secondary) !important;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: .5rem;
}

.navbar-public .navbar-brand .brand-shield {
    color: var(--primary);
    font-size: 1.6rem;
}

.navbar-public .navbar-brand span {
    color: var(--primary);
}

.navbar-public .nav-link {
    color: #374151 !important;
    font-weight: 500;
    font-size: .9rem;
    padding: 0.5rem 0.85rem !important;
    transition: color .2s;
}

.navbar-public .nav-link:hover,
.navbar-public .nav-link.active {
    color: var(--primary) !important;
}

.navbar-public .btn-nav-login {
    color: var(--primary) !important;
    font-weight: 600;
    font-size: .9rem;
    padding: .45rem 1rem !important;
}

.navbar-public .btn-nav-login:hover {
    color: var(--primary-dark) !important;
}

.navbar-public .btn-nav-cta {
    background: var(--primary);
    color: #fff !important;
    border-radius: 6px;
    padding: 0.45rem 1.25rem !important;
    font-weight: 600;
    font-size: .9rem;
    border: none;
    transition: background .2s, transform .15s;
}

.navbar-public .btn-nav-cta:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

/* Hero */
.hero-section {
    background: linear-gradient(160deg, #071d22 0%, #083830 50%, #0c2e2a 100%);
    padding: 90px 0 0;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at 70% 40%, rgba(15, 117, 116, .25) 0%, transparent 65%),
        radial-gradient(ellipse at 20% 80%, rgba(45, 212, 191, .1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-divider {
    display: block;
    width: 100%;
    line-height: 0;
    margin-top: -2px;
}

.hero-section h1 {
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    color: #fff;
    font-family: var(--font-display);
}

.hero-section h1 .highlight {
    color: var(--accent);
}

.hero-section p:not(.hero-eyebrow) {
    color: rgba(255, 255, 255, .75);
    font-size: 1.15rem;
}

/* Section */
.section-padded {
    padding: 80px 0;
}

.py-section {
    padding: 5rem 0;
}

/* Alternating section background — light teal in default, elevated dark teal on dark layout */
.section-alt {
    background: var(--primary-light);
}

.section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    margin-bottom: 1rem;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 2.5rem;
}

.section-label {
    display: inline-block;
    background: var(--primary-light);
    color: var(--primary);
    font-size: .78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .1em;
    padding: .3rem .85rem;
    border-radius: 50px;
    margin-bottom: .75rem;
}

/* Feature cards */
.feature-card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    height: 100%;
    transition: transform .25s, box-shadow .25s, border-color .25s;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.feature-card .icon-wrap {
    width: 60px;
    height: 60px;
    background: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    color: var(--primary);
    margin-bottom: 1.2rem;
}

/* Feature grid (8 items) */
.vpn-feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.75rem 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: #fff;
    transition: .25s;
}

.vpn-feature-item:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow);
    transform: translateY(-3px);
}

.vpn-feature-item .feat-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.vpn-feature-item h3 {
    font-size: .85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: var(--secondary);
    margin-bottom: .4rem;
}

.vpn-feature-item p {
    font-size: .82rem;
    color: var(--text-muted);
    line-height: 1.55;
    margin: 0;
}

/* Pricing / packages */
.pricing-card {
    border: 2px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    position: relative;
    background: #fff;
    transition: transform .25s, border-color .25s, box-shadow .25s;
}

.pricing-card:hover,
.pricing-card.popular {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(15, 117, 116, .1);
    transform: translateY(-4px);
}

.pricing-card .popular-badge {
    position: absolute;
    top: -13px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: #fff;
    font-size: .7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
    padding: .25rem .75rem;
    border-radius: 50px;
}

.pricing-card .price-amount {
    font-family: var(--font-display);
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--secondary);
    line-height: 1;
}

.pricing-card .price-period {
    color: var(--text-muted);
    font-size: .9rem;
}

.pricing-card ul li {
    padding: .35rem 0;
    border-bottom: 1px solid var(--bg-light);
    font-size: .925rem;
}

.pricing-card ul li:last-child {
    border-bottom: none;
}

/* Package duration tabs */
.pkg-tab-btn {
    background: transparent;
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: .35rem .85rem;
    font-size: .82rem;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    transition: .2s;
}

.pkg-tab-btn.active,
.pkg-tab-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

/* Guarantee section */
.guarantee-section {
    background: transparent;
}

.guarantee-badge {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--primary-dark) 100%);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
    box-shadow: 0 8px 30px rgba(15, 117, 116, .4);
    flex-shrink: 0;
}

.guarantee-badge .badge-num {
    font-size: 2.4rem;
    font-weight: 800;
    line-height: 1;
    font-family: var(--font-display);
}

.guarantee-badge .badge-txt {
    font-size: .65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .1em;
    opacity: .85;
}

/* Stats bar */
.stats-bar {
    background: var(--secondary);
    padding: 2rem 0;
}

.stats-bar .stat-item {
    text-align: center;
    padding: 1rem;
    border-right: 1px solid rgba(255, 255, 255, .08);
}

.stats-bar .stat-item:last-child {
    border-right: none;
}

.stats-bar .stat-num {
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent);
    font-family: var(--font-display);
    line-height: 1;
}

.stats-bar .stat-lbl {
    font-size: .78rem;
    color: rgba(255, 255, 255, .55);
    text-transform: uppercase;
    letter-spacing: .08em;
    margin-top: .3rem;
}

/* How-to steps */
.step-wrap {
    position: relative;
    text-align: center;
    padding: 2rem 1.5rem;
}

.step-wrap .step-num {
    width: 56px;
    height: 56px;
    background: var(--primary);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.3rem;
    font-weight: 800;
    font-family: var(--font-display);
    margin-bottom: 1.2rem;
    box-shadow: 0 4px 20px rgba(15, 117, 116, .4);
}

.step-wrap h3 {
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: .5rem;
}

.step-wrap p {
    color: var(--text-muted);
    font-size: .9rem;
    line-height: 1.65;
}

/* Testimonials */
.testimonial-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    box-shadow: var(--shadow-sm);
    transition: .25s;
}

.testimonial-card:hover {
    box-shadow: var(--shadow);
    transform: translateY(-3px);
}

.testimonial-card .stars {
    color: #fbbf24;
    font-size: .85rem;
    margin-bottom: .75rem;
}

.testimonial-card p {
    font-size: .92rem;
    color: var(--text-muted);
    line-height: 1.65;
    margin-bottom: 1rem;
}

.testimonial-card .reviewer {
    display: flex;
    align-items: center;
    gap: .75rem;
}

.testimonial-card .reviewer-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    flex-shrink: 0;
}

.testimonial-card .reviewer-name {
    font-weight: 600;
    font-size: .9rem;
    color: var(--secondary);
}

.testimonial-card .reviewer-loc {
    font-size: .78rem;
    color: var(--text-muted);
}

/* Dark teal CTA section */
.cta-teal {
    background: linear-gradient(135deg, #071d22 0%, #083830 100%);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.cta-teal::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 30% 50%, rgba(45, 212, 191, .12) 0%, transparent 60%);
    pointer-events: none;
}

.btn-teal-pill {
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .2);
    color: #fff;
    border-radius: 8px;
    padding: .65rem 1.5rem;
    font-weight: 600;
    font-size: .9rem;
    transition: .2s;
}

.btn-teal-pill:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

/* Footer */
footer.site-footer {
    background: #071d22;
    color: rgba(255, 255, 255, .7);
    padding: 60px 0 30px;
    border-top: 2px solid transparent;
    border-image: linear-gradient(90deg, transparent, var(--primary), var(--accent), var(--primary), transparent) 1;
}

footer.site-footer h2 {
    color: #fff;
    font-size: .85rem;
    text-transform: uppercase;
    letter-spacing: .08em;
    margin-bottom: 1.2rem;
}

footer.site-footer a {
    color: rgba(255, 255, 255, .65);
}

footer.site-footer a:hover {
    color: #fff;
}

.footer-social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .08);
    color: rgba(255, 255, 255, .75);
    font-size: .95rem;
    transition: background .22s ease, color .22s ease, transform .22s ease, box-shadow .22s ease;
    text-decoration: none;
}

.footer-social-icon:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(15, 117, 116, .45);
}

footer.site-footer .footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .1);
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    font-size: .85rem;
}

/* ============================================================
   DASHBOARD / PANEL (customer + admin)
   ============================================================ */

/* Sidebar */
.sidebar {
    width: var(--sidebar-width);
    /* A fixed element needs an explicit height for overflow to scroll; with only
       min-height it grows past the viewport and the tail of the menu is
       unreachable. */
    height: 100vh;
    height: 100dvh;
    background: #071d22;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 1000;
    overflow: hidden;
    transition: transform .3s ease;
    display: flex;
    flex-direction: column;
}

.sidebar-brand {
    padding: 1.3rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, .07);
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

/* The nav is the scroll region, so the brand and footer stay pinned. */
.sidebar-nav {
    padding: 1rem 0;
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, .2) transparent;
}

.sidebar-nav::-webkit-scrollbar {
    width: 6px;
}

.sidebar-nav::-webkit-scrollbar-track {
    background: transparent;
}

.sidebar-nav::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, .2);
    border-radius: 3px;
}

.sidebar-nav::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, .32);
}

.sidebar-heading {
    padding: .5rem 1.5rem .25rem;
    font-size: .65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: rgba(255, 255, 255, .25);
    margin-top: .5rem;
}

.sidebar-link {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.72rem 1.5rem;
    color: rgba(255, 255, 255, .6);
    font-size: .875rem;
    font-weight: 500;
    border-radius: 0;
    transition: background .18s, color .18s;
    border-left: 3px solid transparent;
}

.sidebar-link .fa,
.sidebar-link .fas,
.sidebar-link .far,
.sidebar-link .fab {
    width: 18px;
    text-align: center;
    font-size: .95rem;
    opacity: .65;
    transition: opacity .18s;
    flex-shrink: 0;
}

.sidebar-link:hover {
    background: rgba(255, 255, 255, .06);
    color: rgba(255, 255, 255, .95);
}

.sidebar-link:hover .fa,
.sidebar-link:hover .fas,
.sidebar-link:hover .far,
.sidebar-link:hover .fab {
    opacity: 1;
}

.sidebar-link.active {
    background: rgba(15, 117, 116, .22);
    color: #2dd4bf;
    border-left-color: #2dd4bf;
    font-weight: 600;
}

.sidebar-link.active .fa,
.sidebar-link.active .fas,
.sidebar-link.active .far,
.sidebar-link.active .fab {
    opacity: 1;
    color: #2dd4bf;
}

/* Topbar */
.topbar {
    height: var(--topbar-height);
    background: #fff;
    border-bottom: 1px solid #eaecf0;
    display: flex;
    align-items: center;
    padding: 0 1.75rem;
    position: fixed;
    top: 0;
    right: 0;
    left: var(--sidebar-width);
    z-index: 999;
    gap: 1rem;
    box-shadow: 0 1px 4px rgba(0, 0, 0, .06);
}

.topbar-title {
    font-weight: 700;
    font-size: 1rem;
    color: var(--secondary);
    flex: 1;
    letter-spacing: -.2px;
}

.topbar .user-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0f7574, #2dd4bf);
    color: #fff;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .85rem;
    letter-spacing: 0;
    box-shadow: 0 2px 8px rgba(15, 117, 116, .35);
}

/* Main content area */
.main-content {
    margin-left: var(--sidebar-width);
    padding-top: var(--topbar-height);
    min-height: 100vh;
    background: #f5f7fa;
}

.content-inner {
    padding: 2rem;
}

/* ── Stat cards (dashboard) ──────────────────────────────────────────────── */
.stat-card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    box-shadow: var(--shadow-sm);
}

.stat-card .stat-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.stat-card .stat-value {
    font-size: 1.75rem;
    font-weight: 800;
    font-family: var(--font-display);
    line-height: 1;
}

.stat-card .stat-label {
    font-size: .8rem;
    color: var(--text-muted);
    margin-top: .15rem;
}

/* Stat icon colours */
.stat-icon.bg-primary-soft {
    background: var(--primary-light);
    color: var(--primary);
}

.stat-icon.bg-success-soft {
    background: #dcfce7;
    color: var(--success);
}

.stat-icon.bg-warning-soft {
    background: #fef3c7;
    color: var(--warning);
}

.stat-icon.bg-danger-soft {
    background: #fee2e2;
    color: var(--danger);
}

/* ── Tables ──────────────────────────────────────────────────────────────── */
.table-card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.table-card .table-header {
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: .75rem;
}

.table th {
    font-size: .8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: var(--text-muted);
    background: var(--bg-light);
    border-bottom: 1px solid var(--border) !important;
    padding: .75rem 1rem;
    white-space: nowrap;
}

.table td {
    padding: .85rem 1rem;
    vertical-align: middle;
    border-bottom: 1px solid var(--border);
}

.table tbody tr:last-child td {
    border-bottom: none;
}

/* Admin / dashboard tables only */
.main-content .table tbody tr:hover {
    background: var(--bg-light);
}

/* ── Status badges ───────────────────────────────────────────────────────── */
.badge-status {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    padding: .25rem .6rem;
    border-radius: 50px;
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: .02em;
}

.badge-status::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
    flex-shrink: 0;
}

.badge-active {
    background: #dcfce7;
    color: #166534;
}

.badge-pending {
    background: #fef3c7;
    color: #92400e;
}

.badge-expired {
    background: #fee2e2;
    color: #991b1b;
}

.badge-cancelled {
    background: #f1f5f9;
    color: #475569;
}

.badge-inactive {
    background: #f1f5f9;
    color: #475569;
}

/* ── Page header ─────────────────────────────────────────────────────────── */
.page-header {
    margin-bottom: 1.5rem;
}

.page-header h1 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
}

.page-header .breadcrumb {
    font-size: .8rem;
    margin: .3rem 0 0;
}

/* ── Alerts ──────────────────────────────────────────────────────────────── */
.alert {
    border-radius: var(--radius);
    border: none;
}

.alert-success {
    background: #dcfce7;
    color: #166534;
}

.alert-danger {
    background: #fee2e2;
    color: #991b1b;
}

.alert-warning {
    background: #fef3c7;
    color: #92400e;
}

.alert-info {
    background: #e0f2fe;
    color: #0c4a6e;
}

/* ── Forms ───────────────────────────────────────────────────────────────── */
.form-control,
.form-select {
    border-color: var(--border);
    border-radius: var(--radius);
    font-size: .9rem;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(15, 117, 116, .12);
}

.form-label {
    font-weight: 600;
    font-size: .875rem;
    margin-bottom: .35rem;
}

.form-text {
    font-size: .8rem;
}

/* Select2 overrides */
.select2-container--default .select2-selection--single {
    border-color: var(--border);
    border-radius: var(--radius);
    height: calc(1.5em + .75rem + 2px);
    padding: .375rem .75rem;
}

.select2-container--default .select2-selection--single:focus,
.select2-container--default.select2-container--focus .select2-selection--single {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(15, 117, 116, .12);
    outline: none;
}

/* ── Public dark layout global overrides ─────────────────────────────────── */
body.public-layout {
    background: #0c1f23;
    color: rgba(255, 255, 255, .9);
    /* Bootstrap 5 CSS variable overrides for dark mode */
    --bs-body-bg: #0c1f23;
    --bs-body-color: rgba(255, 255, 255, .9);
    --bs-body-color-rgb: 255, 255, 255;
    --bs-secondary-color: rgba(255, 255, 255, .6);
    --bs-accordion-bg: transparent;
    --bs-accordion-btn-bg: transparent;
    --bs-accordion-btn-color: rgba(255, 255, 255, .9);
    --bs-accordion-active-bg: rgba(15, 117, 116, .1);
    --bs-accordion-active-color: #2dd4bf;
    --bs-accordion-border-color: rgba(255, 255, 255, .1);
    --bs-accordion-body-bg: transparent;
}

/* Dark-layout alternating section background */
body.public-layout .section-alt {
    background: linear-gradient(180deg, #122d35 0%, #0d2529 100%);
}

body.public-layout .text-muted,
body.public-layout .text-secondary {
    color: rgba(255, 255, 255, .6) !important;
}

body.public-layout .accordion-item {
    background: rgba(255, 255, 255, .04);
    border-color: rgba(255, 255, 255, .08);
}

body.public-layout .accordion-button {
    color: rgba(255, 255, 255, .9);
    background: transparent;
}

body.public-layout .accordion-button::after {
    filter: brightness(5);
}

body.public-layout .accordion-button:not(.collapsed) {
    color: #2dd4bf;
    background: rgba(15, 117, 116, .15);
    box-shadow: none;
}

body.public-layout .accordion-body {
    background: transparent;
    color: rgba(255, 255, 255, .75);
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 1.5;
    padding: 0;
    color: var(--text-main);
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    top: 6px;
}

.select2-dropdown {
    border-color: var(--border);
    border-radius: var(--radius);
}

.select2-search--dropdown .select2-search__field {
    border-color: var(--border);
    border-radius: calc(var(--radius) - 2px);
}

/* ── Mobile sidebar ──────────────────────────────────────────────────────── */
@media (max-width: 991.98px) {
    .sidebar {
        transform: translateX(-100%);
    }

    .sidebar.show {
        transform: translateX(0);
    }

    .sidebar-backdrop {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, .5);
        z-index: 999;
    }

    .sidebar-backdrop.show {
        display: block;
    }

    .topbar {
        left: 0;
    }

    .main-content {
        margin-left: 0;
    }
}

/* ── Password strength meter ─────────────────────────────────────────────── */
.strength-bar {
    height: 4px;
    border-radius: 4px;
    background: var(--border);
    overflow: hidden;
    margin-top: .4rem;
}

.strength-bar-fill {
    height: 100%;
    border-radius: 4px;
    transition: width .3s, background .3s;
}

/* ── Subscription / order detail ─────────────────────────────────────────── */
.vpn-credentials {
    background: #0d1b2a;
    border-radius: var(--radius);
    padding: 1.25rem;
    color: #e2e8f0;
    font-family: 'Courier New', monospace;
    font-size: .875rem;
}

.credentials-item {
    display: flex;
    justify-content: space-between;
    padding: .4rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.credentials-item:last-child {
    border-bottom: none;
}

.credentials-label {
    color: rgba(255, 255, 255, .5);
    font-size: .8rem;
}

/* ── Countdown timer ─────────────────────────────────────────────────────── */
.expiry-badge {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    font-size: .8rem;
    font-weight: 600;
    padding: .2rem .6rem;
    border-radius: 50px;
}

.expiry-badge.expiry-ok {
    background: #dcfce7;
    color: #166534;
}

.expiry-badge.expiry-soon {
    background: #fef3c7;
    color: #92400e;
}

.expiry-badge.expiry-expired {
    background: #fee2e2;
    color: #991b1b;
}

/* ── Sidebar footer ──────────────────────────────────────────────────────── */
.sidebar-footer {
    padding: 1rem 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, .07);
    flex-shrink: 0;
}

/* The customer layout adds a second footer block; both stay pinned below the
   scrolling nav rather than being compressed by it. */
.sidebar-footer-links {
    flex-shrink: 0;
}

.sidebar-footer .user-name {
    font-weight: 600;
    font-size: .82rem;
    color: rgba(255, 255, 255, .9);
    line-height: 1.3;
}

.sidebar-footer .user-role {
    font-size: .72rem;
    color: rgba(255, 255, 255, .35);
    text-transform: uppercase;
    letter-spacing: .06em;
}

/* ── Scrollbar ───────────────────────────────────────────────────────────── */
::-webkit-scrollbar {
    width: 5px;
    height: 5px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 3px;
}

/* ── Utilities ───────────────────────────────────────────────────────────── */
.text-primary {
    color: var(--primary) !important;
}

.bg-primary {
    background-color: var(--primary) !important;
}

.rounded-xl {
    border-radius: var(--radius-lg) !important;
}

.fw-800 {
    font-weight: 800;
}

.gap-05 {
    gap: .5rem;
}

.cursor-pointer {
    cursor: pointer;
}

/* ==========================================================================
   PUBLIC LAYOUT — COMPREHENSIVE DARK THEME FIXES
   ========================================================================== */

/* ── 1. Headings default to white in dark public layout ─────────────────── */
body.public-layout h1,
body.public-layout h2,
body.public-layout h3,
body.public-layout h4,
body.public-layout h5,
body.public-layout h6 {
    color: #fff;
}

/* ── 2. Feature cards — dark glassmorphism ──────────────────────────────── */
body.public-layout .feature-card {
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .09);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    height: 100%;
    transition: transform .25s, box-shadow .25s, border-color .25s;
}

body.public-layout .feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, .35);
    border-color: rgba(45, 212, 191, .35);
    background: rgba(15, 117, 116, .08);
}

body.public-layout .feature-card .icon-wrap {
    background: rgba(15, 117, 116, .25);
    color: var(--accent);
}

body.public-layout .feature-card h6 {
    color: #fff !important;
    font-weight: 700;
}

body.public-layout .feature-card p,
body.public-layout .feature-card .text-muted {
    color: rgba(255, 255, 255, .65) !important;
}

/* ── 3. VPN feature grid items — dark glassmorphism ─────────────────────── */
body.public-layout .vpn-feature-item {
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(255, 255, 255, .08);
    height: 100%;
}

body.public-layout .vpn-feature-item:hover {
    border-color: rgba(45, 212, 191, .3);
    background: rgba(15, 117, 116, .07);
    box-shadow: 0 8px 32px rgba(0, 0, 0, .25);
    transform: translateY(-4px);
}

body.public-layout .vpn-feature-item h3 {
    color: #fff !important;
    font-size: .9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
}

body.public-layout .vpn-feature-item p {
    color: rgba(255, 255, 255, .6) !important;
}

/* ── 4. Testimonial cards — dark glassmorphism ──────────────────────────── */
body.public-layout .testimonial-card {
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(255, 255, 255, .08);
    height: 100%;
}

body.public-layout .testimonial-card:hover {
    border-color: rgba(45, 212, 191, .3);
    background: rgba(15, 117, 116, .07);
    box-shadow: 0 8px 32px rgba(0, 0, 0, .25);
    transform: translateY(-4px);
}

body.public-layout .testimonial-card p {
    color: rgba(255, 255, 255, .72) !important;
}

body.public-layout .testimonial-card .reviewer-name {
    color: #fff !important;
}

body.public-layout .testimonial-card .reviewer-loc {
    color: rgba(255, 255, 255, .5) !important;
}

body.public-layout .testimonial-card .reviewer-avatar {
    background: rgba(15, 117, 116, .3);
    color: var(--accent);
    font-weight: 700;
    font-size: 1rem;
}

/* ── 5. Sign-up steps — dark glassmorphism ──────────────────────────────── */
body.public-layout .step-wrap {
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 18px;
    height: 100%;
    transition: border-color .3s, background .3s, transform .3s;
}

body.public-layout .step-wrap:hover {
    border-color: rgba(45, 212, 191, .3);
    background: rgba(15, 117, 116, .07);
    transform: translateY(-4px);
}

body.public-layout .step-wrap h3 {
    color: #fff !important;
    font-size: 1.05rem;
    font-weight: 700;
}

body.public-layout .step-wrap p {
    color: rgba(255, 255, 255, .65) !important;
    font-size: .9rem;
    line-height: 1.7;
}

body.public-layout .step-wrap a {
    color: var(--accent) !important;
    font-weight: 600;
}

/* ── 6. Guarantee section — fix text muted ──────────────────────────────── */
body.public-layout .guarantee-section h2 {
    color: #fff !important;
}

body.public-layout .guarantee-section .text-muted {
    color: rgba(255, 255, 255, .72) !important;
}

body.public-layout .guarantee-section a {
    color: var(--accent) !important;
}

/* ── 7. Pricing cards on home page ──────────────────────────────────────── */
body.public-layout .pricing-card .price-amount {
    color: var(--secondary) !important;
}

body.public-layout .pricing-card .price-period {
    color: var(--text-muted) !important;
}

/* ── 8. Navbar dropdown — always white background ───────────────────────── */
body.public-layout .navbar-public .dropdown-menu {
    background-color: #ffffff !important;
    --bs-dropdown-bg: #ffffff;
    border: 1px solid rgba(0, 0, 0, .08) !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, .14) !important;
    border-radius: 10px !important;
    padding: .5rem !important;
    min-width: 180px;
}

body.public-layout .navbar-public .dropdown-item {
    color: #374151 !important;
    font-size: .875rem;
    border-radius: 7px;
    padding: .5rem .85rem;
    transition: background .18s, color .18s;
}

body.public-layout .navbar-public .dropdown-item i {
    color: var(--text-muted) !important;
}

body.public-layout .navbar-public .dropdown-item:hover,
body.public-layout .navbar-public .dropdown-item:focus {
    background-color: var(--primary-light) !important;
    color: var(--primary) !important;
}

body.public-layout .navbar-public .dropdown-item:hover i,
body.public-layout .navbar-public .dropdown-item:focus i {
    color: var(--primary) !important;
}

/* ── 9. Section subtitles / descriptive paragraphs ──────────────────────── */
body.public-layout .section-subtitle,
body.public-layout .section-tag-desc {
    color: rgba(255, 255, 255, .65) !important;
}

/* Section-level p.text-muted (section headers, not inside cards) */
body.public-layout .py-section>.container>.text-center>.text-muted,
body.public-layout .py-section>.container>.row>.text-center>.text-muted {
    color: rgba(255, 255, 255, .65) !important;
}

/* ── 10. Blog cards — dark glassmorphism upgrade ─────────────────────────── */
body.public-layout .blog-card {
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 18px;
    overflow: hidden;
    transition: transform .3s, border-color .3s, box-shadow .3s;
    height: 100%;
}

body.public-layout .blog-card:hover {
    transform: translateY(-5px);
    border-color: rgba(45, 212, 191, .35);
    box-shadow: 0 12px 40px rgba(0, 0, 0, .3);
}

/* ── 11. FAQ page hero ───────────────────────────────────────────────────── */
body.public-layout .page-hero {
    background: linear-gradient(160deg, #071d22 0%, #0f4a4a 50%, #071d22 100%);
    padding: 5rem 0 4rem;
}

/* ── 12. Accordion button tick fix ──────────────────────────────────────── */
body.public-layout .accordion-button::after {
    filter: brightness(10) opacity(.7);
}

body.public-layout .accordion-button:not(.collapsed)::after {
    filter: invert(56%) sepia(60%) saturate(400%) hue-rotate(135deg) brightness(100%);
}

/* ── 13. Home page blog cards — h-100 + internal text ───────────────────── */
body.public-layout .card.h-100 h5 a {
    color: #fff !important;
}

body.public-layout .card.h-100 h5 a:hover {
    color: var(--accent) !important;
}

body.public-layout .card.h-100 .card-body .text-muted {
    color: rgba(255, 255, 255, .55) !important;
}

/* ── 14. Blog section dark card override ─────────────────────────────────── */
body.public-layout .blog-section-dark .card {
    background: rgba(255, 255, 255, .04) !important;
    border: 1px solid rgba(255, 255, 255, .08) !important;
}

/* ── 15. General deep text fix for light backgrounds ─────────────────────── */
body.public-layout .text-dark {
    color: var(--secondary) !important;
}

/* vpn-feature-item feat-icon — ensure accent color in dark mode */
body.public-layout .vpn-feature-item .feat-icon {
    background: rgba(15, 117, 116, .25);
    color: var(--accent);
}

/* ── 16. Guarantee section override for white-bg layout ─────────────────── */
.guarantee-section .text-muted,
.guarantee-section p.text-muted {
    color: rgba(255, 255, 255, .72) !important;
}

.guarantee-section strong {
    color: #fff;
}

.guarantee-section a[style] {
    color: var(--accent) !important;
}

/* ── 17. Bigger CTA buttons globally ─────────────────────────────────────── */
.btn-cta-lg {
    padding: .85rem 2.5rem !important;
    font-size: 1rem !important;
    font-weight: 700 !important;
    border-radius: 8px !important;
    letter-spacing: .02em;
}

/* ── 18. Home page card utility ──────────────────────────────────────────── */
body.public-layout .home-blog-card {
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 14px;
    overflow: hidden;
    transition: .3s;
    height: 100%;
}

body.public-layout .home-blog-card:hover {
    transform: translateY(-4px);
    border-color: rgba(45, 212, 191, .3);
    box-shadow: 0 10px 36px rgba(0, 0, 0, .28);
}

body.public-layout .home-blog-card h5 a {
    color: #fff !important;
}

/* ==========================================================================
   PUBLIC LAYOUT — COMPARE TABLE (features page)
   ========================================================================== */

/* Full dark rebuild — no Bootstrap .table class on the element anymore */
body.public-layout .compare-table {
    border-collapse: collapse;
    width: 100%;
}

body.public-layout .compare-table thead tr {
    background: transparent;
}

body.public-layout .compare-table thead th {
    background: rgba(255, 255, 255, .06);
    border-bottom: 2px solid rgba(45, 212, 191, .3);
    color: #fff;
    padding: 1rem 1.25rem;
    font-size: .85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
}

body.public-layout .compare-table thead th:first-child {
    border-radius: 10px 0 0 0;
}

body.public-layout .compare-table thead th:last-child {
    border-radius: 0 10px 0 0;
}

body.public-layout .compare-table tbody tr {
    background: transparent;
    transition: background .18s;
}

body.public-layout .compare-table tbody tr:hover {
    background: rgba(45, 212, 191, .12);
}

body.public-layout .compare-table tbody td {
    border-bottom: 1px solid rgba(255, 255, 255, .07);
    background: transparent;
    color: rgba(255, 255, 255, .82);
    padding: .9rem 1.25rem;
    vertical-align: middle;
    font-size: .9rem;
}

body.public-layout .compare-table tbody tr:hover td {
    color: #fff;
}

body.public-layout .compare-table tbody td:first-child {
    font-weight: 600;
    color: #fff;
}

body.public-layout .compare-table .fa-check-circle {
    color: var(--accent);
    font-size: 1.1rem;
}

body.public-layout .compare-table .fa-times-circle {
    color: #f87171;
    font-size: 1.1rem;
}

body.public-layout .compare-table thead th[style*="color:var(--accent)"] {
    color: var(--accent) !important;
}

/* ==========================================================================
   PUBLIC LAYOUT — DARK PAGINATION
   ========================================================================== */

body.public-layout .pagination {
    display: flex;
    align-items: center;
    gap: .25rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 2rem;
    padding: 0;
    list-style: none;
}

body.public-layout .pagination .page-item .page-link {
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .1);
    color: rgba(255, 255, 255, .75);
    border-radius: 8px !important;
    padding: .55rem 1rem;
    font-size: .875rem;
    font-weight: 600;
    transition: background .2s, border-color .2s, color .2s;
    line-height: 1.4;
}

body.public-layout .pagination .page-item .page-link:hover {
    background: rgba(45, 212, 191, .18);
    border-color: rgba(45, 212, 191, .4);
    color: #fff;
}

body.public-layout .pagination .page-item.active .page-link {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
    box-shadow: 0 4px 16px rgba(15, 117, 116, .35);
}

body.public-layout .pagination .page-item.disabled .page-link {
    background: rgba(255, 255, 255, .03);
    border-color: rgba(255, 255, 255, .06);
    color: rgba(255, 255, 255, .25);
    cursor: not-allowed;
}

/* Laravel default pagination nav wrapper */
body.public-layout nav[aria-label] {
    width: 100%;
}

body.public-layout nav[aria-label]>div:first-child {
    color: rgba(255, 255, 255, .5);
    font-size: .85rem;
    text-align: center;
    margin-bottom: .75rem;
}

body.public-layout nav[aria-label] svg {
    fill: currentColor;
    width: 16px;
    height: 16px;
}

/* ==========================================================================
   PUBLIC LAYOUT — GLOBAL BUTTON SIZING
   ========================================================================== */

/* Default size for all .btn in public layout */
body.public-layout .btn:not(.btn-sm):not(.btn-lg):not(.btn-nav-cta):not(.btn-nav-login):not(.accordion-button) {
    padding-top: .65rem !important;
    padding-bottom: .65rem !important;
    font-size: .92rem;
    font-weight: 600;
    border-radius: 8px;
}

body.public-layout .btn-sm {
    padding: .45rem 1rem !important;
    font-size: .82rem !important;
    border-radius: 7px !important;
}

body.public-layout .btn-lg,
body.public-layout .btn-teal-pill.btn-lg {
    padding: .85rem 2.25rem !important;
    font-size: 1rem !important;
    border-radius: 8px !important;
}

/* btn-teal-pill standalone (without btn class) */
body.public-layout .btn-teal-pill {
    padding: .7rem 1.75rem;
    font-size: .95rem;
    font-weight: 600;
    border-radius: 8px;
    display: inline-block;
}

/* Wide CTA buttons (px-5 py-3 pattern) keep their explicit sizing */
body.public-layout .btn[class*="px-5"] {
    padding-left: 2.25rem !important;
    padding-right: 2.25rem !important;
}

/* Nav CTA — stays compact */
body.public-layout .btn-nav-cta {
    padding: .45rem 1.25rem !important;
    font-size: .9rem !important;
}

/* Send Message button */
body.public-layout button.btn[type="submit"] {
    padding: .7rem 2rem;
    font-size: .95rem;
}

/* Accordion button — never resize */
body.public-layout .accordion-button {
    padding: 1rem 1.25rem !important;
    font-size: .95rem !important;
}

/* ==========================================================================
   HOME PAGE — Utility Classes (replaces all inline styles)
   ========================================================================== */

/* ── Hero ─────────────────────────────────────────────────────────────────── */
.hero-container {
    z-index: 1;
}

.hero-eyebrow {
    display: inline-block;
    background: var(--primary-light);
    color: var(--primary);
    font-size: .78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .1em;
    padding: .3rem .85rem;
    border-radius: 50px;
    margin-bottom: .75rem;
}

.hero-title {
    font-size: 42px !important;
    font-weight: 800;
    color: #fff;
    line-height: 1.18;
    font-family: var(--font-display);
    text-transform: uppercase;
}

.hero-tagline {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, .7);
    border-left: 3px solid var(--accent);
    padding-left: 1rem;
    line-height: 1.6;
}

.btn-hero-primary {
    background: var(--primary);
    color: #fff;
    border-radius: 8px;
    font-size: .95rem;
    border: 2px solid var(--primary);
}

.btn-hero-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    color: #fff;
}

.btn-hero-outline {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, .45);
    border-radius: 8px;
    font-size: .95rem;
}

.btn-hero-outline:hover {
    background: rgba(255, 255, 255, .1);
    border-color: rgba(255, 255, 255, .7);
    color: #fff;
}

.hero-badge-item {
    color: rgba(255, 255, 255, .65);
    font-size: .85rem;
    display: flex;
    align-items: center;
    gap: .4rem;
}

.hero-badge-item .fa-check-circle {
    color: var(--accent);
}

.hero-shield-wrap {
    position: relative;
    width: 340px;
    height: 340px;
}

.orbit-icon {
    position: absolute;
    width: 44px;
    height: 44px;
    background: rgba(15, 117, 116, .25);
    border: 1px solid rgba(45, 212, 191, .4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-shield-glow {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(45, 212, 191, .18) 0%, transparent 70%);
}

.hero-shield-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -55%);
    text-align: center;
}

.hero-shield-icon {
    font-size: 9rem;
    color: var(--accent);
    filter: drop-shadow(0 0 40px rgba(45, 212, 191, .5));
    animation: pulseShield 3s ease-in-out infinite;
}

.hero-shield-label {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -55%);
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 900;
    color: #fff;
    letter-spacing: .08em;
}

.orbit-top {
    top: 5px;
    left: 50%;
    transform: translateX(-50%);
}

.orbit-right {
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
}

.orbit-bottom {
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
}

.orbit-left {
    left: 5px;
    top: 50%;
    transform: translateY(-50%);
}

.hero-wave {
    line-height: 0;
    margin-top: -2px;
    position: relative;
    z-index: 1;
}

/* ── Guarantee ────────────────────────────────────────────────────────────── */
.guarantee-text {
    font-size: .95rem;
    line-height: 1.75;
}

/* ── Packages ─────────────────────────────────────────────────────────────── */
.pkg-name-label {
    font-size: .82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: var(--text-muted);
}

.price-amount-custom {
    font-size: 2rem;
}

.btn-primary-card {
    background: var(--primary);
    color: #fff;
    border-radius: 6px;
    border: none;
}

.btn-primary-card:hover,
.btn-primary-card:focus {
    background: var(--primary-dark);
    color: #fff;
    border: none;
}

/* ── Shared button styles ─────────────────────────────────────────────────── */
.btn-primary-home {
    background: var(--primary);
    color: #fff;
    border-radius: 8px;
    border: none;
    font-size: .95rem;
}

.btn-primary-home:hover {
    background: var(--primary-dark);
    color: #fff;
}

.btn-accent {
    background: var(--accent);
    color: var(--secondary);
    border: none;
    border-radius: 6px;
    font-size: .9rem;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.btn-accent:hover {
    background: #1eb8a1;
    color: var(--secondary);
}

.btn-cta-white {
    background: #fff;
    color: var(--primary);
    border-radius: 8px;
    border: none;
    font-size: .95rem;
}

.btn-cta-white:hover {
    background: #e0f5f4;
    color: var(--primary-dark);
}

/* ── Body text ────────────────────────────────────────────────────────────── */
.text-relaxed {
    line-height: 1.85;
}

/* ── Feature card mini title ─────────────────────────────────────────────── */
.feature-card-title {
    font-size: .88rem;
}

/* ── Step links ───────────────────────────────────────────────────────────── */
.step-link {
    color: var(--accent);
    font-weight: 600;
    font-size: .9rem;
    text-decoration: none;
}

.step-link:hover {
    color: #fff;
}

/* ── CTA banner / bottom CTA headings ────────────────────────────────────── */
.section-cta-title {
    font-size: clamp(1.7rem, 3vw, 2.4rem);
    font-family: var(--font-display);
}

.section-cta-desc {
    color: rgba(255, 255, 255, .7);
    font-size: 1rem;
    max-width: 620px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

.cta-bottom-desc {
    color: rgba(255, 255, 255, .82);
    font-size: 1rem;
}

/* ── Testimonials subtitle ────────────────────────────────────────────────── */
.section-subtitle-muted {
    color: rgba(255, 255, 255, .65);
}

/* ── Accordion home adjustments ───────────────────────────────────────────── */
.accordion-body-home {
    font-size: .92rem;
    line-height: 1.8;
}

/* ── Blog card internals ─────────────────────────────────────────────────── */
.blog-thumb {
    height: 200px;
    overflow: hidden;
}

.blog-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .3s;
}

.blog-thumb-placeholder {
    height: 200px;
    background: linear-gradient(135deg, rgba(15, 117, 116, .3), rgba(45, 212, 191, .15));
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog-placeholder-icon {
    font-size: 3rem;
    color: rgba(45, 212, 191, .4);
}

.blog-date {
    color: rgba(255, 255, 255, .72);
    font-size: .8rem;
    margin-bottom: .5rem;
}

.blog-date .fa-calendar-alt {
    color: var(--accent);
}

.blog-card-title {
    font-size: 1rem;
    line-height: 1.5;
}

.blog-card-link {
    color: #fff;
    text-decoration: none;
}

.blog-card-link:hover {
    color: var(--accent);
}

.blog-read-more {
    font-size: .85rem;
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
}

.blog-read-more:hover {
    color: #fff;
}

/* ── Hero animation (moved from @push styles) ─────────────────────────────── */
@keyframes pulseShield {

    0%,
    100% {
        filter: drop-shadow(0 0 30px rgba(45, 212, 191, .4));
    }

    50% {
        filter: drop-shadow(0 0 60px rgba(45, 212, 191, .7));
    }
}