/* ==========================================================================
   Val Flex - Dark Tech & Corporate Design System
   Glassmorphism • Electric Blue / Teal Accent • Micro-Interactions
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* ---- Color & Design Tokens ---- */
:root {
    --bg-base: #080c10;
    --bg-surface: #0d131a;
    --bg-card: rgba(19, 27, 36, 0.65);
    --bg-card-solid: #131b24;
    --border: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(56, 189, 248, 0.4);
    --accent: #38bdf8;       /* Electric Sky Blue */
    --accent-hover: #0ea5e9;
    --accent-glow: rgba(56, 189, 248, 0.25);
    --accent-teal: #2dd4bf;  /* Teal for secondary highlights */
    --accent-teal-glow: rgba(45, 212, 191, 0.2);
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --green-wa: #25D366;
    --radius: 0.75rem;
    --radius-lg: 1rem;
    --radius-xl: 1.25rem;
}

/* ---- Base ---- */
html {
    scroll-behavior: smooth;
    font-family: 'Plus Jakarta Sans', 'Inter', system-ui, -apple-system, sans-serif;
    background-color: var(--bg-base);
    color: var(--text-primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
body {
    background-color: var(--bg-base);
    background-image: 
        radial-gradient(circle at 15% 15%, rgba(56, 189, 248, 0.09) 0%, transparent 45%),
        radial-gradient(circle at 85% 65%, rgba(45, 212, 191, 0.07) 0%, transparent 45%),
        radial-gradient(circle at 50% 90%, rgba(14, 165, 233, 0.06) 0%, transparent 50%);
    background-attachment: fixed;
}

/* Heading font class */
h1, h2, h3, h4, .font-heading {
    font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif;
}

/* Cyber Grid Pattern Utility */
.bg-grid-pattern {
    background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px);
    background-size: 28px 28px;
}

::selection {
    background-color: var(--accent);
    color: #080c10;
}

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-base); }
::-webkit-scrollbar-thumb { background: #1e293b; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent); }

/* ---- Fixed Header / Navbar ---- */
.nav-header {
    background: rgba(8, 12, 16, 0.88);
    backdrop-filter: blur(24px) saturate(1.4);
    -webkit-backdrop-filter: blur(24px) saturate(1.4);
    border-bottom: 1px solid rgba(56, 189, 248, 0.15);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.nav-item {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 0.875rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-secondary);
    border-radius: 0.5rem;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.nav-item:hover,
.nav-item.active {
    color: var(--accent);
    background: rgba(56, 189, 248, 0.12);
    box-shadow: inset 0 0 12px rgba(56, 189, 248, 0.1);
}

/* Dropdown */
.dropdown-box {
    background: rgba(13, 19, 26, 0.95);
    backdrop-filter: blur(28px);
    border: 1px solid rgba(56, 189, 248, 0.2);
    border-radius: var(--radius-lg);
    box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.9), 0 0 25px rgba(56, 189, 248, 0.1);
}
.dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    padding: 0.75rem;
    border-radius: 0.625rem;
    transition: all 0.2s ease;
}
.dropdown-item:hover {
    background: rgba(56, 189, 248, 0.12);
    transform: translateX(4px);
}

/* Mobile nav link */
.mobile-nav-link {
    display: block;
    padding: 0.625rem 0.875rem;
    color: #cbd5e1;
    font-weight: 500;
    font-size: 0.875rem;
    border-radius: 0.5rem;
    transition: all 0.15s ease;
}
.mobile-nav-link:hover {
    color: var(--accent);
    background: rgba(56, 189, 248, 0.06);
}

/* Hamburger */
.hamburger-line {
    display: block;
    width: 22px;
    height: 2px;
    background: #cbd5e1;
    border-radius: 2px;
    transition: all 0.3s ease;
}
.hamburger-open .hamburger-line:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger-open .hamburger-line:nth-child(2) { opacity: 0; }
.hamburger-open .hamburger-line:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ---- Hero ---- */
.hero-wrapper {
    position: relative;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}
.hero-backdrop {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 30%, rgba(14, 165, 233, 0.15) 0%, transparent 50%),
                linear-gradient(160deg, rgba(8, 12, 16, 0.96) 0%, rgba(13, 19, 26, 0.90) 50%, rgba(8, 12, 16, 0.96) 100%);
}

/* ---- GLASSMORPHISM CARDS V2 ---- */
.glass-card {
    background: rgba(19, 27, 36, 0.65);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-xl);
    box-shadow: inset 0 1px 1px 0 rgba(255, 255, 255, 0.1), 0 16px 36px -10px rgba(0, 0, 0, 0.6);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.glass-card:hover {
    border-color: rgba(56, 189, 248, 0.35);
    transform: translateY(-5px) scale(1.005);
    box-shadow: inset 0 1px 1px 0 rgba(255, 255, 255, 0.15), 0 0 30px rgba(56, 189, 248, 0.2), 0 25px 50px -12px rgba(0, 0, 0, 0.7);
}

/* Product Card V2 */
.product-card-v2 {
    background: rgba(19, 27, 36, 0.6);
    backdrop-filter: blur(18px);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: var(--radius-xl);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: inset 0 1px 1px 0 rgba(255, 255, 255, 0.08), 0 12px 30px -10px rgba(0, 0, 0, 0.5);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.product-card-v2:hover {
    border-color: rgba(56, 189, 248, 0.4);
    transform: translateY(-6px);
    box-shadow: inset 0 1px 1px 0 rgba(255, 255, 255, 0.15), 0 0 25px rgba(56, 189, 248, 0.25), 0 20px 45px -12px rgba(0, 0, 0, 0.7);
}

/* Product Image Frame */
.product-img-frame {
    width: 100%;
    aspect-ratio: 4/3;
    background: #090e15;
    position: relative;
    overflow: hidden;
}
.product-img-frame::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 60%, rgba(19, 27, 36, 0.8) 100%);
    pointer-events: none;
}
.product-img-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.product-card-v2:hover .product-img-frame img {
    transform: scale(1.08);
}

/* Category Card V2 */
.cat-card-v2 {
    background: rgba(19, 27, 36, 0.55);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-xl);
    padding: 2rem;
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 1px 1px 0 rgba(255, 255, 255, 0.08);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.cat-card-v2::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--accent-teal));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}
.cat-card-v2:hover {
    border-color: rgba(56, 189, 248, 0.4);
    transform: translateY(-5px);
    background: rgba(19, 27, 36, 0.85);
    box-shadow: inset 0 1px 1px 0 rgba(255, 255, 255, 0.15), 0 0 25px rgba(56, 189, 248, 0.25);
}
.cat-card-v2:hover::before {
    transform: scaleX(1);
}

/* Stats */
.stat-glass {
    background: rgba(19, 27, 36, 0.5);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-xl);
    padding: 1.75rem 1.25rem;
    text-align: center;
    box-shadow: inset 0 1px 1px 0 rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
}
.stat-glass:hover {
    border-color: rgba(56, 189, 248, 0.4);
    background: rgba(19, 27, 36, 0.8);
    transform: translateY(-4px);
    box-shadow: inset 0 1px 1px 0 rgba(255, 255, 255, 0.15), 0 0 20px rgba(56, 189, 248, 0.2);
}

/* ---- Badges ---- */
.badge-dn {
    font-size: 0.6875rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em;
    color: var(--accent);
    background: rgba(56, 189, 248, 0.12);
    border: 1px solid rgba(56, 189, 248, 0.3);
    padding: 0.25rem 0.625rem; border-radius: 0.375rem;
    box-shadow: 0 0 10px rgba(56, 189, 248, 0.15);
}
.badge-material {
    font-size: 0.6875rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em;
    color: #cbd5e1;
    background: rgba(30, 41, 59, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.25rem 0.625rem; border-radius: 0.375rem;
}
.badge-stock {
    font-size: 0.6875rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em;
    color: var(--accent-teal);
    background: rgba(45, 212, 191, 0.12);
    border: 1px solid rgba(45, 212, 191, 0.3);
    padding: 0.25rem 0.625rem; border-radius: 0.375rem;
}

/* ---- DN Filter Buttons ---- */
.dn-btn {
    padding: 0.5rem 1.125rem;
    font-size: 0.8125rem; font-weight: 700;
    color: var(--text-secondary);
    background: rgba(19, 27, 36, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0.625rem;
    cursor: pointer;
    transition: all 0.25s ease;
}
.dn-btn:hover {
    color: var(--accent);
    border-color: rgba(56, 189, 248, 0.4);
    background: rgba(56, 189, 248, 0.08);
}
.dn-btn.active {
    color: #ffffff;
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
    border-color: #38bdf8;
    box-shadow: 0 0 20px rgba(56, 189, 248, 0.4);
}

/* ---- WhatsApp Float ---- */
.whatsapp-float,
.wa-float {
    position: fixed !important;
    bottom: 2rem !important;
    right: 2rem !important;
    left: auto !important;
    top: auto !important;
    width: 60px !important;
    height: 60px !important;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%) !important;
    color: #ffffff !important;
    border-radius: 9999px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: 2px solid rgba(255, 255, 255, 0.3) !important;
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.5), 0 0 20px rgba(37, 211, 102, 0.3) !important;
    z-index: 99999 !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    animation: wa-pulse 2.5s infinite !important;
    text-decoration: none !important;
}
.whatsapp-float:hover,
.wa-float:hover {
    transform: scale(1.12) translateY(-2px) !important;
    box-shadow: 0 14px 40px rgba(37, 211, 102, 0.7), 0 0 30px rgba(37, 211, 102, 0.5) !important;
    border-color: #ffffff !important;
    color: #ffffff !important;
}
@keyframes wa-pulse {
    0%, 100% { box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4), 0 0 15px rgba(37, 211, 102, 0.2); }
    50% { box-shadow: 0 14px 45px rgba(37, 211, 102, 0.7), 0 0 30px rgba(37, 211, 102, 0.5); }
}

/* ---- Spec Table ---- */
.spec-tbl {
    width: 100%; border-collapse: separate; border-spacing: 0;
    border-radius: var(--radius-lg); overflow: hidden;
    border: 1px solid var(--border);
    background: rgba(30, 41, 59, 0.4);
}
.spec-tbl th {
    background: rgba(56, 189, 248, 0.06);
    color: var(--accent); font-weight: 700; font-size: 0.75rem;
    text-transform: uppercase; letter-spacing: 0.06em;
    padding: 0.875rem 1.25rem; text-align: left;
    border-bottom: 1px solid var(--border);
}
.spec-tbl td {
    padding: 0.875rem 1.25rem; font-size: 0.875rem;
    color: #cbd5e1; border-bottom: 1px solid rgba(148, 163, 184, 0.05);
}
.spec-tbl tr:last-child td { border-bottom: none; }
.spec-tbl tr:hover td { background: rgba(56, 189, 248, 0.03); }

/* ---- Scroll Reveal Animation ---- */
.fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ---- Contact / Info Cards ---- */
.info-glass {
    background: rgba(30, 41, 59, 0.4);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    transition: all 0.25s ease;
}
.info-glass:hover {
    border-color: var(--border-hover);
    box-shadow: 0 0 16px var(--accent-glow);
}

/* ==========================================================================
   HIGH-END B2B CTA DESIGN SYSTEM & BUTTONS
   ========================================================================== */

/* Premium WhatsApp CTA Button */
.btn-cta-whatsapp {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, #10b981 0%, #059669 50%, #047857 100%);
    color: #ffffff;
    font-weight: 800;
    font-size: 0.9375rem;
    letter-spacing: 0.02em;
    padding: 0.9375rem 1.75rem;
    border-radius: 0.875rem;
    border: 1px solid rgba(52, 211, 153, 0.4);
    box-shadow: 0 8px 25px -4px rgba(16, 185, 129, 0.4), 0 0 15px rgba(16, 185, 129, 0.2);
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    cursor: pointer;
}
.btn-cta-whatsapp::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
    transition: left 0.6s ease;
}
.btn-cta-whatsapp:hover::before {
    left: 100%;
}
.btn-cta-whatsapp:hover {
    background: linear-gradient(135deg, #34d399 0%, #10b981 50%, #059669 100%);
    transform: translateY(-2px) scale(1.01);
    box-shadow: 0 12px 35px -4px rgba(16, 185, 129, 0.6), 0 0 25px rgba(52, 211, 153, 0.4);
    border-color: rgba(110, 231, 183, 0.7);
    color: #ffffff;
}

/* Premium Electric Sky Button (Catalog / Primary) */
.btn-cta-sky {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
    color: #ffffff;
    font-weight: 800;
    font-size: 0.9375rem;
    letter-spacing: 0.02em;
    padding: 0.9375rem 1.75rem;
    border-radius: 0.875rem;
    border: 1px solid rgba(56, 189, 248, 0.5);
    box-shadow: 0 8px 25px -4px rgba(14, 165, 233, 0.35), 0 0 15px rgba(56, 189, 248, 0.2);
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
}
.btn-cta-sky:hover {
    background: linear-gradient(135deg, #38bdf8 0%, #0284c7 100%);
    transform: translateY(-2px) scale(1.01);
    box-shadow: 0 12px 35px -4px rgba(56, 189, 248, 0.55);
    color: #ffffff;
}

/* Glass Outline CTA Button */
.btn-cta-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(12px);
    color: #38bdf8;
    font-weight: 700;
    font-size: 0.9375rem;
    padding: 0.9375rem 1.75rem;
    border-radius: 0.875rem;
    border: 1px solid rgba(56, 189, 248, 0.35);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
}
.btn-cta-outline:hover {
    background: rgba(30, 41, 59, 0.9);
    border-color: #38bdf8;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(56, 189, 248, 0.3);
}

/* Modern B2B CTA Banner Box Container */
.b2b-cta-card {
    position: relative;
    background: linear-gradient(145deg, rgba(15, 23, 42, 0.92) 0%, rgba(30, 41, 59, 0.85) 100%);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(56, 189, 248, 0.25);
    border-radius: 1.75rem;
    overflow: hidden;
    box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.8), 0 0 35px rgba(56, 189, 248, 0.12);
    transition: all 0.35s ease;
}
.b2b-cta-card:hover {
    border-color: rgba(56, 189, 248, 0.45);
    box-shadow: 0 30px 70px -15px rgba(0, 0, 0, 0.9), 0 0 45px rgba(56, 189, 248, 0.2);
}

