:root {
    --primary: #1f7ae0;
    --primary-dark: #1861bf;
    --secondary: #0a2342;
    --accent: #6366f1;
    --bg-light: #ffffff;
    --bg-soft: #f8fafc;
    --bg-dark: #030712;
    --text-main-dark: #ffffff;
    --text-muted-dark: #cbd5e1;
    --text-main-light: #0a2342;
    --text-muted-light: #475569;
    --glass-border: rgba(15, 23, 42, 0.1);
}

/* Base Shell */
.site-shell {
    overflow-x: hidden;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

/* --- SECTION: DARK HERO --- */
.site-hero {
    min-height: 90vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 4rem;
    padding: 6rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* Dark Wrapper for Hero */
.hero-wrapper {
    background-color: var(--bg-dark);
    position: relative;
    overflow: hidden;
}

.hero-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 0% 0%, rgba(31, 122, 224, 0.15) 0%, transparent 50%);
    pointer-events: none;
}

.site-hero h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: #ffffff !important; /* FORCED WHITE AS REQUESTED */
}

.site-hero p {
    font-size: 1.125rem;
    color: var(--text-muted-dark);
    max-width: 600px;
    line-height: 1.6;
    margin-bottom: 2.5rem;
}

.brand-pill {
    background: rgba(31, 122, 224, 0.1);
    color: var(--primary);
    border: 1px solid rgba(31, 122, 224, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 1.5rem;
}

.site-hero-visual {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 0 50px rgba(31, 122, 224, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    animation: float 6s ease-in-out infinite;
    transform-origin: center;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(1deg); }
}

/* --- SECTION: LIGHT CAPABILITIES --- */
.capabilities-wrapper {
    background-color: var(--bg-light);
    padding: 8rem 0;
}

.section-heading {
    text-align: center;
    margin-bottom: 4rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-heading h2 {
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-main-light);
    margin-bottom: 1rem;
}

.section-heading p {
    color: var(--text-muted-light);
    font-size: 1.1rem;
}

.solution-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.solution-grid article {
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    padding: 2.5rem;
    border-radius: 24px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

.solution-grid article:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 30px 60px rgba(15, 23, 42, 0.1);
    border-color: var(--primary);
}

.solution-grid h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-main-light);
    font-weight: 800;
}

.solution-grid p {
    color: var(--text-muted-light);
    font-size: 1rem;
    line-height: 1.6;
}

.feature-icon {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    display: block;
}

/* --- SECTION: PRICING TIERS (site theme) --- */
.pricing-wrapper {
    background-color: var(--bg-soft);
    padding: clamp(5rem, 10vw, 8rem) 0;
}

.pricing-section {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 clamp(1.25rem, 3vw, 2.5rem);
}

.pricing-tier-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(1.25rem, 2.5vw, 2rem);
}

.pricing-tier {
    position: relative;
    display: flex;
    background: var(--bg-light);
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    transition: border-color 0.35s ease, box-shadow 0.35s ease, transform 0.35s ease;
}

.pricing-tier:hover {
    border-color: var(--primary);
    box-shadow: 0 24px 48px rgba(15, 23, 42, 0.1);
    transform: translateY(-6px);
}

.pricing-tier--featured {
    border: 2px solid var(--primary);
    box-shadow: 0 16px 40px rgba(31, 122, 224, 0.12);
}

.pricing-tier__badge {
    position: absolute;
    top: 1.15rem;
    right: 1.15rem;
    z-index: 2;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #ffffff;
    background: var(--primary);
    padding: 0.35rem 0.65rem;
    border-radius: 100px;
}

.pricing-tier__accent {
    width: 5px;
    flex-shrink: 0;
}

.pricing-tier--starter .pricing-tier__accent {
    background: linear-gradient(180deg, #93c5fd 0%, #60a5fa 100%);
}

.pricing-tier--professional .pricing-tier__accent {
    background: linear-gradient(180deg, var(--primary) 0%, var(--primary-dark) 100%);
}

.pricing-tier--business .pricing-tier__accent {
    background: linear-gradient(180deg, #3b82f6 0%, var(--primary-dark) 100%);
}

.pricing-tier--enterprise .pricing-tier__accent {
    background: linear-gradient(180deg, var(--accent) 0%, #4f46e5 100%);
}

.pricing-tier__body {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: clamp(1.5rem, 3vw, 2.25rem) clamp(1.35rem, 2.5vw, 2rem);
    min-width: 0;
}

.pricing-tier__head {
    margin-bottom: 1.35rem;
    padding-bottom: 1.15rem;
    border-bottom: 1px solid var(--glass-border);
}

.pricing-tier__head h3 {
    font-size: clamp(1.15rem, 2.2vw, 1.45rem);
    font-weight: 700;
    color: var(--text-main-light);
    line-height: 1.35;
    margin: 0 0 0.55rem;
    letter-spacing: -0.01em;
}

.pricing-tier__dash {
    color: var(--text-muted-light);
    font-weight: 400;
    margin: 0 0.15rem;
}

.pricing-tier__price {
    font-weight: 800;
    color: var(--primary);
    white-space: nowrap;
}

.pricing-tier__period {
    font-size: 0.82em;
    font-weight: 500;
    color: var(--text-muted-light);
}

.pricing-tier__tagline {
    margin: 0;
    font-size: 0.88rem;
    color: var(--text-muted-light);
    line-height: 1.5;
}

.pricing-tier__features {
    list-style: none;
    margin: 0 0 1.75rem;
    padding: 0;
    flex-grow: 1;
}

.pricing-tier__features li {
    position: relative;
    padding-left: 1.35rem;
    margin-bottom: 0.62rem;
    font-size: 0.9rem;
    line-height: 1.45;
    color: var(--text-muted-light);
}

.pricing-tier__features li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.5em;
    width: 14px;
    height: 14px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2310b981' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
}

.pricing-tier__features li:first-child {
    color: var(--text-main-light);
    font-weight: 600;
}

.btn-tier {
    width: 100%;
}

.pricing-footnote {
    margin: clamp(1.5rem, 3vw, 2rem) auto 0;
    text-align: center;
    font-size: 0.88rem;
    color: var(--text-muted-light);
    max-width: 720px;
    line-height: 1.6;
}

.pricing-setup-note {
    margin: clamp(2rem, 4vw, 2.75rem) auto 0;
    max-width: 820px;
    padding: 1.25rem 1.5rem;
    background: #ffffff;
    border: 1px solid rgba(31, 122, 224, 0.18);
    border-left: 4px solid var(--primary);
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
}

.pricing-setup-note__title {
    margin: 0 0 0.45rem;
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-main-light);
}

.pricing-setup-note__title strong {
    color: var(--primary);
}

.pricing-setup-note__text {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.55;
    color: var(--text-muted-light);
}

.pricing-setup-note__text a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.pricing-setup-note__text a:hover {
    color: var(--primary-dark);
}

.pricing-footnote a {
    color: var(--primary);
    text-decoration: underline;
    text-underline-offset: 3px;
}

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

/* Common Components */
.btn {
    padding: 0.875rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 1rem;
    text-decoration: none;
    display: inline-flex;
    justify-content: center;
    align-items: center;
}

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

.btn-secondary {
    background: white;
    color: var(--secondary);
    border: 1px solid var(--glass-border);
}

/* Header — marketing pages (scoped to avoid dmv-auth conflicts) */
.site-shell .site-header--marketing {
    background: rgba(3, 7, 18, 0.88);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.site-shell .site-header-bar {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0.85rem clamp(0.75rem, 2vw, 2rem);
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.5rem 1rem;
}

.site-shell .site-header-start {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.site-shell .site-brand {
    color: #ffffff;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
}

.site-shell .site-logo {
    height: 45px;
    width: auto;
    max-width: 180px;
}

.site-shell .site-nav--desktop {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(0.75rem, 2vw, 2rem);
    position: static;
    left: auto;
    transform: none;
    min-width: 0;
}

.site-shell .site-nav-link {
    color: rgba(255, 255, 255, 0.72);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: color 0.25s ease;
    white-space: nowrap;
    padding: 0.35rem 0;
    position: relative;
}

.site-shell .site-nav-link:hover,
.site-shell .site-nav-link.active {
    color: #ffffff;
}

.site-shell .site-nav-link.active::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -4px;
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg, #64bcff, #b4dcff);
}

.site-shell .header-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.65rem;
    flex-shrink: 0;
}

.site-shell .header-actions--drawer {
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0.65rem;
    margin-top: 1.25rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.site-shell .header-actions--drawer .btn {
    width: 100%;
    justify-content: center;
}

.site-shell .site-mobile-nav-btn {
    display: none;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 10px;
    cursor: pointer;
    color: #f8fafc;
    flex-shrink: 0;
}

.site-shell .site-mobile-nav-icon--close {
    display: none;
}

.site-shell .site-mobile-nav-btn[aria-expanded="true"] .site-mobile-nav-icon--open {
    display: none;
}

.site-shell .site-mobile-nav-btn[aria-expanded="true"] .site-mobile-nav-icon--close {
    display: block;
}

.site-shell .site-nav-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(3, 7, 18, 0.55);
    z-index: 1090;
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}

.site-shell .site-nav-backdrop.is-visible {
    display: block;
}

body.site-nav-open {
    overflow: hidden;
}

.site-shell .site-mobile-drawer {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: min(320px, 88vw);
    background: #0b1220;
    z-index: 1100;
    transform: translateX(-105%);
    transition: transform 0.28s ease, visibility 0.28s;
    display: flex;
    flex-direction: column;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
    visibility: hidden;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.site-shell .site-mobile-drawer.is-open {
    transform: translateX(0);
    visibility: visible;
}

.site-shell .site-mobile-drawer__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.04);
}

.site-shell .site-mobile-drawer__title {
    color: #f8fafc;
    font-weight: 800;
    font-size: 1rem;
}

.site-shell .site-mobile-drawer__close {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.06);
    color: #cbd5e1;
    cursor: pointer;
}

.site-shell .site-mobile-drawer__nav {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: 1rem;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.site-shell .site-mobile-drawer__nav .site-nav-link {
    display: block;
    padding: 0.75rem 0.85rem;
    border-radius: 12px;
    color: rgba(255, 255, 255, 0.82);
}

.site-shell .site-mobile-drawer__nav .site-nav-link:hover,
.site-shell .site-mobile-drawer__nav .site-nav-link.active {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

.site-shell .site-mobile-drawer__nav .site-nav-link.active::after {
    display: none;
}

/* --- SECTION: DARK CONTACT HERO --- */
.contact-hero-wrapper {
    background-color: var(--bg-dark);
    position: relative;
    overflow: hidden;
}

.contact-hero-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 100% 0%, rgba(99, 102, 241, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.contact-hero {
    min-height: 50vh;
    padding-top: 10rem;
    padding-bottom: 6rem;
    text-align: center;
}

/* --- SECTION: LIGHT CONTACT CONTENT --- */
.contact-content-wrapper {
    background-color: var(--bg-light);
    padding: 8rem 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 6rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.contact-info-card {
    background: var(--bg-soft);
    padding: 3rem;
    border-radius: 32px;
    border: 1px solid var(--glass-border);
}

.info-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.info-icon {
    width: 54px;
    height: 54px;
    background: white;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.info-item h4 {
    margin: 0 0 0.25rem 0;
    color: var(--text-main-light);
    font-size: 1.1rem;
    font-weight: 700;
}

.info-item p {
    margin: 0;
    color: var(--text-muted-light);
}

.contact-form-card {
    background: #ffffff;
    padding: 4rem;
    border-radius: 32px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--glass-border);
}

.form-group {
    margin-bottom: 2rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: var(--text-main-light);
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
}

.form-group input, 
.form-group select, 
.form-group textarea {
    width: 100%;
    padding: 1rem 1.25rem;
    border-radius: 14px;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    color: var(--text-main-light);
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus, 
.form-group select:focus, 
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(31, 122, 224, 0.1);
}

/* --- SECTION: DARK AUTH HERO --- */
.auth-hero-wrapper {
    background-color: var(--bg-dark);
    position: relative;
    overflow: hidden;
    min-height: 40vh;
}

.auth-hero-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 100%, rgba(31, 122, 224, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.auth-hero {
    padding-top: 10rem;
    padding-bottom: 4rem;
    text-align: center;
}

/* --- SECTION: LIGHT AUTH CONTENT --- */
.auth-content-wrapper {
    background-color: var(--bg-light);
    padding-bottom: 8rem;
    margin-top: -4rem; /* Overlap with hero */
    position: relative;
    z-index: 10;
}

.auth-container {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    align-items: center;
}

.auth-visual-card {
    padding: 2rem;
}

.auth-form-card {
    background: #ffffff;
    padding: 4rem;
    border-radius: 32px;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--glass-border);
}

.auth-header {
    margin-bottom: 3rem;
}

.auth-header h2 {
    font-size: 2.25rem;
    color: var(--text-main-light);
    font-weight: 800;
    margin-bottom: 0.75rem;
}

.auth-header p {
    color: var(--text-muted-light);
    font-size: 1.1rem;
}

.auth-footer {
    margin-top: 2.5rem;
    text-align: center;
    color: var(--text-muted-light);
}

.auth-footer a {
    color: var(--primary);
    font-weight: 700;
    text-decoration: none;
}

/* Form refinement for auth */
.auth-form .form-group {
    margin-bottom: 1.5rem;
}

.auth-form input {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    font-size: 1.1rem;
    padding: 1.1rem 1.25rem;
}

.auth-form input:focus {
    background: #ffffff;
    border-color: var(--primary);
}

.auth-form .btn-primary {
    width: 100%;
    padding: 1.25rem;
    font-size: 1.1rem;
    margin-top: 1rem;
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s cubic-bezier(0.2, 0.8, 0.2, 1), transform 1s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 1200px) {
    .site-shell .site-nav--desktop {
        display: none;
    }

    .site-shell .site-mobile-nav-btn {
        display: flex;
    }

    .site-shell .header-actions--bar {
        display: none;
    }

    .site-shell .site-mobile-drawer .header-actions--drawer {
        display: flex;
        padding: 0 1rem 1rem;
        margin-top: auto;
    }
}

@media (max-width: 1024px) {
    .site-hero,
    .solution-grid,
    .pricing-tier-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
        padding: 0 1.25rem;
    }

    .contact-hero,
    .auth-hero {
        padding-top: 7rem;
        padding-bottom: 4rem;
        min-height: auto;
    }

    .capabilities-wrapper,
    .contact-content-wrapper {
        padding: 5rem 0;
    }

    .section-heading h2 {
        font-size: clamp(1.75rem, 4vw, 2.5rem);
    }
}

@media (max-width: 768px) {
    .site-shell .site-logo {
        height: 36px;
    }

    .site-shell .site-header-bar {
        gap: 0.35rem 0.65rem;
    }

    .site-hero {
        min-height: auto;
        padding: 4.5rem 1.25rem 3rem;
        gap: 2rem;
    }

    .site-hero-visual {
        min-height: 280px !important;
    }

    .auth-content-wrapper {
        padding: 2rem 1rem 3rem;
    }

    .auth-form-card {
        padding: 1.75rem 1.25rem;
    }

    .contact-info-card,
    .contact-form-card {
        padding: 1.75rem;
    }

    .policy-content {
        padding: 2.5rem 1.25rem;
    }
}

@media (max-width: 640px) {
    .site-shell .header-actions--drawer .btn {
        padding: 0.85rem 1rem;
    }

    .site-hero h1 {
        font-size: clamp(1.85rem, 8vw, 2.5rem);
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .site-shell .site-mobile-drawer {
        width: min(300px, 92vw);
    }
}
