/* Base Styles */
:root {
    --primary-color: #9D4EDD;
    --secondary-color: #5A189A;
    --dark-color: #240046;
    --darker-color: #10002B;
    --light-color: #E0AAFF;
    --text-color: #ffffff;
    --background-color: #121212;
}

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

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-color);
    background-color: var(--background-color);
    line-height: 1.6;
}

.wrapper {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

h2:after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

p {
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: var(--light-color);
    transition: all 0.3s ease;
}

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

ul {
    list-style: none;
}

img {
    max-width: 100%;
}

.center {
    text-align: center;
    margin: 2rem 0;
}

.highlight {
    color: var(--primary-color);
    font-weight: 700;
}

/* Header Styles */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: rgba(18, 18, 18, 0.9);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
}

.logo {
    width: 180px;
}

.nav-list {
    display: flex;
    align-items: center;
}

.nav-list li {
    margin-left: 2rem;
}

.nav-list a {
    color: var(--text-color);
    font-weight: 600;
    position: relative;
    padding-bottom: 5px;
}

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

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

/* Mobile menu */
#menu-toggle {
    display: none;
}

.menu-icon {
    display: none;
    cursor: pointer;
    width: 30px;
    height: 24px;
    position: relative;
    z-index: 2;
}

.menu-icon span {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background: var(--light-color);
    border-radius: 3px;
    left: 0;
    transition: all 0.25s ease;
}

.menu-icon span:nth-child(1) {
    top: 0;
}

.menu-icon span:nth-child(2) {
    top: 10px;
}

.menu-icon span:nth-child(3) {
    top: 20px;
}

#menu-toggle:checked + .menu-icon span:nth-child(1) {
    transform: rotate(45deg);
    top: 10px;
}

#menu-toggle:checked + .menu-icon span:nth-child(2) {
    opacity: 0;
}

#menu-toggle:checked + .menu-icon span:nth-child(3) {
    transform: rotate(-45deg);
    top: 10px;
}

/* Hero Section */
#hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 5% 80px;
    background: linear-gradient(135deg, var(--darker-color), var(--dark-color));
    overflow: hidden;
    position: relative;
}

#hero::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%239D4EDD' fill-opacity='0.1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
    z-index: 0;
}

.hero-content {
    flex: 1;
    max-width: 600px;
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    margin-bottom: 1.5rem;
    font-size: 3.5rem;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-visual {
    flex: 1;
    max-width: 500px;
    margin-left: 2rem;
    position: relative;
    z-index: 1;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    color: #fff;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 5px 15px rgba(157, 78, 221, 0.4);
    transition: all 0.3s ease;
    border: none;
    font-size: 1rem;
    cursor: pointer;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(157, 78, 221, 0.6);
    color: #fff;
}

.cta-button.secondary {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    box-shadow: none;
}

.cta-button.secondary:hover {
    background: var(--primary-color);
    color: #fff;
}

/* Features Section */
#features {
    padding: 100px 5%;
    background-color: var(--darker-color);
    position: relative;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 3rem;
}

.feature-card {
    background: linear-gradient(145deg, rgba(157, 78, 221, 0.05), rgba(37, 0, 66, 0.2));
    border-radius: 15px;
    padding: 2.5rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(157, 78, 221, 0.1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.feature-card .icon {
    margin-bottom: 1.5rem;
    width: 80px;
    height: 80px;
    margin-left: auto;
    margin-right: auto;
}

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

/* Gallery Section */
#gallery {
    padding: 100px 5%;
    background-color: var(--background-color);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
    margin: 3rem 0;
}

.gallery-item {
    background-color: var(--darker-color);
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.gallery-item:hover {
    transform: translateY(-10px);
}

.gallery-image {
    height: 200px;
    overflow: hidden;
}

.gallery-item h3 {
    padding: 1.5rem;
    font-size: 1.2rem;
    text-align: center;
    color: var(--light-color);
}

/* About Section */
#about {
    padding: 100px 5%;
    background-color: var(--dark-color);
}

.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-text {
    flex: 1;
}

.about-text p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.about-visual {
    flex: 1;
    max-width: 500px;
}

.text-link {
    display: inline-block;
    color: var(--primary-color);
    font-weight: 600;
    margin-top: 1rem;
    position: relative;
}

.text-link:after {
    content: '→';
    margin-left: 5px;
    transition: all 0.3s ease;
}

.text-link:hover:after {
    margin-left: 10px;
}

/* Premium Section */
#premium {
    padding: 100px 5%;
    background-color: var(--background-color);
    position: relative;
}

.premium-content {
    display: flex;
    align-items: center;
    gap: 50px;
    margin-top: 3rem;
}

.premium-features {
    flex: 1;
}

.premium-features ul li {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.premium-features ul li svg {
    margin-right: 15px;
    flex-shrink: 0;
}

.premium-cta {
    flex: 1;
    background: linear-gradient(145deg, rgba(157, 78, 221, 0.05), rgba(37, 0, 66, 0.2));
    padding: 3rem;
    border-radius: 15px;
    text-align: center;
    border: 1px solid rgba(157, 78, 221, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.premium-cta h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.premium-cta p {
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

/* Footer */
footer {
    background-color: var(--darker-color);
    padding: 80px 5% 30px;
}

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

.footer-logo p {
    margin-top: 1.5rem;
    opacity: 0.7;
    font-size: 0.9rem;
}

.footer-links h4,
.footer-newsletter h4 {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.footer-links ul li {
    margin-bottom: 0.8rem;
}

.footer-links ul li a {
    opacity: 0.8;
    transition: all 0.3s ease;
}

.footer-links ul li a:hover {
    opacity: 1;
    padding-left: 5px;
}

.footer-newsletter p {
    margin-bottom: 1.5rem;
    opacity: 0.8;
}

.newsletter-form {
    display: flex;
}

.newsletter-form input {
    flex-grow: 1;
    padding: 0.8rem 1rem;
    border: none;
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-radius: 4px 0 0 4px;
}

.newsletter-form input:focus {
    outline: none;
}

.newsletter-form button {
    background: var(--primary-color);
    color: #fff;
    border: none;
    padding: 0 1.5rem;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    font-weight: 600;
}

.footer-disclaimer {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.85rem;
    opacity: 0.7;
}

/* Responsive Styles */
@media (max-width: 992px) {
    h1 {
        font-size: 2.8rem;
    }
    
    h2 {
        font-size: 2.2rem;
    }
    
    #hero {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-content {
        margin-bottom: 3rem;
    }
    
    .hero-visual {
        margin-left: 0;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .premium-content {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    header {
        padding: 1rem;
    }
    
    .menu-icon {
        display: block;
    }
    
    .nav-list {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        flex-direction: column;
        background-color: var(--darker-color);
        padding-top: 80px;
        transition: right 0.3s ease;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.2);
    }
    
    .nav-list li {
        margin: 1.5rem 0;
    }
    
    #menu-toggle:checked ~ .nav-list {
        right: 0;
    }
    
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    #features,
    #gallery,
    #about,
    #premium {
        padding: 60px 5%;
    }
    
    .feature-card {
        padding: 1.5rem;
    }
    
    .premium-cta {
        padding: 2rem;
    }
}

@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .cta-button {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .feature-card h3 {
        font-size: 1.3rem;
    }
    
    .premium-cta h3 {
        font-size: 1.5rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}
