/* Premium Tech Style - style.css */
:root {
    --primary-color: #00e5ff; /* Cyan neon accent */
    --primary-hover: #00b8cc;
    --bg-main: #050505;
    --bg-light: #0a0a0a;
    --bg-card: #111111;
    --text-main: #ffffff;
    --text-muted: #a1a1aa;
    --border-color: #333333;
    --glow: 0 0 20px rgba(0, 229, 255, 0.3);
}

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

body {
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

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

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

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

/* Buttons */
.btn {
    display: inline-block;
    background: linear-gradient(135deg, #0052d4, #4364f7, #6fb1fc); /* Tech gradient */
    color: #fff;
    padding: 12px 30px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    border: none;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 4px 15px rgba(67, 100, 247, 0.3);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(67, 100, 247, 0.6);
    color: #fff;
}

.btn-outline {
    background: transparent;
    color: var(--text-main);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: none;
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: none;
    color: #fff;
}

/* Header */
header {
    background: rgba(5, 5, 5, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo {
    font-size: 26px;
    font-weight: 800;
    letter-spacing: -0.5px;
    background: linear-gradient(to right, #ffffff, #a1a1aa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-menu {
    display: flex;
    gap: 35px;
}

.nav-menu a {
    color: var(--text-muted);
    font-weight: 500;
    font-size: 15px;
    letter-spacing: 0.5px;
}

.nav-menu a:hover {
    color: var(--text-main);
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 120px 20px 100px;
    background: radial-gradient(circle at center, rgba(15, 23, 42, 0.8) 0%, transparent 70%);
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(67, 100, 247, 0.15) 0%, transparent 70%);
    z-index: -1;
}

.hero h1 {
    font-size: 56px;
    font-weight: 800;
    margin-bottom: 24px;
    line-height: 1.2;
    letter-spacing: -1px;
    background: linear-gradient(135deg, #ffffff 0%, #a1a1aa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 20px;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* Section Common */
section {
    padding: 80px 0;
}

section.container {
    padding: 80px 20px;
}

.section-title {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 60px;
    letter-spacing: -0.5px;
    background: linear-gradient(to right, #ffffff, #a1a1aa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Features */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-card {
    background: rgba(255, 255, 255, 0.02);
    padding: 50px 40px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
    transition: all 0.4s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(67, 100, 247, 0.3);
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}

.feature-card h3 {
    font-size: 22px;
    margin-bottom: 20px;
    color: var(--text-main);
}

.feature-card p {
    color: var(--text-muted);
    line-height: 1.7;
}

/* Streaming & AI */
.stream-ai {
    background: linear-gradient(135deg, #090e17, #131b2f);
    text-align: center;
    border-radius: 24px;
    padding: 100px 40px;
    margin: 0 auto;
    border: 1px solid rgba(0, 229, 255, 0.2);
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5), inset 0 0 40px rgba(0, 229, 255, 0.05);
}

.stream-ai-bg-grid {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: 
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: 1;
    opacity: 0.5;
    pointer-events: none;
}

.stream-ai::after {
    content: '';
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: radial-gradient(circle, rgba(0,229,255,0.1) 0%, transparent 50%);
    pointer-events: none;
    z-index: 2;
}

.stream-ai-content {
    position: relative;
    z-index: 10;
}

.stream-ai h2 {
    font-size: 42px;
    margin-bottom: 24px;
    background: linear-gradient(to right, #00e5ff, #4364f7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
}

.stream-ai p {
    font-size: 20px;
    color: var(--text-muted);
    max-width: 800px;
    margin: 0 auto 40px;
    line-height: 1.8;
}

.stream-btn {
    background: transparent;
    border: 2px solid #00e5ff;
    color: #00e5ff;
    box-shadow: 0 0 15px rgba(0,229,255,0.3);
}

.stream-btn:hover {
    background: #00e5ff;
    color: #000;
    box-shadow: 0 0 25px rgba(0,229,255,0.6);
}

/* Floating Tags */
.floating-tags {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 5;
    pointer-events: none;
}

.tag {
    position: absolute;
    padding: 8px 16px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 30px;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    animation: float 6s ease-in-out infinite;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.tag-1 { top: 15%; left: 10%; animation-delay: 0s; color: #10a37f; border-color: rgba(16,163,127,0.3); }
.tag-2 { top: 20%; right: 15%; animation-delay: 1s; color: #e50914; border-color: rgba(229,9,20,0.3); }
.tag-3 { bottom: 20%; left: 15%; animation-delay: 2s; color: #fff; border-color: rgba(255,255,255,0.3); }
.tag-4 { bottom: 15%; right: 10%; animation-delay: 3s; color: #1f36ac; border-color: rgba(31,54,172,0.5); }
.tag-5 { top: 50%; left: 5%; animation-delay: 4s; color: #00f2fe; border-color: rgba(0,242,254,0.3); }
.tag-6 { top: 60%; right: 5%; animation-delay: 1.5s; color: #d97757; border-color: rgba(217,119,87,0.3); }

@keyframes float {
    0% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(3deg); }
    100% { transform: translateY(0px) rotate(0deg); }
}

@media (max-width: 768px) {
    .floating-tags { display: none; }
}

/* Pricing */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.pricing-card {
    background: var(--bg-card);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 20px;
    padding: 50px 40px;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.pricing-card:hover {
    transform: translateY(-8px);
    border-color: rgba(67, 100, 247, 0.5);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 4px;
    background: linear-gradient(to right, #4364f7, #6fb1fc);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.pricing-card:hover::before {
    opacity: 1;
}

.pricing-card h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: var(--text-main);
}

.price {
    font-size: 48px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 30px;
    letter-spacing: -1px;
}

.price span {
    font-size: 18px;
    color: var(--text-muted);
    font-weight: 500;
}

.pricing-features {
    list-style: none;
    margin-bottom: 40px;
    text-align: left;
}

.pricing-features li {
    margin-bottom: 16px;
    padding-left: 32px;
    position: relative;
    color: var(--text-muted);
    font-size: 16px;
}

.pricing-features li::before {
    content: '';
    position: absolute;
    left: 0; top: 4px;
    width: 18px; height: 18px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%2338bdf8" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="20 6 9 17 4 12"></polyline></svg>');
    background-size: cover;
}

.pricing-card .btn {
    width: 100%;
}

/* Reviews */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.review-card {
    background: rgba(255,255,255,0.02);
    padding: 40px;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.05);
}

.review-text {
    font-size: 16px;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 24px;
    font-style: italic;
}

.review-author {
    font-weight: 600;
    color: #fff;
    font-size: 15px;
}

/* FAQ */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 30px;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 12px;
    padding: 30px;
    transition: background 0.3s ease;
}

.faq-item:hover {
    background: rgba(255,255,255,0.04);
}

.faq-item h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #fff;
}

.faq-item p {
    color: var(--text-muted);
    line-height: 1.7;
}

/* Footer */
footer {
    border-top: 1px solid rgba(255,255,255,0.05);
    background: #000;
    padding: 80px 0 40px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 15px;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #fff;
}

.footer-copy {
    text-align: center;
    color: #555;
    font-size: 14px;
}

/* Page content styles (for terms, about, etc.) */
.page-content {
    padding: 80px 0;
    max-width: 800px;
    margin: 0 auto;
}
.page-content h1 {
    margin-bottom: 40px;
    font-size: 42px;
    background: linear-gradient(to right, #fff, #aaa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.page-content h2 {
    margin-top: 50px;
    margin-bottom: 20px;
    font-size: 26px;
    color: #fff;
}
.page-content p {
    margin-bottom: 20px;
    color: var(--text-muted);
    line-height: 1.8;
}
.page-content ul {
    margin-bottom: 20px;
    padding-left: 20px;
    color: var(--text-muted);
    line-height: 1.8;
}
.page-content li {
    margin-bottom: 10px;
}

/* Responsive */
@media (max-width: 992px) {
    .features-grid, .pricing-grid, .reviews-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .features-grid, .pricing-grid, .reviews-grid {
        grid-template-columns: 1fr;
    }
    .hero h1 {
        font-size: 40px;
    }
    .hero p {
        font-size: 18px;
    }
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .footer-links {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    .btn {
        display: block;
        width: 100%;
        padding: 16px 20px;
    }
    .stream-ai {
        padding: 50px 20px;
    }
    .stream-ai h2 {
        font-size: 28px;
    }
    .nav-menu {
        display: none;
    }
    section {
        padding: 60px 0;
    }
    .pricing-card {
        padding: 40px 20px;
    }
}

/* Meteor Shower Effect */
.meteor-shower {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}
.meteor-shower span {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 3px;
    height: 3px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.05), 0 0 0 8px rgba(255, 255, 255, 0.05), 0 0 20px rgba(0, 229, 255, 0.8);
    animation: animate-meteor 3s linear infinite;
}
.meteor-shower span::before {
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 150px;
    height: 1px;
    background: linear-gradient(90deg, rgba(255,255,255,0.8), transparent);
}
@keyframes animate-meteor {
    0% { transform: rotate(315deg) translateX(0); opacity: 1; }
    70% { opacity: 1; }
    100% { transform: rotate(315deg) translateX(-1500px); opacity: 0; }
}
.meteor-shower span:nth-child(1) { top: -10%; left: 80%; animation-delay: 0s; animation-duration: 3s; }
.meteor-shower span:nth-child(2) { top: -20%; left: 60%; animation-delay: 1.2s; animation-duration: 4s; }
.meteor-shower span:nth-child(3) { top: 10%; left: 100%; animation-delay: 0.4s; animation-duration: 2.5s; }
.meteor-shower span:nth-child(4) { top: 30%; left: 110%; animation-delay: 1.8s; animation-duration: 3.5s; }
.meteor-shower span:nth-child(5) { top: 50%; left: 120%; animation-delay: 0.8s; animation-duration: 2s; }
.meteor-shower span:nth-child(6) { top: -30%; left: 90%; animation-delay: 2.5s; animation-duration: 3.2s; }
.meteor-shower span:nth-child(7) { top: 20%; left: 100%; animation-delay: 0.2s; animation-duration: 3s; }
.meteor-shower span:nth-child(8) { top: -40%; left: 70%; animation-delay: 3s; animation-duration: 4.5s; }
.meteor-shower span:nth-child(9) { top: 40%; left: 100%; animation-delay: 1.5s; animation-duration: 2.8s; }
.meteor-shower span:nth-child(10) { top: 5%; left: 120%; animation-delay: 0.6s; animation-duration: 3.8s; }
.meteor-shower span:nth-child(11) { top: 25%; left: 110%; animation-delay: 2.1s; animation-duration: 3s; }
.meteor-shower span:nth-child(12) { top: 15%; left: 130%; animation-delay: 0.9s; animation-duration: 3.6s; }

/* Article & Knowledge Base Pages */
.page-content {
    max-width: 900px;
    margin: 140px auto 80px;
    padding: 60px;
    background: rgba(15, 23, 42, 0.4);
    border: 1px solid rgba(0, 229, 255, 0.1);
    border-radius: 24px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.5), inset 0 0 40px rgba(0, 229, 255, 0.02);
    position: relative;
    z-index: 10;
}
.page-content h1 {
    font-size: 36px;
    margin-bottom: 40px;
    text-align: center;
    background: linear-gradient(to right, #00e5ff, #4364f7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
}
.page-content > h2, .page-content article h2 {
    font-size: 24px;
    color: #fff;
    margin: 50px 0 25px;
    border-left: 4px solid #00e5ff;
    padding-left: 15px;
}
.page-content > p, .page-content article p {
    font-size: 16px;
    color: #a1a1aa;
    line-height: 1.8;
    margin-bottom: 25px;
}
.page-content article ul {
    color: #a1a1aa;
    line-height: 1.8;
    margin-bottom: 25px;
    padding-left: 20px;
}
.page-content article li {
    margin-bottom: 10px;
}
.page-content article a {
    color: #00e5ff;
    text-decoration: none;
    border-bottom: 1px dashed rgba(0, 229, 255, 0.5);
    transition: all 0.3s;
}
.page-content article a:hover {
    color: #fff;
    border-bottom-color: #fff;
    text-shadow: 0 0 10px rgba(0, 229, 255, 0.8);
}
@media (max-width: 768px) {
    .page-content {
        margin: 100px 20px 40px;
        padding: 30px 20px;
    }
    .page-content h1 {
        font-size: 28px;
    }
}

/* Accessibility & Semantic Updates */
.skip-link {
    position: absolute;
    top: -60px;
    left: 0;
    background: #00e5ff;
    color: #000;
    padding: 12px 24px;
    z-index: 9999;
    transition: top 0.2s;
    text-decoration: none;
    font-weight: bold;
    border-radius: 0 0 8px 0;
}
.skip-link:focus {
    top: 0;
}
section, .page-content, [id] {
    scroll-margin-top: 100px;
}
*:focus-visible {
    outline: 2px dashed #00e5ff;
    outline-offset: 4px;
}

/* FAQ Details/Summary */
details.faq-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    margin-bottom: 20px;
    padding: 20px;
    text-align: left;
    transition: all 0.3s;
}
details.faq-item:hover, details.faq-item:focus-within {
    border-color: rgba(0, 229, 255, 0.3);
    background: rgba(255, 255, 255, 0.05);
}
details.faq-item summary {
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    cursor: pointer;
    list-style: none;
    outline: none;
    position: relative;
    padding-right: 20px;
}
details.faq-item summary::-webkit-details-marker {
    display: none;
}
details.faq-item summary::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    color: #00e5ff;
    font-size: 24px;
}
details.faq-item[open] summary::after {
    content: '-';
}
details.faq-item p {
    margin-top: 15px;
    color: var(--text-muted);
    line-height: 1.6;
}
