/* =========================================
   RECOIL CONTROL STUDIO - MASTER STYLES
   Theme: Glassmorphism / Bento
   ========================================= */

:root {
    --primary: #aaaaaa;
    --primary-hover: #969696;
    --accent: #949494;
    --success: #10b981;
    
    --bg-base: #080808;
    --bg-surface: rgba(255, 255, 255, 0.03);
    --bg-surface-hover: rgba(255, 255, 255, 0.06);
    
    --text-main: #f8fafc;
    --text-muted: #a6a6a6;
    
    --border-glass: rgba(255, 255, 255, 0.08);
    --border-glow: rgba(170, 170, 170, 0.3);
    
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-pill: 100px;
}



/* --- THE NUCLEAR BUTTON FIX --- */
.btn-premium-outline {
    all: unset !important;
    box-sizing: border-box !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 12px !important;
    background: rgba(255, 255, 255, 0.05) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    border: 1px solid rgba(169, 169, 169, 0.4) !important;
    border-radius: 12px !important;
    color: #ffffff !important;
    padding: 12px 24px !important;
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    white-space: nowrap !important;
    text-transform: none !important;
}

.btn-premium-outline:hover {
    background: rgba(169, 169, 169, 0.2) !important;
    border-color: #a9a9a9 !important;
    box-shadow: 0 0 20px rgba(169, 169, 169, 0.3) !important;
    transform: translateY(-2px) !important;
}

.btn-premium-outline i {
    width: 18px !important;
    height: 18px !important;
    stroke: #c2c2c2 !important;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}


body {
    background-color: var(--bg-base);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

/* =========================================
   LUCIDE ICON SYSTEM
   ========================================= */
.lucide {
    width: 24px;
    height: 24px;
    stroke-width: 2;
    stroke: currentColor;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.card-icon .lucide {
    width: 32px;
    height: 32px;
    stroke: var(--primary);
}

.dl-icon .lucide {
    width: 28px;
    height: 28px;
    stroke: var(--accent);
}

.config-stats .lucide,
.config-author .lucide {
    width: 16px;
    height: 16px;
    stroke: var(--text-muted);
    vertical-align: -3px; 
    margin-right: 4px;
}

/* =========================================
   AMBIENT BACKGROUND
   ========================================= */
/* Replace the ambient-bg CSS with this */
.ambient-bg {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: var(--bg-base);
    z-index: -1;
}

.ambient-bg::before {
    content: '';
    position: absolute;
    bottom: 0; left: 0; width: 100%; height: 100vh;
    background: radial-gradient(ellipse at 50% 120%, rgba(170, 170, 170, 0.15) 0%, transparent 70%);
}



/* Typography & Utilities */
.text-gradient {
    background: linear-gradient(135deg, #d0d0d0, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* =========================================
   NAVIGATION
   ========================================= */
.floating-nav {
    position: fixed;
    top: 24px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 800px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 24px;
    background: rgba(12, 12, 12, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-pill);
    z-index: 1000;
}

.brand-text {
    font-weight: 900;
    font-size: 1.2rem;
    letter-spacing: -0.5px;
    color: var(--text-main);
}

.nav-links {
    display: flex;
    gap: 32px;
    list-style: none;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--text-main);
}

/* =========================================
   BUTTONS
   ========================================= */
button {
    cursor: pointer;
    font-family: inherit;
    font-weight: 600;
    border: none;
    transition: all 0.3s ease;
}

.nav-btn {
    background: var(--bg-surface);
    color: var(--text-main);
    padding: 8px 20px;
    border-radius: var(--radius-pill);
    border: 1px solid var(--border-glass);
}

.nav-btn:hover {
    background: var(--bg-surface-hover);
}

/* =========================================
   FIXED PREMIUM BUTTON
   ========================================= */
.btn-primary {
    display: inline-flex; /* This perfectly aligns text and icon */
    align-items: center;
    justify-content: center;
    gap: 10px; /* Space between "Download Studio" and the arrow */
    
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    padding: 14px 28px; /* More balanced proportions */
    border-radius: 12px;
    
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: -0.2px;
    text-decoration: none;
    
    border: 1px solid rgba(255, 255, 255, 0.1); /* Subtle edge highlight for depth */
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px var(--primary-glow);
    filter: brightness(1.1);
}

/* Specific icon fix for the arrow */
.btn-primary .lucide {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
}

/* Makes the arrow move when you hover */
.btn-primary:hover .lucide {
    transform: translateX(4px);
}

.btn-secondary {
    background: transparent;
    color: var(--text-main);
    padding: 16px 32px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-glass);
    font-size: 1rem;
}

.btn-secondary:hover {
    background: var(--bg-surface);
    border-color: var(--text-muted);
}

.btn-outline {
    background: transparent;
    color: var(--text-main);
    border: 1px solid var(--border-glass);
    padding: 12px 24px;
    border-radius: var(--radius-md);
}

.btn-outline:hover {
    background: var(--text-main);
    color: var(--bg-base);
}

/* =========================================
   HOME PAGE (HERO & BENTO)
   ========================================= */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 120px 24px 60px;
    gap: 60px;
}

.hero-content {
    flex: 1;
}

.badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(170, 170, 170, 0.1);
    border: 1px solid var(--border-glow);
    border-radius: var(--radius-pill);
    color: #d0d0d0;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 24px;
}

.hero-title {
    font-size: clamp(3rem, 5vw, 4.5rem);
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 500px;
    margin-bottom: 40px;
}

.hero-actions {
    display: flex;
    gap: 16px;
}

/* Terminal Mockup */
.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
}

.glass-panel {
    background: rgba(18, 18, 18, 0.4);
    backdrop-filter: blur(24px);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    box-shadow: 0 24px 40px rgba(0,0,0,0.4);
}

.main-panel {
    width: 100%;
    max-width: 500px;
    overflow: hidden;
}

.panel-header {
    background: rgba(255, 255, 255, 0.02);
    padding: 16px 24px;
    border-bottom: 1px solid var(--border-glass);
    display: flex;
    align-items: center;
    gap: 16px;
}

.dots { display: flex; gap: 6px; }
.dots span { width: 10px; height: 10px; border-radius: 50%; background: #333; }
.dots span:nth-child(1) { background: #ef4444; }
.dots span:nth-child(2) { background: #f59e0b; }
.dots span:nth-child(3) { background: #10b981; }

.panel-title {
    font-family: monospace;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.panel-body {
    padding: 32px 24px;
    font-family: monospace;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.mock-line { margin-bottom: 12px; }
.mock-line.highlight { color: var(--success); margin-top: 24px; }

/* Bento Box Grid */
.features {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 24px;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.bento-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: all 0.3s;
}

.bento-card:hover {
    background: var(--bg-surface-hover);
    border-color: rgba(255,255,255,0.15);
    transform: translateY(-4px);
}

.span-2 { grid-column: span 2; }
.span-full { grid-column: span 4; }

.card-icon { margin-bottom: 20px; }

.bento-card h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
}

.bento-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.glass-gradient {
    background: linear-gradient(135deg, rgba(170, 170, 170, 0.1), rgba(148, 148, 148, 0.05));
}

.card-content-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* =========================================
   SHOP & MARKETPLACE PAGES
   ========================================= */
.page-header {
    text-align: center;
    padding: 140px 24px 60px;
    max-width: 800px;
    margin: 0 auto;
}

.page-header h1 {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    margin-bottom: 16px;
    letter-spacing: -1px;
}

.page-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* Shop Grid */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px 80px;
}

.pricing-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.pricing-card:hover {
    border-color: rgba(170, 170, 170, 0.3);
    transform: translateY(-4px);
    background: var(--bg-surface-hover);
}

.pricing-card.popular {
    background: linear-gradient(180deg, rgba(170, 170, 170, 0.05) 0%, rgba(12, 12, 12, 0) 100%);
    border-color: rgba(170, 170, 170, 0.4);
    box-shadow: 0 0 40px rgba(170, 170, 170, 0.1);
}

.pricing-card.popular::before {
    content: 'MOST POPULAR';
    position: absolute;
    top: 0; left: 0; width: 100%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    text-align: center;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 6px 0;
    letter-spacing: 1px;
}

.tier-name {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 12px;
    margin-top: 16px;
}

.tier-price {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 24px;
    color: var(--text-main);
}

.tier-price span {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 500;
}

.tier-features {
    list-style: none;
    margin-bottom: 40px;
    flex: 1;
}

.tier-features li {
    padding: 12px 0;
    border-bottom: 1px solid var(--border-glass);
    color: var(--text-muted);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 12px;
}

.tier-features li .lucide {
    width: 18px;
    height: 18px;
    stroke: var(--success);
    flex-shrink: 0;
}

.pricing-card button { width: 100%; }

/* Marketplace Grid */
.marketplace-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px 80px;
}

.filters {
    display: flex;
    gap: 16px;
    margin-bottom: 40px;
    background: var(--bg-surface);
    padding: 16px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-glass);
    flex-wrap: wrap;
}

.search-input {
    flex: 1;
    min-width: 250px;
    background: rgba(0,0,0,0.2);
    border: 1px solid var(--border-glass);
    padding: 12px 20px;
    border-radius: var(--radius-pill);
    color: var(--text-main);
    font-family: inherit;
}

.search-input:focus {
    outline: none;
    border-color: var(--primary);
}

.config-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
}

.config-card {
    background: rgba(18, 18, 18, 0.4);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    padding: 24px;
    transition: all 0.3s;
}

.config-card:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
}

.config-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
}

.game-tag {
    background: rgba(170, 170, 170, 0.15);
    color: #d0d0d0;
    padding: 4px 12px;
    border-radius: var(--radius-pill);
    font-size: 0.75rem;
    font-weight: 600;
}

.config-title { font-size: 1.1rem; margin-bottom: 8px; }

.config-author {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.config-stats {
    display: flex;
    gap: 16px;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-glass);
}

.config-card button { width: 100%; padding: 12px; }

/* =========================================
   MODAL
   ========================================= */
.modal-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.modal-content {
    width: 90%;
    max-width: 450px;
    padding: 40px;
    position: relative;
    transform: translateY(20px);
    transition: transform 0.3s;
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.close-btn {
    position: absolute;
    top: 20px; right: 20px;
    background: transparent;
    color: var(--text-muted);
    font-size: 1.5rem;
}

.close-btn:hover { color: white; }

.modal-content h2 { margin-bottom: 8px; }
.modal-content p { color: var(--text-muted); margin-bottom: 32px; font-size: 0.9rem; }

.download-options {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.dl-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.2s;
}

.dl-card:hover {
    background: rgba(170, 170, 170, 0.1);
    border-color: var(--primary);
}

.dl-icon {
    background: rgba(255,255,255,0.05);
    padding: 12px;
    border-radius: 12px;
}

.dl-info h4 { margin-bottom: 4px; }
.dl-info span { color: var(--text-muted); font-size: 0.8rem; }

.dl-status {
    margin-top: 24px;
    text-align: center;
    font-weight: 500;
    font-size: 0.9rem;
    height: 20px;
}

/* =========================================
   FOOTER & ANIMATIONS
   ========================================= */
footer {
    border-top: 1px solid var(--border-glass);
    padding: 40px 24px;
    margin-top: 60px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(30px, -30px); }
}

.observe-me {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.observe-me.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Overrides */
@media (max-width: 900px) {
    .hero { flex-direction: column; padding-top: 140px; text-align: center; gap: 40px;}
    .hero-actions { justify-content: center; }
    .bento-grid { grid-template-columns: 1fr; }
    .span-2, .span-full { grid-column: span 1; }
    .card-content-flex { flex-direction: column; text-align: left; gap: 20px; align-items: flex-start;}
    .nav-links { display: none; }
}

/* =========================================
   UI MOCKUP (HERO SECTION)
   ========================================= */
.ui-mockup {
    width: 100%;
    max-width: 600px;
    height: 480px;
    background: #121212; /* Matching your screenshot background */
    border: 1px solid var(--border-glass);
    border-radius: 12px;
    display: flex;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6), 0 0 40px rgba(170, 170, 170, 0.15);
    position: relative;
    z-index: 2;
}

.ui-sidebar {
    width: 70px;
    background: #1a1a1a;
    border-right: 1px solid rgba(255,255,255,0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 0;
}

.ui-brand {
    font-weight: 900;
    color: var(--text-muted);
    font-size: 0.8rem;
    margin-bottom: 40px;
    letter-spacing: 1px;
}

.ui-nav {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
}

.ui-nav-item {
    width: 100%;
    display: flex;
    justify-content: center;
    color: var(--text-muted);
    opacity: 0.6;
    position: relative;
}

.ui-nav-item.active {
    color: white;
    opacity: 1;
}

.ui-nav-item.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 20px;
    background: var(--primary);
    border-radius: 0 4px 4px 0;
}

.ui-nav-item .lucide {
    width: 20px;
    height: 20px;
}

.ui-main {
    flex: 1;
    padding: 26px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    background:
        radial-gradient(circle at top right, rgba(170, 170, 170, 0.14), transparent 34%),
        linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0));
}

.ui-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
}

.ui-header .ui-title {
    font-size: 1.7rem;
    font-weight: 700;
    color: white;
    margin-bottom: 4px;
    letter-spacing: -0.04em;
}

.ui-header .ui-subtitle {
    font-size: 0.8rem;
    color: var(--text-muted);
    max-width: 320px;
    line-height: 1.45;
}

.ui-header-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.03);
    color: #fff;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    white-space: nowrap;
}

.ui-live-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 12px rgba(34, 197, 94, 0.7);
}

.ui-command-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.ui-command-chip {
    padding: 12px 14px;
    border-radius: 14px;
    background: linear-gradient(180deg, rgba(255,255,255,0.045), rgba(255,255,255,0.02));
    border: 1px solid rgba(255,255,255,0.07);
}

.ui-command-label {
    display: block;
    font-size: 0.62rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 6px;
}

.ui-command-chip strong {
    color: #fff;
    font-size: 0.92rem;
    font-weight: 800;
}

.ui-showcase-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.95fr;
    gap: 12px;
    min-height: 270px;
}

.ui-spotlight-card,
.ui-side-card {
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,0.07);
    overflow: hidden;
    position: relative;
}

.ui-spotlight-card {
    padding: 18px;
    background:
        radial-gradient(circle at 50% 50%, rgba(165, 165, 165,0.22), transparent 46%),
        linear-gradient(135deg, rgba(165, 165, 165,0.18), rgba(23, 23, 23,0.96));
}

.ui-side-stack {
    display: grid;
    grid-template-rows: 1fr 1fr;
    gap: 12px;
}

.ui-side-card {
    padding: 16px;
    background: linear-gradient(180deg, rgba(255,255,255,0.045), rgba(255,255,255,0.02));
}

.ui-side-card-secondary {
    background: linear-gradient(135deg, rgba(194, 194, 194,0.16), rgba(23, 23, 23,0.92));
    border-color: rgba(194, 194, 194,0.18);
}

.ui-spotlight-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 18px;
}

.ui-spotlight-label {
    font-size: 0.74rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #e2e2e2;
    margin-bottom: 6px;
}

.ui-spotlight-title {
    font-size: 1.1rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.03em;
}

.ui-spotlight-visual {
    position: relative;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}

.ui-ring-core,
.ui-ring,
.ui-ring-glow {
    position: absolute;
    border-radius: 50%;
}

.ui-ring-core {
    width: 18px;
    height: 18px;
    background: #e2e2e2;
    box-shadow: 0 0 24px rgba(226, 226, 226, 0.8);
}

.ui-ring {
    border: 1px solid rgba(255,255,255,0.14);
}

.ui-ring-a {
    width: 78px;
    height: 78px;
}

.ui-ring-b {
    width: 126px;
    height: 126px;
    border-color: rgba(165, 165, 165,0.24);
}

.ui-ring-glow {
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(165, 165, 165,0.16), transparent 68%);
}

.ui-product-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.ui-product-label {
    font-size: 0.98rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 4px;
}

.ui-product-meta {
    font-size: 0.74rem;
    color: rgba(255,255,255,0.68);
}

.ui-product-status {
    padding: 6px 9px;
    border-radius: 999px;
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    white-space: nowrap;
}

.ui-product-status.is-online {
    color: #dcfce7;
    background: rgba(34, 197, 94, 0.14);
    border: 1px solid rgba(34, 197, 94, 0.24);
}

.ui-product-status.is-soon {
    color: #e7e7e7;
    background: rgba(166, 166, 166, 0.14);
    border: 1px solid rgba(166, 166, 166, 0.24);
}

.ui-meter-block {
    margin-bottom: 14px;
}

.ui-meter-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.72);
}

.ui-meter-row strong {
    color: #fff;
    font-size: 0.82rem;
}

.ui-chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.ui-chip {
    padding: 7px 9px;
    border-radius: 999px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.08);
    color: #fff;
    font-size: 0.66rem;
    font-weight: 600;
}

.ui-preview-stack {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ui-preview-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 9px 11px;
    border-radius: 12px;
    background: rgba(255,255,255,0.05);
    color: rgba(255,255,255,0.72);
    font-size: 0.7rem;
}

.ui-preview-line strong {
    color: #fff;
    font-size: 0.66rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.control-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.control-name {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    color: white;
}

.control-name .lucide {
    width: 16px;
    height: 16px;
    color: #d0d0d0;
}

.ui-inline-badge {
    padding: 5px 9px;
    border-radius: 999px;
    background: rgba(34, 197, 94, 0.12);
    color: #dcfce7;
    border: 1px solid rgba(34, 197, 94, 0.2);
    font-size: 0.62rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.control-input-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
}

.mock-input {
    flex: 1;
    background: #121212;
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 6px;
    padding: 10px 12px;
    font-family: monospace;
    font-size: 0.9rem;
    color: white;
}

.mock-arrows {
    display: flex;
    flex-direction: column;
    background: #323232;
    border-radius: 4px;
    overflow: hidden;
}

.mock-arrows .lucide {
    width: 16px;
    height: 16px;
    padding: 2px;
    color: var(--text-muted);
}

.mock-slider-track {
    width: 100%;
    height: 6px;
    background: #121212;
    border-radius: 3px;
    position: relative;
    overflow: hidden;
}

.mock-slider-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: 3px;
    transition: width 0.1s ease-out;
}

.mock-slider-thumb {
    width: 16px;
    height: 16px;
    background: #d0d0d0;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 10px var(--primary);
    transition: left 0.1s ease-out;
}

.ui-signal-bars {
    height: 74px;
    display: flex;
    align-items: end;
    gap: 6px;
}

.ui-signal-bars span {
    flex: 1;
    border-radius: 999px 999px 6px 6px;
    background: linear-gradient(180deg, rgba(194, 194, 194,0.95), rgba(165, 165, 165,0.32));
    box-shadow: 0 0 18px rgba(170, 170, 170, 0.16);
}

.ui-access-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ui-access-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 9px 11px;
    border-radius: 12px;
    background: rgba(255,255,255,0.04);
}

.ui-access-name {
    font-size: 0.74rem;
    color: rgba(255,255,255,0.74);
}

.ui-access-value {
    font-size: 0.66rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.ui-access-value.is-live {
    color: #dcfce7;
}

.ui-access-value.is-waiting {
    color: #e7e7e7;
}

/* Background Rings to fill empty space */
.hero-decoration {
    position: absolute;
    border-radius: 50%;
    border: 1px solid var(--border-glass);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    pointer-events: none;
}

.ring-1 {
    width: 700px; height: 700px;
    border: 1px dashed rgba(170, 170, 170, 0.2);
    animation: spin 60s linear infinite;
}

.ring-2 {
    width: 900px; height: 900px;
    border: 1px solid rgba(255, 255, 255, 0.03);
}

@keyframes spin {
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

@media (max-width: 640px) {
    .ui-mockup { height: auto; }
    .ui-sidebar { display: none; }
    .ui-command-strip,
    .ui-showcase-grid,
    .ui-side-stack { grid-template-columns: 1fr; grid-template-rows: none; }
    .ui-header { flex-direction: column; }
}

/* Film Grain Effect */
.noise-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background-image: url('https://recoil-studio.pages.dev/noise.png'); /* Replace with a tiny noise png or data URI */
    opacity: 0.03;
    pointer-events: none;
}

/* Cursor Follower Glow */
.cursor-follower {
    position: fixed;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(170, 170, 170, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: -1;
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s;
}

/* Text Reveal Animation */
.reveal-text {
    display: inline-block;
    animation: reveal 1.2s cubic-bezier(0.77, 0, 0.175, 1);
}

@keyframes reveal {
    0% { transform: translateY(100%); clip-path: inset(0 0 100% 0); }
    100% { transform: translateY(0); clip-path: inset(0 0 0 0); }
}

/* Floating Nodes */
.floating-node {
    position: absolute;
    width: 45px;
    height: 45px;
    background: var(--bg-surface);
    border: 1px solid var(--border-glass);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    backdrop-filter: blur(10px);
    z-index: 5;
    animation: floatNode 6s ease-in-out infinite;
}

.node-1 { top: 10%; left: -5%; animation-delay: 0s; }
.node-2 { bottom: 20%; right: -5%; animation-delay: 2s; }
.node-3 { top: 50%; right: -10%; animation-delay: 4s; }

@keyframes floatNode {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(10deg); }
}

/* Magnetic Button Effect */
.btn-magical {
    position: relative;
    transition: transform 0.2s cubic-bezier(0.33, 1, 0.68, 1);
}

.btn-magical:hover {
    transform: scale(1.05);
}

/* Badge Glimmer */
.badge-wrapper {
    position: relative;
    display: inline-block;
    overflow: hidden;
    border-radius: var(--radius-pill);
}

.badge-glimmer {
    position: absolute;
    top: 0; left: -100%; width: 50%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transform: skewX(-20deg);
    animation: glimmer 3s infinite;
}

@keyframes glimmer {
    0% { left: -100%; }
    100% { left: 200%; }
}

/* =========================================
   RECOIL STUDIO - OVER-ENGINEERED MASTER
   ========================================= */

:root {
    --primary: #aaaaaa;
    --accent: #a6a6a6;
    --success: #10b981;
    --bg: #030303;
    --surface: #0b0b0b;
    --border: rgba(255, 255, 255, 0.08);
    --text-main: #f8fafc;
    --text-muted: #a6a6a6;
    --radius-md: 12px;
    --radius-pill: 100px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

body {
    background-color: var(--bg);
    color: var(--text-main);
    overflow-x: hidden;
    line-height: 1.5;
}

/* =========================================
   ANIMATION LAYERS (NOISE & GLOW)
   ========================================= */
.noise-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background-image: url('https://recoil-studio.pages.dev/noise.png'); 
    opacity: 0.03;
    pointer-events: none;
}

.cursor-follower {
    position: fixed;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(170, 170, 170, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: -1;
    transform: translate(-50%, -50%);
}

.ambient-bg {
    position: fixed;
    inset: 0;
    z-index: -2;
}

.top-spotlight {
    position: absolute;
    top: -10%; left: 50%; transform: translateX(-50%);
    width: 100vw; height: 100vh;
    background: radial-gradient(circle at top, rgba(170, 170, 170, 0.12) 0%, transparent 70%);
}

.moving-grid {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(var(--border) 1px, transparent 1px),
        linear-gradient(90deg, var(--border) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(circle at 50% 40%, black, transparent 80%);
    opacity: 0.15;
}

/* =========================================
   SYSTEM BAR & NAV (FIXES TOP-LEFT BUNCHING)
   ========================================= */
.system-bar {
    position: fixed;
    top: 0; width: 100%;
    height: 32px;
    background: rgba(0,0,0,0.8);
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center; /* Centers the text items */
    gap: 32px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    color: var(--text-muted);
    letter-spacing: 1px;
    z-index: 2000;
}

.status-dot {
    display: inline-block;
    width: 6px; height: 6px;
    background: var(--success);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--success);
    margin-right: 4px;
}

.floating-nav {
    position: fixed;
    top: 54px; /* Space for system bar */
    left: 50%; transform: translateX(-50%);
    width: 90%; max-width: 900px;
    background: rgba(11, 11, 11, 0.5);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius: var(--radius-pill);
    padding: 12px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
}

/* =========================================
   HERO SECTION & 3D TILT
   ========================================= */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    max-width: 1300px;
    margin: 0 auto;
    padding: 120px 24px 60px;
    gap: 40px;
}

.hero-content { flex: 1; }

.hero-title {
    font-size: clamp(3.5rem, 6vw, 5.5rem);
    font-weight: 800;
    line-height: 1;
    margin-bottom: 24px;
    letter-spacing: -2px;
}

.text-gradient {
    background: linear-gradient(135deg, #d0d0d0, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-visual {
    flex: 1;
    position: relative;
    perspective: 1200px; /* Essential for 3D tilt */
}

.ui-mockup {
    transform-style: preserve-3d;
    transition: transform 0.1s ease-out;
}

/* Floating Nodes */
.floating-node {
    position: absolute;
    width: 48px; height: 48px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    backdrop-filter: blur(10px);
    z-index: 5;
    animation: floatNode 6s ease-in-out infinite;
}

.node-1 { top: -20px; left: -20px; }
.node-2 { bottom: 20px; right: -20px; animation-delay: 2s; }

@keyframes floatNode {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

/* =========================================
   LIVE FOOTER TICKER
   ========================================= */
.live-footer-feed {
    position: fixed;
    bottom: 0; left: 0; width: 100%;
    height: 40px;
    background: rgba(6, 6, 6, 0.9);
    border-top: 1px solid var(--border);
    display: flex;
    align-items: center;
    overflow: hidden;
    z-index: 1000;
}

.feed-track {
    display: flex;
    white-space: nowrap;
    gap: 60px;
    animation: ticker 30s linear infinite;
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    color: var(--text-muted);
}

@keyframes ticker {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* =========================================
   FIXED HARDWARE CARD STYLING
   ========================================= */
.hardware-card {
    background: linear-gradient(135deg, rgba(170, 170, 170, 0.05) 0%, rgba(12, 12, 12, 0.2) 100%);
    border-color: rgba(170, 170, 170, 0.2);
    position: relative;
    overflow: hidden;
}

.hardware-layout {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    position: relative;
    z-index: 2;
}

.hardware-info {
    flex: 1;
    max-width: 700px;
}

.hardware-title-row {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 12px;
}

.hardware-title-row .card-icon {
    margin-bottom: 0; /* Align icon perfectly with text */
}

.hardware-info h3 {
    font-size: 1.6rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.5px;
}

.hardware-info p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.6;
}

/* Premium Button Look */
.btn-outline-premium {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    padding: 16px 28px;
    border-radius: 12px;
    font-weight: 600;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-outline-premium:hover {
    background: #fff;
    color: #000;
    border-color: #fff;
    transform: translateX(5px);
}

.btn-outline-premium .lucide {
    width: 18px;
    height: 18px;
}

/* Decorative Background "BS" */
.card-glow-mesh {
    position: absolute;
    top: 50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(170, 170, 170, 0.08) 0%, transparent 70%);
    transform: translateY(-50%);
    z-index: 1;
    pointer-events: none;
}

/* Mobile Fix */
@media (max-width: 900px) {
    .hardware-layout {
        flex-direction: column;
        text-align: center;
        gap: 24px;
    }
    .hardware-title-row {
        justify-content: center;
    }
    .hardware-info {
        max-width: 100%;
    }
}

/* =========================================
   RECOIL STUDIO - MASTER OVER-ENGINEERED CSS
   Theme: Glassmorphism / Neural Interface
   ========================================= */

:root {
    --primary: #aaaaaa;
    --primary-glow: rgba(170, 170, 170, 0.4);
    --accent: #a6a6a6;
    --success: #10b981;
    --warning: #f59e0b;
    --bg: #030303;
    --surface: rgba(255, 255, 255, 0.03);
    --border-glass: rgba(255, 255, 255, 0.08);
    --text-main: #f8fafc;
    --text-muted: #a6a6a6;
    --radius-pill: 100px;
    --radius-lg: 24px;
    --radius-md: 12px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

body {
    background-color: var(--bg);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

/* =========================================
   VISUAL POLISH (GLOBAL BS)
   ========================================= */
.noise-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background-image: url('https://recoil-studio.pages.dev/noise.png'); 
    opacity: 0.04;
    pointer-events: none;
}

.cursor-follower {
    position: fixed;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(170, 170, 170, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: -1;
    transform: translate(-50%, -50%);
}

.ambient-bg {
    position: fixed;
    inset: 0;
    z-index: -2;
}

.top-spotlight {
    position: absolute;
    top: -20%; left: 50%; transform: translateX(-50%);
    width: 100vw; height: 100vh;
    background: radial-gradient(circle at top, rgba(170, 170, 170, 0.15) 0%, transparent 70%);
}

.moving-grid {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(var(--border-glass) 1px, transparent 1px),
        linear-gradient(90deg, var(--border-glass) 1px, transparent 1px);
    background-size: 50px 50px;
    mask-image: radial-gradient(circle at center, black, transparent 80%);
    opacity: 0.2;
}

/* =========================================
   NAVIGATION
   ========================================= */
.floating-nav {
    position: fixed;
    top: 32px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 900px;
    background: rgba(12, 12, 12, 0.6);
    backdrop-filter: blur(24px);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-pill);
    padding: 12px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
}

.brand-text {
    font-weight: 800;
    font-size: 1.2rem;
    letter-spacing: -0.5px;
    color: #fff;
}

.nav-links {
    display: flex;
    gap: 32px;
    list-style: none;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: 0.3s;
}

.nav-links a.active, .nav-links a:hover {
    color: #fff;
}

.nav-btn {
    background: var(--surface);
    color: #fff;
    padding: 8px 20px;
    border-radius: var(--radius-pill);
    border: 1px solid var(--border-glass);
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}

.nav-btn:hover {
    background: var(--primary);
    box-shadow: 0 0 20px var(--primary-glow);
}

/* =========================================
   DOCS LAYOUT
   ========================================= */
.docs-wrapper {
    max-width: 1400px;
    margin: 140px auto 60px;
    padding: 0 40px;
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 60px;
    align-items: start;
}

.docs-sidebar {
    position: sticky;
    top: 120px;
    background: rgba(18, 18, 18, 0.4);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    padding: 32px;
}

.sidebar-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 32px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-glass);
}

.sidebar-icon-glow {
    color: var(--primary);
    filter: drop-shadow(0 0 8px var(--primary-glow));
}

.sidebar-title {
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
}

.docs-nav .nav-section {
    margin-bottom: 32px;
}

.docs-nav .nav-title {
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--text-muted);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    opacity: 0.6;
}

.docs-nav .nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    margin-bottom: 4px;
    border-radius: 12px;
    color: var(--text-muted);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.docs-nav .nav-item .lucide {
    width: 18px;
    height: 18px;
}

.docs-nav .nav-item:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
    transform: translateX(5px);
}

.docs-nav .nav-item.active {
    color: #fff;
    background: linear-gradient(90deg, rgba(170, 170, 170, 0.1) 0%, transparent 100%);
    border-left: 3px solid var(--primary);
}

/* =========================================
   DOCS CONTENT
   ========================================= */
.doc-section {
    display: none;
}

.doc-section.active {
    display: block;
    animation: fadeIn 0.6s ease-out;
}

.page-header {
    margin-bottom: 48px;
}

.page-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 12px;
    letter-spacing: -1.5px;
}

.page-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
}

.text-gradient {
    background: linear-gradient(135deg, #d0d0d0, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Content Cards */
.content-card {
    background: rgba(18, 18, 18, 0.4);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    margin-bottom: 32px;
    overflow: hidden;
}

.content-header {
    background: rgba(255, 255, 255, 0.02);
    padding: 24px 32px;
    border-bottom: 1px solid var(--border-glass);
    display: flex;
    align-items: center;
    gap: 16px;
}

.content-header .lucide {
    color: var(--primary);
}

.content-header h2 {
    font-size: 1.25rem;
    font-weight: 700;
}

.content-body {
    padding: 32px;
}

/* Lists & Alerts */
.docs-list {
    padding-left: 20px;
    color: var(--text-muted);
}

.docs-list li {
    margin-bottom: 16px;
}

.docs-list li strong {
    color: #fff;
}

.alert {
    display: flex;
    gap: 20px;
    padding: 24px;
    border-radius: 16px;
    margin: 32px 0;
    line-height: 1.6;
}

.alert-warning {
    background: rgba(245, 158, 11, 0.05);
    border: 1px solid rgba(245, 158, 11, 0.2);
    color: var(--warning);
}

.alert-warning .lucide {
    flex-shrink: 0;
}

/* Grids */
.parameter-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.parameter-card {
    padding: 32px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-glass);
    border-radius: 20px;
    transition: 0.3s;
}

.parameter-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
}

.parameter-card .lucide {
    margin-bottom: 16px;
    color: var(--primary);
}

.parameter-card h3 {
    margin-bottom: 12px;
    font-size: 1.1rem;
}

.parameter-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* Utilities */
code {
    background: #000;
    color: var(--accent);
    padding: 4px 8px;
    border-radius: 6px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.9em;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Mobile Fixes */
@media (max-width: 1000px) {
    .docs-wrapper { grid-template-columns: 1fr; padding: 0 20px; }
    .docs-sidebar { position: static; margin-bottom: 40px; }
    .page-title { font-size: 2.2rem; }
}

/* Pricing Grid Fixes */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    max-width: 1300px;
    margin: 60px auto;
    padding: 0 40px;
}

.pricing-card {
    padding: 40px;
    text-align: center;
    position: relative;
    border: 1px solid var(--border-glass);
    transition: 0.3s;
}

.pricing-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
}

.pricing-card.popular {
    background: linear-gradient(135deg, rgba(170, 170, 170, 0.1) 0%, rgba(12, 12, 12, 0.4) 100%);
    border-color: var(--primary);
}

.popular-tag {
    position: absolute;
    top: 20px; right: 20px;
    background: var(--primary);
    color: #fff;
    padding: 4px 12px;
    border-radius: 100px;
    font-size: 0.65rem;
    font-weight: 800;
}

.save-badge {
    position: absolute;
    top: 20px; left: 20px;
    background: var(--success);
    color: #fff;
    padding: 4px 12px;
    border-radius: 100px;
    font-size: 0.65rem;
    font-weight: 800;
}

.plan-name { font-weight: 700; color: var(--text-muted); text-transform: uppercase; font-size: 0.8rem; letter-spacing: 2px; }
.plan-price { font-size: 4rem; font-weight: 800; margin: 10px 0; color: #fff; }
.plan-duration { color: var(--text-muted); margin-bottom: 30px; }

.plan-features { list-style: none; text-align: left; margin-bottom: 40px; }
.plan-features li { display: flex; align-items: center; gap: 12px; margin-bottom: 15px; color: var(--text-muted); font-size: 0.95rem; }
.plan-features li .lucide { color: var(--primary); width: 18px; }

/* FAQ Fixes */
.faq-container { max-width: 800px; margin: 40px auto; }
.faq-card { padding: 24px; margin-bottom: 12px; cursor: pointer; text-align: left; }
.faq-q { display: flex; justify-content: space-between; font-weight: 700; }
.faq-a { max-height: 0; overflow: hidden; transition: 0.3s; color: var(--text-muted); margin-top: 0; }
.faq-card.active .faq-a { max-height: 100px; margin-top: 16px; }

/* Container to keep stuff away from the screen edges */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Fix the Hero Alignment */
.shop-hero {
    text-align: center;
    padding: 160px 0 60px;
}

.shop-hero .hero-title {
    margin: 0 auto 20px;
}

/* Fix the Features Grid (Boxes, not lines) */
.bento-grid-mini {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Two boxes per row */
    gap: 20px;
    margin-top: 40px;
}

.mini-card {
    padding: 30px;
    text-align: left;
}

/* Fix FAQ Width */
.faq-container {
    max-width: 800px;
    margin: 40px auto;
}

/* Footer Center Fix */
.main-footer .footer-container {
    text-align: center;
    padding: 40px 0;
}

/* Mobile Fix (makes boxes stack on phones) */
@media (max-width: 768px) {
    .bento-grid-mini {
        grid-template-columns: 1fr;
    }
    .pricing-grid {
        grid-template-columns: 1fr;
    }
}

/* 1. Fix the "Why Choose RCS" Grid so it's not so wide */
.features-mini .container {
    max-width: 900px; /* This stops them from stretching to the edges */
    margin: 0 auto;
}

.bento-grid-mini {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Two boxes per row */
    gap: 20px;
    margin-top: 40px;
}

.mini-card {
    padding: 30px;
    background: var(--surface);
    border: 1px solid var(--border-glass);
    border-radius: 16px;
    text-align: left;
    transition: 0.3s ease;
}

.mini-card:hover {
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.05);
}

/* 2. Fix the FAQ so it stays chunky and centered */
.faq-simple .container {
    max-width: 700px; /* Keeps the FAQ from being a long thin strip */
    margin: 0 auto;
}

.faq-card {
    margin-bottom: 12px;
    padding: 20px 24px;
    border-radius: 12px;
    cursor: pointer;
}

/* 3. Add more breathing room between sections */
section {
    padding: 80px 0;
}

.shop-hero {
    padding: 180px 0 100px;
}

/* 4. Fix the Pricing Grid Spacing */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    max-width: 1200px; /* Matches the hero width */
    margin: 0 auto;
}

/* This centers the whole hero section */
.shop-hero {
    text-align: center;
    padding: 180px 24px 80px; /* Space from top, sides, and bottom */
    display: flex;
    flex-direction: column;
    align-items: center; /* Centers items horizontally */
    justify-content: center;
}

/* This makes the big title look right */
.shop-hero .hero-title {
    margin: 0 auto 20px;
    max-width: 800px;
    text-align: center;
}

/* This fixes the small text under the title */
.shop-hero .hero-subtitle {
    margin: 0 auto;
    max-width: 500px; /* Keeps the lines short and readable */
    text-align: center;
    color: var(--text-muted);
    line-height: 1.6;
}

/* =========================================
   DOWNLOAD MODAL STYLES
   ========================================= */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(15px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.modal-content {
    width: 90%;
    max-width: 480px;
    padding: 40px;
    position: relative;
    transform: translateY(30px);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.close-btn {
    position: absolute;
    top: 24px; right: 24px;
    background: transparent;
    color: var(--text-muted);
    transition: 0.3s;
}

.close-btn:hover { color: #fff; transform: rotate(90deg); }

.modal-header { text-align: center; margin-bottom: 32px; }
.modal-header h2 { font-size: 2rem; font-weight: 800; margin-bottom: 8px; }
.modal-header p { color: var(--text-muted); font-size: 0.9rem; }

.download-options { display: flex; flex-direction: column; gap: 16px; }

.dl-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-glass);
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dl-card:hover {
    background: rgba(170, 170, 170, 0.1);
    border-color: var(--primary);
    transform: scale(1.02);
}

.dl-icon {
    background: rgba(255, 255, 255, 0.05);
    padding: 12px;
    border-radius: 12px;
    color: var(--primary);
}

.dl-info { flex: 1; }
.dl-info h4 { font-size: 1rem; color: #fff; margin-bottom: 4px; }
.dl-info span { font-size: 0.75rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; }

.dl-arrow { color: var(--text-muted); opacity: 0; transition: 0.3s; transform: translateX(-10px); }
.dl-card:hover .dl-arrow { opacity: 1; transform: translateX(0); color: var(--primary); }

/* --- MARKETPLACE SPECIFIC OVERRIDES --- */

/* Fix the white input boxes (DPI) */
.input-flat {
    width: 100%;
    background: rgba(0, 0, 0, 0.4) !important; /* Force dark background */
    border: 1px solid var(--border-glass) !important;
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 13px;
    color: #fff !important;
    transition: 0.3s ease;
}

.input-flat:focus {
    border-color: var(--primary);
    box-shadow: 0 0 15px var(--primary-glow);
    outline: none;
}

/* Fix the Dropdowns (Custom Select) */
.select-custom {
    position: relative;
    width: 100%;
}

.select-trigger {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--border-glass);
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 13px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #fff;
    transition: 0.3s;
}

.select-trigger:hover {
    border-color: var(--primary);
}

.select-options {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: #0c0c0c; /* Match sidebar background */
    border: 1px solid var(--border-glass);
    border-radius: 12px;
    overflow: hidden;
    z-index: 1000;
    display: none; /* Controlled by JS .open class */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.select-custom.open .select-options {
    display: block;
    animation: fadeIn 0.2s ease-out;
}

.option {
    padding: 10px 16px;
    font-size: 13px;
    color: var(--text-muted);
    cursor: pointer;
    transition: 0.2s;
}

.option:hover {
    background: rgba(170, 170, 170, 0.1);
    color: #fff;
}

.option.selected {
    color: #fff;
    background: rgba(170, 170, 170, 0.2);
}

/* Sidebar Branding Adjustment */
.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 40px;
}

.brand span {
    font-weight: 800;
    font-size: 1rem;
    letter-spacing: 1px;
}

/* =========================================
   PREMIUM INFO MODAL STYLES
   ========================================= */
.info-card {
    text-align: center;
    max-width: 400px !important;
    padding: 48px 32px 32px !important;
    overflow: hidden;
}

.modal-glow-top {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

.info-icon-wrapper {
    position: relative;
    width: 64px; height: 64px;
    margin: 0 auto 24px;
    background: rgba(170, 170, 170, 0.1);
    border: 1px solid var(--border-glass);
    border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    color: var(--primary);
}

.icon-pulse {
    position: absolute;
    inset: 0; border-radius: 16px;
    border: 1px solid var(--primary);
    animation: pulseIcon 2s infinite;
}

@keyframes pulseIcon {
    0% { transform: scale(1); opacity: 0.5; }
    100% { transform: scale(1.5); opacity: 0; }
}

.command-box {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--border-glass);
    border-radius: 12px;
    padding: 16px;
    margin: 24px 0;
    display: flex; align-items: center; justify-content: space-between;
    font-family: 'JetBrains Mono', monospace;
}

.command-label { font-size: 10px; color: var(--text-muted); font-weight: 800; }
.command-box code { color: #fff; font-size: 1.1rem; background: transparent; padding: 0; }
.copy-btn { background: transparent; color: var(--text-muted); cursor: pointer; transition: 0.3s; }
.copy-btn:hover { color: var(--primary); }

.info-text { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 8px; }

/* Premium Outline Button (Hardware Card) */
.btn-premium-outline {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(169, 169, 169, 0.3); /* Purple border */
    color: white;
    padding: 14px 28px;
    border-radius: 14px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.btn-premium-outline i {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
    color: #c2c2c2; /* Lighter purple for the icon */
}

/* Hover Effects */
.btn-premium-outline:hover {
    background: rgba(169, 169, 169, 0.1);
    border-color: #a9a9a9;
    box-shadow: 0 0 25px rgba(169, 169, 169, 0.2);
    transform: translateY(-2px);
}

.btn-premium-outline:hover i {
    transform: translateX(5px);
    color: white;
}

/* Click Effect */
.btn-premium-outline:active {
    transform: translateY(0);
    opacity: 0.8;
}

/* Responsive tweak for the Hardware Card layout */
@media (max-width: 768px) {
    .hardware-layout {
        flex-direction: column;
        gap: 25px;
        text-align: center;
    }
    
    .btn-premium-outline {
        width: 100%;
        justify-content: center;
    }
}

/* 1. Layout Fix: Aligns text left and button right */
.hardware-layout {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    width: 100%;
}

.hardware-info {
    flex: 1;
}

/* 2. Button Styling: The Premium Look */
.btn-premium-outline {
    /* Reset defaults */
    appearance: none;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(169, 169, 169, 0.3);
    outline: none;

    /* Layout */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    white-space: nowrap;
    /* Prevents text from wrapping */

    /* Aesthetics */
    padding: 14px 28px;
    border-radius: 14px;
    color: white;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 600;
    font-size: 15px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Hover State */
.btn-premium-outline:hover {
    background: rgba(169, 169, 169, 0.1);
    border-color: #a9a9a9;
    box-shadow: 0 0 30px rgba(169, 169, 169, 0.2);
    transform: translateY(-2px);
}

/* Icon Animation */
.btn-premium-outline i {
    width: 18px;
    height: 18px;
    color: #c2c2c2;
    transition: transform 0.3s ease;
}

.btn-premium-outline:hover i {
    transform: translateX(5px);
    color: white;
}

/* Mobile Responsive: Stacks info and button on small screens */
@media (max-width: 768px) {
    .hardware-layout {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .btn-premium-outline {
        width: 100%;
    }
}
/* --- HARDWARE CARD LAYOUT --- */
.hardware-card {
    padding: 40px !important;
}

.hardware-layout {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    width: 100% !important;
    gap: 30px;
}

.hardware-info {
    flex: 1;
}

/* --- THE BUTTON FIX --- */
.btn-premium-outline {
    /* Kill all browser defaults */
    all: unset !important;
    box-sizing: border-box !important;

    /* Layout */
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 12px !important;

    /* Aesthetics */
    background: rgba(255, 255, 255, 0.03) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    border: 1px solid rgba(169, 169, 169, 0.3) !important;
    border-radius: 14px !important;

    /* Text */
    color: #ffffff !important;
    padding: 14px 28px !important;
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    font-weight: 600 !important;
    font-size: 15px !important;
    cursor: pointer !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    white-space: nowrap !important;
}

/* Hover State */
.btn-premium-outline:hover {
    background: rgba(169, 169, 169, 0.1) !important;
    border-color: #a9a9a9 !important;
    box-shadow: 0 0 30px rgba(169, 169, 169, 0.2) !important;
    transform: translateY(-2px) !important;
}

/* Icon Style */
.btn-premium-outline i {
    width: 18px !important;
    height: 18px !important;
    color: #c2c2c2 !important;
    transition: transform 0.3s ease !important;
}

.btn-premium-outline:hover i {
    transform: translateX(5px) !important;
    color: #ffffff !important;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    /* Space between logo and RCS text */
    transition: 0.3s;
}

.nav-logo {
    height: 28px;
    /* Matches the text height */
    width: auto;
    filter: drop-shadow(0 0 8px rgba(169, 169, 169, 0.4));
    /* Subtle purple glow */
    transition: transform 0.3s ease;
}

.nav-brand:hover .nav-logo {
    transform: scale(1.1) rotate(-5deg);
    /* Slight pop-out on hover */
}

.brand-text {
    font-weight: 800;
    font-size: 1.2rem;
    letter-spacing: 1px;
    color: #fff;
}
