/* Base styles and reset */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    /* Color palette - purple/red theme - unique from previous sites */
    --primary: #9D4EDD; /* Purple */
    --primary-light: #C77DFF; /* Light Purple */
    --primary-dark: #7B2CBF; /* Dark Purple */
    --secondary: #E63946; /* Red */
    --secondary-light: #FF758F; /* Light Red */
    --secondary-dark: #D00000; /* Dark Red */
    --dark: #240046; /* Dark Purple Background */
    --dark-light: #3C096C; /* Medium Purple Background */
    --light: #FFFFFF; /* White */
    --gray: #ADB5BD; /* Medium Gray */
    --text-light: #F8F9FA;
    
    /* Other variables */
    --border-radius: 8px;
    --transition: all 0.3s ease;
    --shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
}

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

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: var(--primary-light);
    transition: var(--transition);
}

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

img {
    max-width: 100%;
    height: auto;
}

.section {
    padding: 70px 0;
}

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

/* Typography */
h1, h2, h3, h4 {
    margin-bottom: 20px;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: -0.5px;
}

h1 {
    font-size: 2.8rem;
    background: linear-gradient(45deg, var(--primary-light), var(--secondary-light));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

h2 {
    font-size: 2.2rem;
    color: var(--primary-light);
}

h3 {
    font-size: 1.8rem;
    color: var(--secondary-light);
}

p {
    margin-bottom: 20px;
    opacity: 0.9;
}

/* Button */
.btn {
    display: inline-block;
    padding: 12px 28px;
    background: var(--primary);
    color: var(--light);
    border-radius: 50px;
    font-weight: 600;
    text-align: center;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(157, 78, 221, 0.4);
}

.btn:hover {
    background: var(--secondary);
    color: var(--light);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(230, 57, 70, 0.5);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
}

/* Header */
header {
    padding: 15px 0;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    background-color: rgba(36, 0, 70, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(157, 78, 221, 0.2);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    background: linear-gradient(45deg, var(--primary-light), var(--secondary-light));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

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

nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    transition: var(--transition);
    opacity: 0;
}

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

nav a:hover::after {
    width: 100%;
    opacity: 1;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    padding: 160px 0 100px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 70% 30%, rgba(157, 78, 221, 0.15) 0%, transparent 60%),
        radial-gradient(circle at 30% 70%, rgba(230, 57, 70, 0.15) 0%, transparent 60%);
    z-index: 0;
}

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

.hero-tagline {
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--primary);
    margin-bottom: 20px;
    font-weight: 600;
}

.hero-title {
    margin-bottom: 25px;
}

.hero-title span {
    color: var(--secondary-light);
}

.hero-buttons {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

/* Features */
.features {
    background-color: var(--dark-light);
    position: relative;
}

.features::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 20px;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    opacity: 0.1;
}

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

.feature-card {
    border-radius: var(--border-radius);
    padding: 30px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(157, 78, 221, 0.2);
    background: rgba(36, 0, 70, 0.6);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: linear-gradient(to bottom, var(--primary), var(--secondary));
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
    border: 1px solid rgba(157, 78, 221, 0.4);
}

.feature-card:hover::before {
    height: 100%;
}

.feature-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
}

.feature-title {
    margin-bottom: 15px;
}

/* Gallery */
.gallery {
    position: relative;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 50px;
}

.gallery-item {
    border-radius: var(--border-radius);
    overflow: hidden;
    position: relative;
    aspect-ratio: 3/4;
    background: rgba(157, 78, 221, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid rgba(157, 78, 221, 0.3);
}

.gallery-item:hover {
    background: rgba(230, 57, 70, 0.2);
    transform: scale(1.03);
    box-shadow: var(--shadow);
}

/* CTA Section */
.cta {
    background: linear-gradient(135deg, var(--primary-dark), var(--secondary-dark));
    padding: 70px 0;
    text-align: center;
    border-radius: var(--border-radius);
    margin: 40px 0;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(45deg, transparent 49%, rgba(255, 255, 255, 0.1) 50%, transparent 51%),
        linear-gradient(-45deg, transparent 49%, rgba(255, 255, 255, 0.1) 50%, transparent 51%);
    background-size: 20px 20px;
    opacity: 0.1;
}

.cta h2 {
    color: var(--light);
}

.cta p {
    color: rgba(255, 255, 255, 0.8);
    max-width: 700px;
    margin: 0 auto 30px;
}

.cta .btn {
    background: var(--light);
    color: var(--primary-dark);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
}

.cta .btn:hover {
    color: var(--secondary-dark);
    background: var(--light);
}

/* Footer */
footer {
    background-color: rgba(36, 0, 70, 0.8);
    padding: 70px 0 30px;
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    opacity: 0.5;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
}

.footer-logo {
    max-width: 300px;
}

.footer-logo svg {
    margin-bottom: 15px;
}

.footer-logo p {
    margin-top: 20px;
    color: var(--gray);
}

.footer-links h4 {
    margin-bottom: 20px;
    color: var(--primary-light);
    font-size: 1.2rem;
    position: relative;
    padding-bottom: 10px;
}

.footer-links h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--secondary);
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

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

.footer-links a:hover {
    color: var(--secondary-light);
    padding-left: 5px;
}

.copyright {
    text-align: center;
    padding-top: 30px;
    margin-top: 50px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--gray);
}

/* Media Queries */
@media (max-width: 992px) {
    .hero {
        padding: 140px 0 80px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .menu-toggle {
        display: block;
    }
    
    nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--dark-light);
        max-height: 0;
        overflow: hidden;
        transition: var(--transition);
        opacity: 0;
        visibility: hidden;
    }
    
    nav.active {
        max-height: 300px;
        opacity: 1;
        visibility: visible;
        border-top: 1px solid rgba(157, 78, 221, 0.2);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    }
    
    nav ul {
        flex-direction: column;
        padding: 20px;
        gap: 15px;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
    
    .feature-card,
    .gallery-item {
        transform: none !important;
    }
    
    .footer-content {
        flex-direction: column;
    }
}
