:root {
    --primary: #6C63FF;
    --secondary: #00D9FF;
    --bg-dark: #07070f;
    --card-bg: rgba(12, 12, 24, 0.7);
    --border: rgba(108, 99, 255, 0.3);
    --text: #edf2f8;
    --text-dim: #a5aec8;
    --transition: all 0.3s cubic-bezier(0.2, 0.9, 0.4, 1.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: var(--bg-dark);
    color: var(--text);
    font-family: 'Vazirmatn', 'Inter', sans-serif;
    font-weight: 500;
    overflow-x: hidden;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
    z-index: 10;
}

.matrix-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    opacity: 0.06;
}

.grid-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(rgba(108, 99, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 217, 255, 0.04) 1px, transparent 1px);
    background-size: 55px 55px;
    pointer-events: none;
    z-index: 0;
}

.orb-1,
.orb-2 {
    position: fixed;
    border-radius: 50%;
    filter: blur(70px);
    pointer-events: none;
    z-index: 0;
    animation: floatAnim 25s infinite alternate;
}

.orb-1 {
    top: 10%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(108, 99, 255, 0.2), transparent 70%);
}

.orb-2 {
    bottom: 0;
    left: -15%;
    width: 550px;
    height: 550px;
    background: radial-gradient(circle, rgba(0, 217, 255, 0.15), transparent 70%);
    animation-name: floatAnim2;
    animation-duration: 22s;
}

@keyframes floatAnim {
    0% {
        transform: translate(0, 0) scale(1);
        opacity: 0.4;
    }

    100% {
        transform: translate(-60px, 50px) scale(1.15);
        opacity: 0.7;
    }
}

@keyframes floatAnim2 {
    0% {
        transform: translate(0, 0) scale(1);
        opacity: 0.3;
    }

    100% {
        transform: translate(70px, -50px) scale(1.2);
        opacity: 0.6;
    }
}

.section {
    padding: 70px 0;
}

.fade-up {
    opacity: 0;
    transform: translateY(35px);
    transition: all 0.7s cubic-bezier(0.2, 0.9, 0.4, 1.1);
}

.fade-up.revealed {
    opacity: 1;
    transform: translateY(0);
}

.toast {
    position: fixed;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: linear-gradient(95deg, var(--primary), var(--secondary));
    color: white;
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.85rem;
    z-index: 1000;
    opacity: 0;
    transition: all 0.3s;
    white-space: nowrap;
}

.toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

.back-to-top {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    width: 45px;
    height: 45px;
    border-radius: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    transition: 0.25s;
    z-index: 99;
}

.back-to-top:hover {
    transform: scale(1.08);
}