/* Base Styles and Reset */
:root {
    --primary-color: #6C63FF;
    --secondary-color: #FF6584;
    --tertiary-color: #43A047;
    --accent-color: #F9A826;
    --dark-color: #2E384D;
    --light-color: #F7F8FC;
    --text-color: #333333;
    --light-text: #FFFFFF;
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --border-radius: 10px;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

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

.main-container {
    max-width: 100%;
    overflow: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* Typography */
h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: 1.5rem;
    color: var(--dark-color);
}

h2 {
    font-size: 2.2rem;
    margin-bottom: 2rem;
}

h3 {
    font-size: 1.2rem;
    margin: 1rem 0;
}

p {
    margin-bottom: 1rem;
}

.content-wrapper {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 0;
}

/* Header and Navigation */
header {
    background-color: #fff;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.brand {
    display: flex;
    align-items: center;
}

.brand h1 {
    margin-left: 0.5rem;
    margin-bottom: 0;
    color: var(--primary-color);
}

nav ul {
    display: flex;
}

nav ul li {
    margin-left: 2rem;
}

nav ul li a {
    color: var(--dark-color);
    font-weight: 600;
    position: relative;
    padding: 0.5rem 0;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

nav ul li a:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    cursor: pointer;
}

/* Hero Section */
.hero {
    background: linear-gradient(to right, var(--dark-color), #504099);
    color: var(--light-text);
    text-align: center;
    padding: 5rem 0;
}

.hero h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.highlight {
    color: var(--secondary-color);
}

.hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 2rem;
}

.btn-primary {
    display: inline-block;
    padding: 0.8rem 2rem;
    background-color: var(--primary-color);
    color: var(--light-text);
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    border: 2px solid var(--primary-color);
}

.btn-primary:hover {
    background-color: transparent;
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

/* Benefits Section */
.benefits {
    background-color: #fff;
    text-align: center;
}

.cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.card {
    background-color: var(--light-color);
    border-radius: var(--border-radius);
    padding: 2rem;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

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

.card-icon {
    margin: 0 auto 1rem;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Trending Categories */
.trending {
    background-color: var(--light-color);
    text-align: center;
}

.category-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.category {
    background: #fff;
    border-radius: var(--border-radius);
    padding: 2rem 1rem;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.category:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.category-icon {
    margin: 0 auto 1rem;
    display: block;
}

/* Premium CTA */
.premium-cta {
    background: linear-gradient(135deg, var(--primary-color), #8A72FF);
    color: var(--light-text);
    text-align: center;
}

.features-list {
    max-width: 400px;
    margin: 2rem auto;
    text-align: left;
}

.features-list li {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.features-list li svg {
    margin-right: 1rem;
    flex-shrink: 0;
}

.btn-secondary {
    display: inline-block;
    padding: 0.8rem 2rem;
    background-color: var(--light-text);
    color: var(--primary-color);
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    border: 2px solid var(--light-text);
}

.btn-secondary:hover {
    background-color: transparent;
    color: var(--light-text);
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

/* Footer */
footer {
    background-color: var(--dark-color);
    color: var(--light-text);
    padding: 3rem 0 1rem;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5% 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
}

.footer-brand p {
    margin-left: 0.5rem;
    margin-bottom: 0;
}

.footer-links {
    display: flex;
    gap: 3rem;
}

.links-column h4 {
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.links-column ul li {
    margin-bottom: 0.5rem;
}

.links-column ul li a {
    color: #B0B7C3;
    transition: var(--transition);
}

.links-column ul li a:hover {
    color: var(--light-text);
}

.copyright {
    text-align: center;
    padding: 2rem 0 0;
    color: #B0B7C3;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    h1 {
        font-size: 1.3rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .hero h2 {
        font-size: 2rem;
    }
    
    .nav-toggle {
        display: block;
    }
    
    nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #fff;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    }
    
    nav.active {
        max-height: 300px;
    }
    
    nav ul {
        flex-direction: column;
        padding: 1rem 0;
    }
    
    nav ul li {
        margin: 0;
    }
    
    nav ul li a {
        display: block;
        padding: 0.5rem 5%;
    }
    
    .footer-container {
        flex-direction: column;
    }
    
    .footer-links {
        margin-top: 1rem;
        gap: 2rem;
    }
}

@media (max-width: 480px) {
    .content-wrapper {
        padding: 2rem 0;
    }
    
    h2 {
        font-size: 1.6rem;
    }
    
    .hero {
        padding: 3rem 0;
    }
    
    .hero h2 {
        font-size: 1.5rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .cards-container,
    .category-container {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .btn-primary,
    .btn-secondary {
        padding: 0.7rem 1.5rem;
        font-size: 0.9rem;
    }
}
