/* Global Styles */
:root {
    --primary-color: #6a11cb;
    --secondary-color: #2575fc;
    --accent-color: #FF3CAC;
    --text-color: #333;
    --light-text: #fff;
    --background: #f9f9f9;
    --card-bg: #fff;
    --gradient: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    --hero-gradient: linear-gradient(135deg, #FF3CAC, #784BA0, #2B86C5);
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --border-radius: 12px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, Helvetica, Arial, sans-serif;
}

body {
    background-color: var(--background);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

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

h1, h2, h3, h4 {
    color: var(--text-color);
    margin-bottom: 1rem;
    line-height: 1.2;
}

h1 {
    font-size: 3rem;
    font-weight: 800;
}

h2 {
    font-size: 2.2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 2rem;
}

h3 {
    font-size: 1.4rem;
    font-weight: 600;
}

p {
    margin-bottom: 1rem;
    color: #666;
}

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

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

ul {
    list-style: none;
}

/* Header Styles */
header {
    background: var(--card-bg);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

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

.logo a {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.logo-svg {
    width: 40px;
    height: 40px;
    margin-right: 10px;
}

nav ul {
    display: flex;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    padding: 10px 0;
    font-weight: 500;
    position: relative;
}

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

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

/* Hero Section */
.hero {
    background: var(--hero-gradient);
    color: var(--light-text);
    padding: 80px 0;
    margin-bottom: 60px;
    clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.hero-content {
    flex: 1;
}

.hero-content h1 {
    color: var(--light-text);
    margin-bottom: 20px;
    font-size: 3.5rem;
    font-weight: 800;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.hero-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 600px;
}

.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
}

.hero-svg {
    width: 100%;
    max-width: 500px;
    height: auto;
}

.cta-button {
    display: inline-block;
    background: var(--accent-color);
    color: var(--light-text);
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(255, 60, 172, 0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
}

.cta-button:hover {
    background: #ff5ab3;
    color: var(--light-text);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 60, 172, 0.4);
}

.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 60, 172, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(255, 60, 172, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 60, 172, 0);
    }
}

/* Features Section */
.features {
    padding: 60px 0;
}

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

.feature-card {
    background: var(--card-bg);
    border-radius: var(--border-radius);
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
}

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

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    color: var(--primary-color);
}

.feature-card h3 {
    margin-bottom: 15px;
}

/* Categories Section */
.categories {
    padding: 60px 0;
    background-color: #f0f2f5;
}

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

.category-card {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    aspect-ratio: 1 / 1;
}

.category-card:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.category-svg {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* CTA Section */
.cta {
    padding: 80px 0;
    background: var(--gradient);
    color: var(--light-text);
    text-align: center;
    clip-path: polygon(0 15%, 100% 0, 100% 85%, 0 100%);
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.cta h2 {
    color: var(--light-text);
    margin-bottom: 20px;
}

.cta p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    margin-bottom: 30px;
}

/* Footer */
footer {
    background: #222;
    color: var(--light-text);
    padding: 60px 0 20px;
    margin-top: auto;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-right: auto;
}

.footer-logo span {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--light-text);
    margin-left: 10px;
}

.footer-svg {
    width: 50px;
    height: 50px;
}

.footer-links {
    display: flex;
    gap: 60px;
}

.footer-menu h3 {
    color: var(--light-text);
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
}

.footer-menu h3:after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--accent-color);
}

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

.footer-menu ul li a {
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s ease;
}

.footer-menu ul li a:hover {
    color: var(--accent-color);
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

/* Responsive Styles */
@media (max-width: 992px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .hero .container {
        flex-direction: column;
    }
    
    .hero-content {
        text-align: center;
    }
}

@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        height: auto;
        padding: 20px;
    }
    
    nav {
        margin-top: 20px;
        width: 100%;
    }
    
    nav ul {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    nav ul li {
        margin: 0 10px;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-logo {
        justify-content: center;
        margin-right: 0;
    }
    
    .footer-links {
        width: 100%;
        justify-content: space-around;
        gap: 20px;
    }
    
    .footer-menu h3:after {
        left: 50%;
        transform: translateX(-50%);
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .cta-button {
        padding: 12px 25px;
        font-size: 1rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 30px;
    }
}
