/* ==========================================================================
   Base Theme Variables (Yellow/Black Pro)
   ========================================================================== */
.theme-dark {
    /* Core Colors */
    --bg-base: #000000;
    --bg-surface: #0a0a0a;
    --bg-card: rgba(20, 20, 20, 0.6);
    --bg-card-hover: rgba(30, 30, 30, 0.8);
    
    /* Text */
    --text-main: #ffffff;
    --text-muted: #a1a1aa;
    --text-accent: #facc15; /* Yellow Accent */

    /* Accents */
    --accent-primary: #eab308; /* Yellow 500 */
    --accent-hover: #fef08a; /* Yellow 200 */
    --accent-glow: rgba(250, 204, 21, 0.3); /* Yellow Glow */

    /* Gradients */
    --gradient-text: linear-gradient(135deg, #ffffff 0%, #facc15 100%);
    --gradient-glow: radial-gradient(circle at center, var(--accent-glow) 0%, transparent 70%);

    /* Utility Colors */
    --color-primary: #facc15;
    --color-secondary: #fef08a;
    --color-tertiary: #a1a1aa;

    /* Borders */
    --border-subtle: rgba(255, 255, 255, 0.08);
    --border-glow: rgba(250, 204, 21, 0.2);

    /* Layout & Animation */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --transition-fast: 0.2s ease;
    --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    
    /* Typography */
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ==========================================================================
   Reset & Base
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-base);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* ==========================================================================
   Utility Classes
   ========================================================================== */
.wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.text-center { text-align: center; }
.text-muted { color: var(--text-muted); }
.text-accent { color: var(--text-accent); }
.mt-2 { margin-top: 0.5rem; }

.gradient-text {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ==========================================================================
   Animations
   ========================================================================== */
@keyframes fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slide-up {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slide-left {
    from { opacity: 0; transform: translateX(50px); }
    to { opacity: 1; transform: translateX(0); }
}

.fade-in { animation: fade-in 1s var(--transition-smooth) forwards; }
.slide-up { animation: slide-up 1s var(--transition-smooth) forwards; }
.slide-up-delay {
    opacity: 0;
    animation: slide-up 1s var(--transition-smooth) 0.2s forwards;
}
.slide-left {
    opacity: 0;
    animation: slide-left 1s var(--transition-smooth) 0.3s forwards;
}

/* ==========================================================================
   Components: Glassmorphism & Cards
   ========================================================================== */
.glass-nav {
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid var(--border-subtle);
}

.glass-card {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    transition: all var(--transition-smooth);
}

.glass-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-glow);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(250, 204, 21, 0.05);
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.header {
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
}

.brand-logo {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.accent-dot {
    color: var(--accent-primary);
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-item {
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color var(--transition-fast);
}

.nav-item:hover, .nav-item.active {
    color: var(--text-main);
}

.nav-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.5rem 1.2rem;
    border-radius: 980px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all var(--transition-smooth);
    border: 1px solid transparent;
}

.btn-large {
    padding: 0.8rem 1.8rem;
    font-size: 1.05rem;
}

.btn-primary {
    background-color: var(--accent-primary);
    color: var(--bg-base);
}

.btn-primary:hover {
    transform: scale(1.02);
    background-color: var(--accent-hover);
}

.btn-ghost {
    background: transparent;
    color: var(--text-muted);
}
.btn-ghost:hover {
    color: var(--text-main);
}

.btn-outline {
    background: transparent;
    border-color: var(--border-subtle);
    color: var(--text-main);
}
.btn-outline:hover {
    background: var(--bg-card);
    border-color: var(--border-glow);
}

.btn-glow {
    box-shadow: 0 0 15px rgba(250, 204, 21, 0.2);
}

.shadow-glow {
    box-shadow: 0 10px 30px rgba(250, 204, 21, 0.15);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
    position: relative;
    padding: 8rem 0 6rem;
    overflow: hidden;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-background-glow {
    position: absolute;
    top: -30%;
    left: 20%;
    width: 800px;
    height: 800px;
    background: var(--gradient-glow);
    opacity: 0.2;
    z-index: -1;
    pointer-events: none;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 980px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 2rem;
}

.stars { color: var(--accent-primary); }

.hero-title {
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.04em;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 500px;
    margin-bottom: 3rem;
}

.hero-cta-group {
    display: flex;
    gap: 1rem;
}

.hero-image {
    display: flex;
    justify-content: flex-end;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(250, 204, 21, 0.15));
    animation: float 6s ease-in-out infinite;
}

.cs2-hero-img {
    max-width: 130% !important;
    width: 130% !important;
    margin-right: -15%;
    filter: drop-shadow(0 0 40px rgba(250, 204, 21, 0.2)) !important;
    animation: float 6s ease-in-out infinite, pulse-glow 3s ease-in-out infinite alternate !important;
}

@keyframes pulse-glow {
    0% { filter: drop-shadow(0 0 20px rgba(250, 204, 21, 0.1)); }
    100% { filter: drop-shadow(0 0 50px rgba(250, 204, 21, 0.35)); }
}

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

/* ==========================================================================
   Section Headers
   ========================================================================== */
section {
    padding: 6rem 0;
}

.section-header {
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
}

/* ==========================================================================
   Steps Section
   ========================================================================== */
.grid-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.step-card {
    padding: 2rem;
    text-align: center;
}

.icon-wrapper {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    background: rgba(250, 204, 21, 0.05);
    color: var(--accent-primary);
}

.step-title {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.step-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* ==========================================================================
   Bento Grid (Features)
   ========================================================================== */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    grid-auto-rows: minmax(200px, auto);
}

.bento-item {
    padding: 2rem;
    display: flex;
    flex-direction: column;
}

.col-span-2 {
    grid-column: span 2;
}

.bento-content .icon-wrapper {
    margin: 0 0 1.5rem 0; /* Align left */
    width: 48px;
    height: 48px;
    font-size: 1.25rem;
}

.bento-content h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.bento-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* ==========================================================================
   Reviews Section
   ========================================================================== */
.grid-reviews {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.review-card {
    padding: 2rem;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.reviewer-info strong {
    display: block;
    font-size: 1.1rem;
}

.reviewer-info time {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.review-card p {
    font-size: 1rem;
    font-style: italic;
    color: var(--text-main);
}

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

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    margin-bottom: 1rem;
}

.faq-question {
    padding: 1.5rem;
    font-weight: 500;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    list-style: none; /* Hide default arrow */
}
.faq-question::-webkit-details-marker { display: none; }

.icon-toggle {
    transition: transform var(--transition-fast);
}

.faq-item[open] .icon-toggle {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-muted);
    font-size: 1rem;
}

/* ==========================================================================
   Store & Status Pages Specifics
   ========================================================================== */
.store-header {
    text-align: center;
    padding: 6rem 0 2rem;
}

.filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    color: var(--text-muted);
    padding: 0.5rem 1.5rem;
    border-radius: 980px;
    cursor: pointer;
    font-weight: 500;
    transition: all var(--transition-fast);
}

.filter-btn:hover, .filter-btn.active {
    background: var(--accent-primary);
    color: var(--bg-base);
    border-color: var(--accent-primary);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
}

.product-image-container {
    height: 200px;
    border-radius: var(--radius-md);
    margin-bottom: 1.5rem;
    background-size: cover;
    background-position: center;
    position: relative;
    border: 1px solid var(--border-subtle);
}

.status-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.3rem 0.8rem;
    border-radius: 980px;
    font-size: 0.8rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    border: 1px solid var(--border-subtle);
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.status-undetected .status-dot { background-color: #22c55e; box-shadow: 0 0 8px #22c55e; }
.status-updating .status-dot { background-color: #facc15; box-shadow: 0 0 8px #facc15; }
.status-detected .status-dot { background-color: #ef4444; box-shadow: 0 0 8px #ef4444; }

.product-tags {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.product-tag {
    background: rgba(255, 255, 255, 0.05);
    padding: 0.2rem 0.6rem;
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    color: var(--text-muted);
}

.product-title {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.product-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.product-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-accent);
}

.status-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.status-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 2rem;
}

.status-info h3 {
    font-size: 1.2rem;
    margin-bottom: 0.2rem;
}

.status-info p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.status-action {
    display: flex;
    align-items: center;
    gap: 2rem;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    background: var(--bg-surface);
    padding: 4rem 0 2rem;
    margin-top: 4rem;
}

.border-top-glow {
    border-top: 1px solid var(--border-subtle);
    box-shadow: inset 0 1px 15px rgba(250, 204, 21, 0.02);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-heading {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-links a {
    color: var(--text-muted);
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--text-main);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-subtle);
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */
@media (max-width: 992px) {
    .hero-content { grid-template-columns: 1fr; text-align: center; }
    .hero-cta-group { justify-content: center; }
    .hero-image { justify-content: center; margin-top: 2rem; }
    
    .grid-steps { grid-template-columns: 1fr; }
    .bento-grid { grid-template-columns: 1fr 1fr; }
    .col-span-2 { grid-column: span 1; }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .nav-links, .nav-actions { display: none; }
    .mobile-menu-toggle { display: block; }
    
    .hero-title { font-size: 2.5rem; }
    
    .bento-grid { grid-template-columns: 1fr; }
    
    .status-row { flex-direction: column; align-items: flex-start; gap: 1rem; }
    .status-action { width: 100%; justify-content: space-between; }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}
