:root {
    --main-bg-color: #0a0a0a;
    --secondary-bg-color: #141414;
    --card-bg: #1a1a1a;
    --accent-color: #ef5350;
    --accent-glow: rgba(239, 83, 80, 0.4);
    --text-primary: rgba(255, 255, 255, 0.95);
    --text-secondary: rgba(255, 255, 255, 0.75);
    --text-muted: rgba(255, 255, 255, 0.6);
    --border-color: rgba(255, 255, 255, 0.1);
    --gradient-dark: linear-gradient(135deg, #121212 0%, #0a0a0a 100%);
    --gradient-accent: linear-gradient(135deg, #ef5350 0%, #ff7875 100%);
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.2);
    --shadow-md: 0 5px 15px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.5);
    --shadow-accent: 0 5px 20px rgba(239, 83, 80, 0.3);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Inter', -apple-system, system-ui, sans-serif;
    background-color: var(--main-bg-color);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
    font-family: 'Syncopate', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
}

h1 {
    font-size: 3.5rem;
    line-height: 1.2;
}

h2 {
    font-size: 2.5rem;
    position: relative;
    display: inline-block;
    margin-bottom: 3rem;
}

h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 0;
    width: 50%;
    height: 4px;
    background: var(--gradient-accent);
    border-radius: 2px;
}

.section-title {
    text-align: center;
}

.section-title h2::after {
    left: 25%;
}

h3 {
    font-size: 1.75rem;
}

p {
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
}

a {
    color: var(--text-primary);
    text-decoration: none;
    transition: var(--transition);
}

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

.container {
    width: 90%;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 30px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-accent);
    z-index: -1;
    transition: var(--transition);
}

.btn-primary {
    color: #fff;
    border: none;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-accent);
}

.btn-outline {
    color: var(--text-primary);
    background: transparent;
    border: 1px solid var(--border-color);
}

.btn-outline::before {
    opacity: 0;
}

.btn-outline:hover {
    color: #fff;
    border-color: var(--accent-color);
}

.btn-outline:hover::before {
    opacity: 1;
}

/* Header & Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    backdrop-filter: blur(10px);
    background-color: rgba(10, 10, 10, 0.8);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.header.scrolled {
    background-color: rgba(10, 10, 10, 0.95);
    box-shadow: var(--shadow-md);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    transition: var(--transition);
}

.header.scrolled .navbar {
    padding: 15px 0;
}

.navbar-brand {
    font-family: 'Syncopate', sans-serif;
    font-size: 1.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-primary);
    position: relative;
    padding-left: 15px;
}

.navbar-brand::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 4px;
    background: var(--gradient-accent);
    border-radius: 2px;
}

.navbar-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.navbar-menu li a {
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    padding: 5px 0;
}

.navbar-menu li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: var(--transition);
}

.navbar-menu li a:hover::after {
    width: 100%;
}

.navbar-cta {
    margin-left: 20px;
}

.mobile-toggle {
    display: none;
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    position: relative;
    background: var(--main-bg-color);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://images.unsplash.com/photo-1542751371-adc38448a05e?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80');
    background-size: cover;
    background-position: center;
    opacity: 0.3;
    z-index: 0;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(10, 10, 10, 0.5) 0%, rgba(10, 10, 10, 0.9) 80%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 0 20px;
}

.hero-badge {
    display: inline-block;
    background-color: rgba(239, 83, 80, 0.2);
    color: var(--accent-color);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 8px 16px;
    border-radius: 50px;
    margin-bottom: 2rem;
}

.hero-title {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    font-weight: 400;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 2rem;
}

.hero-mouse {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    opacity: 0.6;
    transition: var(--transition);
}

.hero-mouse:hover {
    opacity: 1;
}

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid var(--text-secondary);
    border-radius: 20px;
    display: flex;
    justify-content: center;
    padding-top: 10px;
}

.mouse-wheel {
    width: 4px;
    height: 8px;
    background-color: var(--text-secondary);
    border-radius: 2px;
    animation: mouse-wheel 1.5s infinite;
}

@keyframes mouse-wheel {
    0% {
        transform: translateY(0);
        opacity: 1;
    }
    100% {
        transform: translateY(15px);
        opacity: 0;
    }
}

/* About Section */
.about {
    padding: 120px 0;
    background-color: var(--secondary-bg-color);
    position: relative;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-content h2 {
    text-align: left;
    margin-bottom: 2rem;
}

.about-text {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 3rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
    position: relative;
    display: inline-block;
}

.stat-number::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    width: 40px;
    height: 40px;
    background-color: rgba(239, 83, 80, 0.1);
    border-radius: 50%;
    z-index: -1;
}

.stat-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-secondary);
    font-weight: 600;
}

.about-image {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
}

.about-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(239, 83, 80, 0.2), transparent);
    z-index: 1;
}

/* Features Section */
.features {
    padding: 120px 0;
    background-color: var(--main-bg-color);
    position: relative;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.feature-card {
    background: var(--card-bg);
    border-radius: 10px;
    padding: 40px 30px;
    transition: var(--transition);
    position: relative;
    z-index: 1;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-accent);
    z-index: 1;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent-color);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background-color: rgba(239, 83, 80, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

.feature-icon i {
    font-size: 32px;
    color: var(--accent-color);
}

.feature-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

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

/* Showcase Section */
.showcase {
    padding: 120px 0;
    background-color: var(--secondary-bg-color);
    position: relative;
}

.showcase-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
}

.tab-btn {
    padding: 12px 25px;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: transparent;
    border: none;
    cursor: pointer;
    color: var(--text-muted);
    position: relative;
    transition: var(--transition);
}

.tab-btn::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background-color: var(--accent-color);
    transition: var(--transition);
}

.tab-btn.active {
    color: var(--text-primary);
}

.tab-btn.active::after {
    width: 30px;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.showcase-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: var(--shadow-lg);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Platforms Section */
.platforms {
    padding: 120px 0;
    background-color: var(--main-bg-color);
    position: relative;
}

.platforms-title {
    text-align: center;
    margin-bottom: 60px;
}

.platforms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    justify-items: center;
}

.platform-card {
    width: 100%;
    max-width: 250px;
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.platform-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent-color);
}

.platform-logo {
    width: 100%;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.platform-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.platform-name {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.platform-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* FAQ Section */
.faq {
    padding: 120px 0;
    background-color: var(--secondary-bg-color);
    position: relative;
}

.faq-list {
    max-width: 800px;
    margin: 60px auto 0;
}

.faq-item {
    margin-bottom: 20px;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    overflow: hidden;
    background-color: var(--card-bg);
}

.faq-question {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    background-color: var(--main-bg-color);
    transition: var(--transition);
}

.faq-question h3 {
    font-size: 1.1rem;
    margin: 0;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
}

.faq-question i {
    color: var(--accent-color);
    font-size: 1.2rem;
    transition: var(--transition);
}

.faq-item.active .faq-question {
    border-bottom: 1px solid var(--border-color);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
}

.faq-item.active .faq-answer {
    padding: 20px;
    max-height: 1200px;
}

/* CTA Section */
.cta {
    padding: 100px 0;
    background-color: var(--main-bg-color);
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://images.unsplash.com/photo-1550745165-9bc0b252726f?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80');
    background-size: cover;
    background-position: center;
    opacity: 0.2;
    z-index: 0;
}

.cta::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(10, 10, 10, 0.9), rgba(20, 20, 20, 0.7));
    z-index: 1;
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.cta-title {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.cta-text {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
}

/* Footer */
.footer {
    background-color: #080808;
    padding: 80px 0 40px;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-brand {
    margin-bottom: 20px;
}

.footer-brand a {
    font-family: 'Syncopate', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
}

.footer-text {
    margin-bottom: 25px;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    transition: var(--transition);
}

.social-link:hover {
    background-color: var(--accent-color);
    color: #fff;
    transform: translateY(-3px);
}

.footer-title {
    font-size: 1.2rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
    text-transform: uppercase;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 3px;
    background-color: var(--accent-color);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-secondary);
    transition: var(--transition);
    position: relative;
    padding-left: 15px;
}

.footer-links a::before {
    content: '→';
    position: absolute;
    left: 0;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--accent-color);
    padding-left: 20px;
}

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

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.copyright {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
}

.footer-bottom-links a {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

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

/* Additional Styling */
.accent-text {
    color: var(--accent-color);
}

.section-divider {
    height: 4px;
    width: 100px;
    background: var(--gradient-accent);
    margin: 0 auto 40px;
    border-radius: 2px;
}

.text-center {
    text-align: center;
}

/* Responsive Styles */
@media (max-width: 1200px) {
    h1, .hero-title {
        font-size: 3.5rem;
    }
    
    h2 {
        font-size: 2.2rem;
    }
}

@media (max-width: 992px) {
    .navbar-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 400px;
        height: 100vh;
        background-color: var(--secondary-bg-color);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 30px;
        transition: var(--transition);
        z-index: 101;
        box-shadow: var(--shadow-lg);
    }
    
    .navbar-menu.active {
        right: 0;
    }
    
    .navbar-menu li a {
        font-size: 1.1rem;
    }
    
    .mobile-toggle {
        display: block;
        z-index: 102;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    h1, .hero-title {
        font-size: 3rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .hero {
        min-height: 600px;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
        width: 100%;
        max-width: 300px;
        margin: 2rem auto 0;
    }
    
    .features-grid, .showcase-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-top {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

@media (max-width: 576px) {
    h1, .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .platforms-grid {
        grid-template-columns: 1fr;
    }
}

/* ---------- SEO / multi-page additions ---------- */
.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 200;
    background: var(--accent-color);
    color: #fff;
    padding: 10px 16px;
}

.skip-link:focus {
    left: 10px;
    top: 10px;
}

.hero-kicker {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: 0.25em;
    color: var(--text-secondary);
    margin-bottom: 1.25rem;
}

.lang-switch {
    display: flex;
    gap: 6px;
    align-items: center;
}

.navbar-menu li.lang-switch a {
    font-size: 0.75rem;
    padding: 4px 8px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    color: var(--text-muted);
}

.navbar-menu li.lang-switch a::after {
    display: none;
}

.navbar-menu li.lang-switch a[aria-current="true"] {
    color: #fff;
    border-color: var(--accent-color);
    background: rgba(239, 83, 80, 0.15);
}

/* Sub-page hero */
.page-hero {
    position: relative;
    padding: 170px 0 90px;
    background: var(--gradient-dark);
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 80% 20%, rgba(239, 83, 80, 0.18), transparent 55%);
    z-index: 0;
}

.page-hero .container {
    position: relative;
    z-index: 1;
}

.page-hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}

.page-hero h1 {
    font-size: 2.6rem;
    line-height: 1.2;
}

.page-hero .lead {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 640px;
}

.breadcrumb {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.breadcrumb li + li::before {
    content: '/';
    margin-right: 8px;
    color: var(--text-muted);
}

.breadcrumb a {
    color: var(--text-secondary);
}

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

.badge-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 1.5rem 0 2rem;
}

.badge {
    font-size: 0.8rem;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
}

.badge i {
    color: var(--accent-color);
    margin-right: 6px;
}

/* Generic content sections */
.section {
    padding: 100px 0;
    background-color: var(--main-bg-color);
}

.section.alt {
    background-color: var(--secondary-bg-color);
}

.prose {
    max-width: 820px;
    margin: 0 auto;
}

.prose h2 {
    font-size: 2rem;
}

.prose h3 {
    font-size: 1.15rem;
    font-family: 'Inter', sans-serif;
    text-transform: none;
    letter-spacing: 0;
    margin: 2rem 0 0.75rem;
}

.prose p,
.prose li {
    font-size: 1.05rem;
    color: var(--text-secondary);
}

.prose ul,
.prose ol {
    margin: 0 0 1.5rem 1.25rem;
}

.prose li {
    margin-bottom: 0.6rem;
}

.prose strong {
    color: var(--text-primary);
}

.prose a {
    color: var(--accent-color);
}

.prose a:hover {
    text-decoration: underline;
}

.callout {
    border-left: 4px solid var(--accent-color);
    background: var(--card-bg);
    padding: 20px 24px;
    border-radius: 0 10px 10px 0;
    margin: 2rem 0;
}

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

/* Key facts + comparison tables */
.facts,
.compare {
    width: 100%;
    border-collapse: collapse;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    overflow: hidden;
    font-size: 0.95rem;
}

.facts {
    margin: 0 0 1.5rem;
}

.facts th,
.facts td,
.compare th,
.compare td {
    padding: 12px 16px;
    text-align: left;
    vertical-align: top;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-secondary);
}

.facts tr:last-child th,
.facts tr:last-child td,
.compare tbody tr:last-child th,
.compare tbody tr:last-child td {
    border-bottom: 0;
}

.facts th,
.compare tbody th {
    width: 30%;
    font-weight: 600;
    color: var(--text-primary);
}

.facts a {
    color: var(--accent-color);
}

.table-wrap {
    overflow-x: auto;
    margin-top: 40px;
    border-radius: 10px;
}

.compare {
    min-width: 720px;
}

.compare tbody th {
    width: 18%;
}

.compare thead th {
    color: var(--text-primary);
    font-weight: 700;
    background: rgba(255, 255, 255, 0.04);
}

/* Blackout's column */
.compare thead th:nth-child(2),
.compare tbody td:nth-child(2) {
    background: rgba(239, 83, 80, 0.08);
    color: var(--text-primary);
}

.compare thead th:nth-child(2) {
    color: var(--accent-color);
}

@media (max-width: 576px) {
    .facts th,
    .facts td {
        display: block;
        width: auto;
    }

    .facts th {
        padding-bottom: 0;
        border-bottom: 0;
    }
}

/* Steps */
.prose ol.steps {
    counter-reset: step;
    list-style: none;
    margin: 0 0 1.5rem;
    display: grid;
    gap: 16px;
}

.prose ol.steps li {
    counter-increment: step;
    position: relative;
    padding: 18px 20px 18px 70px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    margin: 0;
}

.prose ol.steps li::before {
    content: counter(step);
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--gradient-accent);
    color: #fff;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Server cards */
.servers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
    margin-top: 60px;
}

.server-card {
    display: flex;
    flex-direction: column;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 28px 24px;
    transition: var(--transition);
    color: var(--text-primary);
}

a.server-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent-color);
    box-shadow: var(--shadow-md);
    color: var(--text-primary);
}

.server-card .server-icon {
    width: 54px;
    height: 54px;
    border-radius: 10px;
    background: rgba(239, 83, 80, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}

.server-card .server-icon i {
    font-size: 24px;
    color: var(--accent-color);
}

.server-card h3 {
    font-family: 'Inter', sans-serif;
    font-size: 1.15rem;
    text-transform: none;
    letter-spacing: 0;
    margin-bottom: 8px;
}

.server-card p {
    font-size: 0.92rem;
    margin-bottom: 1rem;
    flex: 1;
}

.server-card .more {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent-color);
}

/* Screenshots */
.shot {
    margin: 0;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-lg);
    background: var(--card-bg);
}

.shot img {
    display: block;
    width: 100%;
    height: auto;
}

.shot figcaption {
    padding: 12px 16px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Compact feature cards on landing pages */
.feature-list-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.feature-list-grid .feature-card {
    padding: 28px 24px;
}

.feature-list-grid .feature-title {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    text-transform: none;
    letter-spacing: 0;
}

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

section.bg-main {
    background-color: var(--main-bg-color);
}

section.bg-alt {
    background-color: var(--secondary-bg-color);
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.footer-title {
    color: var(--text-primary);
}

.page-hero h1,
.compact-titles .section-title h2 {
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    text-transform: none;
    letter-spacing: -0.01em;
}

.compact-titles .section-title h2 {
    font-size: 2.2rem;
}

.prose h2 {
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    text-transform: none;
    letter-spacing: -0.01em;
}

.page-hero .hero-buttons {
    justify-content: flex-start;
    margin: 0 0 1.5rem;
}

/* Screenshot gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.gallery-grid .shot a,
.page-hero .shot a {
    display: block;
}

.gallery-grid .shot img {
    transition: var(--transition);
}

.gallery-grid .shot a:hover img {
    opacity: 0.85;
}

/* YouTube facade: thumbnail until clicked */
.yt-lite {
    display: block;
    background: #000;
    cursor: pointer;
}

.yt-lite img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.85;
    transition: var(--transition);
}

.yt-lite:hover img {
    opacity: 1;
}

.yt-play {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 68px;
    height: 68px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: var(--gradient-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.4rem;
    box-shadow: var(--shadow-accent);
}

@media (max-width: 1200px) {
    .navbar-menu {
        gap: 22px;
    }
}

@media (max-width: 992px) {
    .page-hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .page-hero {
        padding: 130px 0 60px;
    }

    .page-hero h1 {
        font-size: 1.9rem;
    }

    .section {
        padding: 70px 0;
    }

    .prose h2 {
        font-size: 1.6rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }
}

/* ---------- Layout fixes: long words, header and hero on small screens ---------- */
h1,
h2,
h3 {
    overflow-wrap: break-word;
    hyphens: auto;
}

.features-grid .feature-title {
    font-size: 1.25rem;
}

@media (max-width: 992px) {
    .navbar-cta {
        margin-left: auto;
    }

    .mobile-toggle {
        order: 3;
        margin-left: 14px;
    }
}

@media (max-width: 768px) {
    .hero {
        height: auto;
        min-height: 100vh;
        padding: 130px 0 90px;
    }

    .hero-mouse {
        display: none;
    }
}

@media (max-width: 576px) {
    .navbar-brand {
        font-size: 1.2rem;
        padding-left: 12px;
    }

    .navbar-cta .btn {
        white-space: nowrap;
        padding: 9px 14px;
        font-size: 0.72rem;
        letter-spacing: 0.5px;
    }

    h2,
    .compact-titles .section-title h2,
    .prose h2 {
        font-size: 1.6rem;
    }

    .section-title p {
        font-size: 1rem;
    }

    .hero-kicker {
        font-size: 0.85rem;
        letter-spacing: 0.15em;
    }

    .hero-badge {
        font-size: 0.7rem;
    }

    .cta-title {
        font-size: 2rem;
    }
}

/* ---------- v5.0 highlights ---------- */
a.hero-badge:hover {
    color: #fff;
    background-color: rgba(239, 83, 80, 0.35);
}

.highlight-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
    margin-top: 50px;
}

.highlight-card {
    display: flex;
    flex-direction: column;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    overflow: hidden;
    transition: var(--transition);
}

.highlight-card:hover {
    transform: translateY(-6px);
    border-color: var(--accent-color);
    box-shadow: var(--shadow-md);
}

/* crop sidebar (200px) and header rows (110px) of the 1280x900 menu shots */
.highlight-img {
    display: block;
    aspect-ratio: 1080 / 790;
    overflow: hidden;
    border-bottom: 1px solid var(--border-color);
}

.highlight-img img {
    display: block;
    width: 118.52%;      /* 1280 / 1080 */
    max-width: none;
    height: auto;
    margin: -10.19% 0 0 -18.52%; /* 110px header, 200px sidebar */
}

.highlight-body {
    padding: 20px 22px 24px;
}

.highlight-body h3 {
    font-family: 'Inter', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    text-transform: none;
    letter-spacing: 0;
    margin: 12px 0 8px;
}

.highlight-body p {
    font-size: 0.93rem;
    margin: 0;
}

.new-badge,
.tag-badge {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 3px 9px;
    border-radius: 50px;
}

.new-badge {
    color: #fff;
    background: var(--gradient-accent);
}

.tag-badge {
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
}

.section-more {
    text-align: center;
    margin: 40px 0 0;
}

.new-callout {
    margin-top: 40px;
}

.callout a {
    color: var(--accent-color);
    font-weight: 600;
}

/* ---------- Screenshot lightbox ---------- */
a.lightbox {
    cursor: zoom-in;
}

body.lightbox-open {
    overflow: hidden;
}

.lightbox-overlay {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 80px;
    background: rgba(5, 5, 5, 0.92);
    backdrop-filter: blur(4px);
    animation: lightbox-in 0.2s ease;
}

.lightbox-overlay[hidden],
.lightbox-overlay button[hidden] {
    display: none;
}

.lightbox-figure {
    margin: 0;
    max-width: 100%;
    max-height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lightbox-img {
    display: block;
    width: auto;
    height: auto;
    max-width: min(1280px, 100%);
    max-height: calc(100vh - 160px);
    border-radius: 8px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-lg);
}

.lightbox-caption {
    margin-top: 14px;
    color: var(--text-secondary);
    font-size: 0.95rem;
    text-align: center;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: absolute;
    z-index: 1;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover,
.lightbox-close:focus-visible,
.lightbox-prev:focus-visible,
.lightbox-next:focus-visible {
    background: var(--accent-color);
    border-color: var(--accent-color);
    outline: none;
}

.lightbox-close {
    top: 16px;
    right: 16px;
}

.lightbox-prev {
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-next {
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
}

@keyframes lightbox-in {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@media (max-width: 768px) {
    .lightbox-overlay {
        padding: 70px 12px 84px;
    }

    .lightbox-img {
        max-height: calc(100vh - 200px);
    }

    .lightbox-prev,
    .lightbox-next {
        top: auto;
        bottom: 18px;
        transform: none;
    }

    .lightbox-prev {
        left: calc(50% - 58px);
    }

    .lightbox-next {
        right: calc(50% - 58px);
    }
}
