/* Base Styles */
:root {
    --primary-color: #61dafb;
    --secondary-color: #282c34;
    --dark-bg: #23262d;
    --light-text: #ffffff;
    --body-bg: #0b132b;
    --card-bg: #1a1a2e;
    --text-color: #e6e6e6;
    --accent: #ff6b6b;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--body-bg);
    color: var(--text-color);
    line-height: 1.6;
}

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

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--light-text);
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 0.5rem;
}

h2:after {
    content: '';
    position: absolute;
    width: 80px;
    height: 3px;
    background: var(--primary-color);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

/* Layout */
section {
    padding: 4rem 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* Header */
header {
    background-color: var(--dark-bg);
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

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

.site-logo {
    height: 40px;
}

/* Navigation */
nav {
    display: flex;
    align-items: center;
}

.menu {
    display: flex;
    list-style: none;
}

.menu li {
    margin-left: 1.5rem;
}

.menu a {
    color: var(--light-text);
    font-weight: 500;
    padding: 0.5rem;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.menu a:hover {
    background-color: rgba(97, 218, 251, 0.1);
}

#menu-toggle {
    display: none;
}

.menu-icon {
    display: none;
    cursor: pointer;
    width: 30px;
    height: 21px;
    position: relative;
}

.menu-icon span {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background: var(--primary-color);
    border-radius: 3px;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: .25s ease-in-out;
}

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

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

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

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    min-height: 60vh;
    padding: 6rem 1.5rem 4rem;
    background-color: var(--secondary-color);
    overflow: hidden;
    position: relative;
}

.hero-content {
    flex: 1;
    max-width: 50%;
    z-index: 1;
}

.hero-visual {
    flex: 1;
    z-index: 1;
}

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

/* CTA Button */
.cta-button {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--dark-bg);
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    margin-top: 1.5rem;
    box-shadow: 0 4px 10px rgba(97, 218, 251, 0.3);
}

.cta-button:hover {
    background-color: var(--light-text);
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(97, 218, 251, 0.4);
    color: var(--dark-bg);
}

.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 4px 10px rgba(97, 218, 251, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 6px 15px rgba(97, 218, 251, 0.5);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 4px 10px rgba(97, 218, 251, 0.3);
    }
}

/* Trending Content */
.trending {
    background-color: var(--body-bg);
}

.content-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.card {
    background-color: var(--card-bg);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.card-image {
    width: 100%;
    height: 200px;
}

.card-info {
    padding: 1.5rem;
}

.card-info h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.card-info p {
    color: var(--text-color);
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Premium Section */
.premium {
    background-color: var(--secondary-color);
    text-align: center;
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.feature {
    padding: 1.5rem;
    background-color: var(--card-bg);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.feature:hover {
    transform: translateY(-5px);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
}

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

.feature p {
    font-size: 0.9rem;
    color: var(--text-color);
    opacity: 0.8;
}

/* Categories */
.categories {
    background-color: var(--body-bg);
    text-align: center;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.category-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--light-text);
    transition: transform 0.3s ease;
}

.category-item:hover {
    transform: translateY(-5px);
    color: var(--primary-color);
}

.category-icon {
    width: 120px;
    height: 80px;
    margin-bottom: 1rem;
    border-radius: 8px;
    overflow: hidden;
}

.category-item span {
    font-weight: 500;
}

/* Testimonials */
.testimonials {
    background-color: var(--secondary-color);
    text-align: center;
}

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

.testimonial {
    background-color: var(--card-bg);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    position: relative;
}

.quote-icon {
    width: 50px;
    height: 50px;
    position: absolute;
    top: 1rem;
    left: 1rem;
    opacity: 0.3;
}

.testimonial p {
    margin-bottom: 1.5rem;
    font-style: italic;
}

.author {
    font-weight: 600;
    color: var(--primary-color);
}

/* Call to Action */
.call-to-action {
    background-color: var(--body-bg);
    text-align: center;
    padding: 5rem 1.5rem;
}

.call-to-action p {
    max-width: 600px;
    margin: 0 auto 2rem;
    font-size: 1.1rem;
}

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

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

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

.footer-icon {
    margin-top: 1rem;
}

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

.link-group h4 {
    color: var(--primary-color);
    margin-bottom: 1.2rem;
}

.link-group ul {
    list-style: none;
}

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

.link-group ul li a {
    color: var(--text-color);
    opacity: 0.8;
    transition: opacity 0.3s ease, color 0.3s ease;
}

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

.copyright {
    max-width: 1200px;
    margin: 3rem auto 0;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-content {
        max-width: 100%;
        margin-bottom: 2rem;
    }
    
    .hero-visual {
        width: 100%;
    }
    
    .footer-logo {
        width: 100%;
        align-items: center;
        margin-bottom: 2rem;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .menu-icon {
        display: block;
    }
    
    .menu {
        position: absolute;
        top: 100%;
        right: 0;
        background-color: var(--dark-bg);
        flex-direction: column;
        width: 100%;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    
    .menu li {
        margin: 0;
    }
    
    .menu a {
        display: block;
        padding: 1rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    #menu-toggle:checked ~ .menu {
        max-height: 300px;
    }
    
    .content-cards,
    .features,
    .category-grid,
    .testimonial-container {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        flex-direction: column;
        width: 100%;
    }
    
    .link-group {
        width: 100%;
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 480px) {
    section {
        padding: 3rem 1rem;
    }
    
    .hero {
        padding: 5rem 1rem 3rem;
    }
    
    .cta-button {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
    
    .category-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
