/* Landing Page Specific Styles */

/* Film Color Grading - Optimized for smooth text rendering */
/* Hide default scrollbar and add progress bar */
html {
    background: url('/bg.png') fixed center / cover no-repeat;
    background-attachment: fixed;
    filter: contrast(1.1) saturate(1.1) brightness(1.02);
    scrollbar-width: none;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

html::-webkit-scrollbar {
    display: none;
}

/* Scroll Progress Bar */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, #7c3aed 0%, #06b6d4 40%, #a855f7 70%, #ec4899 100%);
    width: 0%;
    z-index: 999;
    transition: width 0.1s ease-out;
    box-shadow: 0 0 15px rgba(124, 58, 237, 0.5), 0 0 25px rgba(6, 182, 212, 0.3);
}

/* Hide animated grid background */
.stars, .stars2, .stars3 {
    display: none !important;
}

body {
    margin: 0;
    padding: 0;
    background: transparent;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* Scroll Animation - Fade in and slide up */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.scroll-animate {
    opacity: 0;
    transform: translateY(20px);
    will-change: opacity, transform;
}

.scroll-animate.visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

/* Stagger animation for multiple elements */
.scroll-animate.visible:nth-child(1) { transition-delay: 0s; }
.scroll-animate.visible:nth-child(2) { transition-delay: 0.05s; }
.scroll-animate.visible:nth-child(3) { transition-delay: 0.1s; }
.scroll-animate.visible:nth-child(4) { transition-delay: 0.15s; }
.scroll-animate.visible:nth-child(5) { transition-delay: 0.2s; }
.scroll-animate.visible:nth-child(6) { transition-delay: 0.25s; }

/* Hero Section */
.hero-section {
    min-height: 100vh;
    width: 100%;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    padding-top: 80px;
    margin: 0;
    padding-left: 0;
    padding-right: 0;
    overflow-x: hidden;
    background: transparent;
}

.top-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    background: rgba(26, 26, 46, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(139, 92, 246, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 100;
    box-sizing: border-box;
    will-change: transform;
    transform: translateY(0) translateZ(0);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
    will-change: color;
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-login-btn {
    background: linear-gradient(135deg, var(--primary), var(--light-blue));
    padding: 0.5rem 1.5rem;
    border-radius: 8px;
    color: white !important;
}

.hero-content {
    flex: 1;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    box-sizing: border-box;
}

.hero-badge {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.35), rgba(255, 165, 0, 0.35)) !important;
    border: 2px solid #ffd700 !important;
    padding: 1rem 2rem !important;
    border-radius: 50px;
    color: #ffd700 !important;
    font-size: 1.1rem !important;
    font-weight: 600 !important;
    margin-bottom: 2rem;
    animation: fadeIn 0.8s ease;
    will-change: opacity;
    transform: translateZ(0);
    backface-visibility: hidden;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.5), 0 0 30px rgba(255, 165, 0, 0.3);
    text-shadow: 0 0 8px rgba(255, 215, 0, 0.6);
}

.hero-title {
    font-size: 4rem;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    animation: fadeIn 1s ease;
    will-change: opacity;
    transform: translateZ(0);
    backface-visibility: hidden;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--text-dim);
    max-width: 700px;
    margin-bottom: 2.5rem;
    line-height: 1.6;
    animation: fadeIn 1.2s ease;
    will-change: opacity;
    transform: translateZ(0);
    backface-visibility: hidden;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    animation: fadeIn 1.4s ease;
    will-change: opacity;
    transform: translateZ(0);
    backface-visibility: hidden;
}

.btn-primary, .btn-secondary {
    padding: 1rem 2rem;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1), background 0.3s ease;
    will-change: transform;
    transform: translateZ(0);
    backface-visibility: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--light-blue));
    color: white;
    border: none;
}

.btn-primary:hover {
    transform: translateY(-3px) translateZ(0);
    box-shadow: 0 15px 40px rgba(139, 92, 246, 0.5);
}

.btn-secondary {
    background: rgba(139, 92, 246, 0.1);
    border: 2px solid var(--primary);
    color: var(--text);
}

.btn-secondary:hover {
    background: rgba(139, 92, 246, 0.2);
    transform: translateY(-3px) translateZ(0);
}

.btn-primary.large, .btn-secondary.large {
    padding: 1.25rem 2.5rem;
    font-size: 1.2rem;
}

.hero-stats {
    display: flex;
    gap: 3rem;
    animation: fadeIn 1.6s ease;
    will-change: opacity;
    transform: translateZ(0);
    backface-visibility: hidden;
}

.stat-item {
    text-align: center;
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary), var(--light-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    color: var(--text-dim);
    font-size: 0.95rem;
    margin-top: 0.5rem;
}

/* Features Section */
.features-section {
    padding: 6rem 2rem;
    background: transparent;
    width: 100%;
    box-sizing: border-box;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 3rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary), var(--light-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-dim);
}

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

.feature-box {
    background: rgba(26, 26, 46, 0.6);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2rem;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.3s ease, box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
    transform: translateZ(0);
    backface-visibility: hidden;
}

.feature-box:hover {
    border-color: var(--primary);
    transform: translateY(-10px) translateZ(0);
    box-shadow: 0 20px 40px rgba(139, 92, 246, 0.3);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-box h3 {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 0.75rem;
}

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

/* How It Works Section */
.how-section {
    padding: 6rem 2rem;
    background: transparent;
    width: 100%;
    box-sizing: border-box;
}

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

.step-card {
    background: rgba(26, 26, 46, 0.6);
    border: 2px solid var(--border);
    border-radius: 16px;
    padding: 2.5rem;
    text-align: center;
    position: relative;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.3s ease;
    will-change: transform;
    transform: translateZ(0);
    backface-visibility: hidden;
}

.step-card:hover {
    border-color: var(--primary);
    transform: scale(1.05) translateZ(0);
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary), var(--light-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 900;
    color: white;
    margin: 0 auto 1.5rem;
}

.step-card h3 {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

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

/* Pricing Section on Landing Page */
.pricing-section-landing {
    padding: 6rem 2rem;
    background: transparent;
    width: 100%;
    box-sizing: border-box;
}

.pricing-cards {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.pricing-card {
    background: rgba(26, 26, 46, 0.6);
    border: 2px solid var(--border);
    border-radius: 20px;
    padding: 2.5rem;
    position: relative;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
    transform: translateZ(0);
    backface-visibility: hidden;
}

.pricing-card:hover {
    transform: translateY(-10px) translateZ(0);
    box-shadow: 0 20px 40px rgba(139, 92, 246, 0.3);
}

.featured-card {
    border-color: var(--primary);
    transform: scale(1.05) translateZ(0);
}

.featured-card:hover {
    transform: scale(1.05) translateY(-10px) translateZ(0);
}

.best-value-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--primary), var(--light-blue));
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
}

.pricing-card h3 {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary);
    text-align: center;
    margin-bottom: 1rem;
}

.price {
    text-align: center;
    font-size: 3rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary), var(--light-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.price span {
    font-size: 1rem;
    color: var(--text-dim);
}

.price-desc {
    text-align: center;
    color: var(--text-dim);
    margin-bottom: 2rem;
}

.price-features {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.price-features li {
    padding: 0.75rem 0;
    color: var(--text);
    border-bottom: 1px solid rgba(139, 92, 246, 0.1);
}

.price-btn {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, var(--primary), var(--light-blue));
    border: none;
    border-radius: 12px;
    color: white;
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    display: block;
    text-align: center;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
    transform: translateZ(0);
    backface-visibility: hidden;
}

.price-btn:hover {
    transform: scale(1.05) translateZ(0);
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.5);
}

.premium-btn {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
}

/* CTA Section */
.cta-section {
    padding: 6rem 2rem;
    text-align: center;
    background: transparent;
    width: 100%;
    box-sizing: border-box;
}

.cta-content h2 {
    font-size: 3rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary), var(--light-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.3rem;
    color: var(--text-dim);
    margin-bottom: 2.5rem;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

/* Footer */
.site-footer {
    background: rgba(26, 26, 46, 0.8);
    border-top: 1px solid rgba(139, 92, 246, 0.1);
    padding: 3rem 2rem 1.5rem;
    width: 100%;
    box-sizing: border-box;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer-section a {
    display: block;
    color: var(--text-dim);
    text-decoration: none;
    margin-bottom: 0.75rem;
    transition: color 0.2s ease;
}

.footer-section a:hover {
    color: var(--primary);
}

.footer-tagline {
    color: var(--text-dim);
    margin-bottom: 1rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(139, 92, 246, 0.2);
    border: 1px solid var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), background 0.3s ease;
    will-change: transform;
    transform: translateZ(0);
    backface-visibility: hidden;
}

.social-link:hover {
    background: var(--primary);
    transform: translateY(-3px) translateZ(0);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(139, 92, 246, 0.1);
    color: var(--text-dim);
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .top-nav {
        padding: 1.5rem 2rem;
    }
    
    .nav-links {
        gap: 1rem;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .features-grid, .pricing-cards {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    /* Adjust hero section padding to prevent navbar overlap */
    .hero-section {
        padding-top: 120px;
    }
    
    .hero-content {
        padding: 2rem 1.5rem;
    }
    
    .top-nav {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem 1.5rem;
    }
    
    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .steps-grid, .pricing-cards {
        grid-template-columns: 1fr;
    }
    
    .featured-card {
        transform: scale(1);
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* Pricing Support Message */
.pricing-support-message {
    background: rgba(139, 92, 246, 0.1);
    border: 2px solid var(--primary);
    border-radius: 16px;
    padding: 2rem;
    margin-top: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.pricing-support-message p {
    margin-bottom: 1rem;
    line-height: 1.6;
    color: var(--text);
}

.pricing-support-message p:last-of-type {
    margin-bottom: 1.5rem;
}

.special-offer {
    background: linear-gradient(135deg, var(--primary), var(--light-blue));
    padding: 1rem 1.5rem;
    border-radius: 12px;
    text-align: center;
    font-size: 1.1rem;
    color: white;
    font-weight: 600;
    margin-top: 1.5rem;
}

.special-offer .highlight {
    font-size: 1.3rem;
    font-weight: 900;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Simplified Footer (matching old design) */
.site-footer {
    background: rgba(26, 26, 46, 0.8);
    border-top: 1px solid rgba(139, 92, 246, 0.1);
    padding: 3rem 2rem 1.5rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.footer-brand {
    font-size: 1.8rem;
    font-weight: 900;
}

.footer-links {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-links a {
    color: var(--text-dim);
    text-decoration: none;
    transition: color 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

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

.discord-link {
    color: var(--primary) !important;
    font-weight: 600;
}

.footer-copyright {
    text-align: center;
    color: var(--text-dim);
    font-size: 0.9rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(139, 92, 246, 0.1);
    width: 100%;
}

@media (max-width: 768px) {
    .pricing-support-message {
        padding: 1.5rem;
    }
    
    .special-offer {
        font-size: 1rem;
    }
    
    .special-offer .highlight {
        font-size: 1.2rem;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
}

/* Loading Spinner */
.loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(139, 92, 246, 0.2);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Emoji Wiggle Animation */
.feature-icon {
    display: inline-block;
    animation: wiggle 2s ease-in-out infinite;
    will-change: transform;
    transform: translateZ(0);
    backface-visibility: hidden;
}

@keyframes wiggle {
    0%, 100% {
        transform: rotate(0deg) translateZ(0);
    }
    25% {
        transform: rotate(-5deg) translateZ(0);
    }
    75% {
        transform: rotate(5deg) translateZ(0);
    }
}

.feature-box:hover .feature-icon {
    animation: wiggle 0.5s ease-in-out infinite;
}

