:root {
    --wrenchlab-primary: #ff6b35;
    --wrenchlab-secondary: #004e89;
    --wrenchlab-accent: #f77f00;
    --wrenchlab-dark: #0a1b2b;
    --wrenchlab-darker: #050f1d;
    --wrenchlab-light: #f5f7fb;
    --body-bg: radial-gradient(circle at 20% 20%, rgba(255, 107, 53, 0.15), transparent 55%),
               radial-gradient(circle at 80% 0%, rgba(0, 78, 137, 0.35), transparent 60%),
               linear-gradient(135deg, #041427, #030d19 60%, #030a12);
    --body-text: #f2f4f8;
    --text-soft: rgba(232, 237, 243, 0.8);
    --muted: rgba(232, 237, 243, 0.6);
    --nav-bg: rgba(3, 11, 24, 0.9);
    --nav-border: rgba(255, 255, 255, 0.12);
    --pill-bg: rgba(255, 255, 255, 0.08);
    --pill-color: rgba(255, 255, 255, 0.85);
    --hero-gradient: linear-gradient(125deg, rgba(0, 78, 137, 0.95), rgba(255, 107, 53, 0.9));
    --hero-overlay: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0));
    --glass-bg: rgba(5, 18, 36, 0.6);
    --card-bg: rgba(3, 13, 25, 0.85);
    --platform-bg: rgba(255, 255, 255, 0.02);
    --platform-card-bg: rgba(5, 18, 36, 0.8);
    --card-shadow: 0 24px 70px rgba(2, 9, 20, 0.55);
    --divider: rgba(255, 255, 255, 0.12);
    --footer-bg: rgba(2, 6, 12, 0.95);
    --footer-watermark: radial-gradient(circle at 15% 30%, rgba(255, 107, 53, 0.08), transparent 55%),
                        radial-gradient(circle at 80% 0%, rgba(0, 78, 137, 0.15), transparent 60%);
    --watermark-opacity: 0.03;
}

body {
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--body-bg);
    color: var(--body-text);
    min-height: 100vh;
    margin: 0;
    position: relative;
}

body[data-theme="light"] {
    --body-bg: linear-gradient(135deg, #f8f9fc, #eef3fb 60%, #fdfefe);
    --body-text: #0f1c2d;
    --text-soft: rgba(15, 32, 51, 0.75);
    --muted: rgba(15, 32, 51, 0.6);
    --nav-bg: rgba(255, 255, 255, 0.95);
    --nav-border: rgba(15, 32, 51, 0.12);
    --pill-bg: rgba(15, 32, 51, 0.08);
    --pill-color: #041b31;
    --hero-gradient: linear-gradient(130deg, rgba(0, 78, 137, 0.25), rgba(255, 107, 53, 0.35));
    --hero-overlay: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.85), transparent 60%);
    --glass-bg: rgba(255, 255, 255, 0.92);
    --card-bg: rgba(255, 255, 255, 0.94);
    --platform-bg: rgba(4, 27, 49, 0.04);
    --platform-card-bg: rgba(255, 255, 255, 0.92);
    --divider: rgba(15, 32, 51, 0.12);
    --footer-bg: rgba(255, 255, 255, 0.96);
    --footer-watermark: radial-gradient(circle at 15% 30%, rgba(0, 78, 137, 0.12), transparent 55%),
                        radial-gradient(circle at 80% 0%, rgba(255, 107, 53, 0.12), transparent 60%);
    --watermark-opacity: 0.07;
}

body[data-theme="mixed"] {
    --body-bg: linear-gradient(120deg, #050f1f 0%, #0b1e36 45%, #eef2f8 100%);
    --body-text: #101f30;
    --text-soft: rgba(16, 31, 48, 0.75);
    --muted: rgba(255, 255, 255, 0.7);
    --nav-bg: rgba(5, 15, 31, 0.9);
    --nav-border: rgba(255, 255, 255, 0.2);
    --pill-bg: rgba(255, 255, 255, 0.18);
    --pill-color: rgba(255, 255, 255, 0.85);
    --hero-gradient: linear-gradient(130deg, rgba(0, 78, 137, 0.85), rgba(255, 107, 53, 0.9));
    --hero-overlay: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.35), transparent 55%);
    --glass-bg: rgba(255, 255, 255, 0.95);
    --card-bg: rgba(255, 255, 255, 0.94);
    --platform-bg: rgba(5, 15, 31, 0.08);
    --platform-card-bg: rgba(255, 255, 255, 0.94);
    --divider: rgba(15, 32, 51, 0.15);
    --footer-bg: rgba(5, 15, 31, 0.95);
    --footer-watermark: radial-gradient(circle at 15% 30%, rgba(255, 107, 53, 0.08), transparent 55%),
                        radial-gradient(circle at 80% 0%, rgba(0, 78, 137, 0.15), transparent 60%);
    --watermark-opacity: 0.05;
}

body::after {
    content: "";
    position: fixed;
    inset: 0;
    background-image: url('../images/WL-logo.png');
    background-repeat: no-repeat;
    background-position: center 12%;
    background-size: 420px auto;
    opacity: var(--watermark-opacity);
    pointer-events: none;
    z-index: -1;
}

main {
    position: relative;
    z-index: 1;
    padding-bottom: 4rem;
}

a {
    color: inherit;
}

.landing-nav {
    background: var(--nav-bg);
    border-bottom: 1px solid var(--nav-border);
    backdrop-filter: blur(22px);
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

.landing-nav.navbar-scrolled {
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
}

.navbar-brand {
    color: #fff;
    flex-shrink: 0;
    margin-right: 1rem;
}

.brand-logo {
    width: 140px;
    height: auto;
    max-width: 100%;
}

.brand-stack {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
    white-space: nowrap;
    max-width: 220px;
}

.brand-title {
    font-weight: 600;
    letter-spacing: 0.06em;
    color: var(--body-text);
}

.brand-subtitle {
    letter-spacing: 0.5em;
    font-size: 0.6rem;
    color: var(--muted);
}

.navbar .nav-link {
    color: var(--muted);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.85rem;
}

.navbar .nav-link.active,
.navbar .nav-link:hover {
    color: var(--body-text);
}

.nav-utilities {
    flex-wrap: wrap;
    align-items: center;
    flex-direction: row;
    justify-content: flex-end;
    gap: 0.65rem;
}

.nav-actions {
    display: flex;
    flex-direction: row;
    gap: 0.65rem;
    flex-wrap: wrap;
}

.nav-control {
    min-height: 38px;
    padding: 0.3rem 1.15rem !important;
    border-radius: 999px;
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    white-space: nowrap;
}

.standalone-pill {
    margin-right: 0.5rem;
}

.theme-switcher .theme-toggle {
    background: var(--pill-bg);
    color: var(--pill-color);
    border: 1px solid var(--nav-border);
    min-width: 145px;
}

.theme-menu {
    background: var(--glass-bg);
    border: 1px solid var(--nav-border);
    border-radius: 16px;
    min-width: 220px;
    padding: 0.35rem;
}

.theme-option {
    border-radius: 12px;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.theme-option.active,
.theme-option:hover,
.theme-option:focus {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
}

.status-pill {
    background: var(--pill-bg);
    color: var(--pill-color);
    border: 1px solid var(--nav-border);
    min-width: 120px;
}

.btn-gradient {
    background: linear-gradient(120deg, var(--wrenchlab-primary), var(--wrenchlab-accent));
    border: none;
    color: #fff !important;
    font-weight: 600;
    border-radius: 999px;
    padding: 0.7rem 1.75rem;
    box-shadow: 0 15px 35px rgba(255, 107, 53, 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-gradient:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 40px rgba(255, 107, 53, 0.45);
}

.btn-outline-light {
    border-radius: 999px;
    border-width: 1.5px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.hero-section {
    padding: 8rem 0 4rem;
    position: relative;
}

.hero-panel {
    background: var(--hero-gradient);
    border-radius: 32px;
    padding: 3rem;
    position: relative;
    overflow: hidden;
    box-shadow: var(--card-shadow);
}

.hero-panel::after {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--hero-overlay);
    opacity: 0.6;
}

.hero-panel > * {
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.45rem 1rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    letter-spacing: 0.3em;
    font-size: 0.7rem;
    text-transform: uppercase;
}

.hero-section h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin: 1.5rem 0 1rem;
}

.hero-section .lead {
    font-size: 1.2rem;
    color: var(--text-soft);
}

.hero-actions .btn {
    min-width: 200px;
}

.hero-details {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-top: 2rem;
    justify-content: space-between;
}

.hero-detail {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    padding: 0.85rem 1.25rem;
    border-radius: 20px;
    border: 1px solid var(--nav-border);
    background: linear-gradient(120deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0));
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.35);
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    flex: 1 1 220px;
}

.hero-detail-highlight {
    background: linear-gradient(120deg, rgba(0, 78, 137, 0.6), rgba(255, 107, 53, 0.65));
    border: none;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-detail-highlight .detail-copy {
    text-align: center;
}

.hero-detail-highlight .detail-icon {
    background: rgba(255, 255, 255, 0.25);
    color: #fff;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25);
}

.hero-detail .detail-icon {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--wrenchlab-primary);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.15);
}

.hero-detail .detail-copy {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.hero-detail .label {
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.62rem;
    color: var(--muted);
}

.hero-detail .value {
    font-size: 1.425rem;
    font-weight: 600;
}

.hero-showcase {
    position: relative;
    padding: 2rem;
}

.hero-card {
    background: var(--card-bg);
    border-radius: 26px;
    padding: 2rem;
    border: 1px solid var(--nav-border);
    box-shadow: var(--card-shadow);
    font-size: 0.95rem;
}

.hero-card-center {
    text-align: center;
}

.hero-card h4 {
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--muted);
    font-size: 0.7125rem;
}

.hero-card .stat-value {
    font-size: 2.6125rem;
    font-weight: 600;
    color: var(--body-text);
}

.hero-card p {
    color: var(--text-soft);
    font-size: 0.95rem;
}

.hero-card .display-6 {
    font-size: 1.425rem;
}

.hero-chip {
    position: absolute;
    top: 15%;
    right: 6%;
    padding: 0.8rem 1.3rem;
    border-radius: 18px;
    background: var(--pill-bg);
    color: var(--pill-color);
    border: 1px solid var(--nav-border);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.35);
    font-weight: 600;
    letter-spacing: 0.08em;
}

.hero-chip i {
    color: var(--wrenchlab-primary);
}

.stats-section {
    padding: 3rem 0;
}

.stat-box {
    text-align: center;
    padding: 2rem 1rem;
    border-radius: 22px;
    background: var(--glass-bg);
    border: 1px solid var(--nav-border);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.4);
    color: var(--body-text);
}

.stat-number {
    font-size: 2.75rem;
    font-weight: 600;
    display: block;
    letter-spacing: 0.08em;
}

.stat-label {
    text-transform: uppercase;
    letter-spacing: 0.35em;
    font-size: 0.65rem;
    color: var(--muted);
}

.section-heading {
    text-align: center;
    margin-bottom: 3rem;
}

.section-heading h2 {
    font-size: 2.8rem;
    font-weight: 700;
}

.section-heading p {
    color: var(--muted);
    max-width: 620px;
    margin: 1rem auto 0;
}

.luxe-section {
    padding: 5rem 0;
}

.feature-card {
    background: var(--glass-bg);
    border-radius: 24px;
    padding: 2.25rem;
    height: 100%;
    border: 1px solid var(--nav-border);
    box-shadow: var(--card-shadow);
    transition: transform 0.25s ease, border-color 0.25s ease;
    color: var(--body-text);
}

.feature-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 255, 255, 0.4);
}

.feature-icon {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--wrenchlab-primary);
    margin-bottom: 1.5rem;
}

.feature-card p {
    color: var(--text-soft);
}

.platform-section {
    padding: 5rem 0;
    background: var(--platform-bg);
    border-top: 1px solid var(--divider);
    border-bottom: 1px solid var(--divider);
}

.platform-card {
    background: var(--platform-card-bg);
    border-radius: 18px;
    padding: 2rem 1.5rem;
    border: 1px solid var(--nav-border);
    box-shadow: 0 16px 45px rgba(0, 0, 0, 0.45);
    color: var(--body-text);
}

.platform-card i {
    font-size: 2.8rem;
    color: var(--wrenchlab-primary);
}

.platform-card p {
    color: var(--muted);
}

.testimonial-card {
    background: var(--card-bg);
    border-radius: 24px;
    border: 1px solid var(--nav-border);
    box-shadow: var(--card-shadow);
    height: 100%;
    color: var(--body-text);
}

.testimonial-card .card-body {
    padding: 2.25rem;
}

.testimonial-card p {
    color: var(--text-soft);
    font-style: italic;
}

.badge-soft {
    background: var(--pill-bg);
    color: var(--pill-color);
    border-radius: 999px;
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    letter-spacing: 0.12em;
}

.cta-section {
    padding: 5rem 0;
}

.cta-shell {
    background: linear-gradient(120deg, rgba(0, 78, 137, 0.92), rgba(255, 107, 53, 0.92));
    border-radius: 28px;
    padding: 3.5rem 3rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 35px 80px rgba(0, 0, 0, 0.45);
    color: #fff;
}

.cta-shell .lead {
    color: rgba(255, 255, 255, 0.85);
}

.cta-shell small {
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.75);
}

.luxury-footer {
    background: var(--footer-bg);
    border-top: 1px solid var(--divider);
    color: var(--text-soft);
    position: relative;
}

.luxury-footer::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--footer-watermark);
    opacity: 0.7;
}

.luxury-footer .footer-content {
    position: relative;
    z-index: 1;
}

.luxury-footer h5,
.luxury-footer h6 {
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-size: 0.85rem;
    color: var(--body-text);
}

.footer-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--text-soft);
    text-decoration: none;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.75rem;
}

.footer-link:hover {
    color: var(--body-text);
}

.social-link {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--body-text);
    transition: transform 0.2s ease, background 0.2s ease;
}

.social-link:hover {
    transform: translateY(-3px);
    background: rgba(255, 107, 53, 0.2);
}

.divider {
    border-top: 1px solid var(--divider);
    margin: 2rem 0;
}

.animate-fade-in-up {
    opacity: 0;
    animation: fadeInUp 0.7s ease-out forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 991.98px) {
    .hero-panel {
        padding: 2rem;
    }

    .hero-section h1 {
        font-size: 2.6rem;
    }

    .hero-showcase {
        padding: 1rem 0 0;
    }

    .hero-chip {
        position: static;
        margin-top: 1.5rem;
        display: inline-block;
    }

    .hero-detail {
        flex: 1 1 45%;
    }

    .btn-gradient,
    .btn-outline-light {
        width: 100%;
        text-align: center;
    }

    .brand-subtitle {
        letter-spacing: 0.2em;
    }
}

@media (max-width: 575.98px) {
    .hero-section {
        padding-top: 7rem;
    }

    .hero-section h1 {
        font-size: 2.2rem;
    }

    .hero-actions {
        flex-direction: column;
    }
}
