:root {
    --bg-color: #050B14;
    --surface-color: rgba(255, 255, 255, 0.02);
    --surface-border: rgba(255, 255, 255, 0.1);
    --neon-cyan: #3B82F6;
    --neon-purple: #0EA5E9;
    --text-main: #f0f0f0;
    --text-muted: #888c96;
    --gradient-primary: linear-gradient(135deg, var(--neon-cyan), var(--neon-purple));
    --font-display: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; cursor: none; }
html { scroll-behavior: auto; overflow-x: hidden; }
body { background-color: var(--bg-color); color: var(--text-main); font-family: var(--font-body); overflow-x: hidden; line-height: 1.6; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; }
a { text-decoration: none; color: inherit; }

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-color); }
::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.2); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: rgba(59, 130, 246, 0.15); }

.cursor-dot { position: fixed; top: 0; left: 0; width: 8px; height: 8px; background-color: var(--neon-cyan); border-radius: 50%; pointer-events: none; z-index: 10000; transform: translate(-50%, -50%); transition: width 0.3s, height 0.3s, background-color 0.3s; }
.cursor-ring { position: fixed; top: 0; left: 0; width: 40px; height: 40px; border: 1px solid rgba(59, 130, 246, 0.5); border-radius: 50%; pointer-events: none; z-index: 9999; transform: translate(-50%, -50%); transition: width 0.3s, height 0.3s, background-color 0.3s, border-color 0.3s; }
body.hovering .cursor-dot { width: 0; height: 0; }
body.hovering .cursor-ring { width: 60px; height: 60px; background-color: rgba(255, 255, 255, 0.1); border-color: var(--text-main); backdrop-filter: blur(2px); }

#bg-canvas { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; z-index: -1; opacity: 0.6; }

.container { max-width: 1300px; margin: 0 auto; padding: 0 40px; }
.section { padding: 150px 0; position: relative; }
.text-gradient { background: var(--gradient-primary); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-size: 200% auto; animation: shine 5s linear infinite; }
@keyframes shine { 0% { background-position: 0% center; } 100% { background-position: 200% center; } }

nav { position: fixed; top: 0; width: 100%; padding: 30px 0; z-index: 1000; transition: var(--transition); }
nav.scrolled { padding: 15px 0; background: rgba(5, 11, 20, 0.8); backdrop-filter: blur(12px); border-bottom: 1px solid var(--surface-border); }
.nav-inner { display: flex; justify-content: space-between; align-items: center; }
.logo { font-family: var(--font-display); font-size: 28px; font-weight: 800; letter-spacing: -1px; display: flex; align-items: center; gap: 10px; }
.logo-icon { position: relative; width: 30px; height: 30px; background: var(--gradient-primary); border-radius: 8px; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 16px; }

.nav-menu { display: flex; align-items: center; gap: 40px; }
.nav-links { display: flex; gap: 40px; list-style: none; }
.nav-links a { font-size: 14px; font-weight: 500; letter-spacing: 1px; text-transform: uppercase; color: var(--text-muted); position: relative; transition: var(--transition); }
.nav-links a:hover { color: var(--text-main); }
.nav-links a::after { content: ''; position: absolute; bottom: -5px; left: 0; width: 0; height: 2px; background: var(--neon-cyan); transition: var(--transition); box-shadow: 0 0 10px var(--neon-cyan); }
.nav-links a:hover::after { width: 100%; }

.menu-toggle { display: none; flex-direction: column; justify-content: space-between; width: 30px; height: 21px; cursor: pointer; z-index: 1001; }
.menu-toggle span { display: block; height: 3px; width: 100%; background-color: var(--text-main); border-radius: 3px; transition: var(--transition); }

.btn { padding: 14px 32px; border-radius: 6px; font-family: var(--font-display); font-weight: 600; font-size: 14px; letter-spacing: 1px; text-transform: uppercase; position: relative; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 10px; z-index: 1; transition: var(--transition); border: 1px solid var(--neon-cyan); }
.btn-primary { background: var(--text-main); color: var(--bg-color); }
.btn-primary::before { content: ''; position: absolute; inset: 0; background: var(--gradient-primary); z-index: -1; opacity: 0; transition: var(--transition); }
.btn-primary:hover { color: var(--text-main); box-shadow: 0 10px 30px rgba(59, 130, 246, 0.3); border-color: transparent; }
.btn-primary:hover::before { opacity: 1; }
.btn-outline { background: transparent; color: var(--text-main); border: 1px solid var(--surface-border); }
.btn-outline:hover { border-color: var(--neon-cyan); background: rgba(59, 130, 246, 0.05); box-shadow: inset 0 0 20px rgba(59, 130, 246, 0.1); }

.hero { min-height: 100vh; display: flex; align-items: center; padding-top: 100px; position: relative; }
.hero-content { max-width: 800px; }
.hero-badge { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; background: var(--surface-color); border: 1px solid var(--surface-border); border-radius: 4px; font-size: 12px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 30px; backdrop-filter: blur(10px); }
.hero-badge span { width: 8px; height: 8px; border-radius: 50%; background: var(--neon-cyan); box-shadow: 0 0 10px var(--neon-cyan); animation: pulse 2s infinite; }
.hero h1 { font-size: 85px; line-height: 1.05; letter-spacing: -2px; margin-bottom: 30px; }
.hero p { font-size: 20px; color: var(--text-muted); max-width: 600px; margin-bottom: 50px; }
.hero-actions { display: flex; gap: 20px; }

.glow-sphere { position: absolute; border-radius: 50%; filter: blur(100px); z-index: -1; opacity: 0.5; pointer-events: none; }
.sphere-1 { top: -10%; right: -5%; width: 500px; height: 500px; background: rgba(14, 165, 233, 0.15); }
.sphere-2 { bottom: -10%; left: -10%; width: 600px; height: 600px; background: rgba(59, 130, 246, 0.15); }

.section-header { margin-bottom: 80px; display: flex; justify-content: space-between; align-items: flex-end; }
.section-subtitle { font-size: 14px; font-weight: 600; letter-spacing: 3px; text-transform: uppercase; color: var(--neon-cyan); display: block; margin-bottom: 15px; }
.section-title { font-size: 55px; line-height: 1.1; letter-spacing: -1px; max-width: 600px; }

.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.service-card { background: var(--surface-color); border: 1px solid var(--surface-border); padding: 50px 40px; border-radius: 12px; position: relative; overflow: hidden; backdrop-filter: blur(10px); transition: var(--transition); }
.service-card::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: radial-gradient(800px circle at var(--mouse-x) var(--mouse-y), rgba(255, 255, 255, 0.06), transparent 40%); opacity: 0; transition: opacity 0.5s; z-index: 0; pointer-events: none; }
.service-card:hover::before { opacity: 1; }
.service-card:hover { transform: translateY(-10px); border-color: rgba(255,255,255,0.2); box-shadow: 0 20px 40px rgba(0,0,0,0.5); }
.service-icon { font-size: 40px; color: var(--text-main); margin-bottom: 30px; position: relative; z-index: 1; transition: var(--transition); }
.service-card:hover .service-icon { transform: scale(1.1); color: var(--neon-cyan); text-shadow: 0 0 20px rgba(59, 130, 246, 0.5); }
.service-card h3 { font-size: 24px; margin-bottom: 15px; position: relative; z-index: 1; }
.service-card p { color: var(--text-muted); font-size: 15px; position: relative; z-index: 1; }

.tech-marquee { padding: 40px 0; border-top: 1px solid var(--surface-border); border-bottom: 1px solid var(--surface-border); background: rgba(255, 255, 255, 0.01); overflow: hidden; display: flex; white-space: nowrap; position: relative; }
.tech-marquee::before, .tech-marquee::after { content: ''; position: absolute; top: 0; width: 250px; height: 100%; z-index: 2; }
.tech-marquee::before { left: 0; background: linear-gradient(to right, var(--bg-color), transparent); }
.tech-marquee::after { right: 0; background: linear-gradient(to left, var(--bg-color), transparent); }
.tech-track { display: inline-flex; gap: 80px; animation: scroll 30s linear infinite; }
.tech-item { display: flex; align-items: center; gap: 15px; font-family: var(--font-display); font-size: 24px; font-weight: 700; color: var(--surface-border); transition: var(--transition); }
.tech-item:hover { color: var(--text-main); text-shadow: 0 0 15px rgba(255, 255, 255, 0.5); }
.tech-item i { font-size: 30px; }
@keyframes scroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

.contact-box { background: var(--surface-color); border: 1px solid var(--surface-border); border-radius: 12px; padding: 80px; position: relative; overflow: hidden; backdrop-filter: blur(20px); display: grid; grid-template-columns: 1fr 1.2fr; gap: 80px; }
.contact-box::before { content: ''; position: absolute; top: -50%; right: -20%; width: 500px; height: 500px; background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, transparent 60%); z-index: -1; pointer-events: none; }
.contact-info h2 { font-size: 50px; margin-bottom: 20px; }
.contact-info p { color: var(--text-muted); margin-bottom: 50px; }
.contact-methods { display: flex; flex-direction: column; gap: 30px; }
.contact-method { display: flex; align-items: center; gap: 20px; }
.contact-icon { width: 60px; height: 60px; border-radius: 50%; background: rgba(255, 255, 255, 0.05); border: 1px solid var(--surface-border); display: flex; align-items: center; justify-content: center; font-size: 20px; color: var(--neon-cyan); transition: var(--transition); }
.contact-method:hover .contact-icon { background: var(--text-main); color: var(--bg-color); border-color: var(--text-main); transform: scale(1.1); }
.contact-method-text h4 { font-size: 14px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 5px; }
.contact-method-text a, .contact-method-text span { font-size: 20px; font-weight: 600; }

.contact-form { display: flex; flex-direction: column; gap: 25px; }
.form-group { position: relative; }
.form-control { width: 100%; background: transparent; border: none; border-bottom: 1px solid var(--surface-border); padding: 15px 0; color: var(--text-main); font-family: var(--font-body); font-size: 16px; outline: none; transition: var(--transition); }
.form-control:focus { border-color: var(--neon-cyan); }
.form-control::placeholder { color: var(--text-muted); }
textarea.form-control { height: 120px; resize: none; }
.submit-btn { background: transparent; color: var(--text-main); border: 1px solid var(--surface-border); padding: 20px; border-radius: 8px; font-family: var(--font-display); font-size: 16px; font-weight: 600; text-transform: uppercase; letter-spacing: 2px; display: flex; justify-content: space-between; align-items: center; transition: var(--transition); margin-top: 10px; cursor: pointer; }
.submit-btn:hover { background: var(--text-main); color: var(--bg-color); border-color: var(--text-main); }
.submit-btn:hover i { transform: translateX(5px) rotate(-45deg); }

footer { padding: 40px 0; text-align: center; border-top: 1px solid var(--surface-border); margin-top: 50px; }
.footer-content { display: flex; justify-content: space-between; align-items: center; }
.social-links { display: flex; gap: 20px; }
.social-links a { width: 45px; height: 45px; border-radius: 50%; background: var(--surface-color); border: 1px solid var(--surface-border); display: flex; align-items: center; justify-content: center; transition: var(--transition); }
.social-links a:hover { background: var(--text-main); color: var(--bg-color); transform: translateY(-5px); }

@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.4); } 70% { box-shadow: 0 0 0 10px rgba(59, 130, 246, 0); } 100% { box-shadow: 0 0 0 0 rgba(59, 130, 246, 0); } }

.faq-item { background: var(--surface-color); border: 1px solid var(--surface-border); border-radius: 12px; margin-bottom: 15px; overflow: hidden; transition: var(--transition); }
.faq-item:hover { border-color: rgba(255, 255, 255, 0.2); }
.faq-question { padding: 25px 30px; display: flex; justify-content: space-between; align-items: center; cursor: pointer; }
.faq-question h3 { font-size: 18px; margin: 0; font-family: var(--font-body); font-weight: 600; }
.faq-question i { color: var(--neon-cyan); transition: transform 0.3s ease; }
.faq-answer { padding: 0 30px; max-height: 0; overflow: hidden; transition: max-height 0.4s ease, padding 0.4s ease; color: var(--text-muted); font-size: 15px; }
.faq-item.active .faq-question i { transform: rotate(180deg); }
.faq-item.active .faq-answer { padding: 0 30px 25px; max-height: 200px; }

.phone-float { position: fixed; bottom: 110px; right: 40px; width: 60px; height: 60px; background-color: var(--neon-cyan); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 24px; box-shadow: 0 10px 30px rgba(59, 130, 246, 0.4); z-index: 1000; transition: var(--transition); }
.phone-float:hover { transform: scale(1.1) translateY(-5px); background-color: var(--neon-purple); color: #fff; }

.whatsapp-float { position: fixed; bottom: 40px; right: 40px; width: 60px; height: 60px; background-color: #25D366; color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 35px; box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4); z-index: 1000; transition: var(--transition); }
.whatsapp-float:hover { transform: scale(1.1) translateY(-5px); background-color: #128C7E; color: #fff; }

/* =========================================================================
   RESPONSIVE DESIGN (ALL DEVICES)
   ========================================================================= */

/* Desktop & Large Tablet */
@media (max-width: 1024px) {
    .container { padding: 0 30px; }
    .hero h1 { font-size: 65px; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .contact-box { grid-template-columns: 1fr; padding: 50px; gap: 50px; }
    .section-title { font-size: 45px; }
}

/* Tablet & Mobile */
@media (max-width: 768px) {
    .cursor-dot, .cursor-ring { display: none; }
    * { cursor: auto; }
    
    .container { padding: 0 25px; }
    .section { padding: 80px 0; }
    .section-header { margin-bottom: 40px; flex-direction: column; align-items: flex-start; gap: 15px; }
    .section-title { font-size: 35px; line-height: 1.2; }
    
    /* Nav & Hamburger */
    .menu-toggle { display: flex; }
    .nav-inner { flex-direction: row; align-items: center; }
    .nav-menu { position: fixed; top: 0; right: -100%; width: 100vw; height: 100vh; background: rgba(5, 11, 20, 0.98); backdrop-filter: blur(20px); flex-direction: column; justify-content: center; gap: 30px; transition: 0.5s cubic-bezier(0.16, 1, 0.3, 1); z-index: 1000; }
    .nav-menu.active { right: 0; }
    .nav-links { flex-direction: column; gap: 30px; margin-bottom: 20px; align-items: center; }
    .nav-links a { font-size: 24px; font-family: var(--font-display); }
    .menu-toggle.active span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
    .menu-toggle.active span:nth-child(2) { opacity: 0; }
    .menu-toggle.active span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

    /* Hero */
    .hero { padding-top: 130px; text-align: center; }
    .hero-content { display: flex; flex-direction: column; align-items: center; margin: 0 auto; }
    .hero h1 { font-size: 40px; margin-bottom: 20px; }
    .hero p { font-size: 16px; margin-bottom: 30px; }
    .hero-actions { flex-direction: column; width: 100%; }
    .hero-actions .btn { width: 100%; justify-content: center; }
    
    /* Grid */
    .services-grid { grid-template-columns: 1fr; gap: 20px; }
    .service-card { padding: 30px 20px; }
    
    /* Contact */
    .contact-box { padding: 30px 20px; gap: 40px; }
    .contact-info h2 { font-size: 32px; }
    .contact-method-text a, .contact-method-text span { font-size: 16px; }
    
    /* Footer */
    .footer-content { flex-direction: column; gap: 20px; text-align: center; }
    .social-links { justify-content: center; }
    
    /* Floating Buttons */
    .phone-float { bottom: 80px; right: 20px; width: 50px; height: 50px; font-size: 20px; }
    .whatsapp-float { bottom: 20px; right: 20px; width: 50px; height: 50px; font-size: 26px; }
}

/* Small Mobile */
@media (max-width: 480px) {
    .hero h1 { font-size: 36px; }
    .section-title { font-size: 30px; }
    .service-card { padding: 25px 15px; }
}
