/* =========================================================================
   VESCOOL INNOVATIVE BLUE DESIGN SYSTEM
   ========================================================================= */

:root {
    /* Color Palette - Vibrant Innovative Blue Tones */
    --color-bg-deep: #060B19;
    /* Almost black blue */
    --color-primary: #0A2463;
    /* Royal Blue */
    --color-secondary: #247BA0;
    /* Ocean Blue */
    --color-accent: #3EC1D3;
    /* Cyan / Electric Blue */

    --color-text-main: #E2E8F0;
    --color-text-muted: #94A3B8;

    --color-white: #FFFFFF;
    --color-border: rgba(62, 193, 211, 0.2);

    /* Glassmorphism */
    --glass-bg: rgba(10, 36, 99, 0.3);
    /* Transparent Royal Blue */
    --glass-border: rgba(62, 193, 211, 0.25);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.4);
    --glass-highlight: inset 0 1px 0 rgba(255, 255, 255, 0.1);

    /* Gradients */
    --gradient-hero: linear-gradient(135deg, rgba(6, 11, 25, 0.95) 0%, rgba(10, 36, 99, 0.8) 100%);
    --gradient-accent: linear-gradient(90deg, #247BA0 0%, #3EC1D3 100%);
    --gradient-card: linear-gradient(180deg, rgba(36, 123, 160, 0.05) 0%, rgba(10, 36, 99, 0.4) 100%);

    /* Typography */
    --font-heading: 'Figtree', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Transitions */
    --transition-fast: 0.25s ease;
    --transition-smooth: 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

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

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text-main);
    background-color: var(--color-bg-deep);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--color-white);
    line-height: 1.2;
    margin-bottom: 0.5rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

ul {
    list-style: none;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--color-bg-deep);
}

::-webkit-scrollbar-thumb {
    background: var(--color-secondary);
    border-radius: 10px;
}

/* =========================================
   1. NAVBAR (Header)
   ========================================= */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: transparent;
    transition: var(--transition-smooth);
    padding: 24px 0;
}

.navbar.scrolled {
    background: rgba(6, 11, 25, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--glass-border);
    padding: 12px 0;
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo a {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    height: 38px;
    width: auto;
    filter: drop-shadow(0 0 8px rgba(62, 193, 211, 0.5));
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--color-white);
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    position: relative;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-text-muted);
    letter-spacing: 0.5px;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--color-white);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 50%;
    width: 0%;
    height: 2px;
    background: var(--color-accent);
    transition: var(--transition-smooth);
    transform: translateX(-50%);
    border-radius: 2px;
}

.nav-links a.active::after,
.nav-links a:hover::after {
    width: 100%;
    box-shadow: 0 0 10px var(--color-accent);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.btn-primary {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 50px;
    background: var(--gradient-accent);
    color: var(--color-white);
    font-weight: 600;
    font-family: var(--font-heading);
    box-shadow: 0 4px 20px rgba(62, 193, 211, 0.3);
    position: relative;
    overflow: hidden;
    z-index: 1;
    border: none;
    cursor: pointer;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, #3EC1D3 0%, #247BA0 100%);
    opacity: 0;
    z-index: -1;
    transition: var(--transition-smooth);
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(62, 193, 211, 0.5);
    color: #fff;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--color-white);
    cursor: pointer;
}

.mobile-menu {
    display: none;
    background: rgba(6, 11, 25, 0.95);
    backdrop-filter: blur(16px);
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    flex-direction: column;
    padding: 20px 5%;
    border-top: 1px solid var(--glass-border);
}

.mobile-menu a {
    padding: 15px 0;
    font-weight: 500;
    color: var(--color-text-main);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    gap: 10px;
}

.mobile-menu a.active,
.mobile-menu a:hover {
    color: var(--color-accent);
    padding-left: 10px;
}

.mobile-menu.active {
    display: flex;
}

/* =========================================
   2. HERO SECTION
   ========================================= */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: url('/upload/hero-bg.jpg') no-repeat center center/cover;
    background-attachment: fixed;
    background-color: var(--color-bg-deep);
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-hero);
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 150px;
    background: linear-gradient(to top, var(--color-bg-deep), transparent);
}

.hero-content {
    position: relative;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 5%;
    width: 100%;
    z-index: 2;
    color: var(--color-white);
    padding-top: 80px;
}

.hero-subtitle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--glass-bg);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 24px;
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-highlight);
    color: var(--color-accent);
}

.hero h1 {
    font-size: clamp(3rem, 6vw, 5rem);
    color: var(--color-white);
    margin-bottom: 24px;
    font-weight: 800;
    letter-spacing: -2px;
    line-height: 1.1;
}

.hero h1 span.highlight {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.hero p.lead {
    font-size: clamp(1rem, 2vw, 1.25rem);
    max-width: 650px;
    color: var(--color-text-muted);
    margin-bottom: 40px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 50px;
    background: rgba(36, 123, 160, 0.1);
    border: 1px solid var(--color-secondary);
    color: var(--color-accent);
    font-weight: 600;
    font-family: var(--font-heading);
    backdrop-filter: blur(5px);
}

.btn-secondary:hover {
    background: var(--color-secondary);
    color: var(--color-white);
    box-shadow: 0 0 20px rgba(36, 123, 160, 0.4);
}

/* =========================================
   3. SECTIONS & CARDS
   ========================================= */
.section {
    padding: 100px 5%;
    position: relative;
    z-index: 10;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-tag {
    color: var(--color-accent);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
    display: block;
    margin-bottom: 15px;
}

.section-title {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 800;
    letter-spacing: -1px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1280px;
    margin: 0 auto;
}

/* Product Card */
.prd-card {
    background: var(--gradient-card);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: var(--transition-smooth);
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    backdrop-filter: blur(10px);
}

.prd-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(62, 193, 211, 0.15);
    border-color: var(--color-border);
}

.prd-card-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    background: var(--color-primary);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.prd-card-body {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.prd-category {
    font-size: 0.8rem;
    color: var(--color-accent);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 700;
    margin-bottom: 10px;
}

.prd-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--color-white);
}

.prd-card-btn {
    margin-top: auto;
    align-self: flex-start;
    color: var(--color-secondary);
    font-weight: 600;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.prd-card-btn i {
    transition: var(--transition-fast);
}

.prd-card:hover .prd-card-btn {
    color: var(--color-accent);
}

.prd-card:hover .prd-card-btn i {
    transform: translateX(5px);
}

/* Form Styles */
input,
textarea {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: var(--color-white) !important;
}

input:focus,
textarea:focus {
    outline: none;
    border-color: var(--color-accent) !important;
    box-shadow: 0 0 0 3px rgba(62, 193, 211, 0.2);
}

/* Detail Page specific */
.detail-hero {
    min-height: 40vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-hero);
    padding-top: 80px;
    text-align: center;
    color: white;
    border-bottom: 1px solid var(--glass-border);
}

.detail-content {
    max-width: 1100px;
    margin: -50px auto 100px;
    background: var(--color-bg-deep);
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--color-border);
    position: relative;
    z-index: 10;
    padding: 50px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

@media(max-width: 768px) {
    .detail-content {
        grid-template-columns: 1fr;
        margin: -20px 5% 50px;
        padding: 30px;
    }
}

.detail-img {
    width: 100%;
    border-radius: 16px;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.detail-features li {
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    gap: 12px;
}

.detail-features i {
    color: var(--color-accent);
}

/* =========================================
   4. FOOTER
   ========================================= */
.footer {
    background: #030610;
    color: var(--color-text-muted);
    padding-top: 80px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 5%;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.brand-col .footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--color-white);
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.footer-desc {
    margin-bottom: 24px;
    max-width: 320px;
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    color: var(--color-text-main);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-links a:hover {
    background: var(--color-secondary);
    color: var(--color-white);
    transform: translateY(-3px);
    border-color: var(--color-secondary);
}

.footer-heading {
    color: var(--color-white);
    font-size: 1.1rem;
    margin-bottom: 24px;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul a:hover {
    color: var(--color-accent);
}

.contact-list li {
    display: flex;
    gap: 12px;
    align-items: baseline;
    line-height: 1.4;
}

.contact-list i {
    color: var(--color-accent);
}

.footer-bottom {
    text-align: center;
    padding: 24px 5%;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.85rem;
}

/* =========================================
   5. MEDIA QUERIES
   ========================================= */
@media (max-width: 991px) {

    .nav-links,
    .nav-actions .btn-primary {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .footer-container {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 576px) {
    .footer-container {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 60px 5%;
    }
}