/* Homepage Redesign - Modern, Clean, Showcase-focused */

/* ============================================
   Mobile-First Base Fixes
   ============================================ */
html {
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

body {
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

img, video, iframe {
    max-width: 100%;
    height: auto;
}

/* ============================================
   Site Header
   ============================================ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(26, 26, 26, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header-brand {
    font-size: 1.4rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
    letter-spacing: -0.02em;
}

.header-social {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: var(--card-bg);
    color: var(--text-muted);
    transition: all 0.2s ease;
}

.header-social-link:hover {
    background: var(--card-bg-hover);
    color: var(--text-color);
}

.header-social-link svg {
    width: 18px;
    height: 18px;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.header-nav-link {
    padding: 10px 18px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    color: var(--text-muted);
    transition: all 0.2s ease;
}

.header-nav-link:hover {
    color: var(--text-color);
    background: var(--card-bg);
}

.header-nav-link:last-child {
    background: var(--gradient-primary);
    color: white;
}

.header-nav-link:last-child:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

/* Featured Nav Link (Get Amplified) */
.header-nav-featured {
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.15) 0%, rgba(8, 145, 178, 0.1) 100%);
    color: #06b6d4 !important;
    border: 1px solid rgba(6, 182, 212, 0.3);
}

.header-nav-featured:hover {
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.25) 0%, rgba(8, 145, 178, 0.2) 100%);
    border-color: rgba(6, 182, 212, 0.5);
    color: #22d3ee !important;
}

/* ============================================
   CSS Variables Extension
   ============================================ */
:root {
    --gradient-primary: linear-gradient(135deg, #06b6d4 0%, #8b5cf6 50%, #ec4899 100%);
    --gradient-warm: linear-gradient(135deg, #f59e0b 0%, #ef4444 100%);
    --gradient-cool: linear-gradient(135deg, #10b981 0%, #06b6d4 100%);
    --card-bg: #242424;
    --card-bg-hover: #2a2a2a;
    --glow-cyan: rgba(6, 182, 212, 0.3);
    --glow-purple: rgba(139, 92, 246, 0.3);
    --glow-pink: rgba(236, 72, 153, 0.3);
    --text-muted: #9ca3af;
    --text-dim: #6b7280;
}

/* ============================================
   Special Banner
   ============================================ */
.special-banner-wrap {
    padding: 20px 20px 0;
    max-width: 1100px;
    margin: 0 auto;
}

.special-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 16px 24px;
    background: linear-gradient(90deg, rgba(6, 182, 212, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.special-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--gradient-primary);
}

.special-banner:hover {
    transform: translateY(-2px);
    border-color: rgba(139, 92, 246, 0.6);
    background: linear-gradient(90deg, rgba(6, 182, 212, 0.15) 0%, rgba(139, 92, 246, 0.15) 100%);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.special-banner-content {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1;
}

.special-banner-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(139, 92, 246, 0.2);
    color: #a78bfa;
    border-radius: 10px;
    flex-shrink: 0;
}

.special-banner-text {
    flex: 1;
}

.special-banner-title {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    color: white;
    margin-bottom: 2px;
}

.special-banner-sub {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.special-banner-cta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #06b6d4;
    white-space: nowrap;
}

.special-banner-arrow {
    transition: transform 0.2s ease;
}

.special-banner:hover .special-banner-arrow {
    transform: translateX(4px);
}

/* League of Prompts Banner Variant */
.special-banner-lop {
    background: linear-gradient(90deg, rgba(255, 215, 0, 0.1) 0%, rgba(255, 140, 0, 0.1) 100%);
    border-color: rgba(255, 215, 0, 0.3);
}

.special-banner-lop::before {
    background: linear-gradient(135deg, #ffd700 0%, #ff8c00 100%);
}

.special-banner-lop:hover {
    border-color: rgba(255, 215, 0, 0.6);
    background: linear-gradient(90deg, rgba(255, 215, 0, 0.15) 0%, rgba(255, 140, 0, 0.15) 100%);
}

.special-banner-icon-lop {
    background: rgba(255, 215, 0, 0.2);
    color: #ffd700;
}

.special-banner-lop .special-banner-cta {
    color: #ffd700;
}

@media (max-width: 768px) {
    .special-banner-wrap {
        padding: 16px 16px 0;
    }
    
    .special-banner {
        padding: 14px 16px;
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .special-banner-cta {
        width: 100%;
        justify-content: flex-end;
        padding-top: 8px;
        border-top: 1px solid rgba(255, 255, 255, 0.05);
    }
}

/* ============================================
   Dual Banner Section (Side by Side)
   ============================================ */
.dual-banner-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    padding: 20px 20px 0;
    max-width: 1100px;
    margin: 0 auto;
}

.dual-banner {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.dual-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
}

.dual-banner:hover {
    transform: translateY(-2px);
}

.dual-banner-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    flex-shrink: 0;
}

.dual-banner-text {
    flex: 1;
    min-width: 0;
}

.dual-banner-title {
    display: block;
    font-size: 0.95rem;
    font-weight: 600;
    color: white;
    margin-bottom: 1px;
}

.dual-banner-sub {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dual-banner-arrow {
    font-size: 1rem;
    transition: transform 0.2s ease;
    flex-shrink: 0;
}

.dual-banner:hover .dual-banner-arrow {
    transform: translateX(3px);
}

/* League of Prompts variant */
.dual-banner-lop {
    background: linear-gradient(90deg, rgba(255, 215, 0, 0.08) 0%, rgba(255, 140, 0, 0.05) 100%);
    border: 1px solid rgba(255, 215, 0, 0.25);
}

.dual-banner-lop::before {
    background: linear-gradient(135deg, #ffd700 0%, #ff8c00 100%);
}

.dual-banner-lop:hover {
    border-color: rgba(255, 215, 0, 0.5);
    background: linear-gradient(90deg, rgba(255, 215, 0, 0.12) 0%, rgba(255, 140, 0, 0.08) 100%);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.dual-banner-lop .dual-banner-icon {
    background: rgba(255, 215, 0, 0.15);
    color: #ffd700;
}

.dual-banner-lop .dual-banner-arrow {
    color: #ffd700;
}

/* Get Amplified variant */
.dual-banner-amplified {
    background: linear-gradient(90deg, rgba(6, 182, 212, 0.08) 0%, rgba(8, 145, 178, 0.05) 100%);
    border: 1px solid rgba(6, 182, 212, 0.25);
}

.dual-banner-amplified::before {
    background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
}

.dual-banner-amplified:hover {
    border-color: rgba(6, 182, 212, 0.5);
    background: linear-gradient(90deg, rgba(6, 182, 212, 0.12) 0%, rgba(8, 145, 178, 0.08) 100%);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.dual-banner-amplified .dual-banner-icon {
    background: rgba(6, 182, 212, 0.15);
    color: #06b6d4;
}

.dual-banner-amplified .dual-banner-arrow {
    color: #06b6d4;
}

@media (max-width: 768px) {
    .dual-banner-wrap {
        grid-template-columns: 1fr;
        gap: 10px;
        padding: 16px 16px 0;
    }
    
    .dual-banner {
        padding: 12px 14px;
    }
    
    .dual-banner-icon {
        width: 32px;
        height: 32px;
    }
    
    .dual-banner-icon svg {
        width: 16px;
        height: 16px;
    }
    
    .dual-banner-title {
        font-size: 0.9rem;
    }
    
    .dual-banner-sub {
        font-size: 0.75rem;
    }
}

@media (max-width: 380px) {
    .dual-banner-wrap {
        padding: 12px 12px 0;
        gap: 8px;
    }
    
    .dual-banner {
        padding: 10px 12px;
        gap: 10px;
    }
    
    .dual-banner-icon {
        width: 28px;
        height: 28px;
    }
    
    .dual-banner-title {
        font-size: 0.85rem;
    }
}

/* ============================================
   Get Amplified Course Banner (Legacy, can be removed if not used elsewhere)
   ============================================ */
.course-banner-wrap {
    padding: 0 20px 20px;
    max-width: 1100px;
    margin: 0 auto;
}

.course-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 18px 24px;
    background: linear-gradient(90deg, rgba(6, 182, 212, 0.1) 0%, rgba(8, 145, 178, 0.08) 100%);
    border: 1px solid rgba(6, 182, 212, 0.3);
    border-radius: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.course-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
}

.course-banner:hover {
    transform: translateY(-2px);
    border-color: rgba(6, 182, 212, 0.6);
    background: linear-gradient(90deg, rgba(6, 182, 212, 0.15) 0%, rgba(8, 145, 178, 0.12) 100%);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2), 0 0 20px rgba(6, 182, 212, 0.1);
}

.course-banner-content {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1;
}

.course-banner-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.2) 0%, rgba(8, 145, 178, 0.15) 100%);
    color: #06b6d4;
    border-radius: 10px;
    flex-shrink: 0;
}

.course-banner-text {
    flex: 1;
}

.course-banner-title {
    display: block;
    font-size: 1.05rem;
    font-weight: 600;
    color: white;
    margin-bottom: 2px;
}

.course-banner-sub {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.course-banner-cta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #06b6d4;
    white-space: nowrap;
}

.course-banner-arrow {
    transition: transform 0.2s ease;
}

.course-banner:hover .course-banner-arrow {
    transform: translateX(4px);
}

@media (max-width: 768px) {
    .course-banner-wrap {
        padding: 0 16px 16px;
    }
    
    .course-banner {
        padding: 14px 16px;
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .course-banner-content {
        gap: 12px;
    }
    
    .course-banner-icon {
        width: 38px;
        height: 38px;
    }
    
    .course-banner-icon svg {
        width: 18px;
        height: 18px;
    }
    
    .course-banner-title {
        font-size: 0.95rem;
    }
    
    .course-banner-sub {
        font-size: 0.8rem;
    }
    
    .course-banner-cta {
        width: 100%;
        justify-content: flex-end;
        padding-top: 8px;
        border-top: 1px solid rgba(6, 182, 212, 0.1);
    }
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
    text-align: center;
    padding: 50px 20px 40px;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 400px;
    background: radial-gradient(ellipse at center, var(--glow-purple) 0%, transparent 70%);
    opacity: 0.3;
    pointer-events: none;
    z-index: -1;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.hero-tagline {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 30px;
    line-height: 1.7;
}

.hero-links {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
}

.hero-btn-primary {
    background: var(--gradient-primary);
    color: white;
}

.hero-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--glow-purple);
}

.hero-btn-secondary {
    background: var(--card-bg);
    color: var(--text-color);
    border: 1px solid rgba(139, 92, 246, 0.3);
    position: relative;
    animation: consultingGlow 3s ease-in-out infinite;
}

.hero-btn-secondary::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 9px;
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.3), rgba(139, 92, 246, 0.3));
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.hero-btn-secondary:hover {
    background: var(--card-bg-hover);
    border-color: rgba(139, 92, 246, 0.6);
    animation: none;
}

.hero-btn-secondary:hover::before {
    opacity: 1;
}

@keyframes consultingGlow {
    0%, 100% {
        border-color: rgba(139, 92, 246, 0.3);
        box-shadow: 0 0 0 rgba(139, 92, 246, 0);
    }
    50% {
        border-color: rgba(139, 92, 246, 0.5);
        box-shadow: 0 0 15px rgba(139, 92, 246, 0.15);
    }
}

/* ============================================
   Section Titles
   ============================================ */
.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #8b5cf6;
    margin-bottom: 8px;
}

.section-heading {
    font-size: 2rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 12px;
}

.section-description {
    font-size: 1rem;
    color: var(--text-muted);
    max-width: 500px;
    margin: 0 auto;
}

/* ============================================
   Apps Showcase Grid
   ============================================ */
.apps-section {
    padding: 40px 0 60px;
}

.apps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
}

.app-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 28px;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.app-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.app-card:hover {
    transform: translateY(-4px);
    border-color: #4b5563;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.app-card:hover::before {
    opacity: 1;
}

.app-card-header {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 16px;
}

/* Featured card header needs to wrap the banner */
.app-card-featured .app-card-header {
    flex-wrap: wrap;
}

.app-icon {
    width: 64px;
    height: 64px;
    flex-shrink: 0;
    border-radius: 12px;
    background: #1a1a2e;
    padding: 4px;
}

.app-icon img {
    width: 100%;
    height: 100%;
}

.app-info {
    flex: 1;
    min-width: 0;
}

.app-name {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 4px;
}

.app-type {
    font-size: 0.8rem;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.app-description {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 20px;
    flex: 1;
}

.app-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.app-feature {
    font-size: 0.75rem;
    padding: 4px 10px;
    background: rgba(139, 92, 246, 0.1);
    color: #a78bfa;
    border-radius: 20px;
    border: 1px solid rgba(139, 92, 246, 0.2);
}

.app-cta {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
    font-weight: 500;
    color: #06b6d4;
    transition: gap 0.2s ease;
}

.app-card:hover .app-cta {
    gap: 10px;
}

.app-cta-arrow {
    transition: transform 0.2s ease;
}

.app-card:hover .app-cta-arrow {
    transform: translateX(4px);
}

/* External App Card (links to external sites) */
.app-card-external {
    border-color: rgba(255, 215, 0, 0.2);
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.03) 0%, rgba(255, 140, 0, 0.03) 100%);
}

.app-card-external::before {
    background: linear-gradient(135deg, #ffd700 0%, #ff8c00 100%);
}

.app-card-external:hover {
    border-color: rgba(255, 215, 0, 0.5);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 30px rgba(255, 215, 0, 0.1);
}

.app-icon-inline {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.15) 0%, rgba(255, 140, 0, 0.15) 100%);
}

.app-icon-inline svg {
    width: 36px;
    height: 36px;
    color: #ffd700;
}

.external-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: rgba(255, 215, 0, 0.15);
    border-radius: 6px;
    color: #ffd700;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.app-card-external:hover .external-badge {
    opacity: 1;
}

.app-card-external .app-cta {
    color: #ffd700;
}

.app-card-external .app-feature {
    background: rgba(255, 215, 0, 0.1);
    color: #ffd700;
    border-color: rgba(255, 215, 0, 0.2);
}

/* Mobile adjustments for external card */
@media (max-width: 768px) {
    .external-badge {
        top: 8px;
        right: 8px;
        width: 20px;
        height: 20px;
    }
    
    .external-badge svg {
        width: 10px;
        height: 10px;
    }
}

@media (max-width: 380px) {
    .external-badge {
        top: 6px;
        right: 6px;
        width: 16px;
        height: 16px;
    }
    
    .external-badge svg {
        width: 8px;
        height: 8px;
    }
}

/* Status Badges */
.app-status-notice {
    margin-bottom: 12px;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.status-badge.paused {
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
    border: 1px solid rgba(245, 158, 11, 0.2);
}

/* ============================================
   Featured App Card (Auto Scientist)
   ============================================ */
.app-card-featured {
    position: relative;
    border: 2px solid rgba(6, 182, 212, 0.4);
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.05) 0%, rgba(139, 92, 246, 0.05) 100%);
    box-shadow: 0 0 30px rgba(6, 182, 212, 0.2), 0 0 60px rgba(139, 92, 246, 0.1);
    animation: pulseGlow 3s ease-in-out infinite;
}

.app-card-featured::before {
    opacity: 1;
    height: 4px;
    background: var(--gradient-primary);
    box-shadow: 0 0 10px rgba(6, 182, 212, 0.6);
}

.app-card-featured:hover {
    transform: translateY(-6px);
    border-color: rgba(6, 182, 212, 0.8);
    box-shadow: 0 0 40px rgba(6, 182, 212, 0.4), 0 0 80px rgba(139, 92, 246, 0.2), 0 20px 40px rgba(0, 0, 0, 0.4);
}

@keyframes pulseGlow {
    0%, 100% {
        box-shadow: 0 0 30px rgba(6, 182, 212, 0.2), 0 0 60px rgba(139, 92, 246, 0.1);
    }
    50% {
        box-shadow: 0 0 40px rgba(6, 182, 212, 0.3), 0 0 80px rgba(139, 92, 246, 0.15);
    }
}

/* Live Banner - Clean Badge */
.live-banner {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
    padding: 6px 12px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 6px;
    box-shadow: 0 4px 16px rgba(239, 68, 68, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.1) inset;
    white-space: nowrap;
    margin-left: auto;
    flex-shrink: 0;
}

.live-banner::before {
    content: '';
    width: 7px;
    height: 7px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.8);
    animation: liveDot 1.5s ease-in-out infinite;
}

@keyframes liveDot {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
        transform: scale(0.85);
    }
}

.app-card-featured .app-name {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.app-card-featured .app-cta {
    color: #06b6d4;
    font-weight: 600;
}

/* ============================================
   Content Sections (Blog & Patreon)
   ============================================ */
.content-sections {
    display: grid;
    grid-template-columns: 1.2fr 1.8fr;
    gap: 32px;
    padding: 40px 0;
    max-width: 1200px;
    margin: 0 auto;
}

.content-section {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 28px;
}

.content-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-color);
}

.content-section-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

.content-section-icon {
    width: 24px;
    height: 24px;
    opacity: 0.7;
}

.content-section-link {
    font-size: 0.85rem;
    color: #06b6d4;
    text-decoration: none;
    transition: color 0.2s;
}

.content-section-link:hover {
    color: #22d3ee;
}

/* Blog Posts in Content Section */
.blog-posts-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.blog-post-item {
    display: block;
    padding: 12px 16px;
    background: rgba(26, 26, 46, 0.5);
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.blog-post-item:hover {
    background: rgba(26, 26, 46, 0.8);
    border-color: var(--border-color);
}

.blog-post-item-title {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-color);
    margin-bottom: 4px;
    line-height: 1.4;
}

.blog-post-item-meta {
    font-size: 0.8rem;
    color: var(--text-dim);
}

/* Patreon Posts in Content Section */
.patreon-posts-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.patreon-post-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 16px;
    background: rgba(26, 26, 46, 0.5);
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.patreon-post-item:hover {
    background: rgba(26, 26, 46, 0.8);
    border-color: var(--border-color);
}

.patreon-post-item-title {
    font-size: 0.9rem;
    color: var(--text-color);
    flex: 1;
    line-height: 1.4;
}

.patreon-post-item-badge {
    font-size: 0.7rem;
    padding: 3px 8px;
    border-radius: 12px;
    font-weight: 500;
    flex-shrink: 0;
}

.badge-open {
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.badge-paid {
    background: rgba(245, 158, 11, 0.15);
    color: #f59e0b;
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.badge-featured {
    background: rgba(6, 182, 212, 0.15);
    color: #06b6d4;
    border: 1px solid rgba(6, 182, 212, 0.3);
}

.patreon-post-item.featured-post {
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.2);
}

.patreon-post-item.featured-post:hover {
    background: rgba(139, 92, 246, 0.2);
    border-color: rgba(139, 92, 246, 0.4);
}

/* ============================================
   Quick Links Bar
   ============================================ */
.quick-links {
    display: flex;
    justify-content: center;
    gap: 32px;
    padding: 30px 0;
    border-top: 1px solid var(--border-color);
    margin-top: 40px;
}

.quick-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.quick-link:hover {
    color: var(--text-color);
}

.quick-link svg {
    width: 18px;
    height: 18px;
}

/* ============================================
   Responsive Design
   ============================================ */

/* Tablet */
@media (max-width: 900px) {
    .content-sections {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 40px 20px;
    }

    .apps-grid {
        grid-template-columns: 1fr;
        padding: 0 20px;
    }
}

/* Mobile - Complete Redesign for Touch */
@media (max-width: 768px) {
    /* Base mobile resets */
    html, body {
        overflow-x: hidden;
        width: 100%;
        max-width: 100%;
    }

    * {
        max-width: 100%;
    }

    /* Base mobile container */
    .container {
        padding: 0;
        overflow-x: hidden;
        width: 100%;
    }

    /* ===== MOBILE HEADER ===== */
    .site-header {
        position: sticky;
        top: 0;
        z-index: 1000;
    }

    .header-container {
        padding: 12px 16px;
        flex-wrap: wrap;
        gap: 10px;
    }

    .header-left {
        gap: 12px;
    }

    .header-brand {
        font-size: 1.25rem;
    }

    .header-social {
        gap: 8px;
    }

    .header-social-link {
        width: 36px;
        height: 36px;
        border-radius: 10px;
    }

    .header-social-link svg {
        width: 18px;
        height: 18px;
    }

    .header-nav {
        gap: 6px;
    }

    .header-nav-link {
        padding: 10px 14px;
        font-size: 0.85rem;
        border-radius: 10px;
    }

    /* ===== MOBILE HERO ===== */
    .hero {
        padding: 24px 20px 20px;
        text-align: center;
    }

    .hero::before {
        display: none;
    }

    .hero-title {
        font-size: 2rem;
        margin-bottom: 8px;
    }

    .hero-tagline {
        font-size: 0.9rem;
        line-height: 1.5;
        margin-bottom: 20px;
        padding: 0;
        color: var(--text-dim);
    }

    .hero-links {
        flex-direction: row;
        gap: 10px;
        padding: 0;
    }

    .hero-btn {
        flex: 1;
        justify-content: center;
        padding: 12px 16px;
        font-size: 0.85rem;
        border-radius: 10px;
        min-height: 44px;
    }

    .hero-btn svg {
        width: 16px;
        height: 16px;
    }

    /* ===== MOBILE SECTION HEADERS ===== */
    .section-header {
        padding: 0 16px;
        margin-bottom: 16px;
        text-align: left;
    }

    .section-label {
        font-size: 0.7rem;
        margin-bottom: 4px;
    }

    .section-heading {
        font-size: 1.4rem;
        margin-bottom: 4px;
    }

    .section-description {
        font-size: 0.85rem;
        display: none;
    }

    /* ===== MOBILE APPS SECTION ===== */
    .apps-section {
        padding: 24px 0 32px;
    }

    .apps-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        padding: 0 16px;
    }

    /* Mobile App Cards - App Store style */
    .app-card {
        padding: 14px;
        border-radius: 16px;
        /* Remove hover effects on mobile */
        transform: none !important;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .app-card:active {
        background: var(--card-bg-hover);
        transform: scale(0.96) !important;
    }

    .app-card-header {
        flex-direction: column;
        align-items: center;
        gap: 10px;
        margin-bottom: 10px;
    }

    .app-icon {
        width: 56px;
        height: 56px;
        border-radius: 14px;
        flex-shrink: 0;
    }

    .app-info {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .app-name {
        font-size: 0.95rem;
        margin-bottom: 2px;
        line-height: 1.2;
    }

    .app-type {
        font-size: 0.7rem;
    }

    /* Hide description on mobile for cleaner look */
    .app-description {
        display: none;
    }

    /* Hide features on mobile */
    .app-features {
        display: none;
    }

    .app-cta {
        font-size: 0.8rem;
        padding: 8px 16px;
        background: rgba(6, 182, 212, 0.1);
        border-radius: 20px;
        margin-top: auto;
    }

    .app-cta-arrow {
        display: none;
    }

    /* Mobile Featured Card */
    .app-card-featured {
        border-width: 2px;
    }

    .app-card-featured .app-card-header {
        flex-wrap: nowrap;
        position: relative;
    }

    .live-banner {
        position: absolute;
        top: -6px;
        right: -6px;
        padding: 4px 8px;
        font-size: 0.6rem;
        gap: 5px;
        border-radius: 5px;
        margin-left: 0;
    }

    .live-banner::before {
        width: 5px;
        height: 5px;
    }

    /* ===== MOBILE CONTENT SECTIONS ===== */
    .content-sections {
        display: flex;
        flex-direction: column;
        gap: 0;
        padding: 16px 0;
    }

    .content-section {
        padding: 16px;
        border-radius: 0;
        border: none;
        border-bottom: 1px solid var(--border-color);
        background: transparent;
    }

    .content-section:last-child {
        border-bottom: none;
    }

    .content-section-header {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 12px;
        padding-bottom: 0;
        border-bottom: none;
    }

    .content-section-title {
        font-size: 1rem;
        gap: 8px;
    }

    .content-section-icon {
        width: 18px;
        height: 18px;
    }

    .content-section-link {
        font-size: 0.75rem;
        padding: 5px 10px;
        background: rgba(6, 182, 212, 0.15);
        border-radius: 16px;
    }

    /* Mobile Blog Posts - List style */
    .blog-posts-list {
        gap: 0;
    }

    .blog-post-item {
        padding: 12px 0;
        border-radius: 0;
        background: transparent;
        border-bottom: 1px solid rgba(255,255,255,0.05);
    }

    .blog-post-item:last-child {
        border-bottom: none;
    }

    .blog-post-item:active {
        background: rgba(255,255,255,0.02);
    }

    .blog-post-item-title {
        font-size: 0.9rem;
        line-height: 1.4;
        margin-bottom: 2px;
    }

    .blog-post-item-meta {
        font-size: 0.7rem;
    }

    /* Mobile Patreon Posts - List style */
    .patreon-posts-list {
        gap: 0;
    }

    .patreon-post-item {
        padding: 12px 0;
        border-radius: 0;
        background: transparent;
        border-bottom: 1px solid rgba(255,255,255,0.05);
    }

    .patreon-post-item:last-child {
        border-bottom: none;
    }

    .patreon-post-item:active {
        background: rgba(255,255,255,0.02);
    }

    .patreon-post-item-title {
        font-size: 0.85rem;
    }

    .patreon-post-item-badge {
        font-size: 0.6rem;
        padding: 3px 6px;
    }

    /* ===== MOBILE QUICK LINKS ===== */
    .quick-links {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 12px;
        padding: 24px 16px;
        margin-top: 0;
        border-top: 1px solid var(--border-color);
    }

    .quick-link {
        flex-direction: column;
        gap: 8px;
        padding: 16px 12px;
        background: var(--card-bg);
        border-radius: 12px;
        text-align: center;
        font-size: 0.8rem;
        min-height: 72px;
        justify-content: center;
    }

    .quick-link:active {
        background: var(--card-bg-hover);
    }

    .quick-link svg {
        width: 22px;
        height: 22px;
    }
}

/* Small Mobile (iPhone SE, etc.) */
@media (max-width: 380px) {
    .header-container {
        padding: 8px 12px;
    }

    .header-left {
        gap: 8px;
    }

    .header-brand {
        font-size: 1rem;
    }

    .header-social-link {
        width: 30px;
        height: 30px;
    }

    .header-social-link svg {
        width: 14px;
        height: 14px;
    }

    .header-nav-link {
        padding: 8px 10px;
        font-size: 0.75rem;
    }

    .hero {
        padding: 20px 12px 16px;
    }

    .hero-title {
        font-size: 1.75rem;
    }

    .hero-tagline {
        font-size: 0.85rem;
        margin-bottom: 16px;
    }

    .hero-links {
        gap: 8px;
    }

    .hero-btn {
        padding: 10px 12px;
        font-size: 0.8rem;
        min-height: 40px;
    }

    .hero-btn svg {
        width: 14px;
        height: 14px;
    }

    .section-header {
        padding: 0 12px;
        margin-bottom: 12px;
    }

    .section-label {
        font-size: 0.65rem;
    }

    .section-heading {
        font-size: 1.2rem;
    }

    .apps-section {
        padding: 16px 0 24px;
    }

    .apps-grid {
        padding: 0 10px;
        gap: 8px;
    }

    .app-card {
        padding: 10px;
        border-radius: 12px;
    }

    .app-card-header {
        gap: 8px;
        margin-bottom: 8px;
    }

    .app-icon {
        width: 44px;
        height: 44px;
        border-radius: 10px;
    }

    .app-name {
        font-size: 0.8rem;
    }

    .app-type {
        font-size: 0.6rem;
    }

    .app-cta {
        font-size: 0.7rem;
        padding: 5px 10px;
    }

    .content-section {
        padding: 12px;
    }

    .content-section-title {
        font-size: 0.9rem;
    }

    .quick-links {
        padding: 16px 10px;
        gap: 8px;
    }

    .quick-link {
        padding: 12px 8px;
        font-size: 0.7rem;
        min-height: 56px;
    }

    .quick-link svg {
        width: 18px;
        height: 18px;
    }

    /* Small Mobile Featured Card */
    .live-banner {
        top: -4px;
        right: -4px;
        padding: 3px 6px;
        font-size: 0.5rem;
        gap: 4px;
        border-radius: 4px;
    }

    .live-banner::before {
        width: 4px;
        height: 4px;
    }
}

/* ============================================
   Minimal Email Subscription Bar
   ============================================ */
.subscribe-bar-section {
    max-width: 1100px;
    margin: 0 auto 32px;
    padding: 0 20px;
}

.subscribe-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 16px 24px;
    background: rgba(139, 92, 246, 0.05);
    border: 1px solid rgba(139, 92, 246, 0.15);
    border-radius: 14px;
    position: relative;
}

.subscribe-bar-text {
    display: flex;
    align-items: center;
    gap: 12px;
}

.subscribe-bar-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: white;
    margin: 0;
    white-space: nowrap;
}

.subscribe-bar-description {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 0;
    white-space: nowrap;
}

.subscribe-bar-form {
    flex: 1;
    max-width: 400px;
}

.subscribe-bar-input-wrap {
    display: flex;
    gap: 8px;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 4px;
}

.subscribe-bar-input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 8px 12px;
    color: white;
    font-size: 0.9rem;
    outline: none;
}

.subscribe-bar-input::placeholder {
    color: var(--text-dim);
}

.subscribe-bar-btn {
    background: var(--gradient-primary);
    border: none;
    border-radius: 7px;
    color: white;
    padding: 0 16px;
    height: 34px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s;
}

.subscribe-bar-btn:hover:not(:disabled) {
    opacity: 0.9;
    transform: translateY(-1px);
}

.subscribe-bar-message {
    position: absolute;
    bottom: -22px;
    left: 24px;
    font-size: 0.75rem;
    margin: 0;
}

.subscribe-success { color: #10b981; }
.subscribe-error { color: #ef4444; }

@media (max-width: 768px) {
    .subscribe-bar {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
        text-align: center;
    }
    
    .subscribe-bar-text {
        flex-direction: column;
        gap: 4px;
    }
    
    .subscribe-bar-form {
        max-width: 100%;
    }
    
    .subscribe-bar-message {
        position: static;
        margin-top: 4px;
    }
}

/* ============================================
   Animation Utilities
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-in {
    animation: fadeInUp 0.5s ease forwards;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
.delay-5 { animation-delay: 0.5s; }
.delay-6 { animation-delay: 0.6s; }
