/* MTGB Page Styles - The Monitor That Goes Bing */
:root {
    --bg-primary: #0a0a0f;
    --bg-secondary: #12121a;
    --bg-card: #1a1a25;
    --bg-card-hover: #22222f;
    --text-primary: #f0f0f5;
    --text-secondary: #a0a0b0;
    --text-muted: #6b6b7b;
    --accent-blue: #3b82f6;
    --accent-cyan: #06b6d4;
    --accent-amber: #f59e0b;
    --accent-green: #10b981;
    --accent-purple: #8b5cf6;
    --accent-red: #ef4444;
    --border-subtle: rgba(255, 255, 255, 0.08);
    --border-bright: rgba(255, 255, 255, 0.15);
    --gradient-main: linear-gradient(135deg, var(--accent-blue), var(--accent-cyan));
    --gradient-bing: linear-gradient(135deg, var(--accent-amber), #f97316);
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    min-height: 100vh;
    position: relative;
}

/* Animated Background */
.background-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(245, 158, 11, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(245, 158, 11, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

.neural-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.6;
}

/* Floating Particles */
.particles {
    position: absolute;
    width: 100%;
    height: 100%;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    animation: float 15s infinite ease-in-out;
}

.particle:nth-child(odd) {
    background: var(--accent-amber);
    box-shadow: 0 0 10px rgba(245, 158, 11, 0.5);
}

.particle:nth-child(even) {
    background: var(--accent-orange);
    box-shadow: 0 0 10px rgba(249, 115, 22, 0.5);
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) translateX(0) scale(1);
        opacity: 0.3;
    }
    25% {
        transform: translateY(-100px) translateX(50px) scale(1.2);
        opacity: 0.8;
    }
    50% {
        transform: translateY(-200px) translateX(-30px) scale(0.8);
        opacity: 0.5;
    }
    75% {
        transform: translateY(-100px) translateX(-50px) scale(1.1);
        opacity: 0.6;
    }
}

/* Navigation */
.mtgb-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background: rgba(10, 10, 15, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-subtle);
    z-index: 100;
}

.back-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.back-link:hover {
    color: var(--accent-blue);
}

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

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

.github-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
    border: 1px solid var(--border-subtle);
    border-radius: 6px;
    transition: all 0.3s;
}

.github-link:hover {
    color: var(--text-primary);
    border-color: var(--accent-blue);
}

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

/* Hero Section */
.hero-section {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    padding: 8rem 4rem 4rem;
    max-width: 1400px;
    margin: 0 auto;
}

@media (max-width: 1024px) {
    .hero-section {
        grid-template-columns: 1fr;
        padding: 6rem 2rem 4rem;
        text-align: center;
    }
}

.hero-content {
    max-width: 600px;
}

@media (max-width: 1024px) {
    .hero-content {
        margin: 0 auto;
    }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.3);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    color: var(--accent-amber);
    margin-bottom: 1.5rem;
}

.hero-title {
    margin-bottom: 1rem;
}

.title-accent {
    display: block;
    font-family: 'JetBrains Mono', monospace;
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 700;
    background: var(--gradient-bing);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.hero-tagline {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-body {
    margin-bottom: 2rem;
}

.hero-body p {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.7;
}

.hero-body-highlight {
    font-size: 1.1rem;
    color: var(--text-primary);
    font-weight: 500;
}

.hero-body-highlight em {
    color: var(--accent-amber);
    font-style: italic;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

@media (max-width: 1024px) {
    .hero-actions {
        justify-content: center;
    }
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--gradient-bing);
    color: white;
    text-decoration: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(245, 158, 11, 0.3);
}

.btn-primary svg {
    width: 20px;
    height: 20px;
}

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

/* Hero Visual - Notifications */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.notification-preview {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    width: 100%;
    max-width: 380px;
}

.notif-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 10px;
    padding: 1rem;
    animation: slideIn 0.5s ease-out;
    animation-fill-mode: both;
}

.notif-card:nth-child(1) { animation-delay: 0.2s; }
.notif-card:nth-child(2) { animation-delay: 0.4s; }
.notif-card:nth-child(3) { animation-delay: 0.6s; }

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.notif-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.notif-icon.warning {
    filter: none;
}

.notif-icon.error {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.notif-content {
    flex: 1;
}

.notif-title {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.notif-text {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.notif-time {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
}

/* Section Styles */
section {
    position: relative;
    z-index: 1;
    padding: 6rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

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

.section-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.8rem;
    color: var(--accent-amber);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 0.75rem;
    line-height: 1.2;
}

.section-subheader {
    font-size: 1.1rem;
    color: var(--text-secondary);
    font-style: italic;
}

/* Features Section */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 1.5rem;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.3s;
}

.feature-card:hover {
    border-color: var(--accent-amber);
    transform: translateY(-5px);
}

.feature-card.free {
    border-color: rgba(16, 185, 129, 0.3);
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.05) 0%, var(--bg-card) 100%);
}

.feature-card.free:hover {
    border-color: var(--accent-green);
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(6, 182, 212, 0.2));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.feature-icon.bing {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.2), rgba(249, 115, 22, 0.2));
}

.feature-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--accent-blue);
}

.feature-icon.bing svg {
    stroke: var(--accent-amber);
}

.feature-card.free .feature-icon {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(6, 182, 212, 0.2));
}

.feature-card.free .feature-icon svg {
    stroke: var(--accent-green);
}

.feature-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.25rem;
    color: var(--text-primary);
}

.feature-lead {
    font-size: 0.8rem;
    color: var(--accent-amber);
    font-weight: 500;
    margin-bottom: 0.75rem;
}

.feature-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.feature-card p em {
    color: var(--text-primary);
    font-style: italic;
}

/* How It Works Section */
.how-section {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.05) 0%, transparent 100%);
    border-radius: 20px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.steps-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.step-card {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.3s;
}

.step-card:hover {
    border-color: var(--accent-amber);
}

@media (max-width: 600px) {
    .step-card {
        flex-direction: column;
        gap: 1rem;
    }
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--gradient-bing);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.step-content h3 {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.step-content p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.step-content p em {
    color: var(--text-primary);
    font-style: italic;
}

.step-content strong {
    color: var(--accent-amber);
}

/* Origin Story Section */
.origin-section {
    max-width: 900px;
}

.origin-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.origin-intro p {
    font-size: 1.3rem;
    color: var(--text-primary);
    font-weight: 500;
}

.origin-story p {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.origin-story p em {
    color: var(--accent-amber);
    font-style: italic;
}

.origin-quote {
    background: var(--bg-card);
    border-left: 4px solid var(--accent-amber);
    padding: 2rem;
    border-radius: 0 12px 12px 0;
    margin: 1rem 0;
}

.origin-quote blockquote {
    font-style: italic;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.8;
}

.origin-aftermath p {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.8;
}

.origin-aftermath strong {
    color: var(--accent-amber);
}

.origin-footer {
    text-align: center;
    padding: 2rem;
    background: rgba(245, 158, 11, 0.1);
    border-radius: 12px;
    border: 1px dashed rgba(245, 158, 11, 0.3);
}

.origin-footer p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.origin-footer p:last-child {
    margin-bottom: 0;
}

/* Community Section */
.community-section {
    text-align: center;
}

.community-intro {
    max-width: 800px;
    margin: 0 auto 3rem;
}

.community-intro p {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.community-intro p em {
    color: var(--text-primary);
    font-style: italic;
}

.community-ctas {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.community-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s;
}

.community-btn svg {
    width: 20px;
    height: 20px;
}

.community-btn.primary {
    background: var(--bg-card);
    border: 1px solid var(--border-bright);
    color: var(--text-primary);
}

.community-btn.primary:hover {
    border-color: var(--accent-blue);
    background: var(--bg-card-hover);
}

.community-btn.secondary {
    background: #5865F2;
    color: white;
}

.community-btn.secondary:hover {
    background: #4752C4;
    transform: translateY(-2px);
}

.translator-note {
    max-width: 700px;
    margin: 0 auto;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    padding: 2rem;
    text-align: left;
}

.translator-note h4 {
    font-size: 1rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.translator-note p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.translator-note strong {
    color: var(--accent-amber);
}

.translator-note em {
    color: var(--text-primary);
    font-style: italic;
}

/* Footer */
.mtgb-footer {
    position: relative;
    z-index: 1;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-subtle);
    padding: 4rem 2rem;
    margin-top: 4rem;
    text-align: center;
}

.footer-tagline {
    max-width: 600px;
    margin: 0 auto 2rem;
}

.footer-tagline h3 {
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.5rem;
    color: var(--accent-amber);
    margin-bottom: 1rem;
}

.footer-never {
    font-size: 1.1rem;
    color: var(--text-primary);
    font-weight: 500;
    margin-bottom: 1rem;
}

.footer-meta {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.footer-ministry {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.footer-scribe {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-style: italic;
    margin-bottom: 0.5rem;
}

.footer-llamas {
    font-size: 0.8rem;
    color: rgba(107, 107, 123, 0.5);
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    padding-top: 2rem;
    border-top: 1px solid var(--border-subtle);
    max-width: 600px;
    margin: 0 auto;
}

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

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

/* Screenshots Section */
.screenshots-section {
    padding: 6rem 2rem;
    background: linear-gradient(to bottom, transparent, rgba(245, 158, 11, 0.02), transparent);
}

.screenshots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.screenshot-card {
    background: rgba(18, 18, 26, 0.8);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border-subtle);
    transition: all 0.3s ease;
}

.screenshot-card:hover {
    transform: translateY(-8px);
    border-color: rgba(245, 158, 11, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 30px rgba(245, 158, 11, 0.1);
}

.screenshot-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 1px solid var(--border-subtle);
    transition: transform 0.3s ease;
}

.screenshot-card:hover .screenshot-img {
    transform: scale(1.05);
}

.screenshot-caption {
    padding: 1.5rem;
}

.screenshot-caption h4 {
    font-family: 'JetBrains Mono', monospace;
    font-size: 1rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.screenshot-caption p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Responsive */
@media (max-width: 768px) {
    .mtgb-nav {
        padding: 1rem;
    }
    
    .hero-section {
        padding-top: 5rem;
    }
    
    .notification-preview {
        margin-top: 2rem;
    }
    
    section {
        padding: 4rem 1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .step-card {
        padding: 1.5rem;
    }
    
    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .community-ctas {
        flex-direction: column;
        align-items: center;
    }
    
    .community-btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}