/* ============================================
   vShip - Home / Landing Page Styles
   Main Color: #05ce78 (Green)
   ============================================ */

:root {
    --primary: #05ce78;
    --primary-dark: #04b06a;
    --primary-light: #e8faf1;
    --primary-rgb: 5, 206, 120;
    --dark: #0f172a;
    --dark-2: #1e293b;
    --font: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: var(--font);
    color: #334155;
    line-height: 1.6;
    overflow-x: hidden;
    background: #fff;
}

/* ---- Utility ---- */
.fw-500 { font-weight: 500; }
.fw-600 { font-weight: 600; }
.fw-700 { font-weight: 700; }

.text-gradient {
    background: linear-gradient(135deg, var(--primary), #34d399);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.btn-cta {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border: none;
    color: #fff;
    font-weight: 600;
    border-radius: 0.5rem;
    transition: all 0.3s;
}
.btn-cta:hover {
    background: linear-gradient(135deg, var(--primary-dark), #039d5a);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(var(--primary-rgb), 0.4);
}

.section-padding { padding: 5rem 0; }

.section-badge {
    display: inline-block;
    background: var(--primary-light);
    color: var(--primary-dark);
    font-size: 0.8125rem;
    font-weight: 600;
    padding: 0.35rem 1rem;
    border-radius: 2rem;
    margin-bottom: 0.75rem;
}

.section-title {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.section-desc {
    color: #64748b;
    font-size: 1.0625rem;
    max-width: 600px;
    margin: 0 auto;
}

/* ============================================
   Navbar
   ============================================ */
.navbar {
    background: transparent;
    padding: 1rem 0;
    transition: all 0.35s;
    z-index: 1050;
}

.navbar.scrolled {
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(12px);
    padding: 0.6rem 0;
    box-shadow: 0 2px 20px rgba(0,0,0,0.15);
}

.brand-icon {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.1rem;
}

.brand-text {
    font-size: 1.35rem;
    font-weight: 700;
    color: #fff;
}

.navbar .nav-link {
    color: rgba(255,255,255,0.8);
    font-weight: 500;
    font-size: 0.9375rem;
    padding: 0.5rem 1rem;
    transition: color 0.2s;
}

.navbar .nav-link:hover { color: var(--primary); }

.navbar-toggler { color: #fff; }

/* Mobile sidebar */
.mobile-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 1060;
}
.mobile-overlay.show { display: block; }

.mobile-sidebar {
    position: fixed;
    top: 0;
    right: -300px;
    width: 280px;
    height: 100vh;
    background: #fff;
    z-index: 1070;
    transition: right 0.3s ease;
    overflow-y: auto;
}
.mobile-sidebar.show { right: 0; }

.mobile-nav-link {
    display: block;
    padding: 0.75rem 0;
    color: #334155;
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px solid #f1f5f9;
}
.mobile-nav-link:hover { color: var(--primary); }

/* ============================================
   Hero
   ============================================ */
.hero-section {
    position: relative;
    background: linear-gradient(160deg, var(--dark) 0%, var(--dark-2) 50%, #0f2a1e 100%);
    padding: 7rem 0 5rem;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.min-vh-hero { min-height: 75vh; }

.hero-bg-shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hero-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.08;
}

.shape-1 {
    width: 600px; height: 600px;
    background: var(--primary);
    top: -200px; right: -100px;
    filter: blur(80px);
}

.shape-2 {
    width: 400px; height: 400px;
    background: #34d399;
    bottom: -100px; left: -50px;
    filter: blur(60px);
}

.shape-3 {
    width: 300px; height: 300px;
    background: #3b82f6;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    filter: blur(100px);
    opacity: 0.04;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(var(--primary-rgb), 0.15);
    color: var(--primary);
    padding: 0.4rem 1rem;
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 500;
}

.hero-title {
    font-size: 3.25rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.15;
    margin-bottom: 1.25rem;
}

.hero-desc {
    font-size: 1.125rem;
    color: rgba(255,255,255,0.7);
    line-height: 1.7;
    max-width: 520px;
    margin-bottom: 2rem;
}

.hero-stats {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 1.25rem;
}

.hero-stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.hero-stat-label {
    font-size: 0.8125rem;
    color: rgba(255,255,255,0.5);
}

/* Hero visual (right side floating cards) */
.hero-visual {
    position: relative;
    height: 450px;
}

.hero-card {
    position: absolute;
    background: rgba(255,255,255,0.95);
    border-radius: 0.75rem;
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    animation: floatCard 6s ease-in-out infinite;
    backdrop-filter: blur(10px);
    min-width: 260px;
}

.hero-card i { font-size: 1.5rem; }

.card-1 { top: 20%; left: 10%; animation-delay: 0s; }
.card-2 { top: 45%; right: 5%; animation-delay: 2s; }
.card-3 { bottom: 10%; left: 15%; animation-delay: 4s; }

@keyframes floatCard {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.hero-globe {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 10rem;
    color: rgba(var(--primary-rgb), 0.08);
    z-index: 0;
}

/* ============================================
   Feature Cards
   ============================================ */
.feature-card {
    background: #fff;
    border: 1px solid #f1f5f9;
    border-radius: 0.75rem;
    padding: 2rem;
    height: 100%;
    transition: all 0.3s;
}

.feature-card:hover {
    border-color: rgba(var(--primary-rgb), 0.3);
    box-shadow: 0 8px 30px rgba(var(--primary-rgb), 0.1);
    transform: translateY(-4px);
}

.feature-icon {
    width: 52px;
    height: 52px;
    background: var(--primary-light);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 1.25rem;
}

.feature-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.feature-desc {
    color: #64748b;
    font-size: 0.9375rem;
    margin: 0;
    line-height: 1.6;
}

/* ============================================
   Steps (How it works)
   ============================================ */
.step-card {
    text-align: center;
    padding: 2rem 1.5rem;
    position: relative;
    height: 100%;
}

.step-number {
    font-size: 3rem;
    font-weight: 800;
    color: rgba(var(--primary-rgb), 0.1);
    line-height: 1;
    margin-bottom: 0.75rem;
}

.step-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #fff;
    margin: 0 auto 1rem;
    box-shadow: 0 4px 16px rgba(var(--primary-rgb), 0.3);
}

.step-title {
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.step-desc {
    color: #64748b;
    font-size: 0.9375rem;
    margin: 0;
}

/* ============================================
   Use Cases
   ============================================ */
.usecase-card {
    background: #fff;
    border: 1px solid #f1f5f9;
    border-radius: 0.75rem;
    padding: 2rem;
    height: 100%;
    transition: all 0.3s;
}

.usecase-card:hover {
    border-color: rgba(var(--primary-rgb), 0.3);
    box-shadow: 0 8px 30px rgba(var(--primary-rgb), 0.1);
    transform: translateY(-4px);
}

.usecase-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    color: #fff;
    margin-bottom: 1rem;
}

.usecase-title {
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.usecase-desc {
    color: #64748b;
    font-size: 0.9375rem;
    margin: 0;
    line-height: 1.6;
}

/* ============================================
   Pricing
   ============================================ */
.billing-toggle {
    border: 1px solid #e2e8f0;
}
.billing-label {
    font-size: 0.875rem;
    color: #475569;
    font-weight: 400;
    user-select: none;
}
.form-check-input:checked {
    background-color: var(--primary);
    border-color: var(--primary);
}

.pricing-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
    padding: 2rem;
    height: 100%;
    transition: all 0.3s;
    position: relative;
}

.pricing-card:hover {
    border-color: rgba(var(--primary-rgb), 0.3);
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    transform: translateY(-4px);
}

.pricing-popular {
    border-color: var(--primary);
    box-shadow: 0 4px 20px rgba(var(--primary-rgb), 0.15);
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 1rem;
    border-radius: 2rem;
    white-space: nowrap;
}

.pricing-header {
    text-align: center;
    padding-bottom: 1.25rem;
    margin-bottom: 1.25rem;
    border-bottom: 1px solid #f1f5f9;
}

.pricing-name {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.75rem;
}

.pricing-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.125rem;
    margin-bottom: 0.5rem;
}

.pricing-currency {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--dark);
}

.pricing-amount {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--dark);
    line-height: 1;
}

.pricing-period {
    font-size: 0.875rem;
    color: #94a3b8;
}

.pricing-desc {
    font-size: 0.875rem;
    color: #64748b;
    margin: 0;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
}

.pricing-features li {
    padding: 0.5rem 0;
    font-size: 0.9375rem;
    color: #475569;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pricing-features li i {
    color: var(--primary);
    font-size: 1.1rem;
}

/* ============================================
   CTA Section
   ============================================ */
.cta-section {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    padding: 4rem 0;
}

.cta-title {
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 0.75rem;
}

.cta-desc {
    color: rgba(255,255,255,0.85);
    font-size: 1.125rem;
    margin-bottom: 2rem;
}

/* ============================================
   Footer
   ============================================ */
.site-footer {
    background: var(--dark);
    padding: 3.5rem 0 0;
    color: #94a3b8;
}

.footer-desc {
    font-size: 0.875rem;
    color: #94a3b8;
    line-height: 1.7;
    max-width: 320px;
}

.footer-heading {
    color: #fff;
    font-weight: 600;
    font-size: 0.9375rem;
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li { margin-bottom: 0.5rem; }

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s;
}

.footer-links a:hover { color: var(--primary); }

.footer-bottom {
    margin-top: 2.5rem;
    padding: 1.25rem 0;
    border-top: 1px solid rgba(255,255,255,0.08);
    text-align: center;
}

.footer-bottom p {
    margin: 0;
    font-size: 0.8125rem;
    color: #64748b;
}

/* ============================================
   Scroll Animations
   ============================================ */
.animate-target {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-target.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger children */
.row > .col-md-6:nth-child(2) .animate-target,
.row > .col-lg-4:nth-child(2) .animate-target,
.row > .col-lg-3:nth-child(2) .animate-target { transition-delay: 0.1s; }
.row > .col-md-6:nth-child(3) .animate-target,
.row > .col-lg-4:nth-child(3) .animate-target,
.row > .col-lg-3:nth-child(3) .animate-target { transition-delay: 0.2s; }
.row > .col-lg-4:nth-child(4) .animate-target,
.row > .col-lg-3:nth-child(4) .animate-target { transition-delay: 0.3s; }
.row > .col-lg-4:nth-child(5) .animate-target { transition-delay: 0.4s; }
.row > .col-lg-4:nth-child(6) .animate-target { transition-delay: 0.5s; }

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 991.98px) {
    .hero-title { font-size: 2.5rem; }
    .hero-section { padding: 6rem 0 3rem; min-height: auto; }
    .section-title { font-size: 1.75rem; }
    .section-padding { padding: 3.5rem 0; }
    .navbar .collapse { display: none !important; }
}

@media (max-width: 575.98px) {
    .hero-title { font-size: 2rem; }
    .hero-desc { font-size: 1rem; }
    .hero-stats { flex-direction: column; gap: 1rem !important; }
    .section-title { font-size: 1.5rem; }
    .cta-title { font-size: 1.5rem; }
    .pricing-amount { font-size: 2rem; }
}

/* ============================================
   Scrollbar
   ============================================ */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #94a3b8; }
