/* 
    ACP - PREMIUM MODERN TECH DESIGN SYSTEM
    Aesthetic: Industrial Premium / Glassmorphism / Dark Mode
    Fonts: Outfit & Inter
*/

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

:root {
    --bg-dark: #000b14;
    --bg-card: rgba(255, 255, 255, 0.03);
    --bg-glass: rgba(255, 255, 255, 0.05);
    --primary-neon: #9EF01A;
    --accent-blue: #00B4D8;
    --text-main: #e2e8f0;
    --text-dim: #94a3b8;
    --white: #ffffff;
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --border-glass: rgba(255, 255, 255, 0.1);
}

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

html {
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-neon) var(--bg-dark);
}

body {
    background-color: var(--bg-dark);
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
    line-height: 1.7;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--white);
}

a, button {
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* --- UTILITIES --- */
.text-neon { color: var(--primary-neon); }
.text-cyan { color: var(--accent-blue); }
.glow-on-hover:hover { text-shadow: 0 0 10px var(--primary-neon); }

.flex-row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.flex-nowrap {
    display: flex;
    flex-wrap: nowrap;
}

.align-center { align-items: center; }
.justify-between { justify-content: space-between; }

.glass-panel {
    background: var(--bg-glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-glass);
}

/* --- IMAGE HOVERS --- */
.img-reveal {
    overflow: hidden;
    position: relative;
    border-radius: 12px;
}

.img-reveal img {
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.img-reveal:hover img {
    transform: scale(1.1);
}

/* --- BUTTONS --- */
.btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    padding: 16px 36px;
    font-weight: 700;
    font-family: 'Outfit', sans-serif;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 0.1em;
    overflow: hidden;
    z-index: 1;
    border-radius: 4px;
}

.btn-primary {
    background: var(--primary-neon);
    color: var(--bg-dark);
}

.btn-primary:hover {
    box-shadow: 0 0 25px rgba(158, 240, 26, 0.4);
    transform: translateY(-2px);
}

.btn-outline {
    border: 1px solid var(--border-glass);
    color: var(--white);
    background: rgba(255,255,255,0.03);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--bg-dark);
    border-color: var(--white);
}

/* --- HEADER & TOPBAR --- */
.top-bar {
    background: rgba(0,0,0,0.3);
    padding: 12px 0;
    font-size: 12px;
    letter-spacing: 0.05em;
    color: var(--text-dim);
    border-bottom: 1px solid var(--border-glass);
}

.header {
    background: rgba(0, 11, 20, 0.85);
    backdrop-filter: blur(20px);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 20px 0;
    border-bottom: 1px solid var(--border-glass);
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    width: 35px;
    height: 35px;
    background: var(--primary-neon);
    border-radius: 4px;
    transform: rotate(45deg);
}

.logo-text {
    font-size: 28px;
    text-transform: uppercase;
    font-weight: 900;
    letter-spacing: -1px;
}

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-links a {
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    color: var(--text-dim);
}

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

/* --- DROPDOWN NAV --- */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: rgba(0, 11, 20, 0.95);
    min-width: 260px;
    box-shadow: 0px 8px 30px rgba(0,0,0,0.8);
    z-index: 1000;
    border: 1px solid var(--border-glass);
    border-radius: 8px;
    padding: 10px 0;
    margin-top: 20px;
    backdrop-filter: blur(20px);
}

.dropdown::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 0;
    width: 100%;
    height: 20px;
}

.dropdown-content a {
    color: var(--text-dim) !important;
    padding: 12px 25px;
    text-decoration: none;
    display: block;
    font-size: 13px !important;
    text-transform: none !important;
    border-bottom: 1px solid rgba(255,255,255,0.03);
    transition: var(--transition);
}

.dropdown-content a:last-child {
    border-bottom: none;
}

.dropdown-content a:hover {
    background-color: rgba(158, 240, 26, 0.05); /* neon glow bg */
    color: var(--primary-neon) !important;
    padding-left: 30px;
}

.dropdown:hover .dropdown-content {
    display: block;
    animation: fadeIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@media (min-width: 1025px) {
    .dropdown-content {
        min-width: 800px; /* Mega menu width */
        left: 50%;
        transform: translateX(-40%); /* Center under nav item */
        padding: 20px;
    }
    .dropdown:hover .dropdown-content {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 10px;
    }
    .dropdown-content a {
        border: none;
        background: rgba(255,255,255,0.02);
        border-radius: 6px;
    }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- HERO SECTION --- */
.hero-slider {
    width: 100%;
    height: 95vh;
    min-height: 500px;
}

.hero {
    position: relative;
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: radial-gradient(circle at 70% 30%, rgba(158, 240, 26, 0.1) 0%, transparent 40%),
                radial-gradient(circle at 20% 70%, rgba(0, 180, 216, 0.1) 0%, transparent 40%);
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4;
}

.hero h1 {
    font-size: 84px;
    line-height: 0.95;
    margin-bottom: 30px;
    background: linear-gradient(to bottom, #fff 40%, #94a3b8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 20px;
    color: var(--text-dim);
    max-width: 600px;
    margin-bottom: 50px;
}

/* Slider Overrides */
.hero-slider .swiper-pagination-bullet {
    background: var(--white);
    opacity: 0.3;
}
.hero-slider .swiper-pagination-bullet-active {
    background: var(--primary-neon);
    opacity: 1;
}

/* --- CARDS & GRIDS --- */
.section-padding {
    padding: 120px 0;
}

.section-head {
    margin-bottom: 80px;
}

.badge {
    color: var(--primary-neon);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 12px;
    display: block;
    margin-bottom: 15px;
}

.card {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    padding: 40px;
    border-radius: 12px;
    transition: var(--transition);
}

.card:hover {
    background: rgba(255,255,255,0.06);
    border-color: var(--primary-neon);
    transform: translateY(-8px);
}

.card-icon {
    width: 60px;
    height: 60px;
    background: rgba(158, 240, 26, 0.1);
    color: var(--primary-neon);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    border-radius: 8px;
    margin-bottom: 30px;
}

.service-card {
    flex: 1;
    min-width: 300px;
    transition: var(--transition);
}
.service-card:hover {
    transform: scale(1.02);
    z-index: 2;
    box-shadow: 0 30px 60px rgba(0,0,0,0.3);
}

.market-card {
    flex: 1 1 calc(25% - 20px);
    min-width: 250px;
}

/* --- FOOTER --- */
.footer {
    padding-top: 150px;
    border-top: 1px solid var(--border-glass);
}

.footer-bottom {
    margin-top: 100px;
    padding: 60px 0;
    font-size: 13px;
    color: var(--text-dim);
    border-top: 1px solid var(--border-glass);
}

/* --- RESPONSIVE --- */
@media (max-width: 1200px) {
    .hero h1 { font-size: 70px; }
    .market-card { flex: 1 1 calc(33.33% - 20px); }
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 24px;
    cursor: pointer;
}

@media (max-width: 1024px) {
    .container { padding: 0 20px; }
    .hero h1 { font-size: 60px; }
    .market-card { flex: 1 1 calc(50% - 20px); }
    .section-padding { padding: 80px 0; }
    
    .mobile-toggle { display: block; }
    .header-btn { display: none; }
    
    .nav-links {
        display: none;
        position: absolute;
        top: 100%; /* Just below header */
        left: 0;
        width: 100vw;
        background: rgba(0, 11, 20, 0.98);
        flex-direction: column;
        padding: 20px;
        gap: 0;
        border-bottom: 1px solid var(--border-glass);
        z-index: 9999;
    }
    
    .nav-links.active {
        display: flex !important;
    }
    
    .nav-links a {
        padding: 15px 0;
        display: block;
        border-bottom: 1px solid rgba(255,255,255,0.05);
    }
    
    .dropdown-content {
        position: relative;
        min-width: 100%;
        box-shadow: none;
        background: transparent;
        padding: 0;
        margin-top: 0;
        border: none;
        left: 0;
        transform: none;
    }
    
    .dropdown:hover .dropdown-content {
        display: flex;
        flex-direction: column;
        animation: none;
    }
    
    .dropdown-content a {
        padding: 10px 15px;
        border-bottom: none;
    }
}

@media (max-width: 768px) {
    .hero h1 { font-size: 40px; }
    .hero p { font-size: 16px; }
    .flex-row, .flex-nowrap { flex-direction: column; }
    .grid { grid-template-columns: 1fr !important; gap: 20px !important; }
    .service-card, .market-card { min-width: 100%; width: 100%; }
    .stats-grid { grid-template-columns: 1fr 1fr !important; }
    .footer-grid { grid-template-columns: 1fr !important; gap: 40px !important; }
    .footer-bottom .container { grid-template-columns: 1fr !important; text-align: center; }
}

@media (max-width: 480px) {
    .stats-grid { grid-template-columns: 1fr !important; }
    .hero h1 { font-size: 32px; }
}
