/* ===== Hero Section ===== */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #08080d;
}

/* ===== Background Circles ===== */
.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.circle {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    opacity: 0.28;
    animation: float 22s ease-in-out infinite;
}

.circle-1 { width: 400px; height: 400px; background: #4f46e5; top: 8%; left: 8%; animation-duration: 24s; }
.circle-2 { width: 320px; height: 320px; background: #0891b2; top: 55%; left: 68%; animation-duration: 28s; animation-delay: -6s; }
.circle-3 { width: 280px; height: 280px; background: #4f46e5; top: 68%; left: 12%; animation-duration: 26s; animation-delay: -12s; }
.circle-4 { width: 240px; height: 240px; background: #0891b2; top: 12%; left: 70%; animation-duration: 20s; animation-delay: -4s; }

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(30px, -30px) scale(1.08); }
}

/* ===== Hero Content ===== */
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 720px;
    padding: 0 20px;
}

.hero-tag {
    display: inline-block;
    color: #818cf8;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 20px;
    opacity: 0;
    animation: fadeUp 0.8s ease forwards;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    color: #f1f5f9;
    line-height: 1.15;
    margin-bottom: 24px;
    opacity: 0;
    animation: fadeUp 0.8s ease forwards;
    animation-delay: 0.15s;
}

.hero-title .highlight {
    display: inline-block;
    background: linear-gradient(90deg, #4f46e5, #0891b2);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: gradientShift 6s linear infinite;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: #94a3b8;
    line-height: 1.7;
    margin-bottom: 36px;
    opacity: 0;
    animation: fadeUp 0.8s ease forwards;
    animation-delay: 0.3s;
}

/* ===== Magnetic Letters (local zoom, no ghost/clone) ===== */
.letter {
    display: inline-block;
    transition: transform 0.12s ease-out;
    will-change: transform;
}

/* ===== Button ===== */
.hero-btn {
    position: relative;
    display: inline-block;
    padding: 14px 38px;
    background: #f1f5f9;
    color: #08080d;
    font-weight: 700;
    font-size: 1rem;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    opacity: 0;
    animation: fadeUp 0.8s ease forwards;
    animation-delay: 0.45s;
}

.hero-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(79, 70, 229, 0.3);
    color: #08080d;
}

.btn-text { position: relative; z-index: 2; }

.pixel-burst {
    position: absolute;
    inset: 0;
    border-radius: 50px;
    pointer-events: none;
    z-index: 1;
}

.pixel-burst span {
    position: absolute;
    width: 5px;
    height: 5px;
    background: #4f46e5;
    top: 50%;
    left: 50%;
    opacity: 0;
}

.hero-btn:hover .pixel-burst span {
    animation: pixelFly 0.6s ease-out forwards;
}

@keyframes pixelFly {
    0% { opacity: 1; transform: translate(-50%, -50%) translate(0, 0) scale(1); }
    100% { opacity: 0; transform: translate(-50%, -50%) translate(var(--dx), var(--dy)) scale(0); }
}

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

@keyframes gradientShift {
    to { background-position: 200% center; }
}

@media (max-width: 768px) {
    .circle { filter: blur(60px); }
}