:root {
    --primary-color: #0ea5e9;
    --primary-hover: #0284c7;
    --bg-color: #f8fafc;
    --text-color: #0f172a;
    --text-light: #475569;
    --card-bg: #ffffff;
    --border-color: #e2e8f0;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 1.6;
}

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

/* Navbar */
.navbar {
    background: #ffffff;
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 600;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #fff;
    padding: 100px 0;
    overflow: hidden;
}

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

.hero-content {
    flex: 1;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    font-weight: 800;
    line-height: 1.2;
}

.hero-content .subtitle {
    font-size: 1.25rem;
    color: #cbd5e1;
    margin-bottom: 40px;
}

.hero-visual {
    flex: 1;
    position: relative;
    height: 400px;
}

.dynamic-badge {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    padding: 15px 25px;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1.1rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    animation: float 6s ease-in-out infinite;
}

.dynamic-badge.b1 {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.dynamic-badge.b2 {
    top: 50%;
    right: 10%;
    animation-delay: 2s;
}

.dynamic-badge.b3 {
    bottom: 20%;
    left: 30%;
    animation-delay: 4s;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

/* Buttons */
.btn-group {
    display: flex;
    gap: 15px;
}

.btn-group-pricing {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
}

.cta-button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    text-align: center;
    border: 2px solid transparent;
}

.cta-button.primary {
    background-color: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}

.cta-button.primary:hover {
    background-color: var(--primary-hover);
    border-color: var(--primary-hover);
    transform: translateY(-2px);
}

.cta-button.outline {
    background-color: transparent;
    color: #fff;
    border-color: rgba(255,255,255,0.5);
}
.hero .cta-button.outline:hover {
    background-color: rgba(255,255,255,0.1);
    border-color: #fff;
}

.pricing .cta-button.outline {
    color: var(--primary-color);
    border-color: var(--primary-color);
}
.pricing .cta-button.outline:hover {
    background-color: var(--primary-color);
    color: #fff;
}

/* Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.modal-content {
    background: #fff;
    padding: 40px;
    border-radius: 16px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    animation: modalPop 0.3s ease-out;
}

@keyframes modalPop {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

.close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: #94a3b8;
    transition: color 0.3s;
}

.close-btn:hover {
    color: #0f172a;
}

.modal-content h2 {
    color: #e11d48;
    margin-bottom: 20px;
    font-size: 1.75rem;
}

.modal-content p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: #475569;
}

.modal-btn {
    display: block;
    background: #e11d48;
    color: #fff;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.2rem;
    transition: background 0.3s;
}

.modal-btn:hover {
    background: #be123c;
}

/* Sections General */
section { padding: 80px 0; }
section h2 { text-align: center; font-size: 2.5rem; margin-bottom: 50px; color: var(--text-color); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }

/* Pricing Section */
.pricing { background-color: var(--bg-color); padding-top: 60px; }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; align-items: center; }
.price-card { background: var(--card-bg); border: 1px solid var(--border-color); border-radius: 16px; padding: 40px 30px; text-align: center; transition: transform 0.3s ease, box-shadow 0.3s ease; position: relative; }
.price-card:hover { transform: translateY(-10px); box-shadow: 0 20px 40px rgba(0,0,0,0.05); }
.price-card.popular { border-color: var(--primary-color); box-shadow: 0 10px 30px rgba(14, 165, 233, 0.1); transform: scale(1.05); }
.price-card.popular:hover { transform: scale(1.05) translateY(-10px); }
.badge { position: absolute; top: -15px; left: 50%; transform: translateX(-50%); background: var(--primary-color); color: white; padding: 5px 15px; border-radius: 20px; font-size: 0.875rem; font-weight: bold; }
.price-card h3 { font-size: 1.5rem; margin-bottom: 20px; }
.price-card .price { font-size: 2.5rem; font-weight: 800; color: var(--text-color); margin-bottom: 30px; }
.price-card .price span { font-size: 1rem; color: var(--text-light); font-weight: normal; }
.price-card ul { list-style: none; margin-bottom: 30px; text-align: left; }
.price-card ul li { padding: 10px 0; border-bottom: 1px solid var(--border-color); color: var(--text-light); }
.price-card ul li:last-child { border-bottom: none; }

/* Cards */
.card { background: var(--card-bg); padding: 40px; border-radius: 16px; box-shadow: 0 4px 6px rgba(0,0,0,0.02); border: 1px solid var(--border-color); }
.card h3 { font-size: 1.25rem; margin-bottom: 15px; }
.card p { color: var(--text-light); }

/* Sections Backgrounds */
.streaming-ai { background: #fff; }
.features { background: var(--bg-color); }
.reviews { background: #fff; }

.review-card { background: var(--card-bg); padding: 30px; border-radius: 12px; border: 1px solid var(--border-color); font-style: italic; }
.review-card span { display: block; margin-top: 15px; font-weight: bold; color: var(--primary-color); font-style: normal; }

/* FAQ */
.faq { background: var(--bg-color); }
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { margin-bottom: 25px; background: #fff; padding: 25px; border-radius: 12px; border: 1px solid var(--border-color); }
.faq-item h4 { font-size: 1.1rem; margin-bottom: 10px; }
.faq-item p { color: var(--text-light); }

/* Footer */
footer { background: #0f172a; color: #cbd5e1; padding: 60px 0 30px; text-align: center; }
.footer-links { margin-bottom: 30px; }
.footer-links a { color: #cbd5e1; text-decoration: none; margin: 0 15px; transition: color 0.3s; }
.footer-links a:hover { color: #fff; }
.copyright { font-size: 0.875rem; color: #64748b; }

/* Blog Cards Section */
.blog-cards-section { background: var(--bg-color); padding: 80px 0; border-top: 1px solid var(--border-color); }
.blog-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.blog-card { background: #fff; padding: 25px; border-radius: 12px; border: 1px solid var(--border-color); transition: transform 0.3s, box-shadow 0.3s; display: flex; flex-direction: column; }
.blog-card:hover { transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0,0,0,0.05); }
.blog-card h3 { font-size: 1.1rem; margin-bottom: 15px; flex-grow: 1; color: var(--text-color); }
.blog-card p { color: var(--text-light); font-size: 0.9rem; margin-bottom: 15px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.blog-card a { color: var(--primary-color); font-weight: bold; text-decoration: none; }
.blog-card a:hover { text-decoration: underline; }

/* SEO Article Styles */
.article-container { max-width: 800px; margin: 40px auto; padding: 40px; background: #fff; border-radius: 12px; box-shadow: 0 4px 6px rgba(0,0,0,0.05); border: 1px solid var(--border-color); }
.article-header { padding-bottom: 20px; border-bottom: 1px solid var(--border-color); margin-bottom: 30px; }
.article-header h1 { font-size: 2.2rem; color: #0f172a; margin-bottom: 15px; line-height: 1.4; }
.article-meta { color: #64748b; font-size: 0.9rem; }
.article-toc { background: #f8fafc; padding: 25px; border-radius: 8px; margin-bottom: 40px; border: 1px solid var(--border-color); }
.article-toc h3 { margin-bottom: 15px; font-size: 1.2rem; color: #0f172a; }
.article-toc ul { list-style: none; }
.article-toc ul li { margin-bottom: 12px; }
.article-toc ul li a { color: var(--primary-color); text-decoration: none; font-weight: 500; }
.article-toc ul li a:hover { text-decoration: underline; }
.article-content h2 { font-size: 1.8rem; margin: 40px 0 20px; color: #1e293b; border-left: 4px solid var(--primary-color); padding-left: 15px; }
.article-content h3 { font-size: 1.4rem; margin: 30px 0 15px; color: #334155; }
.article-content p { margin-bottom: 20px; line-height: 1.8; color: #475569; font-size: 1.05rem; }
.article-content strong { color: #0f172a; }
.article-faq { margin-top: 50px; padding-top: 30px; border-top: 1px solid var(--border-color); }
.article-faq h3 { font-size: 1.8rem; margin-bottom: 30px; color: #1e293b; border-left: 4px solid var(--primary-color); padding-left: 15px; }
.article-faq-item { margin-bottom: 25px; background: #f8fafc; padding: 20px; border-radius: 8px; border: 1px solid var(--border-color); }
.article-faq-item h4 { font-size: 1.1rem; color: #1e293b; margin-bottom: 10px; }
.article-faq-item p { color: #475569; margin: 0; }

/* Responsive */
@media (max-width: 992px) {
    .blog-grid { grid-template-columns: repeat(2, 1fr); }
    .article-container { padding: 20px; margin: 20px; }
    .hero-layout { flex-direction: column; text-align: center; }
    .hero-visual { width: 100%; height: 300px; }
    .dynamic-badge.b1 { left: 5%; top: 10%; }
    .dynamic-badge.b2 { right: 5%; top: 40%; }
    .dynamic-badge.b3 { left: 50%; transform: translateX(-50%); bottom: 10%; animation: none; }
    .btn-group { justify-content: center; flex-wrap: wrap; }
    .pricing-grid { grid-template-columns: 1fr; gap: 20px; max-width: 400px; margin: 0 auto; }
    .price-card.popular { transform: none; }
    .price-card.popular:hover { transform: translateY(-10px); }
}

@media (max-width: 768px) {
    .hero h1 { font-size: 2.5rem; }
    .nav-links { display: none; }
    .grid-3, .grid-2 { grid-template-columns: 1fr; }
    section { padding: 60px 0; }
    section h2 { font-size: 2rem; }
    .cta-button { display: block; width: 100%; padding: 16px; margin-bottom: 10px; }
    .footer-links a { display: block; margin: 10px 0; }
}
