/* ==========================================================================
   Vediway Logistics - Modern Responsive Design System
   ========================================================================== */

:root {
    --bg-main: #070B14;
    --bg-surface: #0E1626;
    --bg-surface-alt: #131E33;
    --bg-surface-elevated: #1B2945;
    
    --primary-navy: #0A192F;
    --primary-amber: #F59E0B;
    --primary-amber-hover: #D97706;
    --primary-emerald: #10B981;
    --primary-emerald-hover: #059669;
    --accent-sky: #0284C7;
    --danger-rose: #EF4444;

    --border-subtle: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(255, 255, 255, 0.2);
    --border-accent: rgba(16, 185, 129, 0.35);

    --text-pure: #FFFFFF;
    --text-main: #F1F5F9;
    --text-muted: #94A3B8;
    --text-dim: #64748B;

    --font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-full: 9999px;

    --shadow-card: 0 15px 35px -5px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 45px rgba(16, 185, 129, 0.15);
    --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Scaffolding */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-family);
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Utility Helpers */
a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.vw-container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section-padded {
    padding: 6rem 0;
    position: relative;
}

.bg-surface-alt {
    background-color: var(--bg-surface);
}

.gradient-text {
    background: linear-gradient(135deg, #10B981 0%, #34D399 40%, #F59E0B 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-emerald { color: var(--primary-emerald); }
.text-amber { color: var(--primary-amber); }
.text-sky { color: var(--accent-sky); }

/* Glassmorphism Surface */
.glass-card {
    background: rgba(14, 22, 38, 0.75);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    transition: var(--transition);
}

.glass-card:hover {
    border-color: var(--border-hover);
}

/* Typography & Section Titles */
.section-title-wrap {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 3.75rem auto;
}

.section-kicker {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--primary-emerald);
    margin-bottom: 0.75rem;
}

.section-title {
    font-size: 2.35rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--text-pure);
    line-height: 1.25;
    margin-bottom: 1rem;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.6;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 0.95rem;
    padding: 0.8rem 1.6rem;
    border-radius: var(--radius-full);
    cursor: pointer;
    border: none;
    transition: var(--transition);
    text-align: center;
}

.btn-primary {
    background-color: var(--primary-emerald);
    color: #FFFFFF;
}

.btn-primary:hover {
    background-color: var(--primary-emerald-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.35);
}

.btn-accent {
    background-color: var(--primary-amber);
    color: #000000;
}

.btn-accent:hover {
    background-color: var(--primary-amber-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.35);
}

.btn-outline-light {
    background: transparent;
    color: var(--text-main);
    border: 1px solid var(--border-subtle);
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--border-hover);
}

.btn-outline-dark {
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-pure);
    border: 1px solid var(--border-subtle);
}

.btn-outline-dark:hover {
    background: rgba(16, 185, 129, 0.1);
    border-color: var(--primary-emerald);
    color: var(--primary-emerald);
}

.btn-glass {
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(10px);
    color: var(--text-pure);
    border: 1px solid var(--border-subtle);
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--border-hover);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 0.95rem 2rem;
    font-size: 1rem;
}

.btn-xl {
    padding: 1rem 2.25rem;
    font-size: 1.05rem;
}

.btn-block {
    width: 100%;
}

/* Header & Nav */
.vw-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(7, 11, 20, 0.85);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border-subtle);
    transition: var(--transition);
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    font-size: 1.45rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--text-pure);
}

.brand-accent {
    color: var(--primary-emerald);
}

.logo-icon-box {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-emerald), #059669);
    color: #FFFFFF;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2.25rem;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-muted);
    position: relative;
    padding: 0.25rem 0;
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-pure);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary-emerald);
    border-radius: var(--radius-full);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.nav-toggle {
    display: none;
    background: transparent;
    border: none;
    color: var(--text-pure);
    font-size: 1.4rem;
    cursor: pointer;
}

.nav-auth-mobile {
    display: none;
}

/* Hero Section (Centered Showcase Layout) */
.hero-section {
    position: relative;
    padding: 10rem 0 6.5rem 0;
    overflow: hidden;
}

.ambient-glow {
    position: absolute;
    width: 550px;
    height: 550px;
    border-radius: 50%;
    filter: blur(160px);
    z-index: 0;
    pointer-events: none;
}

.glow-1 {
    top: 5%;
    left: 15%;
    background: rgba(16, 185, 129, 0.12);
}

.glow-2 {
    bottom: 5%;
    right: 15%;
    background: rgba(245, 158, 11, 0.1);
}

.hero-center-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 920px;
    margin: 0 auto;
}

.pill-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.45rem 1.15rem;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.25);
    border-radius: var(--radius-full);
    color: var(--primary-emerald);
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 1.75rem;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: var(--primary-emerald);
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    animation: pulse 1.8s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.hero-heading-lg {
    font-size: 3.6rem;
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: -0.03em;
    color: var(--text-pure);
    margin-bottom: 1.5rem;
}

.hero-subtext-lg {
    font-size: 1.15rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin: 0 auto 2.75rem auto;
    max-width: 780px;
}

.hero-center-cta {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.25rem;
    margin-bottom: 4rem;
}

.hero-center-metrics {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-subtle);
    max-width: 780px;
    margin: 0 auto;
}

.metric-card h4 {
    font-size: 1.55rem;
    font-weight: 800;
    color: var(--text-pure);
}

.metric-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.metric-divider {
    width: 1px;
    height: 38px;
    background: var(--border-subtle);
}

/* What We Do / Operations Dual Grid */
.operations-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
}

.operation-card {
    padding: 3rem;
    display: flex;
    flex-direction: column;
}

.operation-header {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-subtle);
}

.persona-icon-box {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
}

.bg-navy-glow {
    background: rgba(16, 185, 129, 0.12);
    color: var(--primary-emerald);
    border: 1px solid rgba(16, 185, 129, 0.25);
}

.bg-amber-glow {
    background: rgba(245, 158, 11, 0.12);
    color: var(--primary-amber);
    border: 1px solid rgba(245, 158, 11, 0.25);
}

.operation-header h3 {
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--text-pure);
}

.operation-header p {
    font-size: 0.88rem;
    color: var(--text-muted);
}

.operation-body {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    flex-grow: 1;
}

.op-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.op-bullet-icon {
    width: 36px;
    height: 36px;
    background: var(--bg-surface-elevated);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.op-feature-item h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-pure);
    margin-bottom: 0.35rem;
}

.op-feature-item p {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.55;
}

/* Workflow Steps */
.workflow-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.wf-step {
    padding: 2.5rem 1.75rem;
    position: relative;
}

.wf-step-num {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    font-size: 1.5rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.06);
}

.wf-step-icon {
    width: 52px;
    height: 52px;
    background: var(--bg-surface-elevated);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-emerald);
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
}

.wf-step h4 {
    font-size: 1.18rem;
    font-weight: 800;
    color: var(--text-pure);
    margin-bottom: 0.75rem;
}

.wf-step p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.55;
}

/* Trust & Security Layer */
.security-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.sec-card {
    padding: 2.5rem;
}

.sec-icon {
    width: 54px;
    height: 54px;
    background: var(--bg-surface-elevated);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
}

.sec-card h4 {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-pure);
    margin-bottom: 0.75rem;
}

.sec-card p {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Bottom CTA Banner */
.cta-banner {
    padding: 3.5rem 2rem;
    text-align: center;
    background: linear-gradient(135deg, rgba(14, 22, 38, 0.9) 0%, rgba(19, 30, 51, 0.9) 100%);
    border: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-glow);
}

.cta-banner-content {
    max-width: 680px;
    margin: 0 auto;
}

.cta-banner-content h2 {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--text-pure);
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.cta-banner-content p {
    font-size: 1.05rem;
    color: var(--text-muted);
    margin-bottom: 2.25rem;
}

.cta-btn-group {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
}

/* Footer */
.vw-footer {
    background: #04070D;
    border-top: 1px solid var(--border-subtle);
    padding: 5.5rem 0 2rem 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.2fr 1.3fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 1.15rem 0 1.5rem 0;
}

.pg-partner-card span {
    display: block;
    font-size: 0.78rem;
    color: var(--text-dim);
    margin-bottom: 0.35rem;
}

.pg-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--primary-emerald);
}

.footer-col h4 {
    font-size: 1rem;
    font-weight: 800;
    color: var(--text-pure);
    margin-bottom: 1.35rem;
}

.footer-nav li,
.footer-contact li {
    margin-bottom: 0.85rem;
}

.footer-nav a {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-nav a:hover {
    color: var(--primary-emerald);
    padding-left: 4px;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: var(--text-muted);
    font-size: 0.88rem;
}

.footer-contact i {
    color: var(--primary-emerald);
    margin-top: 4px;
}

.footer-bottom {
    border-top: 1px solid var(--border-subtle);
    padding-top: 2rem;
}

.footer-bottom-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: var(--text-dim);
}

/* Responsive Breakpoints */
@media (max-width: 992px) {
    .hero-heading-lg {
        font-size: 2.85rem;
    }
    .operations-grid,
    .workflow-steps,
    .security-grid {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: block;
    }
    .nav-btn-desktop {
        display: none;
    }
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--bg-main);
        flex-direction: column;
        padding: 2.5rem 2rem;
        transition: var(--transition);
        border-top: 1px solid var(--border-subtle);
    }
    .nav-menu.active {
        left: 0;
    }
    .nav-links {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.75rem;
        margin-bottom: 2.5rem;
    }
    .nav-auth-mobile {
        display: flex;
        flex-direction: column;
        gap: 0.85rem;
        width: 100%;
    }
    .hero-heading-lg {
        font-size: 2.25rem;
    }
    .hero-center-metrics {
        flex-direction: column;
        gap: 1.5rem;
    }
    .metric-divider {
        display: none;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .footer-bottom-flex {
        flex-direction: column;
        gap: 0.75rem;
        text-align: center;
    }
}


/* ==========================================================================
   About Page Specific Layouts
   ========================================================================== */

.text-left {
    text-align: left;
}

.about-story-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3.5rem;
    align-items: center;
}

.story-paragraph {
    font-size: 1.02rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 1.35rem;
}

.story-visual {
    padding: 2.25rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.story-stat-card {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    padding: 1.25rem;
    background: var(--bg-surface-elevated);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-subtle);
}

.stat-icon-wrap {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.story-stat-card h3 {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--text-pure);
    margin-bottom: 0.25rem;
}

.story-stat-card p {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.45;
}

/* Pillars 4-Column Grid */
.pillars-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.75rem;
}

.pillar-card {
    padding: 2.25rem 1.75rem;
    display: flex;
    flex-direction: column;
}

.pillar-icon {
    width: 52px;
    height: 52px;
    background: var(--bg-surface-elevated);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    margin-bottom: 1.5rem;
    border: 1px solid var(--border-subtle);
}

.pillar-card h3 {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--text-pure);
    margin-bottom: 0.85rem;
    line-height: 1.35;
}

.pillar-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Governance Details */
.governance-card {
    padding: 3.5rem;
}

.gov-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 3rem auto;
}

.gov-header h2 {
    font-size: 2.1rem;
    font-weight: 800;
    color: var(--text-pure);
    margin-bottom: 0.75rem;
}

.gov-header p {
    color: var(--text-muted);
    font-size: 1rem;
}

.gov-details-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.gov-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--bg-surface-elevated);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-subtle);
}

.gov-item i {
    font-size: 1.35rem;
    color: var(--primary-emerald);
    margin-top: 3px;
    flex-shrink: 0;
}

.gov-item strong {
    display: block;
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--text-pure);
    margin-bottom: 0.25rem;
}

.gov-item span {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.45;
}

/* Responsive for About Page */
@media (max-width: 992px) {
    .about-story-grid {
        grid-template-columns: 1fr;
    }
    .pillars-grid,
    .gov-details-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .pillars-grid,
    .gov-details-grid {
        grid-template-columns: 1fr;
    }
    .governance-card {
        padding: 2rem 1.5rem;
    }
}



/* ==========================================================================
   Contact Page Specific Layouts
   ========================================================================== */

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 3.5rem;
    align-items: flex-start;
}

.contact-cards-stack {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-top: 2rem;
}

.contact-channel-card {
    padding: 1.5rem;
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
}

.channel-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.channel-details h4 {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--text-pure);
    margin-bottom: 0.2rem;
}

.channel-details p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.channel-link {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--primary-emerald);
    display: inline-block;
}

.channel-link:hover {
    color: var(--primary-emerald-hover);
    text-decoration: underline;
}

.operational-badge {
    display: inline-block;
    font-size: 0.78rem;
    color: var(--primary-amber);
    font-weight: 700;
    margin-top: 0.25rem;
}

/* Contact Form Card */
.contact-form-card {
    padding: 2.75rem;
}

.form-card-header {
    margin-bottom: 2rem;
}

.form-card-header h3 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-pure);
    margin-bottom: 0.35rem;
}

.form-card-header p {
    font-size: 0.92rem;
    color: var(--text-muted);
}

textarea.vw-input {
    resize: vertical;
    min-height: 110px;
}

.form-feedback-msg {
    margin-top: 1.25rem;
    padding: 1rem;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 600;
    display: none;
    text-align: center;
}

.form-feedback-msg.success {
    display: block;
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid var(--primary-emerald);
    color: var(--primary-emerald);
}

.form-feedback-msg.error {
    display: block;
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid var(--danger-rose);
    color: var(--danger-rose);
}

/* Responsive for Contact Grid */
@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .contact-form-card {
        padding: 2rem 1.5rem;
    }
}


/* ==========================================================================
   Form System & Input Controls
   ========================================================================== */

.vw-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    width: 100%;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
    margin-bottom: 0;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--text-main, #F1F5F9);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    width: 100%;
}

/* Master Input Styling (Inputs, Selects, Textareas) */
.vw-input {
    width: 100%;
    display: block;
    padding: 0.85rem 1.15rem;
    background-color: var(--bg-surface-elevated, #1B2945);
    border: 1px solid var(--border-subtle, rgba(255, 255, 255, 0.12));
    border-radius: var(--radius-sm, 8px);
    color: #FFFFFF;
    font-family: var(--font-family, inherit);
    font-size: 0.95rem;
    outline: none;
    box-sizing: border-box;
    transition: var(--transition, all 0.25s ease);
}

.vw-input::placeholder {
    color: var(--text-dim, #64748B);
}

.vw-input:focus {
    border-color: var(--primary-emerald, #10B981);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
    background-color: #213254;
}

/* Custom Dropdown Select */
select.vw-input {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%2394A3B8' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 14px;
    padding-right: 2.5rem;
}

select.vw-input option {
    background-color: #0E1626;
    color: #FFFFFF;
    padding: 10px;
}

/* Textarea Specifics */
textarea.vw-input {
    resize: vertical;
    min-height: 120px;
    line-height: 1.5;
}

/* Mobile Responsive Fix for Form Rows */
@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
}



/* ==========================================================================
   Pricing Page Specific Styles
   ========================================================================== */

.pricing-specs-table {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1.25rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-subtle);
}

.spec-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.88rem;
    color: var(--text-muted);
}

.spec-row strong {
    color: var(--text-pure);
}

.input-subnote {
    display: block;
    font-size: 0.78rem;
    color: var(--primary-amber);
    margin-top: 0.35rem;
    font-weight: 600;
}

/* 90/10 Split Visual Cards */
.split-display {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.split-card {
    padding: 1rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-subtle);
}

.split-card.driver-share {
    background: rgba(16, 185, 129, 0.08);
    border-color: rgba(16, 185, 129, 0.3);
}

.split-card.platform-share {
    background: rgba(245, 158, 11, 0.08);
    border-color: rgba(245, 158, 11, 0.3);
}

.split-label {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.76rem;
    font-weight: 700;
    color: var(--text-muted);
    margin-bottom: 0.35rem;
}

.split-card h3 {
    font-size: 1.35rem;
    font-weight: 900;
}

.split-card.driver-share h3 {
    color: var(--primary-emerald);
}

.split-card.platform-share h3 {
    color: var(--primary-amber);
}

.split-card p {
    font-size: 0.72rem;
    color: var(--text-dim);
    margin-top: 0.2rem;
}

/* Responsive for Pricing Split */
@media (max-width: 600px) {
    .split-display {
        grid-template-columns: 1fr;
    }
}



/* ==========================================================================
   Pricing Page 10% Commission Styles
   ========================================================================== */

.preset-btn {
    border: 1px solid var(--border-subtle);
    background: var(--bg-surface-elevated);
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 700;
    padding: 0.65rem 0.5rem;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
}

.preset-btn:hover {
    border-color: var(--border-hover);
    color: var(--text-pure);
}

.preset-btn.active {
    background: rgba(16, 185, 129, 0.15);
    border-color: var(--primary-emerald);
    color: var(--primary-emerald);
}

.split-display {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin: 1.25rem 0;
}

.split-card {
    padding: 1.2rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-subtle);
}

.split-card.driver-share {
    background: rgba(16, 185, 129, 0.08);
    border-color: rgba(16, 185, 129, 0.3);
}

.split-card.platform-share {
    background: rgba(245, 158, 11, 0.08);
    border-color: rgba(245, 158, 11, 0.3);
}

.split-label {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--text-muted);
    margin-bottom: 0.4rem;
}

.split-card h3 {
    font-size: 1.5rem;
    font-weight: 900;
}

.split-card.driver-share h3 {
    color: var(--primary-emerald);
}

.split-card.platform-share h3 {
    color: var(--primary-amber);
}

.split-card p {
    font-size: 0.75rem;
    color: var(--text-dim);
    margin-top: 0.25rem;
}

@media (max-width: 600px) {
    .split-display {
        grid-template-columns: 1fr;
    }
}



/* ==========================================================================
   Pricing Page 2-Column Calculator Layout
   ========================================================================== */

.calc-panel {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 2.5rem;
    padding: 2.75rem;
    align-items: start;
    margin: 0 auto;
}

/* Left Column: Form & Controls */
.calc-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.slider-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.slider-value {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--primary-emerald, #10B981);
}

.vw-slider {
    width: 100%;
    height: 8px;
    background: var(--bg-surface-elevated, #1B2945);
    border-radius: var(--radius-full, 9999px);
    outline: none;
    accent-color: var(--primary-emerald, #10B981);
    cursor: pointer;
    margin: 0.5rem 0;
}

/* Quick Preset Buttons */
.calc-chip-group {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem;
    width: 100%;
}

.preset-btn {
    padding: 0.65rem 0.5rem;
    background: var(--bg-surface-elevated, #1B2945);
    border: 1px solid var(--border-subtle, rgba(255, 255, 255, 0.1));
    border-radius: var(--radius-sm, 8px);
    color: var(--text-muted, #94A3B8);
    font-family: var(--font-family, inherit);
    font-size: 0.88rem;
    font-weight: 700;
    cursor: pointer;
    text-align: center;
    transition: var(--transition, all 0.25s ease);
}

.preset-btn:hover {
    border-color: var(--border-hover, rgba(255, 255, 255, 0.3));
    color: #FFFFFF;
}

.preset-btn.active {
    background: rgba(16, 185, 129, 0.15);
    border-color: var(--primary-emerald, #10B981);
    color: var(--primary-emerald, #10B981);
}

.calc-notice {
    display: flex;
    gap: 0.85rem;
    padding: 1.15rem;
    background: rgba(245, 158, 11, 0.08);
    border: 1px dashed rgba(245, 158, 11, 0.35);
    border-radius: var(--radius-md, 14px);
    font-size: 0.85rem;
    color: var(--text-muted, #94A3B8);
    line-height: 1.55;
    margin-top: 0.5rem;
}

.calc-notice i {
    font-size: 1.1rem;
    flex-shrink: 0;
    margin-top: 2px;
}

/* Right Column: Financial Summary Panel */
.calc-breakdown {
    background: var(--bg-surface-elevated, #1B2945);
    border: 1px solid var(--border-subtle, rgba(255, 255, 255, 0.1));
    border-radius: var(--radius-lg, 20px);
    padding: 2.25rem;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.breakdown-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.breakdown-header h4 {
    font-size: 1.2rem;
    font-weight: 800;
    color: #FFFFFF;
}

.live-tag {
    font-size: 0.78rem;
    font-weight: 800;
    color: var(--primary-emerald, #10B981);
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.3);
    padding: 0.3rem 0.75rem;
    border-radius: var(--radius-full, 9999px);
}

.breakdown-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1rem;
    color: var(--text-muted, #94A3B8);
    margin-bottom: 1rem;
}

.breakdown-row strong {
    font-size: 1.35rem;
    font-weight: 800;
    color: #FFFFFF;
}

.breakdown-divider {
    height: 1px;
    background: var(--border-subtle, rgba(255, 255, 255, 0.1));
    margin: 1.25rem 0;
}

/* 90 / 10 Split Cards */
.split-display {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.split-card {
    padding: 1.25rem 1rem;
    border-radius: var(--radius-md, 14px);
    border: 1px solid var(--border-subtle, rgba(255, 255, 255, 0.1));
    display: flex;
    flex-direction: column;
}

.split-card.driver-share {
    background: rgba(16, 185, 129, 0.08);
    border-color: rgba(16, 185, 129, 0.35);
}

.split-card.platform-share {
    background: rgba(245, 158, 11, 0.08);
    border-color: rgba(245, 158, 11, 0.35);
}

.split-label {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--text-muted, #94A3B8);
    margin-bottom: 0.4rem;
}

.split-card h3 {
    font-size: 1.6rem;
    font-weight: 900;
    line-height: 1.2;
}

.split-card.driver-share h3 {
    color: var(--primary-emerald, #10B981);
}

.split-card.platform-share h3 {
    color: var(--primary-amber, #F59E0B);
}

.split-card p {
    font-size: 0.75rem;
    color: var(--text-dim, #64748B);
    margin-top: 0.35rem;
}

.pg-assurance {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: var(--text-dim, #64748B);
    margin-bottom: 1.5rem;
    text-align: center;
}

/* Responsive Media Queries */
@media (max-width: 992px) {
    .calc-panel {
        grid-template-columns: 1fr;
        padding: 2rem 1.5rem;
        gap: 2rem;
    }
}

@media (max-width: 600px) {
    .calc-chip-group {
        grid-template-columns: repeat(2, 1fr);
    }

    .split-display {
        grid-template-columns: 1fr;
    }
}



/* ==========================================================================
   FAQ Accordion Component
   ========================================================================== */

.faq-accordion {
    width: 100%;
    max-width: 860px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.faq-item {
    border-radius: var(--radius-md, 14px);
    border: 1px solid var(--border-subtle, rgba(255, 255, 255, 0.08));
    background: var(--bg-surface, #0E1626);
    overflow: hidden;
    transition: var(--transition, all 0.25s ease);
}

.faq-item:hover {
    border-color: var(--border-hover, rgba(255, 255, 255, 0.2));
}

.faq-item.active {
    border-color: var(--primary-emerald, #10B981);
    background: var(--bg-surface-elevated, #1B2945);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

/* Accordion Trigger Button Reset */
.faq-trigger {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    padding: 1.35rem 1.75rem;
    background: transparent;
    border: none;
    outline: none;
    cursor: pointer;
    text-align: left;
    color: #FFFFFF;
    font-family: var(--font-family, inherit);
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.4;
    transition: color 0.2s ease;
    -webkit-appearance: none;
    appearance: none;
}

.faq-trigger span {
    flex: 1;
    text-align: left;
}

.faq-trigger i {
    font-size: 0.95rem;
    color: var(--primary-emerald, #10B981);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
}

/* Arrow rotation when active */
.faq-item.active .faq-trigger i {
    transform: rotate(180deg);
}

/* Accordion Content Panel */
.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
    padding: 0 1.75rem;
}

.faq-content p {
    font-size: 0.95rem;
    color: var(--text-muted, #94A3B8);
    line-height: 1.65;
    margin: 0;
}

.faq-item.active .faq-content {
    padding-bottom: 1.5rem;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .faq-trigger {
        padding: 1.15rem 1.25rem;
        font-size: 0.95rem;
    }

    .faq-content {
        padding: 0 1.25rem;
    }

    .faq-item.active .faq-content {
        padding-bottom: 1.25rem;
    }
}



/* ==========================================================================
   Legal & Terms Page Layouts
   ========================================================================== */

.legal-hero {
    padding: 8.5rem 0 4.5rem 0;
}

.legal-layout {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 2.5rem;
    align-items: flex-start;
}

/* Sticky Legal Sidebar */
.legal-sidebar {
    position: sticky;
    top: 90px;
    padding: 1.75rem;
    border-radius: var(--radius-md, 14px);
}

.legal-sidebar h4 {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--text-pure, #FFFFFF);
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border-subtle, rgba(255, 255, 255, 0.08));
}

.legal-nav-list {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.legal-nav-list a {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-muted, #94A3B8);
    display: block;
    padding: 0.4rem 0.6rem;
    border-radius: var(--radius-sm, 8px);
    transition: var(--transition, all 0.25s ease);
}

.legal-nav-list a:hover,
.legal-nav-list a.active {
    color: var(--primary-emerald, #10B981);
    background: rgba(16, 185, 129, 0.1);
}

/* Legal Content Body */
.legal-content {
    padding: 3.5rem;
    display: flex;
    flex-direction: column;
    gap: 2.75rem;
}

.legal-block h2 {
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--text-pure, #FFFFFF);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border-subtle, rgba(255, 255, 255, 0.08));
}

.legal-block p {
    font-size: 0.98rem;
    color: var(--text-muted, #94A3B8);
    line-height: 1.75;
    margin-bottom: 1rem;
}

.legal-block ul {
    margin: 1rem 0 1.25rem 1.5rem;
    list-style: disc;
}

.legal-block li {
    font-size: 0.95rem;
    color: var(--text-muted, #94A3B8);
    line-height: 1.7;
    margin-bottom: 0.5rem;
}

.legal-callout {
    background: var(--bg-surface-elevated, #1B2945);
    border: 1px solid var(--border-subtle, rgba(255, 255, 255, 0.1));
    border-left: 4px solid var(--primary-emerald, #10B981);
    border-radius: var(--radius-sm, 8px);
    padding: 1.25rem 1.5rem;
    margin: 1.25rem 0;
    font-size: 0.92rem;
    color: var(--text-main, #F1F5F9);
    line-height: 1.65;
}

.legal-warning {
    background: rgba(239, 68, 68, 0.08);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-left: 4px solid var(--danger-rose, #EF4444);
    border-radius: var(--radius-sm, 8px);
    padding: 1rem 1.25rem;
    margin-top: 1rem;
    color: #FCA5A5 !important;
    font-weight: 600;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .legal-layout {
        grid-template-columns: 1fr;
    }
    .legal-sidebar {
        display: none;
    }
    .legal-content {
        padding: 2.25rem 1.5rem;
    }
}

/* ==========================================================================
   Responsive Brand Logo Styling
   ========================================================================== */

.brand-logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    line-height: 1;
}

/* Header Logo Image */
.brand-logo-img {
    height: 48px;
    width: auto;
    max-width: 160px;
    object-fit: contain;
    border-radius: var(--radius-sm, 8px);
    background: #FFFFFF;
    padding: 3px 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.brand-logo:hover .brand-logo-img {
    transform: scale(1.03);
    box-shadow: 0 6px 16px rgba(16, 185, 129, 0.3);
}

/* Footer Logo Image */
.footer-logo-img {
    height: 56px;
    max-width: 180px;
    padding: 4px 8px;
    margin-bottom: 0.5rem;
}

/* Mobile & Tablet Responsiveness */
@media (max-width: 768px) {
    .brand-logo-img {
        height: 40px;
        max-width: 130px;
        padding: 2px 5px;
    }

    .footer-logo-img {
        height: 48px;
        max-width: 150px;
    }
}

@media (max-width: 480px) {
    .brand-logo-img {
        height: 36px;
        max-width: 115px;
    }
}

.pwa-popup-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.7); backdrop-filter: blur(8px); display: none; place-items: center; z-index: 9999; opacity: 0; transition: opacity 0.3s ease; }
.pwa-popup-overlay.show { display: grid; opacity: 1; }
.pwa-popup-card { background: var(--bg-surface); padding: 2.5rem 2rem; border-radius: var(--radius-lg); border: 1px solid var(--primary-emerald); text-align: center; max-width: 420px; width: 90%; box-shadow: var(--shadow-glow); }
.pwa-popup-card h3 { color: var(--text-pure); font-size: 1.5rem; margin-bottom: 0.75rem; }
.pwa-popup-card p { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 2rem; line-height: 1.6; }
.pwa-actions { display: flex; gap: 1rem; justify-content: center; }