﻿/* =====================================================
   GLOBAL DESIGN TOKENS (EXPANDED)
   ===================================================== */
:root {
    /* Brand */
    --primary: #2563eb;
    --primary-dark: #1e40af;
    --primary-soft: rgba(37, 99, 235, 0.12);
    --accent: #22c55e;
    --accent-soft: rgba(34, 197, 94, 0.14);
    /* Neutrals */
    --ink: #0f172a;
    --ink-soft: #1e293b;
    --muted: #64748b;
    --muted-light: #94a3b8;
    /* Surfaces */
    --bg: #f8fafc;
    --card: #ffffff;
    --border: #e5e7eb;
    --border-soft: #eef2f7;
    /* Effects */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 14px;
    --shadow-xs: 0 1px 2px rgba(0,0,0,.04);
    --shadow-sm: 0 6px 18px rgba(0,0,0,.06);
    --shadow-md: 0 12px 28px rgba(0,0,0,.10);
    --shadow-lg: 0 20px 48px rgba(0,0,0,.16);
    --ease: cubic-bezier(.4,0,.2,1);
}

/* =====================================================
   GLOBAL BASE RESET
   ===================================================== */
/**,
*::before,
*::after {
    box-sizing: border-box;
}
*/
html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
    color: var(--ink);
    background: var(--bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* =====================================================
   LAYOUT UTILITIES
   ===================================================== */
.ns-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

.ns-container-wide {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
}

/* =====================================================
   TYPOGRAPHY
   ===================================================== */
h1, h2, h3, h4 {
    line-height: 1.2;
    letter-spacing: -0.02em;
}

h1 {
    font-size: clamp(2.2rem, 4vw, 3.2rem);
}

p {
    color: var(--ink-soft);
}

/* =====================================================
   BUTTON SYSTEM (PREMIUM)
   ===================================================== */
.ns-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    padding: 0 18px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    border: 1px solid transparent;
    transition: background .2s var(--ease), color .2s var(--ease), transform .15s var(--ease), box-shadow .15s var(--ease);
    cursor: pointer;
}

.ns-btn-primary {
    background: var(--primary);
    color: #fff;
    box-shadow: var(--shadow-xs);
}

    .ns-btn-primary:hover {
        background: var(--primary-dark);
        transform: translateY(-1px);
        box-shadow: var(--shadow-sm);
    }

.ns-btn-secondary {
    background: #fff;
    color: var(--ink);
    border: 1px solid var(--border);
}

    .ns-btn-secondary:hover {
        border-color: var(--primary);
        color: var(--primary);
        background: var(--primary-soft);
    }

/* =====================================================
   HEADER / NAV (POLISHED)
   ===================================================== */
.ns-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border);
}

.ns-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.navbar-brand img {
    height: 36px;
    width: auto;
    display: block;
}

/* Navigation */
.ns-nav {
    display: flex;
    align-items: center;
    gap: 24px;
}

    .ns-nav a {
        position: relative;
        text-decoration: none;
        font-weight: 500;
        color: var(--muted);
        padding: 6px 0;
        transition: color .2s var(--ease);
    }

        .ns-nav a::after {
            content: "";
            position: absolute;
            left: 0;
            bottom: -6px;
            width: 0;
            height: 2px;
            background: var(--primary);
            transition: width .25s var(--ease);
        }

        .ns-nav a:hover {
            color: var(--ink);
        }

            .ns-nav a:hover::after {
                width: 100%;
            }

/* Actions */
.ns-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

    .ns-actions a:not(.ns-btn) {
        display: inline-flex;
        align-items: center;
        height: 40px;
        font-weight: 500;
        color: var(--muted);
        text-decoration: none;
    }

        .ns-actions a:not(.ns-btn):hover {
            color: var(--ink);
        }

/* =====================================================
   HERO SECTION (CINEMATIC)
   ===================================================== */
.ns-hero {
    position: relative;
    padding: 120px 0;
    overflow: hidden;
}

.ns-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

    .ns-hero-bg img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        opacity: 0.14;
        filter: saturate(0.9);
    }

.ns-hero-grid {
    position: relative;
    z-index: 1;
    max-width: 640px;
}

.ns-eyebrow {
    display: inline-block;
    margin-bottom: 12px;
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--primary);
}

/* =====================================================
   CARDS (ELEVATED)
   ===================================================== */
.ns-card {
    background: var(--card);
    border-radius: var(--radius-lg);
    padding: 32px;
    border: 1px solid var(--border-soft);
    box-shadow: var(--shadow-sm);
    transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}

    .ns-card:hover {
        transform: translateY(-4px);
        box-shadow: var(--shadow-md);
    }

/* =====================================================
   COMPANY PAGE (SCOPED)
   ===================================================== */
.page-company .ns-section {
    padding: 96px 0;
}

.page-company .ns-section-muted {
    background: var(--bg);
}

.page-company .ns-card-grid {
    margin-top: 56px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.page-company .ns-split {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 48px;
}

/* =====================================================
   FOOTER
   ===================================================== */
.ns-footer {
    padding: 32px 0;
    border-top: 1px solid var(--border);
    background: #fff;
    color: var(--muted);
    font-size: 0.9rem;
}

/* =====================================================
   RESPONSIVE POLISH
   ===================================================== */
@media (max-width: 960px) {
    .page-company .ns-card-grid,
    .page-company .ns-split {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 900px) {
    .ns-header-inner {
        flex-wrap: wrap;
        height: auto;
        padding: 16px 0;
        gap: 16px;
    }

    .ns-nav,
    .ns-actions {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
    }
}
/* ===============================
 PLATFORM HERO
================================ */
.ns-platform-hero {
    padding: 120px 0;
    background: linear-gradient(180deg, #ffffff, #f5f8ff);
}

.ns-platform-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 64px;
    align-items: center;
}

.ns-platform-copy h1 {
    font-size: clamp(2.4rem, 4vw, 3.4rem);
    line-height: 1.1;
    margin-bottom: 24px;
}

.ns-platform-copy .ns-lead {
    font-size: 1.1rem;
    color: var(--muted);
    max-width: 520px;
}

.ns-platform-badges {
    margin-top: 28px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

    .ns-platform-badges span {
        background: #eef2ff;
        color: var(--primary-dark);
        padding: 6px 12px;
        border-radius: 999px;
        font-size: 0.85rem;
        font-weight: 500;
    }

/* ===============================
 DASHBOARD MOCK (VISUAL)
================================ */
.ns-dashboard-mock {
    background: #ffffff;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.ns-dashboard-row {
    height: 16px;
    background: linear-gradient( 90deg, #e5e7eb 25%, #f3f4f6 37%, #e5e7eb 63% );
    background-size: 400% 100%;
    animation: shimmer 1.4s infinite;
    border-radius: 6px;
    margin-bottom: 16px;
}

@keyframes shimmer {
    0% {
        background-position: 100% 0;
    }

    100% {
        background-position: -100% 0;
    }
}

/* ===============================
 METRICS
================================ */
.ns-metrics {
    padding: 96px 0;
    background: #ffffff;
}

.ns-metrics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    text-align: center;
}

.ns-metric strong {
    font-size: 2.4rem;
    display: block;
}

.ns-metric span {
    color: var(--muted);
}

/* ===============================
 FEATURE STRIP
================================ */
.ns-feature-strip {
    padding: 96px 0;
    background: #f8fafc;
}

.ns-feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
}

.ns-feature h3 {
    margin-bottom: 8px;
}

/* ===============================
 CTA
================================ */
.ns-platform-cta {
    padding: 96px 0;
    background: var(--primary);
    color: #ffffff;
    text-align: center;
}

    .ns-platform-cta p {
        max-width: 600px;
        margin: 16px auto 32px;
        opacity: 0.9;
    }

/* ===============================
 RESPONSIVE
================================ */
@media (max-width: 960px) {
    .ns-platform-grid,
    .ns-feature-grid,
    .ns-metrics-grid {
        grid-template-columns: 1fr;
    }
}
.ns-price-card.featured {
    transform: scale(1.03);
    border: 2px solid var(--accent);
    box-shadow: var(--shadow-lg);
}

/* ===============================
   PRICING LAYOUT
================================ */

.ns-pricing {
    padding: 96px 0;
}

.ns-pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    align-items: stretch;
}

.ns-price-card {
    background: var(--card);
    border-radius: var(--radius-lg);
    padding: 36px 32px;
    border: 1px solid var(--border-soft);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
}

    .ns-price-card h3 {
        font-size: 1.4rem;
        margin-bottom: 8px;
    }

.ns-price {
    font-size: 2.6rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

    .ns-price span {
        font-size: 0.95rem;
        font-weight: 500;
        color: var(--muted);
    }


.ns-price-sub {
    color: var(--muted);
    margin-bottom: 24px;
}

.ns-price-features {
    list-style: none;
    padding: 0;
    margin: 0 0 28px;
}

    .ns-price-features li {
        margin-bottom: 10px;
        color: var(--ink-soft);
    }

.ns-price-card .ns-btn {
    margin-top: auto;
}

/* Featured (Professional) */
.ns-price-card.featured {
    transform: scale(1.04);
    border: 2px solid var(--accent);
    box-shadow: var(--shadow-lg);
    position: relative;
}

.ns-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 999px;
}
@media (max-width: 900px) {
    .ns-pricing-grid {
        grid-template-columns: 1fr;
    }

    .ns-price-card.featured {
        transform: none;
    }
}
.ns-hero-personal {
    background: #2563eb;
}

.ns-hero-van {
    background: #059669;
}

.ns-hero-business {
    background: #7c3aed;
}

.ns-hero img {
    object-fit: cover;
    width: 100%;
    height: 100%;
    opacity: .85;
}
.ns-hero-van,
.ns-hero-business {
    display: none;
}
.ns-hero-tabs {
    display: flex;
    gap: 12px;
    margin: 40px auto 20px;
}

    .ns-hero-tabs button {
        border: 1px solid var(--border);
        background: white;
        padding: 10px 18px;
        border-radius: 999px;
        font-weight: 600;
        cursor: pointer;
        color: var(--muted);
    }

        .ns-hero-tabs button.active {
            background: var(--primary);
            color: white;
            border-color: var(--primary);
        }

.hero-panel {
    display: none;
}
.ns-hero-wrapper {
    position: relative;
}

.ns-hero {
    position: relative;
    height: 520px;
    display: none;
    overflow: hidden;
}

    .ns-hero.active {
        display: block;
    }

.ns-hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ns-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient( 90deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.35) 40%, rgba(0,0,0,.05) 75% );
}

.ns-hero-content {
    position: relative;
    z-index: 2;
    max-width: 620px;
    padding-top: 140px;
    color: white;
}

    .ns-hero-content h1 {
        font-size: clamp(2.6rem, 4vw, 3.6rem);
        line-height: 1.1;
        margin-bottom: 16px;
    }

    .ns-hero-content p {
        font-size: 1.05rem;
        opacity: .95;
        margin-bottom: 26px;
        color: #f1f5f9;
    }

/* Tabs */
.ns-hero-tabs {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin: 36px auto 18px;
}

    .ns-hero-tabs button {
        padding: 10px 20px;
        border-radius: 999px;
        border: 1px solid var(--border);
        background: white;
        font-weight: 600;
        cursor: pointer;
        color: var(--muted);
    }

        .ns-hero-tabs button.active {
            background: var(--primary);
            color: white;
            border-color: var(--primary);
        }
