.nav-shell {
    border-bottom: 1px solid rgba(218, 64, 64, 0.16);
    background: rgba(5, 5, 8, 0.82);
    backdrop-filter: blur(14px);
    box-shadow: 0 12px 60px rgba(5, 5, 10, 0.35);
    position: sticky;
    top: 0;
    z-index: 50;
}

.brand-mark {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
}

.brand-glyph {
    height: 1.75rem;
    width: 1.75rem;
    color: var(--color-accent);
}

.brand-word {
    color: var(--color-text);
    font-weight: 700;
    letter-spacing: 0.1em;
}
.section-intro {
    margin-bottom: 4rem;
}

.section-intro::after {
    content: '';
    display: block;
    width: 160px;
    height: 1px;
    margin: 2.5rem auto 0;
    background: linear-gradient(90deg, rgba(218, 64, 64, 0), rgba(218, 64, 64, 0.6), rgba(218, 64, 64, 0));
}

.section-fade {
    position: relative;
}

.section-fade::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -3rem;
    transform: translateX(-50%);
    width: min(640px, 80vw);
    height: 120px;
    background: radial-gradient(circle, rgba(218, 64, 64, 0.16), transparent 68%);
    pointer-events: none;
    opacity: 0.35;
}

.section-title {
    font-size: clamp(2.25rem, 2.9vw, 3.1rem);
    letter-spacing: 0.045em;
    text-transform: uppercase;
    color: var(--color-text);
}

.section-subheading {
    font-size: 1.05rem;
    color: rgba(203, 213, 225, 0.75);
    max-width: 720px;
    margin: 1rem auto 0;
}
/* Reset and base styles */
:root {
    --color-bg: #050505;
    --color-bg-muted: #0b0b0f;
    --color-surface: rgba(15, 15, 20, 0.85);
    --color-surface-strong: rgba(26, 26, 32, 0.92);
    --color-border: rgba(82, 82, 94, 0.35);
    --color-border-strong: rgba(218, 64, 64, 0.45);
    --color-text: #e6e7ef;
    --color-text-muted: #9ca3af;
    --color-text-soft: #cbd5f5;
    --color-accent: #DA4040;
    --color-accent-soft: #f05e5e;
    --glow-accent: 0 0 22px rgba(218, 64, 64, 0.22);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Fira Code', 'Courier New', monospace !important;
}

html {
    scroll-behavior: smooth;
    background-color: var(--color-bg);
}

body {
    font-family: 'Fira Code', 'Courier New', monospace;
    line-height: 1.7;
    color: var(--color-text);
    background: radial-gradient(circle at top, rgba(218, 64, 64, 0.12), transparent 55%),
                radial-gradient(circle at bottom, rgba(218, 64, 64, 0.08), transparent 60%),
                var(--color-bg);
    font-feature-settings: "liga" 1, "calt" 1;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
    text-rendering: optimizeLegibility;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    background: repeating-linear-gradient(
                to right,
                rgba(218, 64, 64, 0.1) 0,
                rgba(218, 64, 64, 0.1) 1px,
                transparent 1px,
                transparent 80px),
                repeating-linear-gradient(
                to bottom,
                rgba(218, 64, 64, 0.1) 0,
                rgba(218, 64, 64, 0.1) 1px,
                transparent 1px,
                transparent 80px);
    opacity: 0.35;
    pointer-events: none;
    z-index: 0;
}

main {
    position: relative;
    isolation: isolate;
    z-index: 1;
}

/* Utility classes */
.min-h-screen { min-height: 100vh; }
.bg-black { background-color: rgba(8, 8, 10, 0.92); }
.bg-gray-900\/20 { background-color: rgba(17, 24, 39, 0.18); }
.bg-gray-900\/50 { background-color: rgba(17, 24, 39, 0.45); }
.text-red-400 { color: #DA4040; }
.text-red-300 { color: #E56565; }
.text-white { color: #ffffff; }
.text-gray-400 { color: rgba(156, 163, 175, 0.88); }
.text-gray-500 { color: rgba(107, 114, 128, 0.65); }
.text-gray-300 { color: rgba(209, 213, 219, 0.92); }
.text-green-400 { color: #4ade80; }
.bg-red-400 { background-color: #DA4040; }
.bg-red-300 { background-color: #E56565; }
.bg-transparent { background-color: transparent; }
.border-red-400 { border-color: #DA4040; }
.border-gray-800 { border-color: #1f2937; }
.border-gray-700 { border-color: #374151; }
.font-mono { font-family: 'Fira Code', 'Courier New', monospace; }
.font-bold { font-weight: 700; font-family: 'Fira Code', 'Courier New', monospace; }
.font-semibold { font-weight: 600; font-family: 'Fira Code', 'Courier New', monospace; }
.font-medium { font-weight: 500; font-family: 'Fira Code', 'Courier New', monospace; }

/* Angular design - no rounded corners */
.rounded { border-radius: 0 !important; }
.rounded-sm { border-radius: 0 !important; }
.rounded-md { border-radius: 0 !important; }
.rounded-lg { border-radius: 0 !important; }
.rounded-xl { border-radius: 0 !important; }
.rounded-full { border-radius: 0 !important; }

/* Force all elements to have no border radius */
*, *::before, *::after {
    border-radius: 0 !important;
}

/* Additional specific overrides */
.service-item, .principle-item, .card-black, 
button, input, textarea, select, .buy-btn, 
.service-btn, .hero-btn, .popular-badge {
    border-radius: 0 !important;
}

/* Layout utilities */
.max-w-7xl { max-width: 80rem; }
.max-w-4xl { max-width: 56rem; }
.max-w-2xl { max-width: 42rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.px-8 { padding-left: 2rem; padding-right: 2rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.py-20 { padding-top: 5rem; padding-bottom: 5rem; }
.p-6 { padding: 1.5rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-12 { margin-bottom: 3rem; }
.mb-16 { margin-bottom: 4rem; }
.mt-4 { margin-top: 1rem; }
.mt-12 { margin-top: 3rem; }
.ml-2 { margin-left: 0.5rem; }
.mr-2 { margin-right: 0.5rem; }
.mr-3 { margin-right: 0.75rem; }
.my-8 { margin-top: 2rem; margin-bottom: 2rem; }

/* Flex utilities */
.flex { display: flex; }
.inline-flex { display: inline-flex; }
.inline-block { display: inline-block; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.flex-wrap { flex-wrap: wrap; }
.space-x-2 > * + * { margin-left: 0.5rem; }
.space-x-3 > * + * { margin-left: 0.75rem; }
.space-x-4 > * + * { margin-left: 1rem; }
.space-x-8 > * + * { margin-left: 2rem; }
.space-y-2 > * + * { margin-top: 0.5rem; }
.space-y-3 > * + * { margin-top: 0.75rem; }
.space-y-4 > * + * { margin-top: 1rem; }
.space-y-6 > * + * { margin-top: 1.5rem; }
.space-y-8 > * + * { margin-top: 2rem; }

/* Grid utilities */
.grid { display: grid; }
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.gap-12 { gap: 3rem; }

/* Flex column utility */
.flex-col { flex-direction: column; }
.flex-1 { flex: 1 1 0%; }
.overflow-y-auto { overflow-y: auto; }
.border-l-2 { border-left-width: 2px; }
.bg-opacity-95 { background-color: rgba(0, 0, 0, 0.95); }
.backdrop-blur-md { backdrop-filter: blur(12px); }
.mt-4 { margin-top: 1rem; }

/* Text utilities */
.text-xs { font-size: 0.75rem; font-family: 'Fira Code', 'Courier New', monospace; }
.text-sm { font-size: 0.875rem; font-family: 'Fira Code', 'Courier New', monospace; }
.text-base { font-size: 1rem; font-family: 'Fira Code', 'Courier New', monospace; }
.text-lg { font-size: 1.125rem; font-family: 'Fira Code', 'Courier New', monospace; }
.text-xl { font-size: 1.25rem; font-family: 'Fira Code', 'Courier New', monospace; }
.text-2xl { font-size: 1.5rem; font-family: 'Fira Code', 'Courier New', monospace; }
.text-3xl { font-size: 1.875rem; font-family: 'Fira Code', 'Courier New', monospace; }
.text-4xl { font-size: 2.25rem; font-family: 'Fira Code', 'Courier New', monospace; }
.text-center { text-align: center; }
.text-left { text-align: left; }
.leading-tight { line-height: 1.25; }
.leading-relaxed { line-height: 1.625; }

/* Position utilities */
.relative { position: relative; }
.absolute { position: absolute; }
.sticky { position: sticky; }
.fixed { position: fixed; }
.inset-0 { top: 0; right: 0; bottom: 0; left: 0; }
.top-0 { top: 0; }
.z-50 { z-index: 50; }
.z-10 { z-index: 10; }

/* Border utilities */
.border { border-width: 1px; }
.border-b { border-bottom-width: 1px; }
.border-t { border-top-width: 1px; }

/* Display utilities */
.hidden { display: none; }
.w-full { width: 100%; }
.w-4 { width: 1rem; }
.w-5 { width: 1.25rem; }
.w-6 { width: 1.5rem; }
.w-8 { width: 2rem; }
.w-24 { width: 6rem; }
.h-16 { height: 4rem; }
.h-4 { height: 1rem; }
.h-5 { height: 1.25rem; }
.h-6 { height: 1.5rem; }
.h-0\.5 { height: 0.125rem; }
.h-px { height: 1px; }

/* Other utilities */
.transition-colors { transition-property: color, background-color, border-color, text-decoration-color, fill, stroke; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.transition-all { transition-property: all; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); }
.duration-150 { transition-duration: 150ms; }
.backdrop-blur-sm { backdrop-filter: blur(4px); }

/* Discord Banner Styles */
.discord-banner {
    background: linear-gradient(135deg, rgba(218, 64, 64, 0.15), rgba(218, 64, 64, 0.08));
    border-bottom: 1px solid rgba(218, 64, 64, 0.25);
    backdrop-filter: blur(8px);
    position: relative;
    z-index: 60;
    transition: all 0.3s ease;
}

.discord-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        90deg,
        rgba(218, 64, 64, 0.1) 0,
        rgba(218, 64, 64, 0.1) 1px,
        transparent 1px,
        transparent 40px
    );
    opacity: 0.3;
    pointer-events: none;
}

.discord-btn {
    background: linear-gradient(135deg, rgba(218, 64, 64, 0.9), rgba(218, 64, 64, 0.7));
    color: #ffffff;
    padding: 0.4rem 1rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-decoration: none;
    font-family: 'Fira Code', 'Courier New', monospace;
    letter-spacing: 0.05em;
    border: 1px solid rgba(218, 64, 64, 0.4);
    transition: all 0.2s ease;
    text-transform: uppercase;
}

.discord-btn:hover {
    background: linear-gradient(135deg, rgba(218, 64, 64, 1), rgba(218, 64, 64, 0.8));
    border-color: rgba(218, 64, 64, 0.6);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(218, 64, 64, 0.3);
}

.close-btn {
    background: transparent;
    border: none;
    color: rgba(156, 163, 175, 0.7);
    padding: 0.25rem;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-btn:hover {
    color: rgba(218, 64, 64, 0.8);
    background: rgba(218, 64, 64, 0.1);
}

.discord-banner.hidden {
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
}

/* Component styles */
.hover-link:hover {
    color: var(--color-accent-soft) !important;
    text-shadow: 0 0 12px rgba(218, 64, 64, 0.35);
}

.email-link {
    color: var(--color-accent) !important;
    text-shadow: 0 0 16px rgba(218, 64, 64, 0.35);
}

.email-link:hover {
    color: var(--color-accent-soft) !important;
    text-shadow: 0 0 18px rgba(218, 64, 64, 0.35);
}

/* Hero section grid - angular design */



.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        repeating-linear-gradient(
            to right,
            rgba(218, 64, 64, 0.25) 0,
            rgba(218, 64, 64, 0.25) 1px,
            transparent 1px,
            transparent 80px
        ),
        repeating-linear-gradient(
            to bottom,
            rgba(218, 64, 64, 0.25) 0,
            rgba(218, 64, 64, 0.25) 1px,
            transparent 1px,
            transparent 80px
        );
    opacity: 0.7;
    pointer-events: none;
    z-index: 1;
}

.hero-section::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 40% 20%, rgba(218, 64, 64, 0.18), transparent 55%),
                radial-gradient(circle at 70% 35%, rgba(218, 64, 64, 0.12), transparent 65%);
    mix-blend-mode: screen;
    pointer-events: none;
    z-index: 1;
}

/* Button styles */
.service-btn {
    border: 1px solid rgba(218, 64, 64, 0.45);
    color: var(--color-text);
    background: rgba(218, 64, 64, 0.08);
    padding: 0.45rem 1.2rem;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
    font-family: 'Fira Code', 'Courier New', monospace;
    text-decoration: none;
    font-weight: 500;
    letter-spacing: 0.06em;
}

.service-btn:hover {
    border-color: rgba(218, 64, 64, 0.85);
    color: var(--color-accent-soft);
    transform: translateY(-1px);
    box-shadow: 0 12px 24px rgba(218, 64, 64, 0.18);
}

.hero-btn {
    border: 2px solid transparent;
    background: linear-gradient(120deg, rgba(218, 64, 64, 0.85), rgba(218, 64, 64, 0.45));
    color: #050505;
    padding: 0.75rem 2rem;
    font-weight: 700;
    text-decoration: none;
    font-family: 'Fira Code', 'Courier New', monospace;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    letter-spacing: 0.04em;
    transition: transform 0.24s ease, box-shadow 0.24s ease;
    box-shadow: 0 0 0 rgba(218, 64, 64, 0.18);
}

.hero-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 32px rgba(218, 64, 64, 0.18), 0 0 0 1px rgba(218, 64, 64, 0.35);
}

.buy-btn {
    width: 100%;
    border: 2px solid #DA4040;
    color: #DA4040;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    transition: all 0.15s ease;
    background: transparent;
    text-decoration: none !important;
    font-family: 'Fira Code', 'Courier New', monospace;
    text-align: center;
    display: inline-block;
}

.buy-btn:hover {
    border-color: #E56565;
    color: #E56565;
    box-shadow: 0 0 10px rgba(218, 64, 64, 0.2);
}

/* Service and principle card styles */
.service-item,
.principle-item,
.card-black {
    background: linear-gradient(160deg, rgba(10, 10, 16, 0.82), rgba(15, 15, 24, 0.62));
    border: 1px solid rgba(218, 64, 64, 0.18);
    padding: 1.75rem;
    position: relative;
    transition: transform 0.35s ease, box-shadow 0.4s ease, border-color 0.35s ease;
    backdrop-filter: blur(6px);
    border-radius: 10px;
    box-shadow: 0 18px 50px rgba(5, 5, 10, 0.4);
}

.service-item::after,
.principle-item::after,
.card-black::after {
    content: '';
    position: absolute;
    inset: 0;
    border: 1px solid transparent;
    border-radius: 10px;
    pointer-events: none;
    transition: opacity 0.4s ease;
    opacity: 0;
}

.service-item:hover,
.principle-item:hover,
.card-black:hover {
    transform: translateY(-4px);
    border-color: rgba(218, 64, 64, 0.45);
    box-shadow: 0 30px 60px rgba(218, 64, 64, 0.12);
}

.service-item:hover::after,
.principle-item:hover::after,
.card-black:hover::after {
    border-color: rgba(218, 64, 64, 0.22);
    opacity: 1;
}

.service-item.popular {
    border-color: rgba(218, 64, 64, 0.52);
    box-shadow: 0 35px 68px rgba(218, 64, 64, 0.18);
}

.popular-badge {
    position: absolute;
    top: -12px;
    right: 1.5rem;
    background: linear-gradient(120deg, rgba(218, 64, 64, 0.95), rgba(218, 64, 64, 0.6));
    color: #050505;
    padding: 0.35rem 0.9rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    border-radius: 999px;
    box-shadow: 0 12px 26px rgba(218, 64, 64, 0.28);
}

.icon {
    color: #DA4040;
    flex-shrink: 0;
}

.title {
    color: #ffffff;
    font-weight: 600;
}

.service-item .title:hover,
.principle-item .title:hover {
    color: #DA4040;
}

.fade-in {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* Animation styles */

.service-item, .principle-item {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.65s ease, transform 0.65s ease, border-color 0.35s ease;
}

/* Mobile menu button styles - al.uy style */
.mobile-menu-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(218, 64, 64, 0.45);
    color: var(--color-text);
    background: rgba(218, 64, 64, 0.08);
    padding: 0.5rem;
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, color 0.18s ease;
    min-width: 2.5rem;
    min-height: 2.5rem;
    font-family: 'Fira Code', 'Courier New', monospace;
}

.mobile-menu-btn:hover {
    border-color: rgba(218, 64, 64, 0.85);
    color: var(--color-accent-soft);
    transform: translateY(-1px);
    box-shadow: 0 12px 24px rgba(218, 64, 64, 0.18);
}

.mobile-menu-btn:active {
    transform: translateY(0);
    box-shadow: 0 6px 12px rgba(218, 64, 64, 0.12);
}

.mobile-menu-btn svg {
    width: 1.5rem;
    height: 1.5rem;
}

/* Mobile menu close button - al.uy style */
.mobile-menu-close {
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(218, 64, 64, 0.45);
    color: var(--color-text);
    background: rgba(218, 64, 64, 0.08);
    padding: 0.5rem;
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, color 0.18s ease;
    min-width: 2.5rem;
    min-height: 2.5rem;
    font-family: 'Fira Code', 'Courier New', monospace;
}

.mobile-menu-close:hover {
    border-color: rgba(218, 64, 64, 0.85);
    color: var(--color-accent-soft);
    transform: translateY(-1px);
    box-shadow: 0 12px 24px rgba(218, 64, 64, 0.18);
}

.mobile-menu-close:active {
    transform: translateY(0);
    box-shadow: 0 6px 12px rgba(218, 64, 64, 0.12);
}

.mobile-menu-close svg {
    width: 1.5rem;
    height: 1.5rem;
}

/* Responsive design */
/* Mobile landscape and tablet portrait - keep mobile menu */
@media (min-width: 768px) and (max-width: 1023px) {
    .md\:flex { display: flex; }
    .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .md\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .md\:text-4xl { font-size: 2.25rem; }
    .md\:text-6xl { font-size: 3.75rem; }
    
    /* Keep mobile menu visible on tablets and mobile landscape */
    .mobile-menu-btn {
        display: flex !important;
    }
    
    /* Hide desktop nav on tablets by hiding the container with desktop nav */
    nav .hidden.md\:flex {
        display: none !important;
    }
}

/* Desktop - show desktop menu, hide mobile menu */
@media (min-width: 1024px) {
    .md\:hidden { display: none !important; }
    .md\:flex { display: flex !important; }
    .hidden.md\:flex { display: flex !important; }
    nav .hidden.md\:flex { display: flex !important; }
    
    /* Hide mobile menu button on desktop */
    .mobile-menu-btn {
        display: none !important;
    }
    
    /* Hide mobile menu overlay on desktop */
    #mobile-menu {
        display: none !important;
    }
    
    /* Grid classes for desktop */
    .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .md\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (min-width: 1024px) {
    .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .lg\:grid-cols-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
    .lg\:grid-cols-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
    .lg\:col-span-2 { grid-column: span 2 / span 2; }
    .lg\:px-8 { padding-left: 2rem; padding-right: 2rem; }
    
    /* Make first 3 items each span 2 columns (fills 6 columns) */
    #services-grid .service-item:nth-child(1),
    #services-grid .service-item:nth-child(2),
    #services-grid .service-item:nth-child(3) {
        grid-column: span 2;
    }
    
    /* Make last 2 items each span 3 columns (equal width, fills remaining 6 columns) */
    #services-grid .service-item:nth-child(4),
    #services-grid .service-item:nth-child(5) {
        grid-column: span 3;
    }
}

/* Benchmark Spoiler Styles */
.benchmark-spoiler {
    background: rgba(17, 24, 39, 0.45);
    border: 1px solid rgba(31, 41, 55, 0.8);
    transition: border-color 0.2s ease;
}

.benchmark-spoiler:hover {
    border-color: rgba(218, 64, 64, 0.3);
}

.benchmark-spoiler[open] {
    border-color: rgba(218, 64, 64, 0.5);
}

.benchmark-summary {
    display: flex;
    align-items: center;
    padding: 1.25rem 1.5rem;
    cursor: pointer;
    list-style: none;
    user-select: none;
    transition: background-color 0.2s ease;
    font-family: 'Fira Code', 'Courier New', monospace;
}

.benchmark-summary::-webkit-details-marker {
    display: none;
}

.benchmark-summary::marker {
    display: none;
}

.benchmark-summary:hover {
    background-color: rgba(218, 64, 64, 0.08);
}

.benchmark-summary .ml-auto {
    margin-left: auto;
}

.benchmark-content {
    padding: 0 1.5rem 1.5rem 1.5rem;
    animation: fadeIn 0.3s ease;
}

.benchmark-content pre {
    margin: 0;
}

.benchmark-output {
    background: rgba(0, 0, 0, 0.8);
    border: 1px solid rgba(218, 64, 64, 0.3);
    padding: 1rem;
    font-family: 'Fira Code', 'Courier New', monospace;
    font-size: 0.75rem;
    line-height: 1.4;
    color: rgba(203, 213, 225, 0.85);
    white-space: pre;
    overflow-x: auto;
    overflow-y: auto;
    max-height: 600px;
    margin-top: 1rem;
    border-left: 3px solid rgba(218, 64, 64, 0.5);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile portrait and landscape - up to 1023px to catch rotated phones */
@media (max-width: 1023px) {
    /* Hide desktop navigation on mobile and tablets */
    nav .hidden.md\:flex {
        display: none !important;
    }
    
    .sm\:px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
    .sm\:inline { display: inline; }
    
    /* Discord banner mobile styles */
    .discord-banner .flex {
        flex-direction: column;
        gap: 0.75rem;
        text-align: center;
    }
    
    .discord-banner .flex.items-center.justify-between {
        justify-content: center;
    }
    
    .discord-banner span {
        font-size: 0.8rem;
    }
    
    .discord-btn {
        font-size: 0.7rem;
        padding: 0.35rem 0.8rem;
    }
    
    .benchmark-summary {
        flex-wrap: wrap;
        font-size: 0.9rem;
    }
    
    .benchmark-summary .ml-auto {
        width: 100%;
        margin-left: 0;
        margin-top: 0.5rem;
        text-align: right;
    }
    
    /* Mobile navigation improvements */
    .nav-shell {
        padding: 0;
    }
    
    .nav-shell .max-w-7xl {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .nav-shell .flex.justify-between {
        gap: 1rem;
        min-height: 4rem;
        align-items: center;
    }
    
    .nav-shell .brand-mark {
        flex-shrink: 0;
    }
    
    /* Mobile landscape navigation */
    @media (max-width: 1023px) and (orientation: landscape) {
        .nav-shell .flex.justify-between {
            min-height: 3.5rem;
            height: auto;
        }
        
        .nav-shell .max-w-7xl {
            padding-left: 0.75rem;
            padding-right: 0.75rem;
        }
        
        .brand-mark .brand-word {
            font-size: 0.9rem;
        }
        
        .brand-mark .brand-glyph {
            width: 1.5rem;
            height: 1.5rem;
        }
        
        .mobile-menu-btn {
            min-width: 2.25rem;
            min-height: 2.25rem;
            padding: 0.4rem;
        }
        
        .mobile-menu-btn svg {
            width: 1.25rem;
            height: 1.25rem;
        }
        
        /* Fix Discord banner in landscape */
        .discord-banner {
            padding: 0.5rem 0;
        }
        
        .discord-banner .flex {
            flex-direction: row;
            gap: 0.5rem;
        }
        
        .discord-banner span {
            font-size: 0.75rem;
        }
        
        .discord-btn {
            font-size: 0.65rem;
            padding: 0.3rem 0.7rem;
        }
    }
    
    /* Mobile hero section */
    .hero-section {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }
    
    .hero-section h1 {
        font-size: 2rem;
        line-height: 1.2;
    }
    
    .hero-section p {
        font-size: 1rem;
    }
    
    /* Mobile service cards */
    .service-item,
    .principle-item,
    .card-black {
        padding: 1.25rem;
    }
    
    .service-item .title {
        font-size: 1.125rem;
    }
    
    .service-item .text-2xl {
        font-size: 1.5rem;
    }
    
    /* Mobile grid adjustments */
    #services-grid {
        grid-template-columns: 1fr;
    }
    
    #principles-grid {
        grid-template-columns: 1fr;
    }
    
    /* Mobile section spacing */
    .section-fade {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }
    
    .section-title {
        font-size: 1.875rem;
    }
    
    .section-subheading {
        font-size: 0.95rem;
    }
    
    /* Mobile buttons */
    .hero-btn {
        padding: 0.625rem 1.5rem;
        font-size: 0.95rem;
    }
    
    .buy-btn {
        padding: 0.625rem 1rem;
        font-size: 0.875rem;
    }
    
    /* Mobile text sizes */
    .text-4xl {
        font-size: 1.875rem;
    }
    
    .text-3xl {
        font-size: 1.5rem;
    }
    
    .text-xl {
        font-size: 1.125rem;
    }
    
    /* Mobile menu styles */
    #mobile-menu {
        transition: opacity 0.3s ease, visibility 0.3s ease;
        background: rgba(5, 5, 8, 0.98);
        backdrop-filter: blur(16px);
    }
    
    #mobile-menu.hidden {
        opacity: 0;
        visibility: hidden;
    }
    
    #mobile-menu:not(.hidden) {
        opacity: 1;
        visibility: visible;
    }
    
    #mobile-menu nav a {
        display: block;
        padding: 0.75rem 1rem;
        font-size: 1rem;
        border-left: 2px solid transparent;
        transition: all 0.2s ease;
    }
    
    #mobile-menu nav a:hover {
        background: rgba(218, 64, 64, 0.08);
        padding-left: 1.25rem;
    }
    
    #mobile-menu nav a.border-l-2 {
        background: rgba(218, 64, 64, 0.12);
    }
    
    /* Ensure mobile menu button is visible on mobile */
    .mobile-menu-btn {
        display: flex !important;
    }
    
    /* Mobile landscape specific adjustments */
    @media (max-width: 1023px) and (orientation: landscape) {
        #mobile-menu nav {
            padding: 1rem;
        }
        
        #mobile-menu nav a {
            padding: 0.5rem 1rem;
            font-size: 0.95rem;
        }
        
        .nav-shell .flex.justify-between {
            min-height: 3.5rem;
        }
        
        .nav-shell {
            padding: 0.25rem 0;
        }
        
        /* Prevent horizontal overflow in landscape */
        body {
            overflow-x: hidden;
            max-width: 100vw;
        }
        
        /* Adjust hero section for landscape */
        .hero-section {
            padding-top: 2rem;
            padding-bottom: 2rem;
        }
        
        .hero-section h1 {
            font-size: 1.75rem;
        }
        
        /* Compact service cards in landscape */
        .service-item,
        .principle-item,
        .card-black {
            padding: 1rem;
        }
        
        /* Adjust section spacing */
        .section-fade {
            padding-top: 2rem;
            padding-bottom: 2rem;
        }
        
        .section-title {
            font-size: 1.5rem;
        }
        
        /* Fix grid layouts for landscape */
        #services-grid,
        #principles-grid {
            gap: 1rem;
        }
    }
    
    /* Mobile card spacing */
    .card-black {
        margin-bottom: 1rem;
    }
    
    /* Mobile list spacing */
    .service-item ul {
        margin-bottom: 1rem;
    }
    
    .service-item ul li {
        font-size: 0.875rem;
    }
    
    /* Mobile padding adjustments */
    .px-4 {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .py-20 {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }
    
    /* Mobile max-width adjustments */
    .max-w-4xl {
        max-width: 100%;
    }
    
    .max-w-2xl {
        max-width: 100%;
    }
    
    /* Mobile flex adjustments */
    .flex.items-center.justify-between {
        flex-wrap: wrap;
    }
    
    /* Mobile icon sizes */
    .icon.h-5.w-5 {
        height: 1.25rem;
        width: 1.25rem;
    }
    
    /* Mobile feature list */
    .service-item .space-y-2 > * + * {
        margin-top: 0.5rem;
    }
} 