:root {
    --bg-color: #050510;
    --accent-color: #6366f1;
    --accent-glow: rgba(99, 102, 241, 0.45);
    --accent-hover: #4f46e5;
    --emerald: #10b981;
    --emerald-glow: rgba(16, 185, 129, 0.4);
    --glass-bg: rgba(255, 255, 255, 0.035);
    --glass-card: rgba(255, 255, 255, 0.04);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-border-hover: rgba(99, 102, 241, 0.5);
    --text-primary: #ffffff;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Outfit', sans-serif;
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-main);
    min-height: 100vh;
    overflow-x: hidden;
    line-height: 1.5;
}

/* Background Animated Blobs */
.background-blobs {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    filter: blur(90px);
    pointer-events: none;
}

.blob {
    position: absolute;
    border-radius: 50%;
    opacity: 0.45;
    animation: moveBlob 22s infinite alternate ease-in-out;
}

.blob-1 {
    width: 450px;
    height: 450px;
    background: #4f46e5;
    top: -120px;
    left: -100px;
}

.blob-2 {
    width: 520px;
    height: 520px;
    background: #7c3aed;
    bottom: -150px;
    right: -120px;
    animation-delay: -6s;
}

.blob-3 {
    width: 380px;
    height: 380px;
    background: #db2777;
    top: 45%;
    left: 55%;
    animation-delay: -12s;
}

@keyframes moveBlob {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(80px, 60px) scale(1.08); }
    100% { transform: translate(-40px, 100px) scale(0.95); }
}

/* Page Wrapper */
.page-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Hub Header */
.hub-header {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 2.25rem 1.5rem 0.5rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--text-primary);
    transition: transform 0.2s ease;
}

.brand-logo:hover {
    transform: scale(1.02);
}

.logo-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    box-shadow: 0 0 20px var(--accent-glow);
}

.logo-icon svg {
    width: 22px;
    height: 22px;
}

.logo-text {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.logo-text span {
    color: var(--accent-color);
    text-shadow: 0 0 15px var(--accent-glow);
}

/* Hub Container */
.hub-container {
    flex: 1;
    max-width: 1100px;
    width: 100%;
    margin: 0 auto;
    padding: 3rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 3.5rem;
}

/* Hero Section */
.hero-section {
    text-align: center;
    max-width: 760px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.1rem;
}

.badge-tag {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--accent-color);
    background: rgba(99, 102, 241, 0.12);
    border: 1px solid rgba(99, 102, 241, 0.25);
    padding: 0.4rem 1rem;
    border-radius: 999px;
}

.hero-title {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -1px;
}

.hero-title span {
    background: linear-gradient(135deg, #818cf8, #c084fc, #f472b6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-desc {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 640px;
}

/* Tools Section */
.tools-grid-section {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--glass-border);
    padding-bottom: 0.85rem;
}

.section-header h2 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
}

.tool-count {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Grid Layout */
.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.75rem;
}

/* Glass Panels */
.glass-panel {
    background: var(--glass-card);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

/* Active Card */
.active-card {
    border-color: rgba(99, 102, 241, 0.3);
    background: linear-gradient(180deg, rgba(99, 102, 241, 0.08) 0%, rgba(255, 255, 255, 0.03) 100%);
    display: flex;
    flex-direction: column;
    padding: 2rem;
    gap: 1.5rem;
}

.active-card:hover {
    transform: translateY(-5px);
    border-color: var(--glass-border-hover);
    box-shadow: 0 16px 40px rgba(99, 102, 241, 0.22);
}

.card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.tool-icon-box {
    width: 50px;
    height: 50px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.accent-box {
    background: linear-gradient(135deg, #4f46e5, #6366f1);
    color: #ffffff;
    box-shadow: 0 0 20px var(--accent-glow);
}

.accent-box svg {
    width: 26px;
    height: 26px;
}

.muted-box {
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-muted);
}

.muted-box svg {
    width: 24px;
    height: 24px;
}

.status-badge {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.3rem 0.75rem;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-badge.live {
    background: rgba(16, 185, 129, 0.15);
    color: var(--emerald);
    border: 1px solid rgba(16, 185, 129, 0.3);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.live-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--emerald);
    box-shadow: 0 0 6px var(--emerald-glow);
}

.status-badge.upcoming {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    border: 1px solid var(--glass-border);
}

.card-body {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    flex: 1;
}

.tool-name {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

.tool-pitch {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.55;
}

.tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.tag {
    font-size: 0.75rem;
    color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    padding: 0.25rem 0.65rem;
    border-radius: 8px;
}

.card-footer {
    margin-top: auto;
    padding-top: 0.5rem;
}

.action-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    width: 100%;
    padding: 0.85rem 1.25rem;
    border-radius: 14px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.25s ease;
}

.primary-action {
    background: var(--accent-color);
    color: #ffffff;
    box-shadow: 0 4px 20px var(--accent-glow);
}

.primary-action:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 25px var(--accent-glow);
}

.primary-action svg {
    width: 18px;
    height: 18px;
    transition: transform 0.2s ease;
}

.primary-action:hover svg {
    transform: translateX(4px);
}

/* Upcoming Card */
.upcoming-card {
    opacity: 0.75;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    border-style: dashed;
}

.upcoming-card:hover {
    opacity: 0.95;
    border-color: rgba(255, 255, 255, 0.2);
}

.disabled-btn {
    display: block;
    text-align: center;
    padding: 0.8rem 1rem;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    cursor: not-allowed;
}

/* AdSense Container at Bottom */
.adsense-container {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 1rem;
}

.ad-placeholder {
    width: 100%;
    min-height: 90px;
    padding: 0.75rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.ad-label {
    position: absolute;
    top: 6px;
    left: 14px;
    font-size: 0.62rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-secondary);
    opacity: 0.55;
}

/* Footer */
.hub-footer {
    width: 100%;
    border-top: 1px solid var(--glass-border);
    background: rgba(5, 5, 16, 0.5);
    margin-top: auto;
}

.footer-content {
    max-width: 1100px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

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

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

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.25rem;
    }
    .tools-grid {
        grid-template-columns: 1fr;
    }
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}
