@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;500&family=Noto+Sans+SC:wght@400;500&family=Space+Grotesk:wght@600;700&display=swap');

:root {
    --bg: #0D0B14;
    --panel: #141220;
    --ink: #EAE7F2;
    --dim: #7E7894;
    --line: rgba(234,231,242,0.09);
    --acc: #B89AE8;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body { 
    font-family: 'Noto Sans SC', -apple-system, sans-serif; 
    font-weight: 400;
    line-height: 1.8; 
    color: var(--ink); 
    background-color: var(--bg); 
}
h1, h2, h3, h4, h5, h6 { font-family: 'Space Grotesk', sans-serif; font-weight: 600; }
a { text-decoration: none; color: inherit; transition: color 0.3s; }
img { max-width: 100%; height: auto; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; position: relative; z-index: 10; }

/* Tags/Data */
.tag-text, .price span, .popular-badge, nav a, .footer-links a, .sa-tag {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 12px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* Buttons */
.btn { 
    display: inline-block; padding: 12px 24px; border-radius: 3px; font-weight: 600; 
    text-align: center; cursor: pointer; transition: all 0.3s; 
    font-family: 'Space Grotesk', sans-serif;
    border: 1px solid var(--line);
}
.btn-primary { background: var(--acc); color: var(--bg); border-color: var(--acc); }
.btn-primary:hover { background: transparent; color: var(--acc); border-color: var(--acc); }
.btn-large { padding: 16px 32px; font-size: 1.1rem; }

/* Header */
header { background: transparent; position: sticky; top: 0; z-index: 100; border-bottom: 1px solid var(--line); backdrop-filter: blur(10px); }
.header-inner { display: flex; justify-content: space-between; align-items: center; height: 70px; }
.header-left { flex: 1; display: flex; justify-content: flex-start; }
.header-right { flex: 1; display: flex; justify-content: flex-end; }
.header-center { display: flex; gap: 30px; justify-content: center; align-items: center; }
.logo a, .logo { font-size: 1.5rem; font-weight: 700; color: var(--ink); font-family: 'Space Grotesk', sans-serif; }
nav a:not(.btn) { color: var(--dim); transition: color 0.3s; }
nav a:not(.btn):hover { color: var(--acc); }

/* Hero Section */
.hero { padding: 100px 0; text-align: center; }
.hero h1 { font-size: 3rem; margin-bottom: 20px; color: var(--ink); font-weight: 700; }
.hero p { font-size: 1.25rem; color: var(--dim); margin-bottom: 40px; max-width: 800px; margin-left: auto; margin-right: auto; }

/* Sections Common */
section { padding: 80px 0; }
.section-title { text-align: center; font-size: 2.2rem; margin-bottom: 50px; color: var(--ink); }

/* Cards Common (Features, Pricing, Reviews, FAQ) */
.feature-card, .pricing-card, .review-card, .faq-item, .page-content, .sa-image { 
    background: var(--panel); 
    padding: 40px 30px; 
    border-radius: 3px; 
    border: 1px solid var(--line);
    transition: all 0.3s;
}
.feature-card:hover, .pricing-card:hover, .review-card:hover, .faq-item:hover, .sa-image:hover {
    border-color: rgba(184,154,232,0.5);
}
.feature-card:hover h3, .pricing-card:hover h3 { color: var(--acc); }

/* Features */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.feature-card { text-align: center; }
.feature-card h3 { font-size: 1.3rem; margin-bottom: 15px; color: var(--ink); transition: color 0.3s; }
.feature-card p { color: var(--dim); }

/* Streaming & AI */
.streaming-ai { background: transparent; }
.sa-content { display: flex; align-items: center; gap: 50px; }
.sa-text { flex: 1; }
.sa-text h3 { font-size: 1.8rem; margin-bottom: 20px; color: var(--ink); font-family: 'Space Grotesk', sans-serif; }
.sa-text p { margin-bottom: 20px; font-size: 1.1rem; color: var(--dim); }
.sa-image { flex: 1; text-align: center; font-size: 1.2rem; font-weight: 600; color: var(--ink); display: flex; flex-direction: column; justify-content: center; gap: 20px; }
.sa-tags { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.sa-tag { background: var(--bg); border: 1px solid var(--line); padding: 8px 16px; border-radius: 3px; color: var(--dim); }

/* Pricing */
.pricing { background: transparent; }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.pricing-card { text-align: center; }
.pricing-card.popular { border-color: var(--acc); position: relative; }
.popular-badge { position: absolute; top: -15px; left: 50%; transform: translateX(-50%); background: var(--acc); color: var(--bg); padding: 5px 15px; border-radius: 3px; font-weight: bold; }
.pricing-card h3 { font-size: 1.5rem; margin-bottom: 15px; }
.price { font-size: 2.5rem; font-family: 'Space Grotesk', sans-serif; font-weight: 700; color: var(--ink); margin-bottom: 20px; }
.price span { color: var(--dim); font-weight: normal; }
.pricing-features { list-style: none; margin-bottom: 30px; text-align: left; }
.pricing-features li { margin-bottom: 15px; padding-left: 25px; position: relative; color: var(--dim); }
.pricing-features li::before { content: ""; position: absolute; left: 0; top: 10px; width: 6px; height: 6px; background: var(--acc); border-radius: 50%; }

/* Reviews */
.reviews { background: transparent; }
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.review-text { font-style: italic; color: var(--dim); margin-bottom: 20px; }
.review-author { font-weight: bold; color: var(--ink); font-family: 'IBM Plex Mono', monospace; font-size: 12px;}

/* FAQ */
.faq { background: transparent; }
.faq-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; max-width: 900px; margin: 0 auto; }
.faq-item { padding: 25px; }
.faq-item h4 { font-size: 1.1rem; margin-bottom: 10px; color: var(--ink); transition: color 0.3s; }
.faq-item:hover h4 { color: var(--acc); }
.faq-item p { color: var(--dim); }

/* Secondary Pages */
.page-header { border-bottom: 1px solid var(--line); padding: 60px 0; text-align: center; background: transparent; }
.page-header h1 { font-size: 2.5rem; color: var(--ink); }
.page-content { padding: 40px; max-width: 800px; margin: 60px auto; }
.page-content h2 { margin-top: 30px; margin-bottom: 15px; color: var(--ink); }
.page-content p, .page-content ul { margin-bottom: 15px; color: var(--dim); }
.page-content ul { padding-left: 20px; }
.page-content li { margin-bottom: 8px; }

/* Footer */
footer { border-top: 1px solid var(--line); padding: 60px 0 30px; text-align: center; margin-top: 50px; background: transparent;}
.footer-links { display: flex; justify-content: center; gap: 30px; margin-bottom: 30px; flex-wrap: wrap; }
.footer-links a { color: var(--dim); }
.footer-links a:hover { color: var(--acc); }
footer p { color: var(--dim); font-size: 0.9rem; font-family: 'IBM Plex Mono', monospace; }

/* Canvas Background UI */
#shuffle-bg { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: -1; cursor: pointer; }
.shuffle-ui { position: fixed; pointer-events: none; z-index: -1; font-family: 'IBM Plex Mono', monospace; font-size: 12px; color: var(--dim); letter-spacing: 0.1em; text-transform: uppercase; }
.sui-topleft { top: 20px; left: 20px; }
.sui-bottomleft { bottom: 20px; left: 20px; }
.sui-topright { top: 20px; right: 20px; text-align: right; }

/* Scroll Animation */
.reveal { opacity: 0; transform: translateY(24px); transition: all 0.6s ease-out; }
.reveal.active { opacity: 1; transform: translateY(0); }

/* Media Queries (Mobile Responsive) */
@media (max-width: 768px) {
    .header-inner { flex-direction: column; height: auto; padding: 15px 0; gap: 15px; }
    .header-left, .header-right { justify-content: center; width: 100%; flex: none; }
    .header-center { flex-wrap: wrap; flex: none; }
    .hero { padding: 60px 0; }
    .hero h1 { font-size: 2rem; }
    .features-grid, .pricing-grid, .reviews-grid, .faq-grid { grid-template-columns: 1fr; }
    .sa-content { flex-direction: column; }
    .btn { display: block; width: 100%; box-sizing: border-box; }
    .hero .btn-large { width: 100%; max-width: 300px; margin: 0 auto; }
}

/* Colored Brand Tags */
.sa-tag { transition: all 0.3s; }
.tag-netflix { background: rgba(229, 9, 20, 0.1); border-color: rgba(229, 9, 20, 0.3); color: #ff4d58; }
.tag-disney { background: rgba(17, 60, 207, 0.1); border-color: rgba(17, 60, 207, 0.3); color: #4b80ff; }
.tag-youtube { background: rgba(255, 0, 0, 0.1); border-color: rgba(255, 0, 0, 0.3); color: #ff4d4d; }
.tag-hulu { background: rgba(28, 231, 131, 0.1); border-color: rgba(28, 231, 131, 0.3); color: #1ce783; }
.tag-spotify { background: rgba(29, 185, 84, 0.1); border-color: rgba(29, 185, 84, 0.3); color: #1db954; }

.tag-chatgpt { background: rgba(16, 163, 127, 0.1); border-color: rgba(16, 163, 127, 0.3); color: #10a37f; }
.tag-midjourney { background: rgba(255, 255, 255, 0.05); border-color: rgba(255, 255, 255, 0.2); color: #fff; }
.tag-claude { background: rgba(217, 119, 87, 0.1); border-color: rgba(217, 119, 87, 0.3); color: #d97757; }
.tag-notion { background: rgba(234, 231, 242, 0.1); border-color: rgba(234, 231, 242, 0.3); color: #eae7f2; }
.tag-copilot { background: rgba(38, 114, 232, 0.1); border-color: rgba(38, 114, 232, 0.3); color: #4d90ff; }

/* Keep hover states consistent with the brand color */
.tag-netflix:hover { background: rgba(229, 9, 20, 0.2); border-color: rgba(229, 9, 20, 0.5); }
.tag-disney:hover { background: rgba(17, 60, 207, 0.2); border-color: rgba(17, 60, 207, 0.5); }
.tag-youtube:hover { background: rgba(255, 0, 0, 0.2); border-color: rgba(255, 0, 0, 0.5); }
.tag-hulu:hover { background: rgba(28, 231, 131, 0.2); border-color: rgba(28, 231, 131, 0.5); }
.tag-spotify:hover { background: rgba(29, 185, 84, 0.2); border-color: rgba(29, 185, 84, 0.5); }
.tag-chatgpt:hover { background: rgba(16, 163, 127, 0.2); border-color: rgba(16, 163, 127, 0.5); }
.tag-midjourney:hover { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.4); }
.tag-claude:hover { background: rgba(217, 119, 87, 0.2); border-color: rgba(217, 119, 87, 0.5); }
.tag-notion:hover { background: rgba(234, 231, 242, 0.2); border-color: rgba(234, 231, 242, 0.5); }
.tag-copilot:hover { background: rgba(38, 114, 232, 0.2); border-color: rgba(38, 114, 232, 0.5); }


/* Sitemap Cards */
.sitemap-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 15px; margin-bottom: 40px; }
.sitemap-card { display: flex; align-items: center; padding: 16px 20px; background: var(--bg); border: 1px solid var(--line); border-radius: 3px; color: var(--dim); transition: all 0.3s; font-size: 0.95rem; line-height: 1.5; text-decoration: none; }
.sitemap-card:hover { border-color: var(--acc); color: var(--acc); background: rgba(184, 154, 232, 0.05); transform: translateY(-2px); }


/* Accessibility & Focus */
:focus-visible { outline: 2px solid var(--acc); outline-offset: 2px; }
.skip-link { position: absolute; top: -100px; left: 0; background: var(--acc); color: #000; padding: 10px 20px; z-index: 1000; transition: top 0.3s; text-decoration: none; font-weight: bold; }
.skip-link:focus { top: 0; }

/* Scroll Margin for fixed header */
section, [id] { scroll-margin-top: 80px; }

/* FAQ details/summary styling */
details.faq-card { cursor: pointer; transition: all 0.3s; background: var(--panel); padding: 40px 30px; border-radius: 3px; border: 1px solid var(--line); }
details.faq-card summary { font-size: 1.1rem; font-weight: 600; color: var(--ink); outline: none; list-style: none; margin-bottom: 0; }
details.faq-card summary::-webkit-details-marker { display: none; }
details.faq-card p { margin-top: 15px; color: var(--dim); }
details.faq-card[open] summary { color: var(--acc); }
details.faq-card:hover { border-color: var(--acc); }
