:root {
    --surface: #0B0B12;
    --surface-light: #14141F;
    --surface-white: #1C1C2A;
    --accent: #A855F7;
    --accent-hover: #9333EA;
    --accent-glow: rgba(168, 85, 247, 0.3);
    --text-primary: #F0EFFF;
    --text-secondary: #A78BFA;
    --border: #2D2A3F;
    --border-light: #3F3A5C;
    --tab-active: #1E1B2E;
    --tab-hover: #2D2A4A;
    --tab-inactive: #0F0F18;

    --gradient-1: linear-gradient(135deg, var(--accent) 0%, #7C3AED 100%);
    --gradient-2: linear-gradient(135deg, var(--surface-white) 0%, var(--surface-light) 100%);
    --shadow-glow: 0 0 30px var(--accent-glow);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.5);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--surface);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--surface);
}

::-webkit-scrollbar-thumb {
    background: var(--border-light);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent);
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(11, 11, 18, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    transition: all 0.3s ease;
}

.nav.scrolled {
    background: rgba(11, 11, 18, 0.95);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 700;
    font-size: 1.5rem;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: var(--gradient-1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    box-shadow: var(--shadow-glow);
}

.nav-links {
    display: flex;
    gap: 0.5rem;
    list-style: none;
    align-items: center;
}

/* User Nav Profile */
.user-nav-profile {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.4rem 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-left: 0.5rem;
}

.user-nav-profile:hover {
    background: rgba(168, 85, 247, 0.1);
    border-color: var(--accent);
}

.user-nav-balance {
    background: rgba(167, 139, 250, 0.1);
    border: 1px solid rgba(167, 139, 250, 0.2);
    color: var(--accent);
    padding: 0.3rem 0.75rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-right: 0.5rem;
}

.balance-icon {
    color: #ffd700;
    font-size: 0.9rem;
}

.user-nav-avatar {
    width: 28px;
    height: 28px;
    background: var(--gradient-1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 800;
    color: white;
    flex-shrink: 0;
    overflow: hidden;
}

.user-nav-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.user-nav-name {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--text-primary);
    white-space: nowrap;
}

/* Notification Bell */
.nav-notifications {
    position: relative;
    margin-right: 0.25rem;
}

.notification-bell {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 1.25rem;
    cursor: pointer;
    padding: 0.75rem;
    border-radius: 12px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.notification-bell:hover {
    color: var(--text-primary);
    background: var(--tab-hover);
}

.notification-badge {
    position: absolute;
    top: 5px;
    right: 5px;
    background: #EF4444;
    color: white;
    font-size: 0.65rem;
    font-weight: 800;
    min-width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--surface);
    box-shadow: 0 0 10px rgba(239, 68, 68, 0.4);
}

.notification-dropdown {
    position: absolute;
    top: calc(100% + 15px);
    right: 0;
    width: 320px;
    background: var(--surface-white);
    border: 1px solid var(--border);
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    display: none;
    flex-direction: column;
    overflow: hidden;
    z-index: 1100;
    animation: slideInDown 0.3s ease;
}

.notification-dropdown.active {
    display: flex;
}

.notification-header {
    padding: 1.25rem;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.notification-header h4 {
    font-size: 0.9375rem;
    font-weight: 700;
}

.mark-all-read {
    font-size: 0.75rem;
    color: var(--accent);
    cursor: pointer;
    font-weight: 600;
}

.notification-list {
    max-height: 400px;
    overflow-y: auto;
}

.notification-item {
    padding: 1.25rem;
    border-bottom: 1px solid var(--border);
    display: flex;
    gap: 1rem;
    cursor: pointer;
    transition: background 0.3s ease;
    position: relative;
}

.notification-item:hover {
    background: var(--tab-hover);
}

.notification-item.unread::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 10px;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
}

.notification-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--surface);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.notification-content h5 {
    font-size: 0.875rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.notification-content p {
    font-size: 0.75rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

.notification-time {
    font-size: 0.65rem;
    color: var(--border-light);
    margin-top: 0.5rem;
    display: block;
}

.notification-footer {
    padding: 1rem;
    text-align: center;
    background: var(--surface);
    border-top: 1px solid var(--border);
}

.notification-footer a {
    font-size: 0.8125rem;
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 600;
}

@keyframes slideInDown {
    from { transform: translateY(-10px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.nav-link {
    padding: 0.75rem 1.25rem;
    border-radius: 12px;
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--text-primary);
    background: var(--tab-hover);
}

.nav-link:hover::before {
    width: 60%;
}

.nav-link.active {
    color: var(--text-primary);
    background: var(--tab-active);
    box-shadow: 0 0 20px var(--accent-glow);
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    padding: 10px;
    background: none;
    border: none;
}

.mobile-menu-btn span {
    width: 25px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 120px 2rem 4rem;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 50%, var(--accent-glow) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(168, 85, 247, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(168, 85, 247, 0.05) 0%, transparent 70%);
    animation: pulse-bg 10s ease-in-out infinite;
    z-index: -1;
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content {
    animation: slideInLeft 1s ease-out;
    position: relative;
    z-index: 5;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(168, 85, 247, 0.1);
    border: 1px solid var(--accent);
    border-radius: 50px;
    color: var(--accent);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gradient-1);
    color: white;
    box-shadow: 0 10px 30px rgba(168, 85, 247, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 40px rgba(168, 85, 247, 0.4);
}

.btn-blocked {
    opacity: 0.6;
    cursor: not-allowed;
    filter: grayscale(0.5);
    pointer-events: none;
    position: relative;
}

.btn-blocked::after {
    content: '🔒 Locked';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 0.75rem;
    background: rgba(0, 0, 0, 0.8);
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn-blocked:hover::after {
    opacity: 1;
}

.btn-secondary {
    background: var(--surface-white);
    color: var(--text-primary);
    border: 1px solid var(--border-light);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: var(--tab-hover);
    border-color: var(--accent);
    transform: translateY(-2px);
}

.hero-visual {
    animation: slideInRight 1s ease-out;
    position: relative;
}

.hero-card {
    background: var(--gradient-2);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.hero-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-1);
    animation: shimmer 2s infinite;
}

.mod-badge {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.mod-icon {
    width: 60px;
    height: 60px;
    background: var(--accent);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: var(--shadow-glow);
}

.mod-info h3 {
    font-size: 1.25rem;
    font-weight: 700;
}

.mod-info p {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: rgba(168, 85, 247, 0.1);
    border: 1px solid var(--border);
    border-radius: 12px;
    margin-bottom: 1.5rem;
}

.status-dot {
    width: 10px;
    height: 10px;
    background: #10B981;
    border-radius: 50%;
    animation: pulse-dot 2s infinite;
}

.server-name {
    font-weight: 600;
    color: var(--accent);
}

.feature-list {
    display: grid;
    gap: 0.75rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: rgba(11, 11, 18, 0.5);
    border-radius: 12px;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.feature-item:hover {
    border-color: var(--accent);
    transform: translateX(5px);
}

.feature-icon {
    width: 32px;
    height: 32px;
    background: var(--accent-glow);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Features Grid */
.features-section {
    padding: 6rem 2rem;
    background: var(--surface-light);
}

.features-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--surface-white);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
    box-shadow: var(--shadow-glow);
}

.feature-card-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 10px 20px rgba(168, 85, 247, 0.2);
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Download Section */
.download-section {
    padding: 6rem 2rem;
    position: relative;
    overflow: hidden;
}

.download-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.download-card {
    background: var(--gradient-2);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 3rem;
    box-shadow: var(--shadow-lg);
}

.version-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(168, 85, 247, 0.1);
    border: 1px solid var(--accent);
    border-radius: 50px;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.download-btn {
    padding: 1.25rem 3rem;
    font-size: 1.25rem;
    animation: pulse 2s infinite;
}

.system-requirements {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
    text-align: left;
}

.req-item {
    padding: 1rem;
    background: rgba(11, 11, 18, 0.5);
    border-radius: 12px;
    border: 1px solid var(--border);
}

.req-item h4 {
    color: var(--accent);
    margin-bottom: 0.5rem;
}

/* FAQ Section */
.faq-section {
    max-width: 900px;
    margin: 0 auto 6rem;
    padding: 0 2rem;
}

.faq-item {
    background: var(--surface-white);
    border: 1px solid var(--border);
    border-radius: 16px;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-question {
    padding: 1.5rem 2rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--accent);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question::after {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 2rem;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    color: var(--text-secondary);
    line-height: 1.8;
}

.faq-item.active .faq-answer {
    padding: 0 2rem 1.5rem;
    max-height: 300px;
    opacity: 1;
}

/* Footer */
.footer {
    background: var(--tab-inactive);
    border-top: 1px solid var(--border);
    padding: 4rem 2rem 2rem;
}

.footer-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h4 {
    color: var(--accent);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.footer-links {
    list-style: none;
    display: grid;
    gap: 0.75rem;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent);
}

.footer-bottom {
    max-width: 1400px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.875rem;
}

/* Aggressive Glitch Effect */
.glitch-wrapper {
    position: relative;
    display: inline-block;
    isolation: isolate;
    padding: 10px;
    /* Give some room for the "teleporting" effect */
}

.glitch-text {
    position: relative;
    color: #ffffff !important;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: inline-block;
    animation: glitch-main 0.8s infinite steps(1);
    z-index: 3;
    opacity: 1 !important;
    visibility: visible !important;
}

.glitch-text::before,
.glitch-text::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    visibility: visible !important;
    opacity: 0.8;
}

.glitch-text::before {
    color: #00ffff;
    animation: glitch-cyan 1.2s infinite steps(1);
    z-index: 2;
}

.glitch-text::after {
    color: #ff00ff;
    animation: glitch-magenta 1s infinite steps(1);
    z-index: 1;
}

/* Auth Navigation Styles */
.user-menu {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Mobile Optimization */
@media (max-width: 1024px) {
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
    
    .nav-links {
        display: none; /* Mobile menu needed if many links */
    }
    
    .forum-container {
        padding: 1rem;
        flex-direction: column;
    }
    
    .chat-section {
        width: 100%;
        max-height: 400px;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .dashboard-container {
        padding: 1rem;
    }
    
    .user-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 1.5rem;
    }
    
    .dashboard-tabs {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .forum-section-header {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
    
    .modal-content {
        width: 95%;
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .info-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .notification-dropdown {
        width: calc(100vw - 2rem);
        right: -1rem;
    }
}

.user-profile-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 1rem;
    background: var(--surface-white);
    border: 1px solid var(--border);
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.user-profile-btn:hover {
    border-color: var(--accent);
    background: var(--surface);
}

.user-avatar {
    width: 32px;
    height: 32px;
    background: var(--gradient-1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: white;
    font-size: 0.875rem;
}

.user-dropdown {
    position: absolute;
    top: calc(100% + 1rem);
    right: 0;
    width: 200px;
    background: var(--surface-white);
    border: 1px solid var(--border);
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    padding: 0.5rem;
    display: none;
    z-index: 1000;
}

.user-dropdown.active {
    display: block;
    animation: slideIn 0.3s ease;
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 0.875rem;
    border-radius: 10px;
    transition: all 0.2s ease;
}

.dropdown-item:hover {
    background: var(--surface);
    color: var(--accent);
}

.dropdown-divider {
    height: 1px;
    background: var(--border);
    margin: 0.5rem;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

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

@keyframes glitch-main {
    0% {
        transform: translate(0);
    }

    5% {
        transform: translate(-5px, 2px);
    }

    10% {
        transform: translate(3px, -3px);
    }

    15% {
        transform: translate(-2px, 5px);
    }

    20% {
        transform: translate(6px, 1px);
    }

    25% {
        transform: translate(-4px, -4px);
    }

    30% {
        transform: translate(0, 0);
    }

    70% {
        transform: translate(4px, 2px);
    }

    75% {
        transform: translate(-6px, -1px);
    }

    80% {
        transform: translate(2px, 4px);
    }

    85% {
        transform: translate(-3px, -2px);
    }

    90% {
        transform: translate(5px, 0);
    }

    100% {
        transform: translate(0);
    }
}

@keyframes glitch-cyan {
    0% {
        transform: translate(-2px, 0);
        clip-path: inset(10% 0 80% 0);
    }

    10% {
        transform: translate(-8px, 4px);
        clip-path: inset(40% 0 30% 0);
    }

    20% {
        transform: translate(4px, -2px);
        clip-path: inset(70% 0 10% 0);
    }

    30% {
        transform: translate(-6px, 0);
        clip-path: inset(20% 0 50% 0);
    }

    40% {
        transform: translate(2px, 6px);
        clip-path: inset(50% 0 20% 0);
    }

    50% {
        transform: translate(-4px, -4px);
        clip-path: inset(80% 0 5% 0);
    }

    100% {
        transform: translate(-2px, 0);
    }
}

@keyframes glitch-magenta {
    0% {
        transform: translate(2px, 0);
        clip-path: inset(80% 0 10% 0);
    }

    15% {
        transform: translate(8px, -4px);
        clip-path: inset(30% 0 40% 0);
    }

    30% {
        transform: translate(-4px, 2px);
        clip-path: inset(10% 0 70% 0);
    }

    45% {
        transform: translate(6px, 0);
        clip-path: inset(50% 0 20% 0);
    }

    60% {
        transform: translate(-2px, -6px);
        clip-path: inset(20% 0 50% 0);
    }

    75% {
        transform: translate(4px, 4px);
        clip-path: inset(5% 0 80% 0);
    }

    100% {
        transform: translate(2px, 0);
    }
}

/* Intense Flicker */
.glitch-jitter {
    animation: glitch-flicker 0.08s infinite;
}

@keyframes glitch-flicker {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0.85;
    }

    100% {
        opacity: 1;
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

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

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

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

@keyframes pulse {

    0%,
    100% {
        box-shadow: 0 10px 30px rgba(168, 85, 247, 0.3);
    }

    50% {
        box-shadow: 0 20px 40px rgba(168, 85, 247, 0.5);
    }
}

@keyframes pulse-dot {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

@keyframes pulse-bg {

    0%,
    100% {
        opacity: 0.5;
    }

    50% {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-title {
        font-size: 3rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-subtitle {
        margin: 0 auto 2rem;
    }
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(11, 11, 18, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 2rem;
        transform: translateX(100%);
        transition: transform 0.3s ease;
    }

    .nav-links.active {
        transform: translateX(0);
    }

    .nav-link {
        padding: 1rem;
        font-size: 1.25rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .download-card {
        padding: 2rem;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 100px 1rem 2rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.875rem;
    }
}

/* Form Inputs */
.form-input {
    background: var(--surface-white);
    border: 1px solid var(--border-light);
    color: var(--text-primary);
    font-family: inherit;
    font-size: 0.95rem;
    padding: 0.8rem 1rem;
    transition: all 0.3s ease;
    outline: none;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.form-input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.15), inset 0 2px 4px rgba(0, 0, 0, 0.1);
    background: var(--surface);
}

.form-input::placeholder {
    color: rgba(167, 139, 250, 0.4);
}

/* Custom styling for select dropdowns to match inputs */
select.form-input {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23A78BFA'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1.2em;
    padding-right: 2.5rem;
}