:root {
    --bg-main: #0B0F19; /* Deep space navy */
    --bg-surface: rgba(19, 27, 44, 0.4); /* Glassmorphism base */
    --bg-surface-alt: rgba(26, 36, 56, 0.6);
    --accent-1: #4facfe; /* Neon Cyan */
    --accent-2: #00f2fe; 
    --accent-3: #a18cd1; /* Neon Purple */
    --accent-gradient: linear-gradient(135deg, var(--accent-1), var(--accent-3));
    --accent-gradient-hover: linear-gradient(135deg, var(--accent-3), var(--accent-1));
    --text-light: #F8FAFC;
    --text-muted: #94A3B8;
    --border-color: rgba(255, 255, 255, 0.08);
    --header-bg: rgba(11, 15, 25, 0.6);
    --glass-blur: blur(16px);
    --glow-shadow: 0 0 20px rgba(79, 172, 254, 0.4);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-main);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    position: relative;
}

/* Background Glow Orbs */
.bg-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    z-index: 0;
    opacity: 0.4;
    pointer-events: none;
}
.bg-orb-1 {
    top: -5%;
    left: -10%;
    width: 50vw;
    height: 50vw;
    background: rgba(79, 172, 254, 0.15);
}
.bg-orb-2 {
    top: 30%;
    right: -10%;
    width: 40vw;
    height: 40vw;
    background: rgba(161, 140, 209, 0.15);
}

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

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 1;
}

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: transparent;
    padding: 16px 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

header.scrolled {
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
    padding: 12px 0;
    background: var(--header-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-bottom: 1px solid var(--border-color);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: 800;
    color: var(--text-light);
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 36px;
    height: 36px;
    object-fit: contain;
    display: inline-block;
    filter: drop-shadow(0 0 10px rgba(79, 172, 254, 0.5));
}

.nav-menu {
    display: flex;
    gap: 36px;
    align-items: center;
}

.nav-menu a {
    font-weight: 500;
    font-size: 15px;
    color: var(--text-muted);
    transition: all 0.3s ease;
    position: relative;
}

.nav-menu a:hover {
    color: var(--text-light);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background: var(--accent-gradient);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

.cta-btn {
    background: var(--accent-gradient);
    color: #ffffff !important;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 14px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    box-shadow: var(--glow-shadow);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(161, 140, 209, 0.6);
    background: var(--accent-gradient-hover);
}

.cta-btn::after {
    display: none; /* Hide nav underline for buttons */
}

.mobile-menu-btn {
    display: none;
    font-size: 28px;
    background: none;
    border: none;
    color: var(--text-light);
    cursor: pointer;
    padding: 4px;
}

/* Hero Section */
.hero {
    padding: 180px 0 120px;
    text-align: center;
    min-height: 90vh;
    display: flex;
    align-items: center;
    position: relative;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 850px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-block;
    padding: 8px 18px;
    background: rgba(79, 172, 254, 0.15);
    color: var(--accent-1);
    border: 1px solid rgba(79, 172, 254, 0.3);
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 32px;
    text-transform: uppercase;
    letter-spacing: 2px;
    box-shadow: 0 0 20px rgba(79, 172, 254, 0.2);
}

/* Floating animation for logo in hero */
.hero-image-animate {
    animation: float 6s ease-in-out infinite;
    filter: drop-shadow(0 15px 30px rgba(161, 140, 209, 0.3));
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

.hero h1 {
    font-size: 64px;
    font-weight: 800;
    margin-bottom: 24px;
    color: #ffffff;
    line-height: 1.1;
    letter-spacing: -1.5px;
    background: -webkit-linear-gradient(#fff, #cbd5e1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 19px;
    color: var(--text-muted);
    margin-bottom: 48px;
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

.hero .cta-btn {
    font-size: 16px;
    padding: 16px 42px;
    border-radius: 8px;
}

/* Features Section */
.features {
    padding: 100px 0;
    position: relative;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.feature-card {
    background: var(--bg-surface);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 48px 36px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-align: left;
    position: relative;
    overflow: hidden;
}

/* Subtle inner glow on hover */
.feature-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 100%;
    background: linear-gradient(180deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0) 100%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: rgba(79, 172, 254, 0.4);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4), inset 0 0 20px rgba(79,172,254,0.05);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    width: 64px;
    height: 64px;
    background: rgba(79, 172, 254, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 32px;
    color: var(--accent-1);
    transition: all 0.4s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
    background: var(--accent-gradient);
    color: #fff;
    box-shadow: var(--glow-shadow);
}

.feature-icon svg {
    width: 32px;
    height: 32px;
    fill: currentColor;
}

.feature-card h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-light);
}

.feature-card p {
    color: var(--text-muted);
    font-size: 16px;
    line-height: 1.7;
}

/* About Section */
.about {
    padding: 120px 0;
    position: relative;
}

.about-content {
    max-width: 850px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 56px;
    color: var(--text-light);
    letter-spacing: -0.5px;
    background: -webkit-linear-gradient(#fff, #cbd5e1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.about-text p {
    color: var(--text-muted);
    font-size: 17px;
    line-height: 1.8;
    margin-bottom: 24px;
}

.about-text strong {
    color: var(--text-light);
    font-weight: 700;
}

.about-text em {
    color: var(--accent-1);
    font-style: normal;
    font-weight: 600;
}

/* Social Icons */
.social-links-container {
    margin-top: 64px;
    text-align: center;
    padding: 40px 0;
    border-top: 1px solid var(--border-color);
}

.social-links-container h3 {
    color: var(--text-light);
    font-size: 24px;
    margin-bottom: 32px;
    font-weight: 700;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 28px;
    border-radius: 12px;
    background-color: var(--bg-surface);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--border-color);
    color: var(--text-light);
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.social-icon svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
    transition: transform 0.3s ease;
}

.social-icon:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

.social-icon.telegram:hover {
    background-color: #0088cc;
    border-color: #0088cc;
    color: #fff;
    box-shadow: 0 10px 20px rgba(0, 136, 204, 0.4);
}

.social-icon.x-twitter:hover {
    background-color: #fff;
    border-color: #fff;
    color: #000;
    box-shadow: 0 10px 20px rgba(255, 255, 255, 0.2);
}

.social-icon.instagram:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 10px 20px rgba(220, 39, 67, 0.4);
}

/* FAQ Section */
.faq {
    padding: 100px 0 120px;
    position: relative;
}

.faq-list {
    max-width: 850px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-surface);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    margin-bottom: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-question {
    padding: 24px 28px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: 17px;
    color: var(--text-light);
    user-select: none;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background-color: rgba(255, 255, 255, 0.03);
}

.faq-answer {
    padding: 0 28px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease;
    color: var(--text-muted);
    font-size: 16px;
    line-height: 1.8;
}

.faq-item.active {
    border-color: rgba(79, 172, 254, 0.4);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    transform: scale(1.01);
}

.faq-item.active .faq-answer {
    padding: 0 28px 24px;
    max-height: 500px;
}

.faq-icon {
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    color: var(--text-muted);
    font-size: 14px;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
    color: var(--accent-1);
}

/* Footer */
footer {
    background: rgba(6, 9, 15, 0.9);
    padding: 80px 0 32px;
    border-top: 1px solid var(--border-color);
}

.footer-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-bottom: 56px;
}

.footer-about p {
    color: var(--text-muted);
    margin-top: 20px;
    font-size: 15px;
    line-height: 1.8;
    max-width: 480px;
}

.footer-menu {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: flex-end;
    max-width: 600px;
}

.footer-btn {
    padding: 10px 20px;
    background-color: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-light);
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.footer-btn:hover {
    border-color: var(--accent-1);
    background-color: rgba(79, 172, 254, 0.1);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(79, 172, 254, 0.2);
}

.footer-bottom {
    text-align: center;
    padding-top: 32px;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 14px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero h1 {
        font-size: 52px;
    }

    .features-grid {
        gap: 24px;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--header-bg);
        backdrop-filter: var(--glass-blur);
        flex-direction: column;
        padding: 24px;
        border-bottom: 1px solid var(--border-color);
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu a {
        font-size: 17px;
    }

    .mobile-menu-btn {
        display: block;
    }

    .desktop-cta {
        display: none;
    }

    .nav-menu .header-cta {
        display: inline-flex;
        margin-top: 16px;
        width: 100%;
    }

    .hero {
        padding: 140px 0 80px;
        min-height: auto;
    }

    .hero h1 {
        font-size: 40px;
    }

    .hero p {
        font-size: 17px;
    }

    .features {
        padding: 80px 0;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .about,
    .faq {
        padding: 80px 0;
    }

    .section-title {
        font-size: 30px;
    }

    .footer-grid {
        flex-direction: column;
        text-align: center;
        gap: 32px;
    }

    .footer-menu {
        justify-content: center;
    }

    .logo {
        justify-content: center;
    }

    .footer-about p {
        margin: 16px auto 0;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 34px;
    }

    .feature-card {
        padding: 36px 28px;
    }
}
