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

:root {
    --primary: #00d4ff;
    --secondary: #7b2cbf;
    --accent: #ff006e;
    --dark: #0a0a0a;
    --light: #ffffff;
    --glass: rgba(255, 255, 255, 0.05);
    --gradient-1: linear-gradient(135deg, #00d4ff 0%, #7b2cbf 100%);
    --gradient-2: linear-gradient(45deg, #ff006e 0%, #8338ec 100%);
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    height: 100%;
}

body {
    font-family: 'Cairo', sans-serif;
    background: var(--dark);
    color: var(--light);
    overflow-x: hidden;
    line-height: 1.6;
    min-height: 100%;
    position: relative;
}

/* ========================
   3D BACKGROUND
======================== */
.bg-3d {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100dvh;
    z-index: -1;
    background: radial-gradient(ellipse at bottom, #1b2735 0%, #090a0f 100%);
    overflow: hidden;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    will-change: transform;
}

.cube-container {
    position: absolute;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    perspective: 1000px;
}

.floating-cube {
    position: absolute;
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, rgba(0,212,255,0.1), rgba(123,44,191,0.1));
    border: 1px solid rgba(0,212,255,0.3);
    animation: float 15s infinite ease-in-out;
    transform-style: preserve-3d;
    backdrop-filter: blur(5px);
}

.floating-cube:nth-child(1) { top: 10%; left: 10%; animation-delay: 0s; }
.floating-cube:nth-child(2) { top: 20%; right: 20%; animation-delay: 2s; width: 80px; height: 80px; }
.floating-cube:nth-child(3) { top: 60%; left: 30%; animation-delay: 4s; }
.floating-cube:nth-child(4) { bottom: 20%; right: 10%; animation-delay: 6s; width: 100px; height: 100px; }
.floating-cube:nth-child(5) { top: 40%; left: 50%; animation-delay: 8s; }

@media (max-width: 768px) {
    .floating-cube { display: none; }
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotateX(0deg) rotateY(0deg) translateZ(0); }
    25% { transform: translateY(-30px) rotateX(90deg) rotateY(45deg) translateZ(50px); }
    50% { transform: translateY(0) rotateX(180deg) rotateY(90deg) translateZ(0); }
    75% { transform: translateY(30px) rotateX(270deg) rotateY(135deg) translateZ(-50px); }
}

#bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100dvh !important;
    z-index: -1;
    pointer-events: none;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
}

/* ========================
   NAVIGATION
======================== */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 0 5%;
    height: 72px;
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid rgba(0, 212, 255, 0.15);
    z-index: 1000;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 20px;
    transition: height 0.3s ease, padding 0.3s ease, background 0.3s ease;
}

nav.scrolled {
    height: 60px;
    background: rgba(10, 10, 10, 0.97);
}

.logo {
    font-size: 1.8rem;
    font-weight: 900;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
}

.nav-links {
    display: flex;
    gap: 8px;
    list-style: none;
    justify-content: center;
    align-items: center;
}

.nav-links a {
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 6px 14px;
    border-radius: 8px;
    position: relative;
    transition: color 0.3s, background 0.3s;
    white-space: nowrap;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 3px;
    right: 14px;
    left: 14px;
    height: 2px;
    background: var(--primary);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
    border-radius: 2px;
}

.nav-links a:hover { color: var(--primary); background: rgba(0,212,255,0.07); }
.nav-links a:hover::after { transform: scaleX(1); }

.nav-cta {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.nav-cta-btn {
    padding: 9px 22px;
    border-radius: 50px;
    background: var(--gradient-1);
    color: white;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    box-shadow: 0 4px 20px rgba(0,212,255,0.25);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    border: none;
    cursor: pointer;
}

.nav-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0,212,255,0.4);
}

.mobile-menu {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary);
    background: none;
    border: none;
    padding: 5px;
    line-height: 1;
}

/* ========================
   HERO SECTION
======================== */
.hero {
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 5% 50px;
    position: relative;
    overflow: hidden;
}

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

.hero-badge {
    display: inline-block;
    padding: 10px 25px;
    background: var(--glass);
    border: 1px solid rgba(0,212,255,0.3);
    border-radius: 50px;
    margin-bottom: 30px;
    backdrop-filter: blur(10px);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 0 20px rgba(0,212,255,0.3); }
    50% { box-shadow: 0 0 40px rgba(0,212,255,0.6); }
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 900;
    margin-bottom: 20px;
    line-height: 1.2;
}

.gradient-text {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.hero p {
    font-size: 1.3rem;
    color: rgba(255,255,255,0.8);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 15px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gradient-1);
    color: white;
    border: none;
    box-shadow: 0 10px 30px rgba(0,212,255,0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(0,212,255,0.4);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid rgba(255,255,255,0.3);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    border-color: var(--primary);
    background: rgba(0,212,255,0.1);
}

/* ========================
   SERVICES SECTION
======================== */
.services {
    padding: 100px 5%;
    position: relative;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 { font-size: 2.5rem; margin-bottom: 15px; }
.section-title p { color: rgba(255,255,255,0.7); font-size: 1.1rem; }

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

.service-card {
    background: var(--glass);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.4s;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    transform-style: preserve-3d;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    transition: left 0.5s;
}

.service-card:hover::before { left: 100%; }

.service-card:hover {
    transform: translateY(-10px) rotateX(5deg);
    border-color: var(--primary);
    box-shadow: 0 30px 60px rgba(0,212,255,0.2);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-1);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 2rem;
    color: white;
    transform: translateZ(20px);
    box-shadow: 0 10px 30px rgba(0,212,255,0.3);
}

.service-card h3 { font-size: 1.5rem; margin-bottom: 15px; color: var(--primary); }
.service-card p { color: rgba(255,255,255,0.7); line-height: 1.8; }

/* ========================
   FEATURES SECTION
======================== */
.features {
    padding: 100px 5%;
    background: linear-gradient(180deg, transparent 0%, rgba(0,212,255,0.05) 50%, transparent 100%);
}

.features-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.feature-image {
    position: relative;
    transform-style: preserve-3d;
    perspective: 1000px;
}

.feature-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.5);
    transform: rotateY(-5deg) rotateX(5deg);
    transition: transform 0.5s;
    border: 2px solid rgba(0,212,255,0.3);
    object-fit: cover;
    max-height: 480px;
}

.feature-image:hover img { transform: rotateY(0deg) rotateX(0deg) scale(1.02); }

.feature-content h2 { font-size: 2.5rem; margin-bottom: 20px; line-height: 1.3; }

.feature-list { list-style: none; margin-top: 30px; }

.feature-list li {
    padding: 15px 0;
    display: flex;
    align-items: center;
    gap: 15px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.feature-list i { color: var(--primary); font-size: 1.2rem; }

/* ========================
   STATS SECTION
======================== */
.stats {
    padding: 80px 5%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.stat-card {
    text-align: center;
    padding: 40px;
    background: var(--glass);
    border-radius: 20px;
    border: 1px solid rgba(0,212,255,0.2);
    backdrop-filter: blur(10px);
    transition: transform 0.3s;
}

.stat-card:hover { transform: translateY(-5px); border-color: var(--primary); }

.stat-number {
    font-size: 3rem;
    font-weight: 900;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    margin-bottom: 10px;
}

/* ========================
   CONTACT SECTION
======================== */
.contact { padding: 100px 5%; position: relative; }

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info h2 { font-size: 2.5rem; margin-bottom: 30px; }

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-top: 40px;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 25px;
    background: var(--glass);
    border-radius: 15px;
    border: 1px solid rgba(255,255,255,0.1);
    transition: all 0.3s;
    text-decoration: none;
    color: white;
}

.contact-method:hover {
    border-color: var(--primary);
    transform: translateX(-10px);
    background: rgba(0,212,255,0.1);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-1);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.contact-details h3 { font-size: 1.2rem; margin-bottom: 5px; }
.contact-details p { color: rgba(255,255,255,0.7); font-size: 1.1rem; }

.contact-form {
    background: var(--glass);
    padding: 40px;
    border-radius: 30px;
    border: 1px solid rgba(255,255,255,0.1);
    backdrop-filter: blur(20px);
}

.form-group { margin-bottom: 25px; }

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: var(--primary);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 15px 20px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 12px;
    color: white;
    font-family: 'Cairo', sans-serif;
    font-size: max(16px, 1rem);
    transition: all 0.3s;
}

.form-group select {
    border-color: rgba(0,212,255,0.3);
    cursor: pointer;
}

.form-group select option { background: #1a1a2e; color: white; }

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(0,212,255,0.05);
    box-shadow: 0 0 20px rgba(0,212,255,0.2);
}

.form-group textarea { min-height: 120px; resize: vertical; }

.form-alert {
    padding: 15px 20px;
    border-radius: 12px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    animation: slideDown 0.3s ease;
    border: 1px solid transparent;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

.form-alert.success {
    background: rgba(0,212,255,0.15);
    border-color: rgba(0,212,255,0.5);
    color: #00d4ff;
}

.form-alert.error {
    background: rgba(255,0,110,0.15);
    border-color: rgba(255,0,110,0.5);
    color: #ff006e;
}

.form-alert .close-btn {
    margin-right: auto;
    background: none;
    border: none;
    color: inherit;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.3s;
}

.form-alert .close-btn:hover { background: rgba(255,255,255,0.2); }

.required { color: #ff006e; }

.error-msg {
    color: #ff006e;
    font-size: 0.85rem;
    margin-top: 5px;
    display: none;
    align-items: center;
    gap: 5px;
}

.error-msg::before { content: '⚠'; }
.error-msg.show { display: flex; }

.form-group input.error,
.form-group textarea.error,
.form-group select.error {
    border-color: #ff006e !important;
    box-shadow: 0 0 0 3px rgba(255,0,110,0.2) !important;
}

.form-group input.success,
.form-group textarea.success { border-color: #00d4ff !important; }

#submitBtn:disabled { opacity: 0.7; cursor: not-allowed; }

.btn-text, .btn-loader {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 60px;
    height: 60px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    box-shadow: 0 10px 30px rgba(37,211,102,0.4);
    z-index: 999;
    animation: bounce 2s infinite;
    text-decoration: none;
    transition: transform 0.3s;
}

.whatsapp-float:hover { transform: scale(1.1); animation: none; }

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* ========================
   FOOTER
======================== */
footer {
    background: rgba(0,0,0,0.8);
    padding: 60px 5% 30px;
    border-top: 1px solid rgba(0,212,255,0.2);
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 { color: var(--primary); margin-bottom: 20px; font-size: 1.3rem; }

.footer-section p,
.footer-section a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    line-height: 2;
    transition: color 0.3s;
}

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

.social-links { display: flex; gap: 15px; margin-top: 20px; }

.social-links a {
    width: 45px;
    height: 45px;
    background: var(--glass);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    border: 1px solid rgba(255,255,255,0.2);
    transition: all 0.3s;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.5);
}

/* ========================
   SCROLL REVEAL & PARTICLES
======================== */
.scroll-reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

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

.particles {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--primary);
    border-radius: 50%;
    opacity: 0.5;
    animation: particle-float 10s infinite;
}

@keyframes particle-float {
    0%, 100% { transform: translateY(100vh) rotate(0deg); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(-100vh) rotate(720deg); opacity: 0; }
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-10px); }
    75% { transform: translateX(10px); }
}

.shake { animation: shake 0.5s ease; }
.user-address { display: none !important; }

/* ========================
   SVG ICON ANIMATIONS
======================== */
.meridian  { animation: globe-spin 6s linear infinite; transform-origin: 20px 20px; }
.meridian2 { animation: globe-spin 9s linear infinite reverse; transform-origin: 20px 20px; }
.globe-dot { animation: globe-dot-a 4s linear infinite; transform-origin: 20px 20px; }
@keyframes globe-spin  { to { transform: rotate(360deg); } }
@keyframes globe-dot-a { 0%,100%{opacity:1} 50%{opacity:.3} }

.bracket-l  { animation: bk-l 2s ease-in-out infinite; }
.bracket-r  { animation: bk-r 2s ease-in-out infinite; }
.code-line  { animation: c-line 2s ease-in-out infinite; }
.code-line:nth-child(2) { animation-delay: .25s; }
.code-line:nth-child(3) { animation-delay: .5s; }
@keyframes bk-l   { 0%,100%{transform:translateX(0)} 50%{transform:translateX(-3px)} }
@keyframes bk-r   { 0%,100%{transform:translateX(0)} 50%{transform:translateX(3px)} }
@keyframes c-line { 0%,100%{opacity:1;transform:scaleX(1)} 50%{opacity:.5;transform:scaleX(.7)} }

.bag-body { animation: bag-bounce .9s ease-in-out infinite; }
.bag-item  { animation: item-pop  1.6s ease-in-out infinite; }
.bag-item:nth-child(2) { animation-delay: .3s; }
.bag-tag   { animation: tag-swing 1.8s ease-in-out infinite; transform-origin: 20px 14px; }
@keyframes bag-bounce { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-3px)} }
@keyframes item-pop   { 0%,100%{opacity:.6;transform:scaleY(1)} 50%{opacity:1;transform:scaleY(1.15)} }
@keyframes tag-swing  { 0%,100%{transform:rotate(0)} 50%{transform:rotate(8deg)} }

.cap-top     { animation: cap-float  2.5s ease-in-out infinite; }
.cap-tassel  { animation: tassel-sw  1.5s ease-in-out infinite; transform-origin: 30px 14px; }
.book-page   { animation: page-flip  2s ease-in-out infinite; }
.book-page:nth-child(2) { animation-delay: .4s; }
@keyframes cap-float { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-4px)} }
@keyframes tassel-sw { 0%,100%{transform:rotate(-10deg)} 50%{transform:rotate(10deg)} }
@keyframes page-flip { 0%,100%{transform:scaleX(1);opacity:.7} 50%{transform:scaleX(.4);opacity:1} }

.robot-head  { animation: robot-think 2s ease-in-out infinite; }
.robot-eye   { animation: robot-blink 3s ease-in-out infinite; }
.robot-eye:nth-child(2) { animation-delay: 1.5s; }
.brain-pulse { animation: brain-p 1.2s ease-in-out infinite; transform-origin: 20px 14px; }
.signal-dot  { animation: sig-dot 1.4s ease-out infinite; }
.signal-dot:nth-child(2) { animation-delay: .25s; }
.signal-dot:nth-child(3) { animation-delay: .5s; }
@keyframes robot-think { 0%,100%{transform:translateY(0) rotate(0)} 50%{transform:translateY(-2px) rotate(1.5deg)} }
@keyframes robot-blink { 0%,85%,100%{transform:scaleY(1)} 90%{transform:scaleY(.1)} }
@keyframes brain-p     { 0%,100%{transform:scale(1);opacity:.8} 50%{transform:scale(1.12);opacity:1} }
@keyframes sig-dot     { 0%{transform:translateX(0);opacity:1} 100%{transform:translateX(8px);opacity:0} }

.phone-body  { animation: phone-vib 3s ease-in-out infinite; }
.notif-dot   { animation: notif-pop 2s ease-out infinite; }
.notif-dot:nth-child(2) { animation-delay: .5s; }
.screen-line { animation: scr-scroll 1.8s ease-in-out infinite; }
.screen-line:nth-child(2) { animation-delay: .3s; }
@keyframes phone-vib  { 0%,90%,100%{transform:rotate(0)} 92%{transform:rotate(-4deg)} 94%{transform:rotate(4deg)} 96%{transform:rotate(-2deg)} 98%{transform:rotate(2deg)} }
@keyframes notif-pop  { 0%{transform:scale(0);opacity:0} 20%{transform:scale(1.3);opacity:1} 40%{transform:scale(1);opacity:1} 80%,100%{transform:scale(1);opacity:0} }
@keyframes scr-scroll { 0%,100%{transform:translateY(0);opacity:.7} 50%{transform:translateY(-3px);opacity:1} }

.logo-ring1  { animation: ring-spin 4s linear infinite; transform-origin: 20px 20px; }
.logo-ring2  { animation: ring-spin 6s linear infinite reverse; transform-origin: 20px 20px; }
.logo-star   { animation: star-pulse 1.8s ease-in-out infinite; }
.color-dot   { animation: color-cyc 3s ease-in-out infinite; }
.color-dot:nth-child(2) { animation-delay: .5s; }
.color-dot:nth-child(3) { animation-delay: 1s; }
.color-dot:nth-child(4) { animation-delay: 1.5s; }
@keyframes ring-spin  { to { transform: rotate(360deg); } }
@keyframes star-pulse { 0%,100%{transform:scale(1)} 50%{transform:scale(1.2)} }
@keyframes color-cyc  { 0%,100%{opacity:.4} 50%{opacity:1} }

.cam-body  { animation: cam-shake 3s ease-in-out infinite; }
.cam-lens  { animation: lens-focus 2s ease-in-out infinite; }
.rec-light { animation: rec-blink .8s ease-in-out infinite; }
@keyframes cam-shake  { 0%,95%,100%{transform:rotate(0)} 96%{transform:rotate(-1.5deg)} 98%{transform:rotate(1.5deg)} }
@keyframes lens-focus { 0%,100%{r:5} 50%{r:6.5} }
@keyframes rec-blink  { 0%,100%{opacity:1;fill:#ff006e} 50%{opacity:.2;fill:#ff006e} }

.mega-body  { animation: mega-shake 2s ease-in-out infinite; }
.wave-ring  { animation: wave-exp 1.6s ease-out infinite; transform-origin: 30px 20px; }
.wave-ring:nth-child(2) { animation-delay: .35s; }
.wave-ring:nth-child(3) { animation-delay: .7s; }
@keyframes mega-shake { 0%,100%{transform:rotate(0)} 30%{transform:rotate(-3deg)} 60%{transform:rotate(3deg)} }
@keyframes wave-exp   { 0%{opacity:0;transform:scale(.5)} 30%{opacity:1} 100%{opacity:0;transform:scale(1.8)} }

.mag-glass    { animation: mag-search 2.5s ease-in-out infinite; }
.search-pulse { animation: s-pulse 2s ease-out infinite; transform-origin: 17px 17px; }
.search-pulse:nth-child(2) { animation-delay: .7s; }
.rank-bar     { animation: rank-rise 1.8s ease-out infinite; }
.rank-bar:nth-child(2) { animation-delay: .25s; }
.rank-bar:nth-child(3) { animation-delay: .5s; }
@keyframes mag-search { 0%,100%{transform:translate(0,0)} 30%{transform:translate(2px,-2px)} 70%{transform:translate(-2px,2px)} }
@keyframes s-pulse    { 0%{opacity:.6;r:8} 100%{opacity:0;r:18} }
@keyframes rank-rise  { 0%,100%{transform:scaleY(1);opacity:.6} 50%{transform:scaleY(1.2);opacity:1} }

.server-rack { animation: rack-float 3s ease-in-out infinite; }
.srv-dot     { animation: srv-blink 1.6s ease-in-out infinite; }
.srv-dot:nth-child(2) { animation-delay: .4s; }
.srv-dot:nth-child(3) { animation-delay: .8s; }
.data-flow   { animation: data-stream 1s linear infinite; }
.data-flow:nth-child(2) { animation-delay: .4s; }
@keyframes rack-float  { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-3px)} }
@keyframes srv-blink   { 0%,100%{fill:rgba(255,255,255,.2)} 50%{fill:#00ff88} }
@keyframes data-stream { 0%{stroke-dashoffset:20;opacity:.8} 100%{stroke-dashoffset:0;opacity:.2} }

/* ========================
   RESPONSIVE DESIGN
======================== */
@media (max-width: 1100px) {
    .nav-links { gap: 4px; }
    .nav-links a { padding: 6px 10px; font-size: 0.88rem; }
}

@media (max-width: 900px) {
    nav {
        grid-template-columns: 1fr auto;
        padding: 0 4%;
    }

    .logo { font-size: 1.6rem; }

    .nav-links {
        display: none;
        position: fixed;
        top: 72px;
        right: 0;
        left: 0;
        background: rgba(10,10,10,0.98);
        backdrop-filter: blur(24px);
        -webkit-backdrop-filter: blur(24px);
        flex-direction: column;
        padding: 16px;
        gap: 6px;
        border-bottom: 1px solid rgba(0,212,255,0.15);
        z-index: 999;
        max-height: calc(100dvh - 72px);
        overflow-y: auto;
    }

    nav.scrolled .nav-links {
        top: 60px;
        max-height: calc(100dvh - 60px);
    }

    .nav-links.active { display: flex; }
    .nav-links li { width: 100%; }

    .nav-links a {
        font-size: 1.2rem !important;
        font-weight: 700 !important;
        padding: 16px 20px !important;
        border-radius: 12px;
        min-height: 56px;
        display: flex;
        align-items: center;
        width: 100%;
        color: rgba(255,255,255,0.9);
    }

    .nav-links a:hover,
    .nav-links a:active {
        color: var(--primary);
        background: rgba(0,212,255,0.1);
    }

    .nav-links a::after { display: none; }
    .nav-cta { display: none; }
    .mobile-menu { display: block; font-size: 1.6rem; }

    .features-container,
    .contact-container { grid-template-columns: 1fr; }

    .feature-image { order: -1; }
    .feature-image img { transform: none; }
    .feature-image:hover img { transform: scale(1.02); }

    .cta-buttons { flex-direction: column; align-items: center; }
    .btn { width: 100%; max-width: 300px; justify-content: center; }

    .service-card:hover { transform: translateY(-5px); }
}

@media (max-width: 600px) {
    body { font-size: 16px; }
    .hero { padding: 90px 5% 50px; }
    .hero h1 { font-size: 2rem; }
    .hero p { font-size: 1.1rem; }
    .hero-badge { font-size: 1rem; padding: 10px 20px; }

    .section-title h2 { font-size: 1.9rem; }
    .section-title p { font-size: 1.05rem; }

    .services-grid { grid-template-columns: 1fr; gap: 20px; }
    .service-card { padding: 30px 20px; }
    .service-card h3 { font-size: 1.25rem; }
    .service-card p { font-size: 1rem; line-height: 1.7; }

    .feature-content h2 { font-size: 1.8rem; }
    .feature-list li { font-size: 1rem; padding: 12px 0; }

    .stats { grid-template-columns: 1fr 1fr; gap: 16px; padding: 60px 4%; }
    .stat-card { padding: 22px 12px; }
    .stat-number { font-size: 2.2rem; }
    .stat-card p { font-size: 1rem; }

    .contact-form { padding: 25px 18px; }
    .contact-info h2 { font-size: 1.8rem; }
    .contact-method { padding: 16px; }
    .contact-details h3 { font-size: 1.1rem; }
    .contact-details p { font-size: 1rem; }
    .form-group label { font-size: 1rem; }

    .btn { font-size: 1rem; padding: 13px 28px; }

    .footer-content { grid-template-columns: 1fr; gap: 30px; }
    .footer-section h3 { font-size: 1.2rem; }
    .footer-section p,
    .footer-section a { font-size: 1rem; }
    .footer-bottom { font-size: 0.9rem; }

    .whatsapp-float { bottom: 20px; left: 20px; width: 52px; height: 52px; font-size: 1.7rem; }

    #bg { display: none; }
    .bg-3d { background: radial-gradient(ellipse at 50% 100%, #1b2735 0%, #090a0f 70%); }
}

@supports (-webkit-touch-callout: none) {
    .hero { min-height: -webkit-fill-available; }
    .service-card,
    .stat-card,
    .contact-form {
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        background: rgba(255,255,255,0.07);
    }
}

@media (prefers-reduced-motion: reduce) {
    .floating-cube,
    .particle,
    .whatsapp-float { animation: none; }
    .scroll-reveal { opacity: 1; transform: none; }
}
