:root {
    --bg-deep: #071626;
    --bg-mid: #0d233b;
    --panel: rgba(13, 35, 59, 0.82);
    --panel-border: rgba(119, 170, 214, 0.24);
    --text-main: #f4f7fb;
    --text-soft: #a9bed3;
    --brand: #2bc2cf;
    --brand-deep: #1a9ca8;
    --accent: #f1b24a;
}

html {
    background: #071626;
}

/* ── Preloader ───────────────────────────────────────── */
#preloader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: linear-gradient(160deg, #071626 0%, #06101a 55%, #0a1c2f 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

#preloader.preloader-done {
    opacity: 0;
    visibility: hidden;
}

.preloader-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 220px;
}

.preloader-brand {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-main);
    letter-spacing: 0.06em;
}

.preloader-bar {
    width: 100%;
    height: 4px;
    background: rgba(169, 190, 211, 0.15);
    border-radius: 999px;
    overflow: hidden;
}

.preloader-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--brand), #54d6e0);
    border-radius: 999px;
    transition: width 0.25s ease;
    box-shadow: 0 0 10px rgba(43, 194, 207, 0.6);
}

.preloader-status {
    font-size: 0.78rem;
    color: var(--text-soft);
    letter-spacing: 0.04em;
}

/* ── Scroll Progress Bar ─────────────────────────────── */
#scrollProgress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0%;
    background: linear-gradient(90deg, var(--brand), #54d6e0);
    z-index: 1100;
    box-shadow: 0 0 8px rgba(43, 194, 207, 0.5);
    transition: width 0.1s linear;
}

body {
    font-family: 'IBM Plex Sans', sans-serif;
    background: radial-gradient(circle at 8% 15%, #123457 0%, transparent 45%),
        radial-gradient(circle at 90% 0%, #153f64 0%, transparent 30%),
        linear-gradient(160deg, var(--bg-deep), #06101a 55%, #0a1c2f);
    color: var(--text-main);
    min-height: 100vh;
}

h1,
h2,
h3,
h4,
.brand-text {
    font-family: 'Space Grotesk', sans-serif;
    letter-spacing: 0.01em;
}

.py-lg-6 {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

.aurora-bg {
    position: fixed;
    inset: 0;
    pointer-events: none;
    background-image: linear-gradient(120deg, rgba(43, 194, 207, 0.08), rgba(241, 178, 74, 0.06));
    mix-blend-mode: screen;
    z-index: -1;
}

.nav-shell {
    background: rgba(7, 22, 38, 0.72);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(169, 190, 211, 0.17);
}

.floating-social {
    position: fixed;
    left: 2rem;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    z-index: 999;
    padding: 1.5rem 0.75rem;
    background: rgba(7, 22, 38, 0.6);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(43, 194, 207, 0.2);
    border-radius: 60px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.floating-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(43, 194, 207, 0.15);
    color: var(--brand);
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(43, 194, 207, 0.3);
}

.floating-social-link:hover {
    background: var(--brand);
    color: #03121c;
    border-color: var(--brand);
    transform: scale(1.15);
    box-shadow: 0 6px 20px rgba(43, 194, 207, 0.3);
}

.floating-social-link:active {
    transform: scale(0.95);
}

.preloader-logo-img {
    width: auto;
    height: 52px;
    display: block;
}

.brand-logo {
    width: auto;
    height: 40px;
    display: block;
}

.logo-mark {
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    font-weight: 700;
    color: #03121c;
    background: linear-gradient(145deg, var(--brand), #6bdee7);
}

.brand-text {
    font-size: 1.1rem;
    font-weight: 700;
}

.nav-link {
    color: var(--text-soft);
}

.nav-link:hover,
.nav-link:focus {
    color: var(--text-main);
}

.nav-link-active {
    color: var(--text-main);
    position: relative;
}

.nav-link-active::after {
    content: '';
    position: absolute;
    left: 0.5rem;
    right: 0.5rem;
    bottom: 0.15rem;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--brand), #54d6e0);
    box-shadow: 0 0 12px rgba(43, 194, 207, 0.35);
}

.nav-cta-active {
    box-shadow: 0 0 0 0.16rem rgba(43, 194, 207, 0.24), 0 10px 24px rgba(43, 194, 207, 0.2);
}

.btn-brand {
    background: linear-gradient(145deg, var(--brand), #54d6e0);
    border: 0;
    color: #04212f;
    font-weight: 700;
}

.btn-brand:hover {
    background: linear-gradient(145deg, #1fb2bf, #4bc7d0);
    color: #031721;
}

.eyebrow {
    text-transform: uppercase;
    color: var(--accent);
    font-size: 0.8rem;
    letter-spacing: 0.16em;
    font-weight: 700;
    margin-bottom: 0.9rem;
}

.hero-panel,
.module-card,
.benefits-shell,
.contact-shell {
    background: var(--panel);
    border: 1px solid var(--panel-border);
    border-radius: 1.1rem;
    box-shadow: 0 18px 40px rgba(3, 13, 23, 0.36);
}

.hero-panel {
    animation: liftIn 0.7s ease-out;
}

.status-pill {
    padding: 0.35rem 0.7rem;
    background: rgba(43, 194, 207, 0.2);
    color: #7ce5ed;
    border: 1px solid rgba(124, 229, 237, 0.35);
    border-radius: 999px;
    font-size: 0.78rem;
}

.metric-card {
    background: rgba(5, 18, 31, 0.64);
    border: 1px solid rgba(169, 190, 211, 0.16);
    border-radius: 0.9rem;
    padding: 1rem;
}

.metric-label {
    color: var(--text-soft);
    font-size: 0.8rem;
}

.metric-value {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
}

.module-card {
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.module-card:hover {
    transform: translateY(-6px);
    border-color: rgba(124, 229, 237, 0.5);
}

.module-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    font-size: 1.35rem;
    color: #e8fafd;
    background: linear-gradient(145deg, rgba(43, 194, 207, 0.6), rgba(19, 83, 124, 0.8));
}

.benefit-item {
    border-radius: 0.9rem;
    border: 1px solid rgba(169, 190, 211, 0.16);
    background: rgba(4, 14, 24, 0.44);
}

.benefit-item i {
    color: var(--brand);
    font-size: 1.1rem;
}

.form-control {
    background: rgba(5, 18, 31, 0.7);
    border-color: rgba(169, 190, 211, 0.24);
    color: var(--text-main);
}

.form-control:focus {
    background: rgba(5, 18, 31, 0.85);
    color: var(--text-main);
    border-color: var(--brand);
    box-shadow: 0 0 0 0.18rem rgba(43, 194, 207, 0.18);
}

.text-secondary {
    color: var(--text-soft) !important;
}

footer {
    border-top: 1px solid rgba(169, 190, 211, 0.12);
}

.pricing-card {
    background: var(--panel);
    border: 1px solid var(--panel-border);
    border-radius: 1.1rem;
    position: relative;
    transition: all 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-8px);
    border-color: rgba(124, 229, 237, 0.4);
    box-shadow: 0 24px 48px rgba(43, 194, 207, 0.12);
}

.pricing-card-popular {
    border: 2px solid var(--brand);
    background: linear-gradient(135deg, rgba(13, 35, 59, 0.92), rgba(19, 60, 95, 0.7));
    box-shadow: 0 18px 40px rgba(43, 194, 207, 0.16);
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(145deg, var(--brand), #54d6e0);
    color: #03121c;
    padding: 0.4rem 1rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    white-space: nowrap;
}

.price-block {
    padding: 1.5rem 0;
    border-bottom: 1px solid rgba(169, 190, 211, 0.16);
}

.price-currency {
    font-size: 0.9rem;
    color: var(--text-soft);
    vertical-align: super;
}

.price-amount {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.4rem;
    font-weight: 700;
    margin: 0 0.3rem;
}

.price-period {
    color: var(--text-soft);
    font-size: 0.9rem;
}

.btn-outline-brand {
    color: var(--brand);
    border: 2px solid var(--brand);
    background: transparent;
}

.btn-outline-brand:hover {
    background: var(--brand);
    color: #03121c;
}

.pricing-features {
    padding-top: 1.5rem;
}

.pricing-features li {
    font-size: 0.95rem;
}

.billing-toggle {
    padding: 1.5rem;
    background: rgba(13, 35, 59, 0.5);
    border: 1px solid rgba(119, 170, 214, 0.2);
    border-radius: 1rem;
}

.toggle-label {
    color: var(--text-soft);
    font-weight: 500;
    cursor: pointer;
    transition: color 0.3s ease;
}

.toggle-label.active {
    color: var(--brand);
    font-weight: 600;
}

.toggle-label:hover {
    color: var(--text-main);
}

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 56px;
    height: 32px;
}

.toggle-checkbox {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-label-switch {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(169, 190, 211, 0.2);
    border: 2px solid rgba(169, 190, 211, 0.3);
    border-radius: 32px;
    transition: all 0.3s ease;
}

.toggle-label-switch::before {
    content: '';
    position: absolute;
    height: 24px;
    width: 24px;
    left: 2px;
    bottom: 2px;
    background: white;
    border-radius: 50%;
    transition: transform 0.3s ease;
}

.toggle-checkbox:checked + .toggle-label-switch {
    background: var(--brand);
    border-color: var(--brand);
}

.toggle-checkbox:checked + .toggle-label-switch::before {
    transform: translateX(24px);
}

.savings-badge {
    display: inline-block;
    background: rgba(241, 178, 74, 0.2);
    color: var(--accent);
    padding: 0.25rem 0.6rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-left: 0.5rem;
    border: 1px solid rgba(241, 178, 74, 0.4);
}

.hidden {
    display: none !important;
}

.setup-fee-card {
    background: var(--panel);
    border: 1px solid var(--panel-border);
    border-radius: 1.1rem;
}

.social-links {
    align-items: center;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: rgba(43, 194, 207, 0.1);
    color: var(--brand);
    font-size: 1.2rem;
    border: 1px solid rgba(43, 194, 207, 0.25);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--brand);
    color: #03121c;
    border-color: var(--brand);
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(43, 194, 207, 0.2);
}

.footer-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(43, 194, 207, 0.3), transparent);
    margin: 1.5rem 0;
}

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

.text-decoration-none {
    text-decoration: none;
}

.text-decoration-none:hover {
    text-decoration: underline;
}

.w-lg-75 {
    width: 100%;
}

@media (min-width: 992px) {
    .w-lg-75 {
        width: 75%;
    }
}

@keyframes liftIn {
    from {
        opacity: 0;
        transform: translateY(18px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 991px) {
    .py-lg-6 {
        padding-top: 4rem;
        padding-bottom: 4rem;
    }
}

@media (max-width: 767px) {
    .floating-social {
        display: none;
    }
}

/* ── Stats Bar ──────────────────────────────────────── */
.stats-bar {
    background: rgba(13, 35, 59, 0.6);
    border-top: 1px solid rgba(43, 194, 207, 0.15);
    border-bottom: 1px solid rgba(43, 194, 207, 0.15);
}

.stat-item { padding: 0.75rem; }

.stat-value {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--brand);
    line-height: 1;
}

.stat-label {
    font-size: 0.78rem;
    color: var(--text-soft);
    letter-spacing: 0.04em;
}

/* ── How It Works ────────────────────────────────────── */
.step-card {
    background: var(--panel);
    border: 1px solid var(--panel-border);
    border-radius: 1rem;
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.step-card:hover {
    transform: translateY(-6px);
    border-color: rgba(43, 194, 207, 0.45);
}

.step-number {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.8rem;
    font-weight: 700;
    color: rgba(43, 194, 207, 0.18);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.step-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    font-size: 1.2rem;
    color: #e8fafd;
    background: linear-gradient(145deg, rgba(43, 194, 207, 0.6), rgba(19, 83, 124, 0.8));
}

/* ── Industries ──────────────────────────────────────── */
.industry-card {
    background: var(--panel);
    border: 1px solid var(--panel-border);
    border-radius: 0.9rem;
    transition: all 0.25s ease;
}

.industry-card:hover {
    border-color: rgba(43, 194, 207, 0.5);
    background: rgba(43, 194, 207, 0.08);
}

.industry-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    font-size: 1rem;
    color: var(--brand);
    background: rgba(43, 194, 207, 0.12);
    flex-shrink: 0;
}

/* ── Integrations ────────────────────────────────────── */
.integration-card {
    background: var(--panel);
    border: 1px solid var(--panel-border);
    border-radius: 1rem;
    transition: all 0.25s ease;
}

.integration-card:hover {
    transform: translateY(-5px);
    border-color: rgba(43, 194, 207, 0.5);
    box-shadow: 0 12px 28px rgba(43, 194, 207, 0.1);
}

.integration-icon { font-size: 2rem; color: var(--brand); }

/* ── Testimonials ────────────────────────────────────── */
.testimonial-card {
    background: var(--panel);
    border: 1px solid var(--panel-border);
    border-radius: 1.1rem;
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.testimonial-card:hover {
    transform: translateY(-6px);
    border-color: rgba(43, 194, 207, 0.45);
}

.quote-mark {
    font-size: 2.5rem;
    font-family: Georgia, serif;
    line-height: 1;
    color: var(--brand);
    opacity: 0.6;
}

.testimonial-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(145deg, rgba(43, 194, 207, 0.6), rgba(19, 83, 124, 0.8));
    color: #e8fafd;
    display: grid;
    place-items: center;
    font-size: 0.8rem;
    font-weight: 700;
    flex-shrink: 0;
}

/* ── Comparison ──────────────────────────────────────── */
.comparison-table {
    background: var(--panel);
    border: 1px solid var(--panel-border);
    border-radius: 1.1rem;
    overflow: hidden;
}

.comparison-header,
.comparison-row {
    display: grid;
    grid-template-columns: 1fr 140px 140px;
    align-items: center;
}

.comparison-header {
    background: rgba(43, 194, 207, 0.12);
    padding: 1rem 1.5rem;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-soft);
}

.comparison-row {
    padding: 0.9rem 1.5rem;
    border-top: 1px solid rgba(169, 190, 211, 0.1);
    font-size: 0.95rem;
    transition: background 0.2s;
}

.comparison-row:hover { background: rgba(43, 194, 207, 0.05); }

.comp-col-feature { color: var(--text-main); }

.comp-col { text-align: center; font-size: 1.1rem; }

/* ── FAQ ─────────────────────────────────────────────── */
.faq-item {
    background: var(--panel);
    border: 1px solid var(--panel-border) !important;
    border-radius: 0.9rem !important;
    overflow: hidden;
}

.faq-btn {
    background: transparent;
    color: var(--text-main);
    font-weight: 600;
    padding: 1.1rem 1.5rem;
    border: 0;
    box-shadow: none !important;
}

.faq-btn:not(.collapsed) {
    background: rgba(43, 194, 207, 0.08);
    color: var(--brand);
}

.faq-btn::after { filter: invert(1) brightness(0.6); }

.faq-body {
    padding: 1rem 1.5rem 1.25rem;
    font-size: 0.95rem;
    line-height: 1.7;
    border-top: 1px solid rgba(169, 190, 211, 0.12);
}

/* ── WhatsApp Floating Button ────────────────────────── */
.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    text-decoration: none;
    z-index: 998;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    animation: waPulse 2.5s infinite;
}

.whatsapp-float:hover {
    background: #1ebe5d;
    color: #fff;
    transform: scale(1.12);
    animation: none;
}

@keyframes waPulse {
    0%, 100% { box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4); }
    50% { box-shadow: 0 6px 32px rgba(37, 211, 102, 0.7); }
}

/* ── Cookie Banner ───────────────────────────────────── */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(7, 22, 38, 0.97);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(43, 194, 207, 0.25);
    padding: 1rem 0;
    z-index: 1050;
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.cookie-banner-visible { transform: translateY(0); }

/* ── Footer legal links ──────────────────────────────── */
.footer-legal-link:hover { color: var(--brand) !important; }

/* ── Legal Pages ─────────────────────────────────────── */
.legal-hero {
    padding-top: 4rem;
    padding-bottom: 2rem;
}

.legal-summary {
    max-width: 760px;
}

.legal-shell {
    display: grid;
    grid-template-columns: minmax(0, 1.75fr) minmax(260px, 0.9fr);
    gap: 1.5rem;
}

.legal-card,
.legal-sidebar {
    background: var(--panel);
    border: 1px solid var(--panel-border);
    border-radius: 1.1rem;
    box-shadow: 0 18px 40px rgba(3, 13, 23, 0.36);
}

.legal-card {
    padding: 2rem;
}

.legal-sidebar {
    padding: 1.4rem;
    position: sticky;
    top: 6.5rem;
    height: fit-content;
}

.legal-fact-list,
.legal-toc {
    list-style: none;
    padding: 0;
    margin: 0;
}

.legal-fact-list li,
.legal-toc li + li {
    margin-top: 0.85rem;
}

.legal-fact-list li {
    color: var(--text-soft);
    padding-bottom: 0.85rem;
    border-bottom: 1px solid rgba(169, 190, 211, 0.12);
}

.legal-fact-list li:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.legal-toc a {
    color: var(--text-soft);
    text-decoration: none;
    transition: color 0.2s ease;
}

.legal-toc a:hover,
.legal-toc a:focus {
    color: var(--brand);
}

.legal-section + .legal-section {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(169, 190, 211, 0.12);
}

.legal-section h2 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.legal-section p,
.legal-section li {
    color: var(--text-soft);
    line-height: 1.75;
}

.legal-section ul {
    padding-left: 1.2rem;
    margin-bottom: 0;
}

.legal-meta {
    color: var(--text-soft);
    font-size: 0.92rem;
}

@media (max-width: 991px) {
    .legal-shell {
        grid-template-columns: 1fr;
    }

    .legal-sidebar {
        position: static;
    }
}

@media (max-width: 575px) {
    .legal-card,
    .legal-sidebar {
        padding: 1.2rem;
    }

    .comparison-header,
    .comparison-row {
        grid-template-columns: 1fr 80px 80px;
    }
    .comparison-header,
    .comparison-row { padding: 0.75rem 1rem; }
}
