/* ==========================================================================
   MIGHTY MEAT SHIELD - SHARED STYLES
   Version: 1.1.0
   A centralized stylesheet for consistent branding and easy expandability
   Updated: Enhanced accessibility, mobile UX, and professional polish
   ========================================================================== */

/* --------------------------------------------------------------------------
   CSS CUSTOM PROPERTIES (Design Tokens)
   -------------------------------------------------------------------------- */
:root {
    /* Primary Colors */
    --bg-main: #2b5c8a;
    --header-bg: #2d3748;
    --nav-bg: #404040;
    --nav-active: #ff9900;

    /* Card & Container Colors */
    --card-bg: #e2e8f0;
    --card-border: #4a5568;

    /* Text Colors */
    --text-header: #c53030;
    --text-body: #2d3748;
    --text-muted: #718096;
    --text-light: #a0aec0;

    /* Accent Colors */
    --btn-orange: #ed8936;
    --btn-shadow: #c05621;
    --rune-blue: #63b3ed;
    --success-green: #38a169;
    --danger-red: #e53e3e;

    /* Focus Colors (Accessibility) */
    --focus-color: #63b3ed;
    --focus-ring: 0 0 0 3px rgba(99, 179, 237, 0.5);

    /* Spacing */
    --spacing-xs: 5px;
    --spacing-sm: 10px;
    --spacing-md: 20px;
    --spacing-lg: 30px;
    --spacing-xl: 40px;

    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 20px;

    /* Transitions */
    --transition-fast: 0.1s ease;
    --transition-normal: 0.2s ease;
    --transition-slow: 0.3s ease;

    /* Z-index layers */
    --z-base: 1;
    --z-logo: 125;
    --z-nav: 120;
    --z-mobile-menu: 130;
    --z-overlay: 110;
    --z-skip-link: 1000;

    /* Minimum touch target size (WCAG 2.1 AAA) */
    --min-touch-target: 44px;
}

/* --------------------------------------------------------------------------
   RESET & BASE STYLES
   -------------------------------------------------------------------------- */
* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    background-color: var(--bg-main);
    color: var(--text-body);
    font-family: 'Roboto', sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Skip to content link for accessibility */
.skip-to-content {
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--btn-orange);
    color: white;
    padding: var(--spacing-sm) var(--spacing-md);
    z-index: var(--z-skip-link);
    text-decoration: none;
    font-family: 'Oswald', sans-serif;
    font-weight: bold;
    border-radius: var(--radius-sm);
    transition: top var(--transition-normal);
}

.skip-to-content:focus {
    top: var(--spacing-sm);
    outline: 3px solid var(--focus-color);
    outline-offset: 2px;
}

/* Global focus styles for accessibility */
a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus,
[tabindex]:focus {
    outline: 3px solid var(--focus-color);
    outline-offset: 2px;
}

/* Remove default outline and use custom for focus-visible */
a:focus:not(:focus-visible),
button:focus:not(:focus-visible) {
    outline: none;
}

a:focus-visible,
button:focus-visible {
    outline: 3px solid var(--focus-color);
    outline-offset: 2px;
}

/* --------------------------------------------------------------------------
   TYPOGRAPHY
   -------------------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    margin-top: 0;
    color: var(--text-header);
}

h2 {
    border-bottom: 3px solid #cbd5e0;
    padding-bottom: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
    font-size: 2rem;
}

p {
    line-height: 1.6;
    margin-bottom: 15px;
}

.lead-text {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: var(--spacing-md);
    font-weight: bold;
    color: var(--text-body);
}

/* --------------------------------------------------------------------------
   BANNER & HEADER
   -------------------------------------------------------------------------- */
.banner-container {
    width: 100%;
    background-color: var(--header-bg);
    border-bottom: 4px solid var(--card-border);
    padding: var(--spacing-sm) 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 140px;
    background-image: linear-gradient(135deg, transparent 0%, transparent 50%, rgba(0,0,0,0.2) 50%);
    background-size: 20px 20px;
}

.header-content {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    width: 100%;
    max-width: 1200px;
    justify-content: center;
    padding: 0 var(--spacing-md);
}

.header-rune {
    font-family: 'Oswald', sans-serif;
    font-size: 3rem;
    color: var(--rune-blue);
    text-transform: uppercase;
    letter-spacing: 5px;
    text-shadow: 3px 3px 0px #000;
    flex: 1;
    text-align: center;
}

.logo-center {
    position: relative;
    width: 160px;
    height: 160px;
    z-index: var(--z-logo);
    margin-top: 40px;
    filter: drop-shadow(0 5px 10px rgba(0,0,0,0.5));
    background: var(--header-bg);
    border-radius: 50%;
    padding: 5px;
    border: 4px solid var(--card-border);
    flex-shrink: 0;
}

.logo-center img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

/* --------------------------------------------------------------------------
   NAVIGATION
   -------------------------------------------------------------------------- */
.nav-bar {
    width: 100%;
    background-color: var(--nav-bg);
    border-bottom: 4px solid #222;
    display: flex;
    justify-content: center;
    padding: 0 var(--spacing-md);
    height: 50px;
    position: relative;
    z-index: var(--z-nav);
}

.nav-inner {
    width: 100%;
    max-width: 1200px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.nav-left {
    display: flex;
    align-items: center;
    height: 100%;
}

.nav-links {
    display: flex;
    height: 100%;
}

.nav-item {
    padding: 0 30px;
    display: flex;
    align-items: center;
    color: #fff;
    text-decoration: none;
    font-family: 'Oswald', sans-serif;
    font-weight: bold;
    font-size: 1.1rem;
    text-transform: uppercase;
    transition: var(--transition-normal);
    height: 100%;
}

.nav-item:hover {
    background-color: rgba(255,255,255,0.1);
}

.nav-item.active {
    background-color: var(--nav-active);
    color: #fff;
}

.nav-btn {
    background-color: var(--btn-orange);
    color: white;
    padding: 5px 20px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    font-family: 'Oswald', sans-serif;
    font-weight: bold;
    text-transform: uppercase;
    border-bottom: 3px solid var(--btn-shadow);
    transition: var(--transition-fast);
    white-space: nowrap;
}

.nav-btn:hover {
    transform: translateY(1px);
    border-bottom-width: 2px;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 12px;
    min-width: 44px;
    min-height: 44px;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.mobile-menu-toggle span {
    display: block;
    width: 24px;
    height: 3px;
    background-color: white;
    margin: 5px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: var(--z-overlay);
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.mobile-menu-overlay.active {
    display: block;
    opacity: 1;
}

/* --------------------------------------------------------------------------
   MAIN CONTAINER & SECTIONS
   -------------------------------------------------------------------------- */
.main-container {
    width: 90%;
    max-width: 1200px;
    margin: var(--spacing-xl) 0;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xl);
}

.content-section {
    background: var(--card-bg);
    border: 4px solid var(--card-border);
    padding: var(--spacing-lg);
    border-radius: var(--radius-sm);
    box-shadow: 0 4px 6px rgba(0,0,0,0.3);
}

/* --------------------------------------------------------------------------
   BUTTONS & CTAs
   -------------------------------------------------------------------------- */
.big-cta {
    display: block;
    background: var(--btn-orange);
    color: white;
    text-align: center;
    text-decoration: none;
    font-family: 'Oswald', sans-serif;
    font-size: 1.8rem;
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    border: 4px solid var(--card-border);
    border-bottom: 8px solid var(--btn-shadow);
    transition: var(--transition-fast);
    margin: var(--spacing-md) 0;
}

.big-cta:hover {
    transform: translateY(-2px);
    filter: brightness(1.1);
}

.big-cta:active {
    transform: translateY(2px);
    border-bottom-width: 4px;
}

.action-btn {
    background-color: var(--btn-orange);
    color: white;
    text-align: center;
    padding: var(--spacing-sm) 0;
    font-family: 'Oswald', sans-serif;
    font-size: 1.2rem;
    text-transform: uppercase;
    border-radius: var(--radius-sm);
    border-bottom: 4px solid var(--btn-shadow);
    margin-top: auto;
    transition: var(--transition-fast);
}

/* --------------------------------------------------------------------------
   GRIDS
   -------------------------------------------------------------------------- */
.bio-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: var(--spacing-lg);
}

.tri-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--spacing-md);
}

/* --------------------------------------------------------------------------
   CARDS
   -------------------------------------------------------------------------- */
.info-card {
    background: white;
    border: 2px solid #cbd5e0;
    padding: var(--spacing-md);
}

.info-card h3 {
    color: var(--bg-main);
    border-bottom: 2px solid var(--btn-orange);
    display: inline-block;
    padding-bottom: 5px;
}

.stat-box {
    background: var(--header-bg);
    color: white;
    padding: var(--spacing-md);
    border: 2px solid var(--card-border);
    text-align: center;
    margin-bottom: 15px;
}

.stat-number {
    font-family: 'Oswald', sans-serif;
    font-size: 2.5rem;
    color: var(--btn-orange);
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 5px;
    opacity: 0.8;
}

.review-card {
    background: #fff;
    border-left: 5px solid var(--btn-orange);
    padding: var(--spacing-md);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.reviewer-name {
    font-family: 'Oswald', sans-serif;
    font-size: 1.2rem;
    color: var(--bg-main);
}

.session-count {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: var(--spacing-sm);
    display: block;
    font-weight: bold;
}

.review-text {
    font-style: italic;
    font-size: 0.95rem;
    color: #4a5568;
}

/* --------------------------------------------------------------------------
   PRICING
   -------------------------------------------------------------------------- */
.pricing-container {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-md);
    justify-content: center;
}

.price-card {
    background: var(--header-bg);
    color: white;
    flex: 1;
    min-width: 250px;
    border: 4px solid var(--card-border);
    padding: var(--spacing-md);
    text-align: center;
}

.price-title {
    font-family: 'Oswald', sans-serif;
    font-size: 1.5rem;
    color: var(--rune-blue);
    margin-bottom: var(--spacing-sm);
}

.price-tag {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--btn-orange);
    margin: var(--spacing-sm) 0;
}

.price-sub {
    font-size: 0.9rem;
    opacity: 0.7;
}

/* --------------------------------------------------------------------------
   FAQ ACCORDION
   -------------------------------------------------------------------------- */
.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.faq-item {
    background: var(--header-bg);
    border: 2px solid var(--card-border);
    border-radius: var(--radius-sm);
    overflow: hidden;
    color: white;
}

.faq-item summary {
    padding: 15px 20px;
    cursor: pointer;
    font-weight: bold;
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    font-size: 1.1rem;
    list-style: none;
    position: relative;
    background: rgba(0,0,0,0.1);
    transition: var(--transition-normal);
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary:hover {
    background: rgba(255,255,255,0.05);
}

.faq-item summary::after {
    content: '+';
    position: absolute;
    right: 20px;
    color: var(--btn-orange);
    font-weight: bold;
    font-size: 1.2rem;
}

.faq-item[open] summary::after {
    content: '-';
}

.faq-item[open] summary {
    border-bottom: 1px solid var(--card-border);
}

.faq-content {
    padding: var(--spacing-md);
    font-size: 0.95rem;
    line-height: 1.6;
    background: rgba(0,0,0,0.2);
    color: #cbd5e0;
}

.faq-content strong {
    color: white;
}

/* --------------------------------------------------------------------------
   TAG CLOUD
   -------------------------------------------------------------------------- */
.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
    margin-top: 15px;
}

.tag {
    background: var(--bg-main);
    color: white;
    padding: 5px 12px;
    border-radius: var(--radius-lg);
    font-size: 0.85rem;
    border: 1px solid var(--card-border);
}

.tag-highlight {
    background: var(--btn-orange);
    border: none;
}

/* --------------------------------------------------------------------------
   EMAIL CAPTURE / SUBSCRIPTION
   -------------------------------------------------------------------------- */
.subscribe-section {
    background: linear-gradient(135deg, var(--header-bg), #1a202c);
    border: 4px solid var(--btn-orange);
    padding: var(--spacing-lg);
    border-radius: var(--radius-sm);
    text-align: center;
}

.subscribe-section h2 {
    color: var(--rune-blue);
    border: none;
    margin-bottom: var(--spacing-sm);
}

.subscribe-section p {
    color: #cbd5e0;
    margin-bottom: var(--spacing-md);
}

.subscribe-form {
    display: flex;
    gap: var(--spacing-sm);
    max-width: 500px;
    margin: 0 auto;
    flex-wrap: wrap;
    justify-content: center;
}

.subscribe-form input[type="email"] {
    flex: 1;
    min-width: 250px;
    padding: 12px 16px;
    font-size: 1rem;
    border: 2px solid var(--card-border);
    border-radius: var(--radius-sm);
    background: white;
    font-family: 'Roboto', sans-serif;
}

.subscribe-form input[type="email"]:focus {
    outline: none;
    border-color: var(--rune-blue);
    box-shadow: 0 0 0 3px rgba(99, 179, 237, 0.3);
}

.subscribe-form button {
    padding: 12px 24px;
    font-size: 1rem;
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    font-weight: bold;
    background: var(--btn-orange);
    color: white;
    border: none;
    border-radius: var(--radius-sm);
    border-bottom: 3px solid var(--btn-shadow);
    cursor: pointer;
    transition: var(--transition-fast);
}

.subscribe-form button:hover {
    filter: brightness(1.1);
    transform: translateY(-1px);
}

.subscribe-form button:active {
    transform: translateY(1px);
    border-bottom-width: 1px;
}

.subscribe-note {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: var(--spacing-sm);
}

/* --------------------------------------------------------------------------
   FOOTER
   -------------------------------------------------------------------------- */
footer {
    margin-top: auto;
    padding: var(--spacing-lg);
    color: var(--text-light);
    font-size: 0.9rem;
    text-align: center;
    width: 100%;
    border-top: 4px solid var(--card-border);
    background: var(--header-bg);
}

footer a {
    color: var(--btn-orange);
    text-decoration: none;
    transition: var(--transition-fast);
}

footer a:hover {
    text-decoration: underline;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: var(--spacing-md);
    margin-top: var(--spacing-sm);
    flex-wrap: wrap;
}

/* --------------------------------------------------------------------------
   UTILITY CLASSES
   -------------------------------------------------------------------------- */
.text-center { text-align: center; }
.text-muted { color: var(--text-muted); }
.mt-auto { margin-top: auto; }
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* --------------------------------------------------------------------------
   MOBILE RESPONSIVE STYLES
   -------------------------------------------------------------------------- */

/* Tablet and below */
@media (max-width: 992px) {
    .bio-grid {
        grid-template-columns: 1fr;
    }

    .tri-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

/* Mobile devices */
@media (max-width: 768px) {
    /* Header adjustments */
    .header-rune {
        font-size: 1.3rem;
        letter-spacing: 2px;
    }

    .logo-center {
        width: 90px;
        height: 90px;
        margin-top: 15px;
    }

    .banner-container {
        height: 100px;
    }

    /* Navigation - Mobile Dropdown Menu */
    .nav-bar {
        height: auto;
        min-height: 50px;
        flex-wrap: wrap;
    }

    .nav-inner {
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .nav-left {
        width: 100%;
        display: flex;
        justify-content: flex-start;
        align-items: center;
        height: 50px;
    }

    .mobile-menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        background: #2d3748;
        order: 3;
        position: absolute;
        top: 50px;
        left: 0;
        z-index: var(--z-mobile-menu);
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-item {
        padding: 15px 20px;
        border-top: 1px solid #4a5568;
        height: auto;
        justify-content: flex-start;
        width: 100%;
    }

    .nav-inner > div:last-child {
        position: absolute;
        right: 20px;
        top: 50px;
        transform: translateY(-50%);
    }

    /* Content adjustments */
    .main-container {
        width: 95%;
        margin: var(--spacing-md) 0;
        gap: var(--spacing-md);
    }

    .content-section {
        padding: var(--spacing-md);
    }

    h2 {
        font-size: 1.5rem;
    }

    .big-cta {
        font-size: 1.4rem;
        padding: 15px;
    }

    /* Pricing cards stack */
    .pricing-container {
        flex-direction: column;
    }

    .price-card {
        min-width: 100%;
    }

    /* Review grid single column */
    .reviews-grid {
        grid-template-columns: 1fr;
    }

    /* Tag cloud smaller */
    .tag {
        font-size: 0.75rem;
        padding: 4px 10px;
    }

    /* Subscribe form stack */
    .subscribe-form {
        flex-direction: column;
    }

    .subscribe-form input[type="email"],
    .subscribe-form button {
        width: 100%;
        min-width: auto;
    }

    /* Ensure proper touch targets on mobile */
    .nav-item,
    .nav-btn,
    .big-cta,
    .action-btn,
    button,
    a {
        min-height: var(--min-touch-target);
    }
}

/* Small mobile devices */
@media (max-width: 480px) {
    .header-rune {
        font-size: 1rem;
        letter-spacing: 1px;
    }

    .logo-center {
        width: 70px;
        height: 70px;
        margin-top: 10px;
    }

    .banner-container {
        height: 80px;
    }

    .nav-btn {
        padding: 8px 12px;
        font-size: 0.9rem;
        min-height: var(--min-touch-target);
    }

    .stat-number {
        font-size: 2rem;
    }

    .price-tag {
        font-size: 2rem;
    }
}

/* --------------------------------------------------------------------------
   REDUCED MOTION (Accessibility)
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* --------------------------------------------------------------------------
   HIGH CONTRAST MODE SUPPORT
   -------------------------------------------------------------------------- */
@media (prefers-contrast: high) {
    :root {
        --card-border: #000;
        --text-body: #000;
    }

    .content-section,
    .info-card,
    .stat-box,
    .review-card,
    .price-card {
        border-width: 3px;
    }

    a {
        text-decoration: underline;
    }
}

/* --------------------------------------------------------------------------
   PRINT STYLES
   -------------------------------------------------------------------------- */
@media print {
    .nav-bar,
    .mobile-menu-toggle,
    .mobile-menu-overlay,
    .subscribe-section,
    .big-cta,
    .skip-to-content {
        display: none !important;
    }

    body {
        background: white;
        color: black;
    }

    .content-section {
        box-shadow: none;
        border: 1px solid #ccc;
        break-inside: avoid;
    }

    a[href]::after {
        content: " (" attr(href) ")";
        font-size: 0.8em;
        color: #666;
    }

    a[href^="#"]::after,
    a[href^="javascript"]::after {
        content: "";
    }
}
