/* ==========================================================================
   FUSION INNOVATIONS | ZERO LATENCY THEME
   ========================================================================== */

/* CSS Variables for Cyber Theme */
:root {
    --bg-dark: #07090F;
    --bg-darker: #030407;
    --primary-cyan: #00f0ff;
    --primary-purple: #7b2cbf;
    --text-main: #f0f4f8;
    --text-muted: #8b9bb4;
    
    --glass-bg: rgba(13, 17, 28, 0.6);
    --glass-border: rgba(0, 240, 255, 0.15);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.5);
    
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

html {
    scroll-behavior: smooth;
}

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

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
}

.highlight {
    background: linear-gradient(90deg, var(--primary-cyan), var(--primary-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ==========================================================================
   NAVIGATION
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.5rem 0;
    z-index: 100;
    transition: var(--transition);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(3, 4, 7, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    padding: 1rem 0;
}

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

.brand-logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-main);
}

.brand-logo i {
    color: var(--primary-cyan);
    font-size: 1.8rem;
}

.brand-logo span {
    font-weight: 300;
    color: var(--text-muted);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-links li a {
    font-size: 0.95rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
}

.nav-links li a:hover {
    color: var(--primary-cyan);
}

/* Buttons */
.btn-primary {
    background: linear-gradient(45deg, var(--primary-purple), var(--primary-cyan));
    color: #fff !important;
    padding: 0.6rem 1.5rem;
    border-radius: 30px;
    font-weight: 600;
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.3);
}

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

.btn-secondary {
    background: transparent;
    color: var(--text-main) !important;
    padding: 0.6rem 1.5rem;
    border-radius: 30px;
    border: 1px solid var(--primary-cyan);
    font-weight: 600;
}

.btn-secondary:hover {
    background: rgba(0, 240, 255, 0.1);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 2rem;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

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

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(3,4,7,0.3) 0%, var(--bg-dark) 100%);
}

.hero-content {
    max-width: 900px;
    text-align: center;
    z-index: 10;
}

.badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: rgba(123, 44, 191, 0.2);
    border: 1px solid var(--primary-purple);
    border-radius: 50px;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary-cyan);
    margin-bottom: 1.5rem;
}

.hero-content h1 {
    font-size: 5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.hero-subtext {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    opacity: 0.7;
    animation: bounce 2s infinite;
}

.scroll-indicator span {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.mouse {
    width: 24px;
    height: 36px;
    border: 2px solid var(--text-muted);
    border-radius: 12px;
    position: relative;
}

.mouse::before {
    content: '';
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: var(--primary-cyan);
    border-radius: 2px;
    animation: scroll 1.5s infinite;
}

/* ==========================================================================
   INFRASTRUCTURE SECTION (GLASSMORPHISM)
   ========================================================================== */
.infra-section {
    padding: 8rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.infra-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2.5rem 1.5rem;
    box-shadow: var(--glass-shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.glass-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0,240,255,0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s;
    pointer-events: none;
}

.glass-card:hover {
    transform: translateY(-10px);
    border-color: rgba(0, 240, 255, 0.4);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6), 0 0 20px rgba(0, 240, 255, 0.2);
}

.glass-card:hover::before {
    opacity: 1;
}

.card-icon {
    font-size: 3.5rem;
    color: var(--primary-cyan);
    margin-bottom: 1.5rem;
}

.glass-card h3 {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.glass-card h4 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #fff;
}

.glass-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* ==========================================================================
   SERVICES SECTION
   ========================================================================== */
.services-section {
    background: var(--bg-darker);
    padding: 8rem 2rem;
}

.services-flex {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    justify-content: center;
}

.service-box {
    flex: 1 1 300px;
    padding: 3rem 2rem;
    text-align: center;
    border-radius: 15px;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.05);
    transition: var(--transition);
}

.service-box:hover {
    background: rgba(255,255,255,0.05);
    border-color: var(--primary-purple);
}

.service-box i {
    font-size: 3rem;
    color: var(--primary-purple);
    margin-bottom: 1.5rem;
}

.service-box h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.service-box p {
    color: var(--text-muted);
}

/* ==========================================================================
   CONTACT SECTION
   ========================================================================== */
.contact-section {
    padding: 8rem 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.glass-contact {
    background: linear-gradient(135deg, rgba(123,44,191,0.2) 0%, rgba(0,240,255,0.1) 100%);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 30px;
    padding: 5rem 3rem;
    text-align: center;
    max-width: 800px;
    width: 100%;
}

.glass-contact h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.glass-contact p {
    color: var(--text-main);
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 3rem;
    text-align: left;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 15px;
    border: 1px solid rgba(255,255,255,0.05);
}

.contact-item i {
    font-size: 2rem;
    color: var(--primary-cyan);
}

.contact-item div {
    display: flex;
    flex-direction: column;
}

.contact-item strong {
    font-size: 1.1rem;
    color: #fff;
}

.contact-item span {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #25D366;
    color: #fff;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: var(--transition);
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
}

.btn-whatsapp:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 35px rgba(37, 211, 102, 0.6);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer-expanded {
    background: #000;
    padding: 4rem 2rem 2rem 2rem;
    color: var(--text-muted);
}

.footer-top {
    max-width: 1200px;
    margin: 0 auto 3rem auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-brand h3 {
    font-size: 1.8rem;
    color: #fff;
    margin-bottom: 0.5rem;
}

.footer-brand h3 span {
    color: var(--primary-cyan);
}

.footer-brand p {
    font-size: 1.1rem;
    font-family: var(--font-heading);
    letter-spacing: 2px;
}

.footer-team h4 {
    font-size: 1.2rem;
    color: #fff;
    margin-bottom: 0.5rem;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

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

.nav-logo {
    height: 45px !important;
    max-height: 45px !important;
    width: auto !important;
    max-width: 250px !important;
    object-fit: contain;
    vertical-align: middle;
}

.footer-logo {
    height: 80px;
    width: auto;
    object-fit: contain;
    margin-bottom: 10px;
}

/* ==========================================================================
   ANIMATIONS & UTILS
   ========================================================================== */
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0) translateX(-50%); }
    40% { transform: translateY(-20px) translateX(-50%); }
    60% { transform: translateY(-10px) translateX(-50%); }
}

@keyframes scroll {
    0% { top: 6px; opacity: 1; }
    100% { top: 20px; opacity: 0; }
}

/* Scroll Reveal Classes */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   PRICING SECTION
   ========================================================================== */
.pricing-section {
    padding: 8rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-top: 4rem;
}

.pricing-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 3rem 2rem;
    position: relative;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    transform: translateY(-10px);
    border-color: rgba(0, 240, 255, 0.3);
    box-shadow: 0 10px 30px rgba(0, 240, 255, 0.1);
}

.pricing-card.popular {
    background: linear-gradient(145deg, rgba(123, 44, 191, 0.1) 0%, rgba(0, 240, 255, 0.1) 100%);
    border: 1px solid rgba(0, 240, 255, 0.2);
    transform: scale(1.05);
    z-index: 2;
}

.pricing-card.popular:hover {
    transform: scale(1.05) translateY(-10px);
}

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(45deg, var(--primary-cyan), var(--primary-purple));
    color: #fff;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.pricing-card h3 {
    font-size: 1.8rem;
    color: #fff;
    margin-bottom: 0.5rem;
    text-align: center;
}

.pricing-card .price {
    font-size: 3rem;
    font-weight: 700;
    color: #fff;
    text-align: center;
    margin-bottom: 2rem;
}

.pricing-card .price span {
    font-size: 1.2rem;
    color: var(--text-muted);
}

.features-list {
    list-style: none;
    margin-bottom: 3rem;
    flex-grow: 1;
}

.features-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.2rem;
    color: var(--text-main);
    font-size: 1.05rem;
}

.features-list li i {
    color: var(--primary-cyan);
    font-size: 1.3rem;
}

.pricing-card .btn-primary, 
.pricing-card .btn-secondary {
    text-align: center;
    width: 100%;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-content h1 { font-size: 2.5rem; }
    .nav-links { display: none; }
    footer { flex-direction: column; gap: 1rem; text-align: center; }
    .pricing-card.popular { transform: scale(1); }
    .pricing-card.popular:hover { transform: translateY(-10px); }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .services-flex { flex-direction: column; }
    .pricing-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   PARTICLE CANVAS
   ========================================================================== */
#particles-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    opacity: 0.4;
}

/* ==========================================================================
   STATS COUNTER SECTION
   ========================================================================== */
.stats-section {
    padding: 4rem 2rem;
    background: linear-gradient(135deg, rgba(0, 240, 255, 0.03) 0%, rgba(123, 44, 191, 0.03) 100%);
    border-top: 1px solid rgba(0, 240, 255, 0.08);
    border-bottom: 1px solid rgba(0, 240, 255, 0.08);
    position: relative;
    z-index: 1;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.stat-item {
    padding: 2rem 1rem;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-cyan), var(--primary-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-suffix {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 600;
    background: linear-gradient(135deg, var(--primary-cyan), var(--primary-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    display: block;
    margin-top: 0.5rem;
    color: var(--text-muted);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* ==========================================================================
   SERVICES V2 - NEXT-LEVEL CREATIVE DESIGN
   ========================================================================== */
.services-grid-v2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 2.5rem;
    margin-top: 4rem;
}

.service-card-v2 {
    position: relative;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 24px;
    padding: 3rem 2.5rem 2.5rem;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.service-card-v2:hover {
    transform: translateY(-12px);
    border-color: rgba(0, 240, 255, 0.3);
    box-shadow: 0 20px 60px rgba(0, 240, 255, 0.08), 0 0 40px rgba(0, 240, 255, 0.03);
}

/* Large faded number overlay */
.service-number {
    position: absolute;
    top: -20px;
    right: -10px;
    font-family: var(--font-heading);
    font-size: 10rem;
    font-weight: 700;
    color: rgba(0, 240, 255, 0.04);
    line-height: 1;
    pointer-events: none;
    transition: color 0.4s ease;
}

.service-card-v2:hover .service-number {
    color: rgba(0, 240, 255, 0.08);
}

/* Gradient accent line at top */
.service-accent {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-cyan), transparent);
    border-radius: 24px 24px 0 0;
}

.service-accent.accent-purple {
    background: linear-gradient(90deg, var(--primary-purple), transparent);
}

.service-accent.accent-green {
    background: linear-gradient(90deg, #00e676, transparent);
}

/* Glowing icon circle */
.service-icon-glow {
    width: 70px;
    height: 70px;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(0, 240, 255, 0.15), rgba(0, 240, 255, 0.05));
    border: 1px solid rgba(0, 240, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: all 0.4s ease;
}

.service-icon-glow i {
    font-size: 2rem;
    color: var(--primary-cyan);
}

.service-icon-glow.glow-purple {
    background: linear-gradient(135deg, rgba(123, 44, 191, 0.15), rgba(123, 44, 191, 0.05));
    border-color: rgba(123, 44, 191, 0.2);
}

.service-icon-glow.glow-purple i {
    color: var(--primary-purple);
}

.service-icon-glow.glow-green {
    background: linear-gradient(135deg, rgba(0, 230, 118, 0.15), rgba(0, 230, 118, 0.05));
    border-color: rgba(0, 230, 118, 0.2);
}

.service-icon-glow.glow-green i {
    color: #00e676;
}

.service-card-v2:hover .service-icon-glow {
    transform: scale(1.1);
    box-shadow: 0 0 25px rgba(0, 240, 255, 0.2);
}

.service-card-v2:hover .glow-purple {
    box-shadow: 0 0 25px rgba(123, 44, 191, 0.2);
}

.service-card-v2:hover .glow-green {
    box-shadow: 0 0 25px rgba(0, 230, 118, 0.2);
}

.service-card-v2 h3 {
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.service-card-v2 p {
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

/* Feature Chips */
.service-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    position: relative;
    z-index: 1;
}

.chip {
    padding: 0.4rem 0.9rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    background: rgba(0, 240, 255, 0.08);
    color: var(--primary-cyan);
    border: 1px solid rgba(0, 240, 255, 0.15);
    transition: all 0.3s ease;
}

.chip:hover {
    background: rgba(0, 240, 255, 0.15);
    transform: translateY(-2px);
}

.chip-purple {
    background: rgba(123, 44, 191, 0.08);
    color: #b388ff;
    border-color: rgba(123, 44, 191, 0.15);
}

.chip-purple:hover {
    background: rgba(123, 44, 191, 0.15);
}

.chip-green {
    background: rgba(0, 230, 118, 0.08);
    color: #69f0ae;
    border-color: rgba(0, 230, 118, 0.15);
}

.chip-green:hover {
    background: rgba(0, 230, 118, 0.15);
}

/* Active Nav Link */
.nav-links a.active-link {
    color: var(--primary-cyan) !important;
}

/* Ensure all sections sit above particles */
section, nav, footer {
    position: relative;
    z-index: 1;
}


