/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #1a0a2e, #2d0b5a);
    color: #ffffff;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
    padding-top: 80px; /* Space for fixed navbar */
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
}

.modal-content {
    background: rgba(45, 11, 90, 0.9);
    margin: 10% auto;
    padding: 30px;
    border-radius: 20px;
    border: 1px solid rgba(157, 78, 221, 0.5);
    width: 90%;
    max-width: 500px;
    position: relative;
    backdrop-filter: blur(10px);
}

.modal-content h2 {
    color: #c77dff;
    text-align: center;
    margin-bottom: 20px;
}

.modal-content h3 {
    color: #e0aaff;
    margin: 20px 0 15px;
}

.close {
    color: #e0aaff;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    right: 20px;
    top: 15px;
}

.close:hover {
    color: #9d4edd;
}

input[type="text"], input[type="password"] {
    width: 100%;
    padding: 12px;
    margin: 10px 0;
    border: 1px solid rgba(157, 78, 221, 0.5);
    border-radius: 5px;
    background: rgba(26, 10, 46, 0.5);
    color: #e0aaff;
    font-size: 16px;
}

input[type="text"]:focus, input[type="password"]:focus {
    outline: none;
    border-color: #9d4edd;
    box-shadow: 0 0 10px rgba(157, 78, 221, 0.5);
}

button {
    background: rgba(157, 78, 221, 0.3);
    color: #e0aaff;
    border: 1px solid #9d4edd;
    padding: 12px 20px;
    border-radius: 5px;
    cursor: pointer;
    width: 100%;
    font-size: 16px;
    margin: 10px 0;
    transition: all 0.3s ease;
}

button:hover {
    background: #9d4edd;
    color: white;
}

#result-message {
    text-align: center;
    margin: 15px 0;
    padding: 10px;
    border-radius: 5px;
    display: none;
}

#result-message.success {
    background: rgba(46, 204, 113, 0.2);
    border: 1px solid rgba(46, 204, 113, 0.5);
    color: #2ecc71;
}

#result-message.error {
    background: rgba(231, 76, 60, 0.2);
    border: 1px solid rgba(231, 76, 60, 0.5);
    color: #e74c3c;
}

/* Top Navigation */
.top-nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(26, 10, 46, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(157, 78, 221, 0.3);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    height: 80px;
}

.nav-logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: #9d4edd;
    text-shadow: 0 0 10px rgba(157, 78, 221, 0.7);
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu li {
    margin: 0 15px;
}

.nav-menu a {
    color: #e0aaff;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    padding: 10px 15px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.nav-menu a:hover {
    background: rgba(157, 78, 221, 0.3);
    color: #fff;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: #9d4edd;
    margin: 3px 0;
    transition: 0.3s;
}

/* Responsive Navigation */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background: rgba(26, 10, 46, 0.95);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        backdrop-filter: blur(10px);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        margin: 10px 0;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .nav-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
}

/* Particle Background */
#particles-js {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    position: relative;
    z-index: 1;
}

/* Sections */
.section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 100px 20px;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.section.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Hero Section */
.hero {
    text-align: center;
    min-height: 100vh;
}

.logo-container {
    margin-bottom: 30px;
}

.glowing-text {
    font-size: 6rem;
    font-weight: 800;
    color: #9d4edd;
    text-shadow: 
        0 0 10px #9d4edd,
        0 0 20px #9d4edd,
        0 0 30px #9d4edd,
        0 0 40px #7b2cbf,
        0 0 70px #7b2cbf,
        0 0 80px #7b2cbf;
    animation: glow 2s ease-in-out infinite alternate;
    opacity: 0;
    animation-fill-mode: forwards;
    animation-delay: 0.5s;
}

@keyframes glow {
    from {
        text-shadow: 
            0 0 10px #9d4edd,
            0 0 20px #9d4edd,
            0 0 30px #9d4edd,
            0 0 40px #7b2cbf;
        opacity: 0.7;
    }
    
    to {
        text-shadow: 
            0 0 20px #9d4edd,
            0 0 30px #9d4edd,
            0 0 40px #9d4edd,
            0 0 50px #7b2cbf,
            0 0 80px #7b2cbf,
            0 0 90px #7b2cbf;
        opacity: 1;
    }
}

.tagline {
    font-size: 1.8rem;
    margin: 20px 0;
    color: #e0aaff;
    opacity: 0;
    animation: fadeIn 1s ease-in-out 1.5s forwards;
}

.subtitle {
    font-size: 1.2rem;
    color: #c77dff;
    margin-top: 20px;
    opacity: 0;
    animation: fadeIn 1s ease-in-out 2s forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

/* Features Section */
.features {
    display: flex;
    flex-direction: column;
    gap: 100px;
}

.feature-card {
    background: rgba(45, 11, 90, 0.6);
    border-radius: 20px;
    padding: 40px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(157, 78, 221, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(157, 78, 221, 0.4);
    border-color: rgba(157, 78, 221, 0.6);
}

.feature-card h2 {
    color: #c77dff;
    margin-bottom: 20px;
    font-size: 2.5rem;
}

.feature-card p {
    color: #e0aaff;
    line-height: 1.6;
    font-size: 1.3rem;
    margin-bottom: 20px;
}

.bullet-points p {
    margin: 10px 0;
    font-size: 1.2rem;
}

/* Creator Incentive Program */
.incentive-program {
    display: flex;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.incentive-card {
    background: rgba(157, 78, 221, 0.2);
    border-radius: 15px;
    padding: 20px;
    flex: 1;
    min-width: 250px;
    border: 1px solid rgba(157, 78, 221, 0.5);
}

.incentive-card h3 {
    color: #c77dff;
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.incentive-card p {
    color: #e0aaff;
    font-size: 1.1rem;
    line-height: 1.5;
}

/* Author Section */
.author-section {
    text-align: center;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.author-card {
    background: rgba(45, 11, 90, 0.6);
    border-radius: 20px;
    padding: 40px;
    display: inline-block;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(157, 78, 221, 0.3);
    max-width: 500px;
    width: 100%;
}

.author-card h2 {
    color: #c77dff;
    margin-bottom: 30px;
    font-size: 2.5rem;
}

.author-card p {
    color: #e0aaff;
    font-size: 1.5rem;
    margin: 15px 0;
}

.qr-placeholder {
    margin-top: 30px;
    padding: 20px;
    background: rgba(157, 78, 221, 0.2);
    border-radius: 10px;
    border: 1px dashed #9d4edd;
}

.qr-placeholder p {
    color: #c77dff;
    font-style: italic;
}

/* Pricing Section */
.pricing-section {
    text-align: center;
}

.pricing-section h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.pricing-section p {
    font-size: 1.3rem;
    margin-bottom: 40px;
    color: #c77dff;
}

.pricing-cards {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.pricing-card {
    background: rgba(45, 11, 90, 0.6);
    border-radius: 20px;
    padding: 30px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(157, 78, 221, 0.3);
    width: 100%;
    max-width: 350px;
    position: relative;
    transition: transform 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-10px);
}

.pricing-card.featured {
    border: 2px solid #9d4edd;
    box-shadow: 0 10px 30px rgba(157, 78, 221, 0.4);
}

.popular-tag {
    position: absolute;
    top: -15px;
    right: 20px;
    background: #9d4edd;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: bold;
}

.pricing-card h3 {
    color: #c77dff;
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.price {
    font-size: 2.5rem;
    font-weight: bold;
    color: #e0aaff;
    margin-bottom: 20px;
}

.price span {
    font-size: 1rem;
    color: #c77dff;
}

.pricing-features {
    list-style: none;
    text-align: left;
    margin: 25px 0;
}

.pricing-features li {
    padding: 10px 0;
    color: #e0aaff;
    border-bottom: 1px solid rgba(157, 78, 221, 0.2);
}

.pricing-features li:before {
    content: "✓";
    color: #9d4edd;
    font-weight: bold;
    margin-right: 10px;
}

.pricing-button {
    background: rgba(157, 78, 221, 0.3);
    color: #e0aaff;
    border: 2px solid #9d4edd;
    padding: 12px 30px;
    border-radius: 30px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    margin-top: 10px;
}

.pricing-button:hover {
    background: #9d4edd;
    color: white;
}

.featured-button {
    background: #9d4edd;
    color: white;
}

/* Scroll Indicator */
.scroll-indicator {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-20px);
    }
    60% {
        transform: translateX(-50%) translateY(-10px);
    }
}

.scroll-arrow {
    font-size: 2rem;
    color: #9d4edd;
    text-shadow: 0 0 10px rgba(157, 78, 221, 0.7);
}





/* Responsive Design */
@media (max-width: 768px) {
    .glowing-text {
        font-size: 4rem;
    }
    
    .tagline {
        font-size: 1.4rem;
    }
    
    .feature-card h2 {
        font-size: 2rem;
    }
    
    .feature-card p {
        font-size: 1.1rem;
    }
    
    .section {
        padding: 50px 20px;
    }
}

@media (max-width: 480px) {
    .glowing-text {
        font-size: 3rem;
    }
    
    .tagline {
        font-size: 1.2rem;
    }
    
    .feature-card h2 {
        font-size: 1.8rem;
    }
    
    .author-card p {
        font-size: 1.2rem;
    }
    
    .feature-card {
        padding: 20px;
    }
}