/* =============================================
   Cargo Empire — Professional Landing Page
   ============================================= */

/* ===================== VARIABLES ===================== */
:root {
    --bg-primary: #0a0f1e;
    --bg-secondary: #111827;
    --bg-card: #151c2e;
    --bg-card-hover: #1a2238;
    --accent: #2563eb;
    --accent-light: #3b82f6;
    --accent-subtle: rgba(37, 99, 235, 0.08);
    --accent-shadow: rgba(37, 99, 235, 0.15);
    --text-primary: #f1f5f9;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --border-color: rgba(255, 255, 255, 0.06);
    --border-hover: rgba(255, 255, 255, 0.12);
    --font-head: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --container-width: 1140px;
    --radius: 16px;
    --radius-sm: 10px;
    --radius-lg: 24px;
    --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ===================== RESET ===================== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    background-color: #0a0f1e;
    color: #f1f5f9;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 1.7;
    overflow-x: hidden;
    min-height: 100vh;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

ul, ol {
    list-style: none;
}

/* ===================== LAYOUT ===================== */
.container {
    max-width: 1140px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 24px;
    padding-right: 24px;
    width: 100%;
}

/* ===================== COMMON ===================== */
.section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background-color: rgba(37, 99, 235, 0.08);
    color: #3b82f6;
    border-radius: 100px;
    font-weight: 600;
    font-size: 0.8rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.section-title {
    font-family: 'Outfit', sans-serif;
    font-size: 2.8rem;
    font-weight: 700;
    letter-spacing: -1px;
    line-height: 1.15;
    color: #f1f5f9;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.05rem;
    color: #94a3b8;
    max-width: 560px;
    line-height: 1.7;
}

.section-head {
    text-align: center;
    margin-bottom: 64px;
}

.section-head .section-subtitle {
    margin-left: auto;
    margin-right: auto;
}

/* ===================== BUTTONS ===================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-primary {
    background-color: #2563eb;
    color: #ffffff;
    box-shadow: 0 4px 16px rgba(37, 99, 235, 0.15);
}

.btn-primary:hover {
    background-color: #3b82f6;
    box-shadow: 0 6px 24px rgba(37, 99, 235, 0.2);
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #f1f5f9;
}

.btn-outline:hover {
    border-color: #2563eb;
    color: #3b82f6;
    background-color: rgba(37, 99, 235, 0.05);
}

/* ===================== NAVIGATION ===================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 18px 0;
    background-color: transparent;
    transition: all 0.35s ease;
}

.navbar.scrolled {
    background-color: rgba(10, 15, 30, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding: 12px 0;
}

.nav-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.logo {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: -1px;
    color: #f1f5f9;
    display: flex;
    align-items: center;
    gap: 2px;
    flex-shrink: 0;
}

.logo span {
    color: #3b82f6;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 40px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.nav-links a {
    font-weight: 500;
    font-size: 0.9rem;
    color: #94a3b8;
    transition: color 0.25s ease;
}

.nav-links a:hover {
    color: #f1f5f9;
}

.nav-links .btn {
    padding: 10px 24px;
    font-size: 0.85rem;
    color: #ffffff;
}

/* Hamburger Button */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    background: none;
    border: none;
    z-index: 1002;
    position: relative;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: #f1f5f9;
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu Overlay */
.mobile-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(10, 15, 30, 0.96);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.35s ease;
}

.mobile-overlay.active {
    opacity: 1;
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1001;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 28px;
    transform: translateY(-20px);
    opacity: 0;
    transition: all 0.35s ease;
}

.mobile-menu.active {
    transform: translateY(0);
    opacity: 1;
}

.mobile-menu a {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: #f1f5f9;
    transition: color 0.25s ease;
}

.mobile-menu a:hover {
    color: #3b82f6;
}

/* ===================== HERO ===================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 120px 0 80px;
    background: #0a0f1e url('../assets/hero_transport_v3.png') no-repeat center center / cover;
    overflow: hidden;
    text-align: center;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(10, 15, 30, 0.8) 0%, rgba(10, 15, 30, 0.6) 50%, rgba(10, 15, 30, 0.9) 100%);
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 850px;
    margin: 0 auto;
    text-align: center;
}

.hero-content h1 {
    font-family: 'Outfit', sans-serif;
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -2px;
    margin-bottom: 2rem;
    color: #f1f5f9;
    text-shadow: 0 4px 12px rgba(0,0,0,0.5);
}

.hero-content h1 .highlight {
    color: #3b82f6;
}

.hero-content > p {
    font-size: 1.4rem;
    color: #e2e8f0;
    margin-bottom: 3rem;
    line-height: 1.6;
    text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

.hero-content .store-badges {
    justify-content: center;
}

.store-badges a {
    display: inline-block;
    vertical-align: middle;
    line-height: 0;
}

.store-badges a img {
    height: 42px !important;
    width: auto !important;
    display: inline-block;
    transition: opacity 0.25s ease;
    object-fit: contain;
    vertical-align: middle;
}

.store-badges a:hover img {
    opacity: 0.8;
}

/* Hero Visual */
.hero-content .store-badges {
    justify-content: center;
}

/* ===================== FEATURES ===================== */
.features {
    padding: 120px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    background-color: #151c2e;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 36px 30px;
    transition: all 0.3s ease;
}

.feature-card:hover {
    background-color: #1a2238;
    border-color: rgba(255, 255, 255, 0.12);
    transform: translateY(-4px);
}

.feature-icon {
    width: 52px;
    height: 52px;
    background-color: rgba(37, 99, 235, 0.08);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: #3b82f6;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #f1f5f9;
}

.feature-card p {
    color: #94a3b8;
    font-size: 0.95rem;
    line-height: 1.65;
}

/* ===================== SCREENSHOTS ===================== */
.screenshots {
    padding: 120px 0;
    background-color: #111827;
}

.screenshots-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.screenshot-card {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: all 0.3s ease;
    background-color: #151c2e;
}

.screenshot-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: 0 16px 40px -12px rgba(0, 0, 0, 0.4);
}

.screenshot-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
}

.screenshot-card .caption {
    padding: 20px 24px;
}

.screenshot-card .caption h4 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 4px;
    color: #f1f5f9;
}

.screenshot-card .caption p {
    font-size: 0.85rem;
    color: #64748b;
}

/* 2-column screenshot grid (for real phone screenshots) */
.screenshots-grid--two {
    grid-template-columns: repeat(2, 1fr);
    max-width: 640px;
    margin: 0 auto;
    gap: 32px;
}

.screenshots-grid--two .screenshot-card img {
    height: auto !important;
    width: 100% !important;
    object-fit: contain !important;
}

@media screen and (max-width: 768px) {
    .screenshots-grid--two {
        grid-template-columns: 1fr;
    }
}

/* ===================== STATS ===================== */
.stats {
    padding: 80px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.stat-card {
    text-align: center;
    padding: 40px 20px;
    background-color: #151c2e;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.stat-card:hover {
    border-color: rgba(255, 255, 255, 0.12);
    transform: translateY(-3px);
}

.stat-number {
    display: block;
    font-family: 'Outfit', sans-serif;
    font-size: 2.4rem;
    font-weight: 800;
    color: #3b82f6;
    margin-bottom: 6px;
}

.stat-label {
    font-size: 0.85rem;
    color: #64748b;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ===================== TESTIMONIALS ===================== */
.testimonials {
    padding: 120px 0;
    background-color: #111827;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.testimonial-card {
    background-color: #151c2e;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 32px 28px;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    border-color: rgba(255, 255, 255, 0.12);
    transform: translateY(-3px);
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
}

.user-avatar {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background-color: rgba(37, 99, 235, 0.08);
    border: 1px solid #2563eb;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-family: 'Outfit', sans-serif;
    color: #3b82f6;
    font-size: 1rem;
}

.user-info h4 {
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: #f1f5f9;
    margin-bottom: 2px;
}

.user-info .user-title {
    font-size: 0.8rem;
    color: #64748b;
    font-weight: 500;
}

.rating {
    margin-left: auto;
    display: flex;
    gap: 2px;
    flex-shrink: 0;
}

.rating i {
    font-size: 0.8rem;
    color: #f59e0b;
}

.review-text {
    color: #94a3b8;
    font-size: 0.95rem;
    line-height: 1.7;
    font-style: italic;
}

/* ===================== CTA ===================== */
.cta {
    padding: 120px 0;
}

.cta-box {
    background: linear-gradient(135deg, #111827, #151c2e);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 24px;
    padding: 80px 48px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 2px;
    background-color: #2563eb;
    border-radius: 2px;
}

.cta-box h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 2.8rem;
    font-weight: 700;
    letter-spacing: -1px;
    margin-bottom: 16px;
    color: #f1f5f9;
}

.cta-box > p {
    color: #94a3b8;
    font-size: 1.1rem;
    max-width: 520px;
    margin: 0 auto 40px auto;
}

.cta-badges {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.cta-badges a {
    display: inline-block;
    line-height: 0;
}

.cta-badges a img {
    height: 52px !important;
    width: auto !important;
    max-width: 200px;
    display: block;
    transition: opacity 0.25s ease, transform 0.25s ease;
    object-fit: contain;
}

.cta-badges a:hover img {
    opacity: 0.85;
    transform: translateY(-2px);
}

/* ===================== FOOTER ===================== */
footer {
    padding: 40px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-links {
    display: flex;
    gap: 32px;
}

.footer-links a {
    color: #64748b;
    font-weight: 500;
    font-size: 0.9rem;
    transition: color 0.25s ease;
}

.footer-links a:hover {
    color: #f1f5f9;
}

.footer-copy {
    color: #64748b;
    font-size: 0.8rem;
    text-align: center;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

/* ===================== SCROLL REVEAL ===================== */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.reveal-stagger > .reveal:nth-child(1) { transition-delay: 0ms; }
.reveal-stagger > .reveal:nth-child(2) { transition-delay: 80ms; }
.reveal-stagger > .reveal:nth-child(3) { transition-delay: 160ms; }
.reveal-stagger > .reveal:nth-child(4) { transition-delay: 240ms; }
.reveal-stagger > .reveal:nth-child(5) { transition-delay: 320ms; }
.reveal-stagger > .reveal:nth-child(6) { transition-delay: 400ms; }

/* ===================== RESPONSIVE ===================== */

@media screen and (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 48px;
    }

    .hero-content {
        max-width: 100%;
    }

    .store-badges {
        justify-content: center;
    }

    .hero-visual img {
        max-width: 360px;
        margin: 0 auto;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .screenshots-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
        max-width: 520px;
        margin: 0 auto;
    }
}

@media screen and (max-width: 768px) {
    .hamburger {
        display: flex !important;
    }

    .nav-links {
        display: none !important;
    }

    .section-title {
        font-size: 2rem;
    }

    .hero-content h1 {
        font-size: 2.4rem;
        letter-spacing: -1px;
    }

    .features-grid,
    .screenshots-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cta-box {
        padding: 56px 24px;
    }

    .cta-box h2 {
        font-size: 2rem;
    }

    .footer-inner {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .footer-links {
        gap: 24px;
    }
}

@media screen and (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
    }

    .btn {
        padding: 12px 24px;
        font-size: 0.9rem;
    }

    .store-badges a img {
        height: 40px !important;
    }

    .hero-visual img {
        max-width: 280px;
    }

    .stat-number {
        font-size: 2rem;
    }

    .cta-badges a img {
        height: 44px !important;
    }
}