body { margin: 0; font-family: 'Segoe UI', Arial; background:#eef4ff; overflow-x:hidden; }
html { scroll-behavior:smooth; }

/* HEADER */
.header { position:fixed; top:0; width:100%; background:rgba(255,255,255,0.7); backdrop-filter:blur(10px); padding:15px 0; text-align:center; z-index:1000; }
.logo-center { font-size:32px; font-weight:900; color:#0a5ad6; }

.nav-desktop { display:flex; gap:30px; justify-content:center; margin-top:5px; }
.nav-desktop a { color:#1a1a1a; text-decoration:none; font-size:16px; }
.nav-desktop a:hover { color:#0a5ad6; border-bottom:2px solid #0a5ad6; }

.burger { display:none; font-size:32px; cursor:pointer; }
.mobile-menu { display:none; flex-direction:column; gap:20px; background:white; padding:20px 0; }
.mobile-menu.open { display:flex; }

/* HERO */
.hero {
    height: 100vh;
    padding-top: 220px;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at 20% 30%, #1b5cff 0%, #0a2a64 60%, #031533 100%);
}

.hero::before {
    content: "";
    position: absolute;
    top: -25%;
    left: -20%;
    width: 2100px;
    height: 2100px;
    background: radial-gradient(circle,
        rgba(0,140,255,0.40),
        rgba(0,80,160,0.12),
        transparent 75%);
    filter: blur(70px);
    animation: glow1 12s ease-in-out infinite alternate;
    z-index: 1;
}

.hero::after {
    content: "";
    position: absolute;
    bottom: -25%;
    right: -10%;
    width: 1400px;
    height: 1400px;
    background: radial-gradient(
        circle,
        rgba(0, 190, 255, 0.55),
        rgba(0, 90, 200, 0.25),
        transparent 75%
    );
    filter: blur(80px);
    animation: glow2 10s ease-in-out infinite alternate-reverse;
    z-index: 1;
}

@keyframes glow1 {
    0%   { transform: scale(0.9);  opacity: 0.7;  }
    100% { transform: scale(1.15); opacity: 0.95; }
}

@keyframes glow2 {
    0%   { transform: scale(1.1);  opacity: 0.8;  }
    100% { transform: scale(0.85); opacity: 0.95; }
}

.hero-bg-circle,
.hero-bg-particles {
    display: none !important;
}

/* LOGO */
.logo-wrapper { position:relative; display:inline-block; z-index:20; will-change:transform; }

.logo-main {
    width: 360px;
    position: relative;
    z-index: 30;
    margin-bottom: 40px;
    opacity: 0;
    animation: logoIntro 1.3s forwards;
    will-change: filter, transform;
    transform-origin: center center;
}

@keyframes logoIntro { from { opacity:0; transform:scale(0.7); } to { opacity:1; transform:scale(1); } }

/* Sparkles — CSS-only glow ring */
.logo-wrapper::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 420px;
    height: 420px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: radial-gradient(circle,
        rgba(0, 200, 255, 0.35) 0%,
        rgba(0, 120, 255, 0.15) 40%,
        transparent 70%
    );
    pointer-events: none;
    animation: sparkle 4s ease-in-out infinite alternate;
    z-index: -1;
}

@keyframes sparkle {
    0%   { transform: translate(-50%, -50%) scale(0.9); opacity: 0.5; }
    100% { transform: translate(-50%, -50%) scale(1.2); opacity: 1;   }
}

.logo-main:hover { transform:scale(1.08); filter:drop-shadow(0 0 40px rgba(0,200,255,1)); }

.logo-main.fadeout { animation: flash .6s ease, fade 2.8s ease forwards .4s; }

@keyframes flash {
    0%   { filter: drop-shadow(0 0 30px rgba(0,180,255,.6)); }
    40%  { filter: drop-shadow(0 0 70px rgba(0,255,255,1));  }
    80%  { filter: drop-shadow(0 0 40px rgba(0,160,255,.4)); }
    100% { filter: drop-shadow(0 0 25px rgba(0,130,255,.3)); }
}

@keyframes fade {
    from { filter: drop-shadow(0 0 25px rgba(0,130,255,.3)); }
    to   { filter: drop-shadow(0 0 8px rgba(0,120,255,.1));  }
}

/* HERO TEXT */
.hero h1  { font-size:56px; font-weight:900; margin:20px 0 10px; opacity:0; animation:fadeUp 1.2s forwards .4s; }
.hero p   { font-size:24px; opacity:0; animation:fadeUp 1.2s forwards .7s; }
.btn      { margin-top:20px; padding:14px 36px; background:white; color:#0a3d8f; border-radius:12px; display:inline-block; font-weight:bold; text-decoration:none; opacity:0; animation:fadeUp 1.2s forwards 1s; }

.hero h1,
.hero p,
.hero .btn { position:relative; z-index:50; }

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

/* SECTIONS */
.section { padding:120px 60px; text-align:center; }
.section * { opacity:0; transform:translateY(40px); transition:.7s ease; }
.section.show * { opacity:1; transform:translateY(0); }
.left-appear  * { transform:translateX(-40px); } .left-appear.show  * { transform:translateX(0); }
.right-appear * { transform:translateX(40px);  } .right-appear.show * { transform:translateX(0); }
.bottom-appear * { transform:translateY(40px); } .bottom-appear.show * { transform:translateY(0); }

.services-container { display:grid; grid-template-columns:repeat(auto-fit,minmax(260px,1fr)); gap:30px; }
.service-card { background:white; padding:30px; border-radius:20px; box-shadow:0 10px 25px rgba(0,50,120,.15); transition:.3s; }
.service-card:hover { transform:translateY(-10px); box-shadow:0 15px 35px rgba(0,50,120,.3); }
.icon { font-size:42px; }

.benefits-list { list-style:none; font-size:22px; padding:0; margin:0 auto; text-align:center; }

#totop { position:fixed; bottom:30px; right:30px; background:#0a5ad6; color:white; padding:15px; border-radius:50%; cursor:pointer; }

footer { background:#0a3d8f; color:white; text-align:center; padding:25px; margin-top:40px; }

@media(max-width:900px) {
    .nav-desktop { display:none; }
    .burger { display:block; }
    .logo-main { width:260px; }
}
