/* Base Styles */
:root {
    --primary: #3a86ff;
    --secondary: #ff006e;
    --dark: #111827;
    --light: #ffffff;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-700: #374151;
    --gray-900: #1f2937;
    --gradient-primary: linear-gradient(135deg, var(--primary), var(--secondary));
    --border-radius: 10px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--dark);
    background-color: #f9fafb;
    line-height: 1.6;
}

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

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

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

p {
    margin-bottom: 1rem;
}

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

ul {
    list-style: none;
}

.highlight {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 700;
}

/* Header Styles */
header {
    background-color: var(--light);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 1rem 0;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

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

.logo h1 {
    font-size: 1.2rem;
    margin-bottom: 0;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.main-nav ul {
    display: flex;
    gap: 2rem;
}

.main-nav ul li a {
    color: var(--gray-700);
    font-weight: 500;
    position: relative;
}

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

.main-nav ul li a:hover {
    color: var(--primary);
}

.main-nav ul li a:hover::after,
.main-nav ul li a.active::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px 0;
    background-color: var(--dark);
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    padding: 5rem 0 8rem;
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, var(--light), var(--gray-100));
}

.hero-content {
    max-width: 700px;
    position: relative;
    z-index: 5;
}

.hero-content h2 {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
}

.hero-content p {
    font-size: 1.1rem;
    color: var(--gray-700);
    margin-bottom: 2.5rem;
    max-width: 600px;
}

.hero-graphic {
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    z-index: 1;
    pointer-events: none;
}

.wave {
    width: 100%;
    height: auto;
}

.features {
    display: flex;
    gap: 2rem;
    margin-top: 2.5rem;
    flex-wrap: wrap;
}

.feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background-color: var(--light);
    padding: 0.5rem 1rem;
    border-radius: 30px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.feature-icon {
    color: var(--primary);
}

.cta-container {
    margin-bottom: 1rem;
}

.cta-button {
    display: inline-block;
    background: var(--gradient-primary);
    color: var(--light) !important;
    padding: 1rem 2rem;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(58, 134, 255, 0.3);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(58, 134, 255, 0.4);
}

.cta-button.large {
    padding: 1.2rem 2.5rem;
    font-size: 1.1rem;
}

/* Premium Section */
.premium-section {
    padding: 5rem 0;
    position: relative;
}

.premium-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

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

.card {
    position: relative;
    background-color: var(--light);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

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

.card-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--gradient-primary);
    color: var(--light);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.card-content {
    padding: 2rem;
}

.card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.card p {
    color: var(--gray-700);
    font-size: 0.95rem;
    margin-bottom: 2rem;
}

.card-button {
    display: inline-block;
    background-color: var(--primary);
    color: var(--light) !important;
    padding: 0.8rem 1.5rem;
    border-radius: 30px;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.card-button:hover {
    background-color: var(--secondary);
    transform: translateY(-2px);
}

/* Trending Section */
.trending-section {
    padding: 5rem 0;
    background-color: var(--gray-100);
}

.trending-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    max-width: 800px;
    margin: 0 auto;
}

.tag {
    display: inline-block;
    padding: 0.6rem 1.2rem;
    background-color: var(--light);
    color: var(--gray-700);
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.tag:hover {
    background: var(--gradient-primary);
    color: var(--light);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* CTA Section */
.cta-section {
    padding: 5rem 0;
    background: var(--gradient-primary);
    color: var(--light);
    text-align: center;
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
}

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

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

.cta-section .cta-button {
    background: var(--light);
    color: var(--primary) !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.cta-section .cta-button:hover {
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

/* Footer */
footer {
    background-color: var(--dark);
    color: var(--light);
    padding-top: 4rem;
}

.footer-top {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    margin-bottom: 3rem;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.footer-logo span {
    font-weight: 600;
    font-size: 1.2rem;
}

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

.link-group h4 {
    font-size: 1.1rem;
    color: var(--secondary);
    margin-bottom: 1.2rem;
}

.link-group ul li {
    margin-bottom: 0.7rem;
}

.link-group ul li a {
    color: var(--gray-300);
    transition: color 0.3s ease;
}

.link-group ul li a:hover {
    color: var(--light);
}

.footer-bottom {
    text-align: center;
    padding: 2rem 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: var(--gray-300);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .hero-content h2 {
        font-size: 2.2rem;
    }
    
    .premium-section h2, 
    .trending-section h2, 
    .cta-content h2 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
        flex-direction: column;
    }
    
    .main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--light);
        padding: 1rem;
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
        transition: all 0.3s ease;
    }
    
    .main-nav.active {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }
    
    .main-nav ul {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero-content h2 {
        font-size: 1.8rem;
    }
    
    .features {
        justify-content: center;
    }
    
    .footer-top {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .footer-links {
        flex-direction: column;
        align-items: center;
    }
    
    .link-group {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .header-inner {
        width: 95%;
    }
    
    .logo h1 {
        font-size: 1rem;
    }
    
    .hero {
        padding: 3rem 0 6rem;
    }
    
    .hero-content h2 {
        font-size: 1.6rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .cta-button {
        padding: 0.8rem 1.5rem;
    }
    
    .card-content {
        padding: 1.5rem;
    }
}
