@keyframes spin {
    0% {
        transform: rotate(0deg);
        -webkit-transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
        -webkit-transform: rotate(360deg);
    }
}

/* Reset & Base Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #121212;
    color: #fff;
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation Bar */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    /* position: fixed;
    top: 0px;
    left: 0px; */
    width: 100%;
    z-index: 100;
    background-color: rgba(18, 18, 18, 0.9);
    backdrop-filter: blur(10px);
}

nav .brand {
    display: flex;
    align-items: center;
}

nav .brand img {
    width: 40px;
    height: 40px;
    margin-right: 10px;
}

nav .brand p {
    margin: 0px;
    padding: 0px;
    font-size: 1.5rem;
    color: #CC8FDD;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animated {
    opacity: 0;
    animation: fadeIn 1s ease-out forwards;
}

.delay-1 {
    animation-delay: 0.3s;
}

.delay-2 {
    animation-delay: 0.6s;
}

.delay-3 {
    animation-delay: 0.9s;
}

/* Header / Hero Section */
header {
    position: relative;
    text-align: center;
    padding: 120px 20px 80px;
    background-color: #121212;
    overflow: hidden;
    /* margin-top: 80px; */
    /* to account for fixed nav */
}

/* Vector Design – Example SVG overlay */
header::before {
    content: "";
    position: absolute;
    top: -20%;
    left: 50%;
    transform: translateX(-50%);
    width: 150%;
    height: 150%;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'%3E%3Cpath fill='%23ffffff' fill-opacity='0.05' d='M0,64L48,80C96,96,192,128,288,144C384,160,480,160,576,144C672,128,768,96,864,74.7C960,53,1056,43,1152,64C1248,85,1344,139,1392,165.3L1440,192L1440,0L1392,0C1344,0,1248,0,1152,0C1056,0,960,0,864,0C768,0,672,0,576,0C480,0,384,0,288,0C192,0,96,0,48,0L0,0Z'%3E%3C/path%3E%3C/svg%3E") no-repeat center;
    background-size: cover;
    z-index: 0;
    opacity: 0.7;
}

header .content {
    position: relative;
    z-index: 1;
}

header h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: #CC8FDD;
}

header p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 30px;
}

.cta-button {
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    line-height: 1;
    padding: 15px 30px;
    background-color: #CC8FDD;
    color: #121212;
    font-weight: 600;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.telegram-icon {
    display: inline-block;
    margin-right: 10px;
}

.cta-button:hover {
    background-color: #b27ccc;
}

/* Section Styles */
section {
    padding: 60px 0;
}

section h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2.2rem;
    color: #CC8FDD;
}

.features,
.faq {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.feature,
.faq-item {
    background-color: #1E1E1E;
    padding: 20px;
    border-radius: 8px;
    flex: 1 1 300px;
    max-width: 350px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    text-align: center;
    transition: transform 0.3s ease;
}

.feature:hover,
.faq-item:hover {
    transform: translateY(-5px);
}

.feature i,
.faq-item i {
    font-size: 2rem;
    margin-bottom: 15px;
    color: #CC8FDD;
}

.feature h3,
.faq-item h3 {
    margin-bottom: 10px;
    color: #CC8FDD;
}

.feature p,
.faq-item p {
    font-size: 0.95rem;
}

/* Footer Styles */
footer {
    text-align: center;
    padding: 30px 0;
    font-size: 0.9rem;
    border-top: 1px solid #333;
}

/* scrollbar classes */
/* width */
::-webkit-scrollbar {
    width: 5px;
    height: 0px;
}

::-moz-scrollbar {
    width: 5px;
    height: 0px;
}

::-o-scrollbar {
    width: 5px;
    height: 0px;
}

.horizon::-webkit-scrollbar {
    height: 5px !important;
}

.horizon::-moz-scrollbar {
    height: 5px !important;
}

.horizon::-o-scrollbar {
    height: 5px !important;
}



/* Handle */
::-webkit-scrollbar-thumb {
    border-radius: 10px;
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
    -o-border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: rgba(138, 138, 138, 0.7);
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: rgba(139, 139, 139, 0.9);
}

/* Track */
::-webkit-scrollbar-track {
    background: transparent;
}

#preloader {
    position: fixed;
    z-index: 9999;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    overflow: hidden;
    display: none;
}

#preloader div {
    height: 100%;
    width: 100%;
    display: flex;
    display: webkit-flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.5);
}

#preloader div span {
    display: block;
    height: 90px;
    width: 90px;
    border-radius: 100%;
    -webkit-border-radius: 100%;
    -o-border-radius: 100%;
    -moz-border-radius: 100%;
    border: 5px solid transparent;
    border-top-color: #E39FF6;
    animation: spin 700ms infinite linear;
}

#preloader.active {
    display: block;
}