:root {
    --primary-color: #FF5252;
    --primary-hover: #E64A4A;
    --bg-color: #FFF8EC;
    --text-main: #222222;
    --text-muted: #555555;
    --card-bg: #FFFFFF;
    --border-color: #F0E6D2;
    --accent-yellow: #FFD93D;
    --accent-blue: #4D96FF;
    --accent-green: #6BCB77;
    --shadow-warm: 0 8px 24px rgba(255, 82, 82, 0.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
    font-size: 16px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header / Hero */
header {
    text-align: center;
    padding: 80px 20px 60px;
    background: transparent;
    border-bottom: none;
}

header h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 15px;
    color: #0f172a;
}

header p {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 30px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 32px;
    background-color: var(--primary-color);
    color: #ffffff;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 8px;
    transition: background-color 0.2s ease;
    text-align: center;
}

.btn:hover {
    background-color: var(--primary-hover);
}

.btn-large {
    padding: 16px 40px;
    font-size: 1.25rem;
}

/* Sections */
section {
    padding: 60px 0;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 40px;
    color: #0f172a;
}

/* Grid Layouts */
.grid-3 {
    display: flex;
    gap: 30px;
    justify-content: space-between;
}

.grid-2 {
    display: flex;
    gap: 30px;
    align-items: center;
}

/* Cards */
.card {
    flex: 1;
    background: var(--card-bg);
    padding: 30px;
    border-radius: 16px;
    box-shadow: var(--shadow-warm);
    border: 2px solid var(--border-color);
}

.card h3 {
    font-size: 1.25rem;
    margin-bottom: 15px;
    color: #0f172a;
}

.card p {
    color: var(--text-muted);
}

/* Features */
.features .icon {
    font-size: 2rem;
    margin-bottom: 15px;
}

/* Streaming & AI */
.streaming-ai .text-content {
    flex: 1;
}

.streaming-ai .image-content {
    flex: 1;
    background: var(--card-bg);
    border: 2px solid var(--border-color);
    box-shadow: var(--shadow-warm);
    border-radius: 16px;
    padding: 40px;
    text-align: center;
    font-weight: bold;
    color: var(--text-muted);
    min-height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.tag {
    background: #eff6ff;
    color: var(--primary-color);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

/* Pricing */
.pricing .card {
    text-align: center;
    display: flex;
    flex-direction: column;
}

.pricing .price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 20px 0;
}

.pricing .price span {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: normal;
}

.pricing ul {
    list-style: none;
    margin: 20px 0 30px;
    text-align: left;
}

.pricing ul li {
    padding: 8px 0;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-muted);
}

.pricing ul li:last-child {
    border-bottom: none;
}

.pricing .btn {
    margin-top: auto;
}

/* Recommend Highlight */
.pricing .recommend {
    transform: scale(1.05);
    border: 2px solid var(--primary-color);
    position: relative;
}

.recommend-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
}

/* Reviews */
.review-card {
    font-style: italic;
}

.review-author {
    margin-top: 15px;
    font-weight: bold;
    font-style: normal;
    color: #0f172a;
}

/* FAQ */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

details {
    background: var(--card-bg);
    margin-bottom: 15px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

summary {
    padding: 18px 20px;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
    position: relative;
    color: #0f172a;
}

summary::after {
    content: '+';
    position: absolute;
    right: 20px;
    font-size: 1.2rem;
    color: var(--primary-color);
}

details[open] summary::after {
    content: '-';
}

details p {
    padding: 0 20px 20px;
    color: var(--text-muted);
}

/* Footer */
footer {
    background: #0f172a;
    color: #cbd5e1;
    padding: 40px 20px;
    text-align: center;
    border-top: 1px solid #1e293b;
}

.footer-links {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: #ffffff;
}

.copyright {
    margin-top: 30px;
    font-size: 0.85rem;
    color: #64748b;
}

/* Content Pages (About, Terms, Privacy) */
.page-header {
    background: #0f172a;
    color: white;
    padding: 40px 20px;
    text-align: center;
}

.page-header h1 {
    font-size: 2rem;
}

.content-section {
    background: var(--card-bg);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    margin-top: 40px;
    margin-bottom: 40px;
}

.content-section h2 {
    margin-top: 30px;
    margin-bottom: 15px;
    color: #0f172a;
}

.content-section h2:first-child {
    margin-top: 0;
}

.content-section p {
    margin-bottom: 15px;
    color: var(--text-muted);
}

/* Responsive (Media Queries) */
@media (max-width: 768px) {
    header h1 {
        font-size: 2rem;
    }
    
    header p {
        font-size: 1.1rem;
    }

    .grid-3, .grid-2 {
        flex-direction: column;
    }

    .pricing .recommend {
        transform: scale(1);
        margin-top: 20px;
        margin-bottom: 20px;
    }

    .btn {
        display: block;
        width: 100%;
        box-sizing: border-box;
    }
    
    .btn-large {
        padding: 16px 20px;
    }

    .card {
        padding: 20px;
    }
    
    .content-section {
        padding: 20px;
    }
}

/* Navbar */
.navbar { position: fixed; top: 0; left: 0; width: 100%; background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border-color); z-index: 1000; }
.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: 20px; }
.nav-links a { text-decoration: none; color: var(--text-main); font-weight: 600; transition: color 0.2s; }
.nav-links a:hover, .nav-links a.active { color: var(--primary-color); }
@media (max-width: 768px) { .nav-links { display: none; } } /* Simple mobile hide for purity, or keep it scrollable */


/* Memphis Background Animation Layer */
.memphis-bg-layer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: -999;
    overflow: hidden;
}

/* Halftone Texture */
.memphis-halftone {
    position: absolute;
    top: -5vh;
    right: -5vw;
    width: 40vw;
    height: 40vw;
    background-image: radial-gradient(rgba(0,0,0,0.15) 15%, transparent 16%);
    background-size: 14px 14px;
    -webkit-mask-image: radial-gradient(closest-side, rgba(0,0,0,1) 40%, rgba(0,0,0,0) 100%);
    mask-image: radial-gradient(closest-side, rgba(0,0,0,1) 40%, rgba(0,0,0,0) 100%);
    opacity: 0.6;
}

/* Floating Animations */
@keyframes memphis-float-1 {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-3vh) rotate(7deg); }
}
@keyframes memphis-float-2 {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(3vh) rotate(-7deg); }
}
@keyframes memphis-spin {
    from { transform: translateY(var(--dy, 0)) rotate(0deg); }
    to { transform: translateY(var(--dy, 0)) rotate(360deg); }
}

/* Prefers Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .memphis-shape, .memphis-shape-spin {
        animation: none !important;
        transform: none !important;
    }
}

.memphis-shape {
    position: absolute;
}

.memphis-shape-1 {
    width: 30px; height: 30px;
    background: var(--primary-color);
    border-radius: 50%;
    top: 15%; left: 8%;
    animation: memphis-float-1 8s ease-in-out infinite;
}

.memphis-shape-2 {
    width: 45px; height: 45px;
    border: 6px solid var(--accent-blue);
    border-radius: 50%;
    bottom: 20%; right: 10%;
    animation: memphis-float-2 9s ease-in-out infinite;
}

.memphis-shape-3 {
    width: 0; height: 0;
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    border-bottom: 34px solid var(--accent-green);
    top: 30%; right: 7%;
    animation: memphis-float-1 7s ease-in-out infinite;
}

.memphis-shape-4 {
    width: 40px; height: 10px;
    background: var(--accent-yellow);
    top: 60%; left: 5%;
    animation: memphis-float-2 10s ease-in-out infinite;
}
.memphis-shape-4::before {
    content: '';
    position: absolute;
    width: 10px; height: 40px;
    background: var(--accent-yellow);
    top: -15px; left: 15px;
}

.memphis-shape-5 {
    width: 40px; height: 20px;
    background: var(--accent-blue);
    border-radius: 20px 20px 0 0;
    bottom: 10%; left: 12%;
    animation: memphis-float-1 11s ease-in-out infinite;
}

.memphis-shape-6 {
    width: 16px; height: 16px;
    background: var(--primary-color);
    border-radius: 50%;
    top: 70%; right: 8%;
    animation: memphis-float-2 6s ease-in-out infinite;
}

.memphis-shape-7 {
    width: 24px; height: 24px;
    background: var(--accent-yellow);
    top: 20%; right: 5%;
    --dy: 0px;
    animation: memphis-float-1 8s ease-in-out infinite, memphis-spin 7s linear infinite;
}

.memphis-shape-8 {
    width: 28px; height: 28px;
    border: 3px solid var(--text-main);
    background: var(--accent-green);
    bottom: 30%; left: 10%;
    --dy: 0px;
    animation: memphis-float-2 10s ease-in-out infinite, memphis-spin 9s linear infinite;
}



/* Wrapper classes for spinning elements to prevent transform conflict */
.memphis-wrapper-7 {
    position: absolute;
    top: 20%; right: 5%;
    animation: memphis-float-1 8s ease-in-out infinite;
}
.memphis-wrapper-7 .memphis-shape-7 {
    top: 0; right: 0; position: relative;
    animation: memphis-spin 7s linear infinite;
}

.memphis-wrapper-8 {
    position: absolute;
    bottom: 30%; left: 10%;
    animation: memphis-float-2 10s ease-in-out infinite;
}
.memphis-wrapper-8 .memphis-shape-8 {
    bottom: 0; left: 0; position: relative;
    animation: memphis-spin 9s linear infinite;
}

/* A11y & SEO Fixes */
:focus-visible { outline: 3px solid var(--primary-color); outline-offset: 2px; }
h1, h2, h3, h4, [id] { scroll-margin-top: 120px; }
.skip-link { position: absolute; top: -40px; left: 0; background: var(--primary-color); color: #fff; padding: 8px; z-index: 1000; transition: top 0.2s; }
.skip-link:focus { top: 0; }
