:root {
    --bg-primary: #0a0c18;
    --bg-secondary: #0e101f;
    --bg-card: rgba(18, 21, 39, 0.75);
    --bg-card-hover: rgba(26, 30, 58, 0.9);
    --border-color: rgba(99, 102, 241, 0.18);
    --border-color-hover: rgba(99, 102, 241, 0.45);
    
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    
    --accent-indigo: #6366f1;
    --accent-indigo-glow: rgba(99, 102, 241, 0.35);
    --accent-cyan: #06b6d4;
    --accent-emerald: #10b981;
    --accent-amber: #f59e0b;
    --accent-kofi: #ff5e5b;
    
    --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-mono: 'JetBrains Mono', Consolas, Monaco, monospace;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    color-scheme: dark;
    -webkit-text-size-adjust: 100%;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-sans);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
    width: 100%;
}

/* Ambient Backdrops (contained to prevent mobile scroll) */
.ambient-glow {
    position: absolute;
    width: clamp(280px, 50vw, 600px);
    height: clamp(280px, 50vw, 600px);
    border-radius: 50%;
    filter: blur(100px);
    pointer-events: none;
    z-index: 0;
    opacity: 0.3;
}

.glow-1 {
    top: -100px;
    right: -50px;
    background: radial-gradient(circle, var(--accent-indigo) 0%, transparent 70%);
}

.glow-2 {
    top: 450px;
    left: -100px;
    background: radial-gradient(circle, var(--accent-cyan) 0%, transparent 70%);
}

.grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 700px;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 32px 32px;
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1), transparent);
    -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1), transparent);
    pointer-events: none;
    z-index: 0;
}

.container {
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 clamp(16px, 4vw, 24px);
    position: relative;
    z-index: 1;
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(10, 12, 24, 0.88);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding: 12px 0;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: inherit;
    flex-shrink: 0;
}

.brand-logo {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.brand-name {
    font-weight: 800;
    font-size: 1.05rem;
    letter-spacing: -0.02em;
    color: #ffffff;
}

.brand-badge {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    background: rgba(99, 102, 241, 0.15);
    color: var(--accent-indigo);
    border: 1px solid rgba(99, 102, 241, 0.3);
    padding: 2px 6px;
    border-radius: 999px;
    margin-left: 4px;
    letter-spacing: 0.05em;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 16px;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s ease;
}

.nav-link:hover {
    color: #ffffff;
}

/* Hero Section */
.hero {
    padding: clamp(48px, 8vw, 85px) 0 clamp(36px, 6vw, 60px);
    text-align: center;
}

.pill-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.3);
    padding: 6px 14px;
    border-radius: 999px;
    font-size: clamp(0.75rem, 2.5vw, 0.85rem);
    font-weight: 600;
    color: #c7d2fe;
    margin-bottom: 20px;
    max-width: 100%;
}

.pulse-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent-emerald);
    box-shadow: 0 0 8px var(--accent-emerald);
    animation: pulse 2s infinite;
    flex-shrink: 0;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(1.3); }
}

.hero-title {
    font-size: clamp(1.9rem, 6vw, 3.2rem);
    font-weight: 800;
    line-height: 1.18;
    letter-spacing: -0.03em;
    margin-bottom: 16px;
    color: #ffffff;
    word-break: break-word;
}

.text-gradient {
    background: linear-gradient(135deg, #a5b4fc 0%, #38bdf8 50%, #c084fc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    max-width: 680px;
    margin: 0 auto clamp(24px, 4vw, 36px);
    font-size: clamp(0.95rem, 2.5vw, 1.15rem);
    color: var(--text-secondary);
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: clamp(32px, 5vw, 48px);
    flex-wrap: wrap;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-items: center;
    gap: 16px;
    padding-top: clamp(20px, 4vw, 32px);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    max-width: 640px;
    margin: 0 auto;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.stat-value {
    font-size: clamp(1.1rem, 3vw, 1.4rem);
    font-weight: 800;
    color: #ffffff;
    font-family: var(--font-mono);
}

.stat-label {
    font-size: clamp(0.68rem, 2vw, 0.78rem);
    color: var(--text-muted);
    font-weight: 500;
    margin-top: 2px;
}

.stat-divider {
    display: none;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.92rem;
    text-decoration: none;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    min-height: 44px;
}

.btn-sm {
    padding: 7px 12px;
    font-size: 0.82rem;
    min-height: 34px;
}

.btn-primary {
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 16px var(--accent-indigo-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 22px rgba(99, 102, 241, 0.5);
    background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: #e2e8f0;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.btn-kofi {
    background: #ff5e5b;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 14px rgba(255, 94, 91, 0.3);
}

.btn-kofi:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(255, 94, 91, 0.45);
    background: #fa4a46;
}

.btn-block {
    width: 100%;
}

/* Sections */
.section {
    padding: clamp(48px, 7vw, 70px) 0;
}

.section-header {
    text-align: center;
    margin-bottom: clamp(28px, 5vw, 48px);
}

.section-title {
    font-size: clamp(1.6rem, 4vw, 2.2rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 10px;
}

.section-desc {
    color: var(--text-secondary);
    font-size: clamp(0.92rem, 2vw, 1.05rem);
    max-width: 580px;
    margin: 0 auto;
}

/* Plugins Grid (responsive, min 0 for mobile!) */
.plugins-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr));
    gap: clamp(20px, 4vw, 32px);
}

.plugin-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.plugin-card:hover {
    transform: translateY(-3px);
    border-color: var(--border-color-hover);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.4);
    background: var(--bg-card-hover);
}

.plugin-banner-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 772 / 250;
    background: #0d1020;
    overflow: hidden;
}

.plugin-banner {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.plugin-card:hover .plugin-banner {
    transform: scale(1.02);
}

.status-tag {
    position: absolute;
    top: 10px;
    right: 10px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 9px;
    border-radius: 999px;
    font-size: clamp(0.68rem, 1.8vw, 0.75rem);
    font-weight: 700;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.status-live {
    background: rgba(16, 185, 129, 0.25);
    border: 1px solid rgba(16, 185, 129, 0.45);
    color: #6ee7b7;
}

.status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent-emerald);
}

.status-pending {
    background: rgba(245, 158, 11, 0.25);
    border: 1px solid rgba(245, 158, 11, 0.45);
    color: #fcd34d;
}

.status-dot-amber {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent-amber);
}

.plugin-body {
    padding: clamp(16px, 4vw, 28px);
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.plugin-header-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.plugin-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    flex-shrink: 0;
}

.plugin-name {
    font-size: clamp(1.15rem, 3vw, 1.35rem);
    font-weight: 700;
    color: #ffffff;
    line-height: 1.25;
}

.plugin-slug {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-family: var(--font-mono);
    margin-top: 2px;
    word-break: break-all;
}

.plugin-desc {
    color: var(--text-secondary);
    font-size: 0.92rem;
    margin-bottom: 18px;
    line-height: 1.55;
}

.feature-list {
    list-style: none;
    margin-bottom: 22px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.feature-list li {
    font-size: 0.85rem;
    color: #cbd5e1;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    line-height: 1.45;
}

.check {
    color: var(--accent-cyan);
    font-weight: 800;
    flex-shrink: 0;
}

.feature-list code {
    background: rgba(255, 255, 255, 0.08);
    padding: 1px 4px;
    border-radius: 4px;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: #f1f5f9;
}

.plugin-card-footer {
    margin-top: auto;
    padding-top: 6px;
}

/* Roadmap Section */
.roadmap-section {
    padding-top: 20px;
}

.roadmap-card {
    background: linear-gradient(180deg, rgba(30, 27, 75, 0.4) 0%, rgba(15, 23, 42, 0.6) 100%);
    border: 1px solid rgba(99, 102, 241, 0.25);
    border-radius: 20px;
    padding: clamp(24px, 5vw, 44px);
    text-align: center;
}

.roadmap-badge {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #a5b4fc;
    background: rgba(99, 102, 241, 0.15);
    border: 1px solid rgba(99, 102, 241, 0.3);
    padding: 3px 10px;
    border-radius: 999px;
    letter-spacing: 0.05em;
    margin-bottom: 14px;
}

.roadmap-title {
    font-size: clamp(1.4rem, 3.5vw, 2rem);
    font-weight: 800;
    margin-bottom: 12px;
}

.roadmap-desc {
    max-width: 660px;
    margin: 0 auto clamp(24px, 4vw, 36px);
    color: var(--text-secondary);
    font-size: clamp(0.9rem, 2vw, 1.02rem);
}

.roadmap-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
    gap: 16px;
    text-align: left;
}

.roadmap-item {
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: clamp(16px, 3vw, 22px);
    border-radius: 14px;
}

.roadmap-icon {
    font-size: 1.4rem;
    margin-bottom: 8px;
}

.roadmap-item h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 6px;
    color: #ffffff;
}

.roadmap-item p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.45;
}

/* Support Section */
.support-card {
    background: linear-gradient(135deg, rgba(255, 94, 91, 0.1) 0%, rgba(99, 102, 241, 0.1) 100%);
    border: 1px solid rgba(255, 94, 91, 0.25);
    border-radius: 18px;
    padding: clamp(24px, 5vw, 40px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.support-content {
    max-width: 580px;
}

.support-badge {
    font-size: 0.75rem;
    font-weight: 700;
    color: #fca5a5;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 8px;
    display: inline-block;
}

.support-title {
    font-size: clamp(1.35rem, 3.5vw, 1.75rem);
    font-weight: 800;
    margin-bottom: 10px;
    color: #ffffff;
}

.support-desc {
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.55;
}

.support-action {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.btn-kofi-hero {
    background: #ff5e5b;
    color: #ffffff;
    font-size: 0.98rem;
    font-weight: 700;
    padding: 13px 24px;
    border-radius: 12px;
    text-decoration: none;
    box-shadow: 0 4px 18px rgba(255, 94, 91, 0.35);
    transition: all 0.2s ease;
    white-space: nowrap;
    text-align: center;
}

.btn-kofi-hero:hover {
    transform: translateY(-2px);
    background: #fa4a46;
    box-shadow: 0 6px 24px rgba(255, 94, 91, 0.5);
}

.support-meta {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Footer */
.site-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 32px 0 24px;
    background: rgba(10, 12, 24, 0.95);
    color: var(--text-muted);
    font-size: 0.85rem;
}

.footer-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-logo {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand {
    font-weight: 700;
    color: #ffffff;
    font-size: 0.95rem;
}

.footer-sub {
    font-size: 0.78rem;
    color: var(--text-muted);
}

.footer-links {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s ease;
    font-size: 0.85rem;
}

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 16px;
    font-size: 0.78rem;
}

.footer-bottom a {
    color: var(--text-secondary);
    text-decoration: none;
}

.footer-bottom a:hover {
    text-decoration: underline;
}

/* Mobile Responsive Optimization */
@media (max-width: 768px) {
    .support-card {
        flex-direction: column;
        text-align: center;
    }
    .support-action {
        width: 100%;
    }
    .btn-kofi-hero {
        width: 100%;
        white-space: normal;
    }
}

@media (max-width: 480px) {
    .site-header {
        padding: 10px 0;
    }
    .brand-name {
        font-size: 0.95rem;
    }
    .brand-badge {
        display: none;
    }
    .nav-links {
        gap: 8px;
    }
    .nav-link {
        display: none;
    }
    .site-header .btn-kofi {
        padding: 6px 10px;
        font-size: 0.78rem;
        min-height: 32px;
    }
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }
    .hero-actions .btn {
        width: 100%;
    }
    .hero-stats {
        gap: 10px;
    }
    .footer-links {
        flex-direction: column;
        gap: 10px;
    }
}
