/* CSS Variables for Dark Anime Theme */
:root {
    --bg-color: #050505;
    --text-primary: #f5f5f5;
    --text-secondary: #a3a3a3;
    --primary-color: #d4af37;
    --primary-hover: #f1c40f;
    --accent-color: #b8860b;
    --card-bg: rgba(15, 15, 15, 0.8);
    --card-border: rgba(212, 175, 55, 0.2);
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Typography */
h1, h2, h3 {
    font-weight: 700;
    line-height: 1.2;
}

h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Glassmorphism utility */
.glass {
    background: var(--card-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--card-border);
    border-radius: 1rem;
}

/* Navbar */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
    transition: background-color 0.3s ease;
    backdrop-filter: blur(10px);
    background: rgba(5, 5, 5, 0.8);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo span {
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-secondary);
    font-weight: 500;
    transition: color 0.2s ease;
}

.nav-links a:hover {
    color: #fff;
}

.cta-btn {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: #fff !important;
    padding: 0.6rem 1.5rem;
    border-radius: 2rem;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.6);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8rem 5% 4rem;
    position: relative;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('assets/hero_bg.png');
    background-size: cover;
    background-position: center;
    opacity: 0.3;
    z-index: -1;
    mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 50%, rgba(0,0,0,0) 100%);
    -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 50%, rgba(0,0,0,0) 100%);
}

.hero-container {
    max-width: 1200px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
    z-index: 1;
}

.hero-content {
    flex: 1;
    max-width: 600px;
    text-align: left;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: #fff;
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.5);
}

.hero p {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: flex-start;
}

.hero-cta .btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: #fff;
    padding: 1rem 2.5rem;
    border-radius: 3rem;
    font-size: 1.1rem;
    font-weight: 600;
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.5);
    transition: all 0.3s ease;
}

.hero-cta .btn-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 30px rgba(212, 175, 55, 0.7);
}

/* Dynamic Visual */
.hero-visual {
    flex: 1;
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.floating-card {
    position: absolute;
    padding: 1.2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    min-width: 240px;
    background: rgba(15, 15, 15, 0.7);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 1rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    backdrop-filter: blur(10px);
}

.floating-card .icon {
    font-size: 2rem;
}

.floating-card .title {
    font-weight: 700;
    color: #fff;
    font-size: 1.1rem;
}

.floating-card .desc {
    color: var(--primary-color);
    font-size: 0.9rem;
    font-weight: 500;
}

.card-1 {
    top: 15%;
    left: 0;
    animation: float 4s ease-in-out infinite;
}

.card-2 {
    top: 45%;
    right: -5%;
    animation: float 5s ease-in-out infinite 1s;
}

.card-3 {
    bottom: 15%;
    left: 10%;
    animation: float 4.5s ease-in-out infinite 2s;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

/* Features Section */
.features {
    padding: 5rem 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    padding: 2.5rem;
    text-align: left;
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: rgba(212, 175, 55, 0.5);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #fff;
}

.feature-card p {
    color: var(--text-secondary);
}

/* Streaming & AI Support */
.media-ai {
    padding: 5rem 5%;
    background: linear-gradient(180deg, transparent, rgba(212, 175, 55, 0.05), transparent);
}

.media-container {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.tags-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.tag {
    padding: 0.8rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 2rem;
    font-weight: 600;
    color: #fff;
    transition: all 0.3s ease;
}

.tag:hover {
    background: rgba(212, 175, 55, 0.2);
    border-color: var(--primary-color);
    transform: scale(1.05);
}

/* Pricing Section */
.pricing {
    padding: 5rem 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    align-items: center;
}

.price-card {
    padding: 3rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.price-card.popular {
    border-color: var(--primary-color);
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.2);
    transform: scale(1.05);
}

.popular-badge {
    position: absolute;
    top: 1rem;
    right: -2rem;
    background: var(--primary-color);
    color: #fff;
    padding: 0.5rem 3rem;
    transform: rotate(45deg);
    font-size: 0.8rem;
    font-weight: bold;
}

.price-card h3 {
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 1rem;
}

.price {
    font-size: 3rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 2rem;
}

.price span {
    font-size: 1rem;
    color: var(--text-secondary);
}

.price-features {
    list-style: none;
    margin-bottom: 2.5rem;
}

.price-features li {
    margin-bottom: 1rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.price-btn {
    display: inline-block;
    width: 100%;
    padding: 1rem;
    border-radius: 0.5rem;
    font-weight: 600;
    transition: all 0.3s;
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.1);
}

.price-card.popular .price-btn {
    background: var(--primary-color);
    border: none;
}

.price-btn:hover {
    background: var(--accent-color);
    border-color: var(--accent-color);
}

/* Reviews Section */
.reviews {
    padding: 5rem 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.review-card {
    padding: 2rem;
}

.review-text {
    font-style: italic;
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
}

.review-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: bold;
}

/* FAQ Section */
.faq {
    padding: 5rem 5%;
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    cursor: pointer;
}

.faq-question {
    font-weight: 600;
    color: #fff;
    margin-bottom: 0.5rem;
}

.faq-answer {
    color: var(--text-secondary);
}

/* Footer */
footer {
    background: #030303;
    padding: 4rem 5% 2rem;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff;
}

.footer-logo span {
    color: var(--primary-color);
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: var(--text-secondary);
    transition: color 0.2s;
}

.footer-links a:hover {
    color: #fff;
}

.copyright {
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Subpages Content */
.subpage-hero {
    padding: 10rem 5% 4rem;
    text-align: center;
    background: linear-gradient(180deg, rgba(212, 175, 55, 0.1), transparent);
}

.subpage-content {
    max-width: 800px;
    margin: 0 auto 5rem;
    padding: 3rem;
}

.subpage-content h2 {
    text-align: left;
    font-size: 1.8rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    background: none;
    -webkit-text-fill-color: #fff;
}

.subpage-content p {
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
}

.subpage-content ul {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
    color: var(--text-secondary);
}

.subpage-content li {
    margin-bottom: 0.5rem;
}

/* Responsive */
@media (max-width: 992px) {
    .hero-container {
        flex-direction: column;
        text-align: center;
        margin-top: 4rem;
    }
    .hero-content {
        text-align: center;
    }
    .hero-cta {
        justify-content: center;
    }
    .hero-visual {
        width: 100%;
        height: 350px;
    }
    .card-1 { left: 5%; top: 10%; }
    .card-2 { right: 5%; top: 40%; }
    .card-3 { left: 15%; bottom: 10%; }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    .hero h1 {
        font-size: 2.5rem;
    }
    .hero p {
        font-size: 1rem;
    }
    h2 {
        font-size: 2rem;
    }
    .price-card.popular {
        transform: scale(1);
    }
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}
