/* ================================================================
   Vigor Global VN — assets/css/style.css
   Custom styles extending Tailwind CSS v4 CDN
   ================================================================ */

/* ── Google Font ─────────────────────────────────────────────── */
body {
    font-family: 'Inter', sans-serif;
}

/* ── Admin Bar Offset ────────────────────────────────────────── */
body.admin-bar #vg-header { top: 32px; }
@media screen and (max-width: 782px) {
    body.admin-bar #vg-header { top: 46px; }
}

/* ── Color Variables ─────────────────────────────────────────── */
:root {
    --vg-navy:    #0C1F3F;
    --vg-blue:    #1B3A6B;
    --vg-green:   #2D7D46;
    --vg-green2:  #3A9956;
    --vg-gold:    #D4A017;
    --vg-light:   #F5F7FA;
    --vg-border:  #E5E9EF;
    --vg-text:    #1A2433;
    --vg-muted:   #6B7A8D;
}

/* ── Navbar ──────────────────────────────────────────────────── */
#vg-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
    background: rgba(12, 31, 63, 0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    transition: all 0.3s ease;
}
#vg-header.scrolled {
    background: rgba(12, 31, 63, 1);
    box-shadow: 0 2px 24px rgba(0,0,0,0.3);
}
.vg-nav-link {
    color: rgba(255,255,255,0.85);
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    transition: color 0.2s, background 0.2s;
    text-decoration: none;
    white-space: nowrap;
}
.vg-nav-link:hover {
    color: #fff;
    background: rgba(255,255,255,0.08);
}
.vg-btn-primary {
    background: var(--vg-green);
    color: #fff;
    font-weight: 600;
    font-size: 0.875rem;
    padding: 0.55rem 1.25rem;
    border-radius: 8px;
    text-decoration: none;
    letter-spacing: 0.03em;
    transition: background 0.2s, transform 0.15s;
    display: inline-block;
    white-space: nowrap;
}
.vg-btn-primary:hover {
    background: var(--vg-green2);
    transform: translateY(-1px);
}
.vg-btn-outline {
    border: 2px solid rgba(255,255,255,0.7);
    color: #fff;
    font-weight: 600;
    font-size: 0.875rem;
    padding: 0.55rem 1.25rem;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s;
    display: inline-block;
    white-space: nowrap;
}
.vg-btn-outline:hover {
    background: rgba(255,255,255,0.12);
    border-color: #fff;
}

/* ── Mobile Menu ─────────────────────────────────────────────── */
#vg-mobile-menu {
    display: none;
    background: var(--vg-navy);
    border-top: 1px solid rgba(255,255,255,0.08);
}
#vg-mobile-menu.open {
    display: block;
}
#vg-mobile-menu a {
    display: block;
    color: rgba(255,255,255,0.85);
    padding: 0.85rem 1.5rem;
    font-size: 0.95rem;
    font-weight: 500;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    text-decoration: none;
    transition: color 0.2s, background 0.2s;
}
#vg-mobile-menu a:hover {
    color: #fff;
    background: rgba(255,255,255,0.06);
}
#vg-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
}
#vg-hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: all 0.3s;
}
#vg-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
#vg-hamburger.open span:nth-child(2) { opacity: 0; }
#vg-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1023px) {
    #vg-hamburger { display: flex; }
    #vg-nav-links  { display: none !important; }
    #vg-cta-desktop { display: none !important; }
}

/* ── Hero ────────────────────────────────────────────────────── */
.vg-hero {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--vg-navy) 0%, #1B3A6B 50%, #0C2A4A 100%);
    position: relative;
    display: flex;
    align-items: center;
    padding-top: 80px;
    overflow: hidden;
}
.vg-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('https://static.wixstatic.com/media/af16f8_9c4a6f1f83f94fa6a1c7e4dfb4fde0e3~mv2.jpg') center/cover no-repeat;
    opacity: 0.18;
}
.vg-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(45,125,70,0.25);
    border: 1px solid rgba(45,125,70,0.5);
    color: #6EE0A0;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    padding: 0.4rem 1rem;
    border-radius: 100px;
    margin-bottom: 1.5rem;
}
.vg-hero h1 {
    font-size: clamp(2rem, 5vw, 3.75rem);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: #fff;
    margin-bottom: 1.5rem;
}
.vg-hero h1 span { color: #6EE0A0; }
.vg-hero-desc {
    color: rgba(255,255,255,0.75);
    font-size: clamp(1rem, 1.5vw, 1.15rem);
    line-height: 1.7;
    max-width: 540px;
    margin-bottom: 2.5rem;
}
.vg-stats-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    background: rgba(255,255,255,0.06);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 14px;
    padding: 1.25rem 0;
    margin-top: 3rem;
}
.vg-stat-item {
    flex: 1;
    min-width: 120px;
    text-align: center;
    padding: 0.75rem 1.5rem;
    border-right: 1px solid rgba(255,255,255,0.1);
}
.vg-stat-item:last-child { border-right: none; }
.vg-stat-num {
    font-size: 1.75rem;
    font-weight: 800;
    color: #6EE0A0;
    line-height: 1;
}
.vg-stat-label {
    font-size: 0.72rem;
    font-weight: 500;
    color: rgba(255,255,255,0.6);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-top: 0.25rem;
}

/* ── Section Utility ─────────────────────────────────────────── */
.vg-section { padding: 5rem 1.5rem; }
.vg-section-sm { padding: 3.5rem 1.5rem; }
.vg-container { max-width: 1200px; margin: 0 auto; }
.vg-section-tag {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--vg-green);
    margin-bottom: 0.75rem;
}
.vg-section-title {
    font-size: clamp(1.6rem, 3vw, 2.5rem);
    font-weight: 800;
    color: var(--vg-navy);
    line-height: 1.2;
    letter-spacing: -0.02em;
}
.vg-section-subtitle {
    color: var(--vg-muted);
    font-size: 1.05rem;
    line-height: 1.75;
    margin-top: 1rem;
}

/* ── Trust Cards ─────────────────────────────────────────────── */
.vg-trust-card {
    background: #fff;
    border: 1px solid var(--vg-border);
    border-radius: 16px;
    padding: 1.75rem;
    transition: all 0.3s;
}
.vg-trust-card:hover {
    box-shadow: 0 8px 32px rgba(12,31,63,0.1);
    transform: translateY(-3px);
    border-color: var(--vg-green);
}
.vg-trust-icon {
    width: 48px;
    height: 48px;
    background: #EDFBF3;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    color: var(--vg-green);
}
.vg-trust-card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--vg-navy);
    margin-bottom: 0.4rem;
}
.vg-trust-card p {
    font-size: 0.875rem;
    color: var(--vg-muted);
    line-height: 1.6;
}

/* ── Pain Points ─────────────────────────────────────────────── */
.vg-pain-table {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--vg-border);
}
.vg-pain-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
}
.vg-pain-row:not(:last-child) {
    border-bottom: 1px solid var(--vg-border);
}
.vg-pain-cell {
    padding: 1.25rem 1.75rem;
    font-size: 0.9rem;
    line-height: 1.5;
}
.vg-pain-cell.pain {
    background: #FEF3F2;
    color: #B91C1C;
    border-right: 1px solid var(--vg-border);
}
.vg-pain-cell.solution {
    background: #EDFBF3;
    color: #166534;
}
.vg-pain-header .vg-pain-cell {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.85rem 1.75rem;
}
.vg-pain-header .vg-pain-cell.pain {
    background: #FEE2E2;
}
.vg-pain-header .vg-pain-cell.solution {
    background: #DCFCE7;
}

@media (max-width: 639px) {
    .vg-pain-row { grid-template-columns: 1fr; }
    .vg-pain-cell.pain { border-right: none; border-bottom: 1px solid var(--vg-border); }
    .vg-pain-header .vg-pain-cell.pain { display: none; }
    .vg-pain-header .vg-pain-cell.solution { display: none; }
    .vg-pain-header { display: none; }
}

/* ── Market Cards ────────────────────────────────────────────── */
.vg-market-card {
    background: #fff;
    border-radius: 16px;
    border: 1px solid var(--vg-border);
    overflow: hidden;
    transition: all 0.3s;
}
.vg-market-card:hover {
    box-shadow: 0 10px 40px rgba(12,31,63,0.12);
    transform: translateY(-4px);
}
.vg-market-card-img {
    height: 180px;
    background: var(--vg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.vg-market-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}
.vg-market-card:hover .vg-market-card-img img { transform: scale(1.06); }
.vg-market-card-body { padding: 1.4rem 1.5rem 1.75rem; }
.vg-market-card-body h3 {
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--vg-navy);
    margin-bottom: 0.5rem;
}
.vg-market-card-body p {
    font-size: 0.85rem;
    color: var(--vg-muted);
    line-height: 1.6;
}

/* ── Export Capability Cards ─────────────────────────────────── */
.vg-export-card {
    background: #fff;
    border-radius: 16px;
    border: 1px solid var(--vg-border);
    padding: 2rem 1.5rem;
    transition: all 0.3s;
    text-align: center;
}
.vg-export-card:hover {
    box-shadow: 0 8px 32px rgba(12,31,63,0.1);
    border-color: var(--vg-blue);
    transform: translateY(-3px);
}
.vg-export-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #EFF6FF, #DBEAFE);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    color: var(--vg-blue);
}
.vg-export-card h3 {
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--vg-navy);
    margin-bottom: 0.6rem;
}
.vg-export-card p { font-size: 0.875rem; color: var(--vg-muted); line-height: 1.6; }

/* ── Product Grades Table ────────────────────────────────────── */
.vg-grade-table { width: 100%; border-collapse: collapse; border-radius: 12px; overflow: hidden; }
.vg-grade-table thead { background: var(--vg-navy); color: #fff; }
.vg-grade-table th {
    padding: 1rem 1.5rem;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-align: left;
}
.vg-grade-table td {
    padding: 1rem 1.5rem;
    font-size: 0.9rem;
    border-bottom: 1px solid var(--vg-border);
    color: var(--vg-text);
}
.vg-grade-table tbody tr:nth-child(even) { background: var(--vg-light); }
.vg-grade-table tbody tr:hover { background: #EFF6FF; }
.vg-grade-badge {
    display: inline-block;
    background: var(--vg-navy);
    color: #fff;
    font-weight: 700;
    font-size: 0.8rem;
    padding: 0.2rem 0.7rem;
    border-radius: 6px;
    letter-spacing: 0.05em;
}

/* ── Why Work Cards ──────────────────────────────────────────── */
.vg-why-card {
    padding: 2rem;
    background: #fff;
    border-radius: 16px;
    border: 1px solid var(--vg-border);
    border-top: 4px solid var(--vg-green);
    transition: all 0.3s;
}
.vg-why-card:hover {
    box-shadow: 0 8px 32px rgba(12,31,63,0.1);
    transform: translateY(-3px);
}
.vg-why-num {
    font-size: 2.5rem;
    font-weight: 900;
    color: #E5E9EF;
    line-height: 1;
    margin-bottom: 0.5rem;
}
.vg-why-card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--vg-navy);
    margin-bottom: 0.5rem;
}
.vg-why-card p { font-size: 0.875rem; color: var(--vg-muted); line-height: 1.6; }

/* ── Support / CTA Section ───────────────────────────────────── */
.vg-support-section {
    background: linear-gradient(135deg, var(--vg-navy) 0%, #1B3A6B 100%);
    position: relative;
    overflow: hidden;
}
.vg-support-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(45,125,70,0.15) 0%, transparent 70%);
    pointer-events: none;
}
.vg-support-check {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: rgba(255,255,255,0.85);
    font-size: 0.925rem;
    margin-bottom: 0.85rem;
}
.vg-support-check svg { flex-shrink: 0; color: #6EE0A0; margin-top: 2px; }
.vg-contact-card {
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 16px;
    padding: 2rem;
    backdrop-filter: blur(8px);
}
.vg-contact-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.5rem;
}
.vg-contact-card p {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.65);
    margin-bottom: 1.5rem;
}
.vg-contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: rgba(255,255,255,0.8);
    font-size: 0.875rem;
    margin-bottom: 0.75rem;
}
.vg-contact-item svg { color: #6EE0A0; flex-shrink: 0; }
.vg-btn-green-lg {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--vg-green);
    color: #fff;
    font-weight: 700;
    font-size: 0.9rem;
    padding: 0.85rem 1.75rem;
    border-radius: 10px;
    text-decoration: none;
    letter-spacing: 0.04em;
    transition: all 0.2s;
    margin-top: 1.25rem;
}
.vg-btn-green-lg:hover {
    background: var(--vg-green2);
    transform: translateX(3px);
}

/* ── Footer ──────────────────────────────────────────────────── */
#vg-footer {
    background: var(--vg-navy);
    color: rgba(255,255,255,0.7);
}
#vg-footer .vg-footer-logo {
    font-size: 1.4rem;
    font-weight: 900;
    color: #fff;
    letter-spacing: -0.03em;
    margin-bottom: 0.75rem;
}
#vg-footer .vg-footer-logo span { color: #6EE0A0; }
#vg-footer .vg-footer-col h4 {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.5);
    margin-bottom: 1.25rem;
}
#vg-footer .vg-footer-col a,
#vg-footer .vg-footer-col p {
    display: block;
    color: rgba(255,255,255,0.65);
    font-size: 0.875rem;
    text-decoration: none;
    margin-bottom: 0.6rem;
    transition: color 0.2s;
    line-height: 1.5;
}
#vg-footer .vg-footer-col a:hover { color: #6EE0A0; }
.vg-footer-divider {
    border-color: rgba(255,255,255,0.1);
    margin: 2rem 0;
}
.vg-social-link {
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.08);
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    transition: all 0.2s;
}
.vg-social-link:hover {
    background: var(--vg-green);
    color: #fff;
}

/* ── Responsive Tweaks ───────────────────────────────────────── */
@media (max-width: 767px) {
    .vg-section { padding: 3.5rem 1.25rem; }
    .vg-stat-item { min-width: 80px; padding: 0.5rem 0.75rem; }
    .vg-stat-num { font-size: 1.35rem; }
    .vg-stats-bar { border-radius: 10px; }
}
@media (max-width: 479px) {
    .vg-stats-bar { flex-wrap: wrap; }
    .vg-stat-item {
        flex-basis: 50%;
        border-right: none;
        border-bottom: 1px solid rgba(255,255,255,0.08);
    }
    .vg-stat-item:nth-child(2n) { border-right: none; }
    .vg-stat-item:last-child { border-bottom: none; }
}

/* ── Animations ──────────────────────────────────────────────── */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}
.vg-fadein { animation: fadeUp 0.6s ease forwards; }
.vg-fadein-delay-1 { animation-delay: 0.1s; opacity: 0; animation-fill-mode: forwards; }
.vg-fadein-delay-2 { animation-delay: 0.2s; opacity: 0; animation-fill-mode: forwards; }
.vg-fadein-delay-3 { animation-delay: 0.3s; opacity: 0; animation-fill-mode: forwards; }
