* {
    box-sizing: border-box;
}

body {
    background: #08080F;
}

.lang-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 0.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #94A3B8;
    font-family: 'Chakra Petch', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.lang-btn:hover {
    background: rgba(124, 58, 237, 0.15);
    border-color: rgba(124, 58, 237, 0.3);
    color: #A78BFA;
}

::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: #08080F;
}
::-webkit-scrollbar-thumb {
    background: #1E1E30;
    border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
    background: #2A2A40;
}

::selection {
    background: rgba(124, 58, 237, 0.3);
    color: #fff;
}

.grid-bg {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(124, 58, 237, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(124, 58, 237, 0.04) 1px, transparent 1px);
    background-size: 50px 50px;
    mask-image: radial-gradient(ellipse at center, black 20%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 20%, transparent 80%);
}

.grid-glow {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 800px;
    max-width: 100vw;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.12) 0%, transparent 70%);
    filter: blur(80px);
    pointer-events: none;
}

.nav-glass {
    background: rgba(17, 17, 28, 0.75);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: all 0.3s ease;
}

#navbar.scrolled .nav-glass {
    background: rgba(17, 17, 28, 0.95);
    border-color: rgba(124, 58, 237, 0.15);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.nav-link {
    font-size: 0.9rem;
    color: #94A3B8;
    cursor: pointer;
    transition: color 0.2s ease;
    position: relative;
}

.nav-link:hover {
    color: #E2E8F0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #7C3AED, #00FFD0);
    transition: width 0.3s ease;
    border-radius: 2px;
}

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

.mobile-link {
    display: block;
    padding: 0.5rem 0;
    color: #94A3B8;
    font-size: 0.95rem;
    cursor: pointer;
    transition: color 0.2s ease;
}

.mobile-link:hover {
    color: #E2E8F0;
}

#mobile-menu {
    display: none;
    flex-direction: column;
    gap: 0.25rem;
}

#mobile-menu.active {
    display: flex;
}

.hero-gradient {
    background: linear-gradient(135deg, #7C3AED 0%, #00FFD0 50%, #F1C40F 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-shift 6s ease infinite;
    background-size: 200% 200%;
}

@keyframes gradient-shift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #7C3AED, #A78BFA);
    color: #fff;
    font-weight: 600;
    font-size: 1rem;
    padding: 0.75rem 1.75rem;
    border-radius: 0.75rem;
    cursor: pointer;
    transition: all 0.25s ease;
    border: none;
    box-shadow: 0 0 0 rgba(124, 58, 237, 0);
}

.btn-primary:hover {
    box-shadow: 0 0 30px rgba(124, 58, 237, 0.4);
    transform: translateY(-2px);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.05);
    color: #E2E8F0;
    font-weight: 600;
    font-size: 1rem;
    padding: 0.75rem 1.75rem;
    border-radius: 0.75rem;
    cursor: pointer;
    transition: all 0.25s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.stat-card {
    background: rgba(22, 22, 36, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 1rem;
    padding: 1.25rem;
    text-align: center;
    backdrop-filter: blur(10px);
    transition: all 0.25s ease;
}

.stat-card:hover {
    border-color: rgba(124, 58, 237, 0.25);
    background: rgba(22, 22, 36, 0.8);
}

.stat-number {
    font-family: 'Russo One', sans-serif;
    font-size: 1.75rem;
    color: #fff;
    line-height: 1;
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.75rem;
    color: #64748B;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.scroll-indicator {
    width: 24px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    padding-top: 6px;
}

.scroll-indicator span {
    display: block;
    width: 4px;
    height: 8px;
    background: rgba(124, 58, 237, 0.6);
    border-radius: 2px;
    animation: scroll-bounce 2s ease infinite;
}

@keyframes scroll-bounce {
    0%, 100% { transform: translateY(0); opacity: 1; }
    50% { transform: translateY(12px); opacity: 0.3; }
}

.bento-card {
    background: rgba(22, 22, 36, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 1.25rem;
    padding: 1.75rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.bento-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(124, 58, 237, 0.4), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.bento-card:hover {
    border-color: rgba(124, 58, 237, 0.2);
    background: rgba(22, 22, 36, 0.85);
    transform: translateY(-4px);
}

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

.step-card {
    background: rgba(22, 22, 36, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 1.25rem;
    padding: 2rem;
    text-align: center;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    position: relative;
    z-index: 10;
}

.step-card:hover {
    border-color: rgba(124, 58, 237, 0.2);
    background: rgba(22, 22, 36, 0.85);
    transform: translateY(-4px);
}

.step-number {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, #7C3AED, #A78BFA);
    color: #fff;
    font-family: 'Russo One', sans-serif;
    font-size: 0.85rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 20px rgba(124, 58, 237, 0.3);
}

.tier-card {
    background: rgba(22, 22, 36, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 1.25rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.tier-card:hover {
    border-color: rgba(255, 255, 255, 0.12);
    background: rgba(22, 22, 36, 0.85);
    transform: translateY(-4px);
}

.tier-featured {
    border-color: rgba(0, 255, 208, 0.15);
    box-shadow: 0 0 40px rgba(0, 255, 208, 0.05);
}

.tier-featured:hover {
    border-color: rgba(0, 255, 208, 0.25);
    box-shadow: 0 0 40px rgba(0, 255, 208, 0.1);
}

.tier-accent {
    height: 4px;
    width: 100%;
}

.spec-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.spec-row:last-child {
    border-bottom: none;
}

.spec-label {
    color: #64748B;
    font-size: 0.85rem;
    flex-shrink: 0;
    width: 70px;
}

.spec-value {
    color: #E2E8F0;
    font-size: 0.9rem;
    font-weight: 500;
    margin-left: auto;
    text-align: right;
}

.check-item {
    display: flex;
    align-items: flex-start;
    gap: 0.875rem;
    padding: 0.5rem 0;
}

.check-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    background: rgba(0, 255, 208, 0.15);
    border: 1px solid rgba(0, 255, 208, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #00FFD0;
    margin-top: 2px;
}

.terminal-window {
    background: #0D0D14;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.terminal-header {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.terminal-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.terminal-body {
    padding: 20px;
    font-family: 'Chakra Petch', monospace;
    font-size: 0.85rem;
    line-height: 1.7;
}

.terminal-line {
    color: #E2E8F0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.terminal-output {
    color: #64748B;
    padding-left: 1.25rem;
    font-size: 0.8rem;
}

.terminal-cursor {
    display: inline-block;
    width: 8px;
    height: 16px;
    background: #00FFD0;
    animation: cursor-blink 1s ease infinite;
}

@keyframes cursor-blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.platform-card {
    background: rgba(22, 22, 36, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 1rem;
    padding: 1.5rem 1rem;
    text-align: center;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    cursor: pointer;
}

.platform-card:hover {
    border-color: rgba(124, 58, 237, 0.2);
    background: rgba(22, 22, 36, 0.85);
    transform: translateY(-4px);
}

.platform-icon-wrapper {
    width: 56px;
    height: 56px;
    margin: 0 auto 0.75rem;
    border-radius: 0.875rem;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94A3B8;
    transition: all 0.3s ease;
}

.platform-card:hover .platform-icon-wrapper {
    background: rgba(124, 58, 237, 0.1);
    color: #A78BFA;
}

.why-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: rgba(22, 22, 36, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 1.25rem;
    padding: 1.75rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.why-card:hover {
    border-color: rgba(124, 58, 237, 0.15);
    background: rgba(22, 22, 36, 0.75);
}

.why-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 0.875rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.faq-item {
    background: rgba(22, 22, 36, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: rgba(124, 58, 237, 0.15);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    background: transparent;
    border: none;
    color: #E2E8F0;
    font-family: 'Chakra Petch', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    text-align: left;
    cursor: pointer;
    transition: color 0.2s ease;
}

.faq-question:hover {
    color: #fff;
}

.faq-chevron {
    color: #64748B;
    flex-shrink: 0;
    transition: transform 0.25s ease, color 0.2s ease;
}

.faq-question[aria-expanded="true"] .faq-chevron {
    transform: rotate(180deg);
    color: #7C3AED;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 1.5rem;
}

.faq-answer.open {
    max-height: 400px;
    padding-bottom: 1.25rem;
}

.faq-answer p {
    color: #94A3B8;
    font-size: 0.9rem;
    line-height: 1.7;
}

.cta-card {
    position: relative;
    background: rgba(22, 22, 36, 0.6);
    border: 1px solid rgba(124, 58, 237, 0.15);
    border-radius: 2rem;
    backdrop-filter: blur(20px);
    overflow: hidden;
}

.cta-glow {
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    max-width: 100%;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.15) 0%, transparent 60%);
    filter: blur(60px);
    pointer-events: none;
}

.footer-link {
    color: #64748B;
    font-size: 0.875rem;
    cursor: pointer;
    transition: color 0.2s ease;
}

.footer-link:hover {
    color: #A78BFA;
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal:nth-child(2) { transition-delay: 0.1s; }
.reveal:nth-child(3) { transition-delay: 0.2s; }
.reveal:nth-child(4) { transition-delay: 0.3s; }
.reveal:nth-child(5) { transition-delay: 0.4s; }
.reveal:nth-child(6) { transition-delay: 0.5s; }
.reveal:nth-child(7) { transition-delay: 0.6s; }
.reveal:nth-child(8) { transition-delay: 0.7s; }

@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .hero-gradient {
        animation: none;
    }

    .scroll-indicator span {
        animation: none;
    }

    .terminal-cursor {
        animation: none;
    }

    .grid-glow {
        animation: none;
    }

    html {
        scroll-behavior: auto;
    }

    * {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
    }
}
