/* === GLOBAL ENHANCEMENTS === */

body {
    background: radial-gradient(circle at top, #0a192f, #020c1b 70%);
}

/* Smooth scroll */
html {
    scroll-behavior: smooth;
}

/* === MOUSE GLOW EFFECT === */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    background: radial-gradient(circle 300px at var(--x, 50%) var(--y, 50%), rgba(100,150,255,0.12), transparent 60%);
    z-index: 0;
}

/* === HERO ENHANCED === */

.hero h1 {
    background: linear-gradient(90deg, #ffffff, #a5b4fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* subtle animated line */
.hero::after {
    content: "";
    position: absolute;
    bottom: 80px;
    width: 200px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #3b82f6, transparent);
    animation: lineMove 3s infinite;
}

@keyframes lineMove {
    0% { opacity: 0; transform: scaleX(0); }
    50% { opacity: 1; transform: scaleX(1); }
    100% { opacity: 0; transform: scaleX(0); }
}

/* === 3D CARD EFFECT === */

.card {
    transform-style: preserve-3d;
    perspective: 1000px;
    transition: transform 0.2s ease, box-shadow 0.3s;
}

/* glow border */
.card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 15px;
    padding: 1px;
    background: linear-gradient(120deg, transparent, rgba(100,150,255,0.4), transparent);
    -webkit-mask: 
        linear-gradient(#000 0 0) content-box, 
        linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
}

/* === PARALLAX SECTION DEPTH === */

.section {
    position: relative;
    z-index: 1;
}

.section::before {
    content: "";
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(59,130,246,0.08), transparent);
    top: -100px;
    left: -100px;
    filter: blur(80px);
}

/* === BUTTON UPGRADE === */

.primary {
    position: relative;
    overflow: hidden;
}

.primary::after {
    content: "";
    position: absolute;
    width: 200%;
    height: 200%;
    top: -50%;
    left: -50%;
    background: linear-gradient(120deg, transparent, rgba(255,255,255,0.2), transparent);
    transform: rotate(25deg);
    transition: 0.5s;
}

.primary:hover::after {
    left: 100%;
}

/* === TEXT DETAIL === */

p {
    line-height: 1.7;
}

/* === SCROLLBAR (small detail, big impact) === */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-thumb {
    background: #3b82f6;
    border-radius: 10px;
}
