/* Mind Hack Lab - Master Stylesheet
   ====================================
   Version: 1.1
   Description: Complete consolidated stylesheet for all Mind Hack Lab pages
   
   Table of Contents:
   1. CSS Variables & Root
   2. Base Typography
   3. Layout Components
   4. Hero Sections
   5. Content Sections
   6. UI Components
   7. Interactive Elements
   8. Utility Classes
   9. Responsive Design
   10. Print Styles
*/

/* ============================================
   1. CSS Variables & Root
   ============================================ */
:root {
    --mhl-deep-teal: #044259;
    --mhl-bright-orange: #fc6723;
    --mhl-sky-blue: #43bfcb;
    --mhl-background: #fdf9f0;
    --mhl-sky-blue-secondary: #37C8E0;
    --mhl-light-gray: #F4F3F0;
    --mhl-dark-blue: #043F4D;
    
    /* Updated link colors - darker shades */
    --mhl-link-primary: #2a8a94; /* Darker than sky-blue */
    --mhl-link-hover: #d9551a; /* Darker than bright-orange */
    
    /* Additional utility variables */
    --mhl-white: #FFFFFF;
    --mhl-black: #000000;
    --mhl-shadow-light: rgba(4, 66, 89, 0.08);
    --mhl-shadow-medium: rgba(4, 66, 89, 0.15);
    --mhl-shadow-heavy: rgba(67, 191, 203, 0.25);
    --mhl-transition-base: all 0.3s ease;
    --mhl-transition-slow: all 0.4s ease;
    
    /* Max width for content */
    --mhl-max-width: 1200px;
}

/* ============================================
   2. Base Typography
   ============================================ */
body {
    font-family: 'Roboto', sans-serif;
    background-color: var(--mhl-background);
    color: var(--mhl-dark-blue);
    line-height: 1.6;
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: var(--mhl-deep-teal);
    margin-bottom: 1.2rem;
    margin-top: 0;
}

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

h2 {
    font-size: 2rem;
    margin-top: 3rem;
    margin-bottom: 1.5rem;
}

h3 {
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--mhl-bright-orange);
}

h4 {
    font-weight: 700;
    color: var(--mhl-deep-teal);
}

p {
    font-weight: 400;
    margin-bottom: 1.2rem;
    font-size: 1.1rem;
    margin-top: 0;
}

.lead {
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--mhl-dark-blue);
    margin-bottom: 2rem;
}

.subheading {
    font-weight: 500;
    color: var(--mhl-bright-orange);
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

/* Modified strong rule - only apply teal color when not in dark sections */
strong {
    color: var(--mhl-deep-teal);
    font-weight: 500;
}

/* Override for dark backgrounds */
.mhl-hero strong,
.hero-section strong,
.mhl-cta-section strong,
.cta-section strong,
.mhl-cta-section.dark strong,
.cta-section.dark strong,
.mhl-stats strong {
    color: inherit;
    font-weight: 700; /* Make it bolder on dark backgrounds for better contrast */
}

/* Updated link colors */
a {
    color: var(--mhl-link-primary);
    text-decoration: none;
    transition: var(--mhl-transition-base);
}

a:hover {
    color: var(--mhl-link-hover);
}
.text-emphasis {
    color: var(--mhl-bright-orange);
    font-weight: 500;
}
/* ============================================
   3. Layout Components
   ============================================ */

/* Main container wrapper for max-width */
.container-wrapper {
    max-width: var(--mhl-max-width);
    margin: 0 auto;
    width: 100%;
}

/* Container variations */
.mhl-content {
    max-width: var(--mhl-max-width);
    margin: 0 auto;
    padding: 60px;
    background-color: white;
}

.mhl-content.padding-sides {
    padding: 0 60px;
    max-width: var(--mhl-max-width);
    margin: 0 auto;
}

.mhl-content-alt {
    background-color: var(--mhl-light-gray);
}

/* Section variations */
.mhl-section {
    max-width: var(--mhl-max-width);
    margin: 0 auto;
    padding: 80px 60px;
}

.mhl-section.no-padding {
    padding: 0;
    margin-bottom: 60px;
}

.mhl-section-alt {
    background-color: white;
}

.mhl-section-alt.full-width {
    margin-left: auto;
    margin-right: auto;
    padding: 60px;
    border-radius: 0;
    box-shadow: 0 2px 8px rgba(15, 122, 141, 0.05);
}

.content-section {
    max-width: var(--mhl-max-width);
    margin: 0 auto;
    padding: 60px 20px;
    background-color: white;
}

.content-section:nth-of-type(even) {
    background-color: var(--mhl-light-gray);
}

.opener-section {
    max-width: var(--mhl-max-width);
    margin: 0 auto;
    background-color: white;
    padding: 60px 60px;
    font-size: 1.125rem;
}

.opener-section p {
    margin-bottom: 1.5rem;
    color: var(--mhl-dark-blue);
}

.intro-section {
    max-width: var(--mhl-max-width);
    margin: 0 auto;
    background-color: var(--mhl-background);
    padding: 40px 60px 50px;
}

.intro-section p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    color: var(--mhl-dark-blue);
}

/* ============================================
   4. Hero Sections
   ============================================ */
.mhl-hero {
    background: linear-gradient(135deg, var(--mhl-deep-teal) 0%, #065270 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.mhl-hero > * {
    max-width: var(--mhl-max-width);
    margin: 0 auto;
    padding: 80px 60px;
}

.mhl-hero.gradient-alt {
    background: linear-gradient(135deg, var(--mhl-deep-teal) 0%, #065570 100%);
    margin-bottom: 60px;
}

.mhl-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(67, 191, 203, 0.1) 0%, transparent 70%);
    animation: pulse 15s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.3; }
}

.mhl-hero h1 {
    font-weight: 700;
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: white;
    position: relative;
    z-index: 1;
}

.mhl-hero p {
    font-size: 1.25rem;
    line-height: 1.8;
    margin-bottom: 32px;
    color: rgba(255, 255, 255, 0.95);
    position: relative;
    z-index: 1;
}

.mhl-hero .lead {
    color: white;
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.mhl-hero .lead.alt {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 300;
    max-width: 800px;
}

.mhl-hero-meta {
    color: var(--mhl-sky-blue);
    font-size: 0.95rem;
    margin-bottom: 2rem;
}

/* Alternative Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--mhl-deep-teal) 0%, #065a7a 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.hero-section > * {
    max-width: var(--mhl-max-width);
    margin: 0 auto;
    padding: 80px 60px;
}

.hero-section.gradient-dark {
    background: linear-gradient(135deg, var(--mhl-deep-teal) 0%, #033547 100%);
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 50%;
    height: 200%;
    background: rgba(67, 191, 203, 0.1);
    transform: rotate(45deg);
}

.hero-section h2 {
    color: white;
    font-size: 3rem;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.hero-tagline {
    font-size: 1.5rem;
    font-weight: 300;
    opacity: 0.95;
    margin-bottom: 2rem;
}

.hero-section .lead {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.35rem;
    font-style: italic;
    position: relative;
    z-index: 1;
}

/* Product Hero */
.mhl-product-hero {
    background: linear-gradient(135deg, var(--mhl-sky-blue) 0%, var(--mhl-deep-teal) 100%);
    color: white;
    text-align: center;
}

.mhl-product-hero > * {
    max-width: var(--mhl-max-width);
    margin: 0 auto;
    padding: 100px 60px 80px;
}

.mhl-product-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 24px;
    color: white;
}

.mhl-product-hero .lead {
    font-size: 1.5rem;
    line-height: 1.6;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.9);
}

/* ============================================
   5. Content Sections
   ============================================ */

/* CTA Sections */
.mhl-cta-section {
    background: linear-gradient(135deg, var(--mhl-sky-blue) 0%, var(--mhl-sky-blue-secondary) 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.mhl-cta-section > * {
    max-width: var(--mhl-max-width);
    margin: 0 auto;
    padding: 60px;
    text-align: center;
}

.mhl-cta-section.dark {
    background-color: var(--mhl-deep-teal);
    background-image: none;
}

.mhl-cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: pulse 12s ease-in-out infinite;
}

.mhl-cta-section h2 {
    color: white;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.mhl-cta-section p {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    position: relative;
    z-index: 1;
}

/* Alternative CTA naming */
.cta-section {
    background: linear-gradient(135deg, var(--mhl-sky-blue) 0%, var(--mhl-sky-blue-secondary) 100%);
    color: white;
    text-align: center;
}

.cta-section > * {
    max-width: var(--mhl-max-width);
    margin: 0 auto;
    padding: 40px 20px;
}

.cta-section.dark {
    background-color: var(--mhl-deep-teal);
    background-image: none;
    margin-top: 0;
}

.cta-section.dark > * {
    padding: 60px;
}

.cta-section h2 {
    color: white;
    margin-bottom: 1.0rem;
}

.cta-section p {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    opacity: 0.95;
}

.cta-section.dark p {
    font-size: 1.2rem;
}

/* MHL CTA Section */
.mhl-cta {
    background: linear-gradient(135deg, var(--mhl-sky-blue) 0%, var(--mhl-sky-blue-secondary) 100%);
    color: white;
    text-align: center;
    border-radius: 0;
}

.mhl-cta > * {
    max-width: var(--mhl-max-width);
    margin: 0 auto;
    padding: 60px;
}

.mhl-cta h2 {
    color: white;
    margin-bottom: 1rem;
}

.mhl-cta p {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

/* ============================================
   6. UI Components
   ============================================ */

/* Buttons */
.mhl-cta-button {
    background-color: var(--mhl-bright-orange);
    color: white;
    padding: 14px 32px;
    border: none;
    border-radius: 8px;
    font-weight: 500;
    font-size: 1.1rem;
    text-decoration: none;
    display: inline-block;
    transition: var(--mhl-transition-base);
    position: relative;
    z-index: 1;
    cursor: pointer;
}

.mhl-cta-button:hover {
    background-color: #e55618;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(252, 103, 35, 0.3);
}

.mhl-cta-button-secondary {
    background-color: transparent;
    color: var(--mhl-bright-orange);
    border: 2px solid var(--mhl-bright-orange);
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 500;
    font-size: 1rem;
    text-decoration: none;
    display: inline-block;
    transition: var(--mhl-transition-base);
}

.mhl-cta-button-secondary:hover {
    background-color: var(--mhl-bright-orange);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(252, 103, 35, 0.2);
}

/* Alternative button naming */
.btn-mhl-primary {
    background-color: var(--mhl-bright-orange);
    color: white;
    font-weight: 500;
    padding: 14px 32px;
    font-size: 1.1rem;
    border: none;
    border-radius: 6px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-mhl-primary:hover {
    background-color: #e5591f;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(252, 103, 35, 0.3);
}

.btn-mhl-secondary {
    background-color: transparent;
    color: var(--mhl-bright-orange);
    border: 2px solid var(--mhl-bright-orange);
    font-weight: 500;
    padding: 12px 28px;
    font-size: 1rem;
    border-radius: 6px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-mhl-secondary:hover {
    background-color: var(--mhl-bright-orange);
    color: white;
}

/* MHL Button styles */
.mhl-btn {
    background-color: var(--mhl-bright-orange);
    color: white;
    padding: 15px 35px;
    font-weight: 500;
    text-decoration: none;
    border-radius: 6px;
    display: inline-block;
    transition: all 0.3s ease;
    border: none;
    font-size: 1.1rem;
}

.mhl-btn:hover {
    background-color: #e55a1e;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(252, 103, 35, 0.3);
}

.mhl-btn-secondary {
    background-color: white;
    color: var(--mhl-deep-teal);
    border: 2px solid var(--mhl-deep-teal);
}

.mhl-btn-secondary:hover {
    background-color: var(--mhl-deep-teal);
    color: white;
}

/* Alternative button styles */
.btn-primary-mhl {
    background-color: var(--mhl-bright-orange);
    color: white;
    font-weight: 500;
    padding: 12px 30px;
    border: none;
    border-radius: 6px;
    font-size: 1.125rem;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(252, 103, 35, 0.2);
}

.btn-primary-mhl:hover {
    background-color: #e55a1e;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(252, 103, 35, 0.3);
}

.cta-button {
    background-color: var(--mhl-bright-orange);
    color: white;
    padding: 15px 40px;
    border: none;
    border-radius: 6px;
    font-weight: 500;
    font-size: 1.1rem;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(252, 103, 35, 0.3);
}

.cta-button:hover {
    background-color: #e55a1f;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(252, 103, 35, 0.4);
}

/* Lists */
ul {
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
}

ul li {
    margin-bottom: 0.75rem;
    line-height: 1.8;
}

/* Feature List */
.mhl-feature-list {
    list-style: none;
    padding: 0;
    margin: 32px 0;
}

.mhl-feature-list li {
    padding: 16px 0;
    border-bottom: 1px solid rgba(67, 191, 203, 0.2);
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    transition: var(--mhl-transition-base);
}

.mhl-feature-list li:hover {
    padding-left: 8px;
}

.mhl-feature-list li:before {
    content: "→";
    color: var(--mhl-sky-blue);
    font-weight: 700;
    margin-right: 16px;
    font-size: 1.4rem;
}

/* MHL Custom List */
.mhl-list {
    list-style: none;
    padding-left: 0;
    text-align:left;
}

.mhl-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
}

.mhl-list li:before {
    content: "•";
    color: var(--mhl-sky-blue);
    font-weight: bold;
    font-size: 1.5rem;
    position: absolute;
    left: 0;
}

/* Goal List */
.mhl-goal-list {
    background-color: var(--mhl-background);
    padding: 2rem;
    border-left: 4px solid var(--mhl-bright-orange);
    margin: 2rem 0;
    border-radius: 6px;
    text-align:left;
}

.mhl-goal-list ul {
    list-style: none;
    padding-left: 0;
}

.mhl-goal-list li {
    padding: 0.5rem 0;
    color: var(--mhl-dark-blue);
    position: relative;
    padding-left: 1.5rem;
}

.mhl-goal-list li:before {
    content: "•";
    color: var(--mhl-bright-orange);
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* Numbered sections */
.mhl-numbered {
    counter-reset: section;
}

.mhl-numbered-item {
    position: relative;
    padding-left: 50px;
    margin-bottom: 20px;
}

.mhl-numbered-item:before {
    counter-increment: section;
    content: counter(section);
    position: absolute;
    left: 0;
    top: 0;
    background-color: var(--mhl-sky-blue);
    color: white;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

/* Emphasis Box */
.mhl-emphasis-box {
    background-color: var(--mhl-light-gray);
    border-left: 4px solid var(--mhl-bright-orange);
    padding: 32px;
    margin: 40px 0;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
}

.mhl-emphasis-box::before {
    content: '"';
    position: absolute;
    top: -20px;
    left: 20px;
    font-size: 120px;
    color: rgba(252, 103, 35, 0.1);
    font-weight: 700;
}

.mhl-emphasis-box p {
    margin-bottom: 0;
    font-size: 1.15rem;
    font-style: italic;
    position: relative;
    z-index: 1;
}

/* Highlight Boxes */
.mhl-highlight {
    background-color: var(--mhl-sky-blue);
    color: white;
    padding: 3rem;
    border-radius: 8px;
    margin: 3rem 0;
}

.mhl-highlight h3 {
    color: white;
    margin-bottom: 1rem;
}

.mhl-highlight.bordered {
    background-color: var(--mhl-light-gray);
    border-left: 4px solid var(--mhl-bright-orange);
    padding: 30px;
    margin: 40px 0;
    border-radius: 6px;
    color: var(--mhl-dark-blue);
}

.mhl-highlight.bordered h3 {
    color: var(--mhl-bright-orange);
    margin-top: 0;
}

.highlight-box {
    background-color: rgba(252, 103, 35, 0.05);
    border-radius: 8px;
    padding: 1.5rem;
    margin: 2rem 0;
}

.highlight-box.gradient {
    background: linear-gradient(to right, rgba(67, 191, 203, 0.1), transparent);
    border-left: 4px solid var(--mhl-sky-blue);
    padding: 20px 30px;
    border-radius: 0;
}

.highlight-box p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Quote Blocks */
.mhl-quote {
    background-color: var(--mhl-background);
    border-left: 4px solid var(--mhl-sky-blue);
    padding: 1.5rem 2rem;
    margin: 2rem 0;
    font-style: italic;
    color: var(--mhl-dark-blue);
    border-radius: 6px;
}

.mhl-quote.inline {
    background-color: transparent;
    font-style: italic;
    font-size: 1.1rem;
    color: var(--mhl-deep-teal);
    border-left: 3px solid var(--mhl-sky-blue);
    padding-left: 20px;
    padding-top: 0;
    padding-bottom: 0;
    padding-right: 0;
    margin: 30px 0;
    border-radius: 0;
}

/* ============================================
   7. Interactive Elements
   ============================================ */

/* Skills Grid */
.mhl-skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 32px;
    margin-top: 48px;
}

.mhl-skill-link {
    background: linear-gradient(135deg, #FFFFFF 0%, #FAFAFA 100%);
    border: 2px solid transparent;
    background-clip: padding-box;
    position: relative;
    border-radius: 12px;
    padding: 32px;
    text-decoration: none;
    transition: var(--mhl-transition-slow);
    display: block;
    box-shadow: 0 2px 8px var(--mhl-shadow-light);
    overflow: hidden;
}

.mhl-skill-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--mhl-bright-orange) 0%, var(--mhl-sky-blue) 100%);
    transform: translateX(-100%);
    transition: transform 0.4s ease;
}

.mhl-skill-link:hover {
    border-color: var(--mhl-sky-blue);
    box-shadow: 0 8px 24px rgba(67, 191, 203, 0.25);
    transform: translateY(-4px);
    text-decoration: none;
    background: linear-gradient(135deg, #FFFFFF 0%, var(--mhl-light-gray) 100%);
}

.mhl-skill-link:hover::before {
    transform: translateX(0);
}

.mhl-skill-link h4 {
    color: var(--mhl-deep-teal);
    font-weight: 700;
    font-size: 1.4rem;
    margin-bottom: 12px;
    line-height: 1.3;
}

.mhl-skill-link p {
    color: var(--mhl-dark-blue);
    font-size: 1rem;
    margin-bottom: 0;
    line-height: 1.6;
}

.mhl-skill-link::after {
    content: '→';
    position: absolute;
    bottom: 24px;
    right: 24px;
    color: var(--mhl-bright-orange);
    font-size: 1.5rem;
    font-weight: 700;
    opacity: 0;
    transform: translateX(-10px);
    transition: var(--mhl-transition-slow);
}

.mhl-skill-link:hover::after {
    opacity: 1;
    transform: translateX(0);
}

/* Forms */
.mhl-form-group {
    margin-bottom: 24px;
}

.mhl-form-label {
    display: block;
    font-weight: 500;
    color: var(--mhl-deep-teal);
    margin-bottom: 8px;
    font-size: 1rem;
}

.mhl-form-input,
.mhl-form-textarea,
.mhl-form-select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--mhl-light-gray);
    border-radius: 8px;
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
    color: var(--mhl-dark-blue);
    background-color: white;
    transition: var(--mhl-transition-base);
}

.mhl-form-input:focus,
.mhl-form-textarea:focus,
.mhl-form-select:focus {
    outline: none;
    border-color: var(--mhl-sky-blue);
    box-shadow: 0 0 0 3px rgba(67, 191, 203, 0.1);
}

.mhl-form-textarea {
    resize: vertical;
    min-height: 120px;
}

/* ============================================
   8. Utility Classes
   ============================================ */

/* Text Alignment */
.mhl-text-center { text-align: center; }
.mhl-text-left { text-align: left; }
.mhl-text-right { text-align: right; }

/* Spacing */
.mhl-mt-0 { margin-top: 0; }
.mhl-mt-1 { margin-top: 8px; }
.mhl-mt-2 { margin-top: 16px; }
.mhl-mt-3 { margin-top: 24px; }
.mhl-mt-4 { margin-top: 32px; }
.mhl-mt-5 { margin-top: 48px; }

.mhl-mb-0 { margin-bottom: 0; }
.mhl-mb-1 { margin-bottom: 8px; }
.mhl-mb-2 { margin-bottom: 16px; }
.mhl-mb-3 { margin-bottom: 24px; }
.mhl-mb-4 { margin-bottom: 32px; }
.mhl-mb-5 { margin-bottom: 48px; }

.mhl-pt-0 { padding-top: 0; }
.mhl-pt-1 { padding-top: 8px; }
.mhl-pt-2 { padding-top: 16px; }
.mhl-pt-3 { padding-top: 24px; }
.mhl-pt-4 { padding-top: 32px; }
.mhl-pt-5 { padding-top: 48px; }

.mhl-pb-0 { padding-bottom: 0; }
.mhl-pb-1 { padding-bottom: 8px; }
.mhl-pb-2 { padding-bottom: 16px; }
.mhl-pb-3 { padding-bottom: 24px; }
.mhl-pb-4 { padding-bottom: 32px; }
.mhl-pb-5 { padding-bottom: 48px; }

/* Text Styles */
.text-emphasis {
    color: var(--mhl-bright-orange);
    font-weight: 500;
}

.text-muted-custom {
    color: #666;
    font-size: 0.95rem;
}

/* Dividers */
.mhl-divider {
    height: 3px;
    background: linear-gradient(to right, var(--mhl-sky-blue), var(--mhl-bright-orange));
    border: none;
    margin: 4rem 0;
    opacity: 0.3;
}

.mhl-divider.subtle {
    height: 2px;
    background: linear-gradient(to right, transparent, var(--mhl-sky-blue), transparent);
    margin: 40px 0;
}

.section-divider {
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--mhl-sky-blue), transparent);
    margin: 0;
    opacity: 0.3;
}

.accent-border {
    height: 3px;
    background: linear-gradient(to right, var(--mhl-bright-orange), var(--mhl-sky-blue));
    margin: 3rem 0;
}

/* Special Components */
.feature-block {
    margin-bottom: 2.5rem;
    padding: 2rem;
    background-color: rgba(67, 191, 203, 0.05);
    border-left: 4px solid var(--mhl-sky-blue);
    border-radius: 6px;
}

.feature-block h3 {
    color: var(--mhl-deep-teal);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.reality-check {
    background-color: var(--mhl-light-gray);
    border-left: 5px solid var(--mhl-bright-orange);
    padding: 2rem;
    margin: 3rem 0;
    border-radius: 0 6px 6px 0;
}

.reality-check h2 {
    color: var(--mhl-bright-orange);
    font-size: 1.75rem;
}

.tool-item {
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(4, 66, 89, 0.1);
}

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

.tool-item h3 {
    color: var(--mhl-bright-orange);
    margin-bottom: 1rem;
}

.mhl-example {
    background-color: white;
    border: 2px solid var(--mhl-sky-blue);
    border-radius: 8px;
    padding: 2rem;
    margin: 1.5rem 0;
}

.mhl-example-bad {
    color: #666;
    text-decoration: line-through;
    margin-bottom: 0.5rem;
}

.mhl-example-good {
    color: var(--mhl-deep-teal);
    font-weight: 500;
}

/* Stats */
.mhl-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 32px;
    text-align: center;
    padding: 60px 0;
}

.mhl-stat {
    text-align: center;
    padding: 2rem;
}

.mhl-stat-item {
    position: relative;
}

.mhl-stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--mhl-bright-orange);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.mhl-stat-label {
    color: #fff;
    font-weight: 500;
    font-size: 1.1rem;
}

.stats-highlight {
    background-color: #43BFC1;
    padding: 40px;
    border-radius: 8px;
    margin: 2rem 0;
}

.stats-highlight h3 {
    color: var(--mhl-deep-teal);
    margin-bottom: 1.5rem;
}

/* Footer */
.footer-note {
    background-color: var(--mhl-light-gray);
    border-top: 3px solid var(--mhl-bright-orange);
}

.footer-note > * {
    max-width: var(--mhl-max-width);
    margin: 0 auto;
    padding: 40px 60px;
}

.footer-note p {
    font-style: italic;
    font-size: 1.05rem;
    margin: 0;
}

.postscript {
    background-color: var(--mhl-background);
    text-align: center;
    font-style: italic;
    color: var(--mhl-dark-blue);
    font-size: 1.125rem;
}

.postscript > * {
    max-width: var(--mhl-max-width);
    margin: 0 auto;
    padding: 40px 60px;
}

/* Additional Components */
.mhl-pricing-table {
    background: white;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 4px 16px var(--mhl-shadow-light);
    transition: var(--mhl-transition-base);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.mhl-pricing-table.featured {
    border: 3px solid var(--mhl-bright-orange);
    transform: scale(1.05);
}

.mhl-pricing-table.featured::before {
    content: 'MOST POPULAR';
    position: absolute;
    top: 20px;
    right: -30px;
    background: var(--mhl-bright-orange);
    color: white;
    padding: 4px 40px;
    font-size: 0.75rem;
    font-weight: 700;
    transform: rotate(45deg);
}

.mhl-pricing-table:hover {
    box-shadow: 0 8px 32px var(--mhl-shadow-medium);
    transform: translateY(-4px);
}

.mhl-pricing-table h3 {
    font-size: 2rem;
    margin-bottom: 16px;
}

.mhl-price {
    font-size: 3rem;
    font-weight: 700;
    color: var(--mhl-deep-teal);
    margin-bottom: 8px;
}

.mhl-price .currency {
    font-size: 1.5rem;
    vertical-align: super;
}

.mhl-price .period {
    font-size: 1rem;
    font-weight: 400;
    color: var(--mhl-dark-blue);
}

/* Testimonials */
.mhl-testimonial {
    background: white;
    border-radius: 12px;
    padding: 32px;
    box-shadow: 0 2px 12px var(--mhl-shadow-light);
    position: relative;
    margin-bottom: 24px;
}

.mhl-testimonial::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 80px;
    color: var(--mhl-sky-blue);
    opacity: 0.3;
    font-weight: 700;
}

.mhl-testimonial-text {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
    font-style: italic;
}

.mhl-testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
}

.mhl-testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--mhl-light-gray);
}

.mhl-testimonial-info h5 {
    margin: 0;
    font-weight: 700;
    color: var(--mhl-deep-teal);
}

.mhl-testimonial-info p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--mhl-dark-blue);
    opacity: 0.8;
}

/* Comparison Table */
.mhl-comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 40px;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px var(--mhl-shadow-light);
}

.mhl-comparison-table th {
    background: var(--mhl-deep-teal);
    color: white;
    padding: 20px;
    text-align: left;
    font-weight: 700;
    font-size: 1.1rem;
}

.mhl-comparison-table td {
    padding: 20px;
    border-bottom: 1px solid var(--mhl-light-gray);
}

.mhl-comparison-table tr:last-child td {
    border-bottom: none;
}

.mhl-comparison-table .check {
    color: var(--mhl-sky-blue);
    font-size: 1.5rem;
    font-weight: 700;
}

/* FAQ */
.mhl-faq-item {
    border-bottom: 1px solid var(--mhl-light-gray);
    padding: 24px 0;
}

.mhl-faq-question {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--mhl-deep-teal);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--mhl-transition-base);
}

.mhl-faq-question:hover {
    color: var(--mhl-bright-orange);
}

.mhl-faq-question::after {
    content: '+';
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--mhl-sky-blue);
    transition: var(--mhl-transition-base);
}

.mhl-faq-item.active .mhl-faq-question::after {
    content: '−';
    transform: rotate(180deg);
}

.mhl-faq-answer {
    margin-top: 16px;
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--mhl-dark-blue);
    display: none;
}

.mhl-faq-item.active .mhl-faq-answer {
    display: block;
}

/* Badges */
.mhl-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.mhl-badge-primary {
    background-color: var(--mhl-deep-teal);
    color: white;
}

.mhl-badge-secondary {
    background-color: var(--mhl-sky-blue);
    color: white;
}

.mhl-badge-accent {
    background-color: var(--mhl-bright-orange);
    color: white;
}

/* Progress Bar */
.mhl-progress {
    background-color: var(--mhl-light-gray);
    border-radius: 10px;
    height: 10px;
    overflow: hidden;
    margin: 16px 0;
}

.mhl-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--mhl-bright-orange) 0%, var(--mhl-sky-blue) 100%);
    border-radius: 10px;
    transition: width 0.6s ease;
}

/* ============================================
   9. Responsive Design
   ============================================ */
@media (max-width: 1200px) {
    /* Adjust padding when viewport is at max-width */
    .mhl-content,
    .mhl-section,
    .opener-section,
    .intro-section {
        padding-left: 40px;
        padding-right: 40px;
    }
    
    .mhl-content.padding-sides {
        padding: 0 40px;
    }
}

@media (max-width: 992px) {
    .mhl-skills-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
    
    .mhl-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    /* Update all section paddings for mobile */
    .mhl-hero > *,
    .mhl-section,
    .mhl-cta-section > *,
    .mhl-product-hero > *,
    .mhl-content,
    .hero-section > *,
    .content-section,
    .opener-section,
    .cta-section > *,
    .cta-section.dark > *,
    .postscript > *,
    .intro-section,
    .footer-note > *,
    .mhl-cta > * {
        padding: 40px 30px;
    }
    
    .mhl-content.padding-sides {
        padding: 0 30px;
    }
    
    .mhl-section-alt.full-width {
        padding: 40px 30px;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    .mhl-hero h1,
    .mhl-product-hero h1 {
        font-size: 2.25rem;
    }
    
    .hero-section h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.7rem;
    }
    
    .mhl-section h2 {
        font-size: 1.75rem;
    }
    
    .mhl-section h3 {
        font-size: 1.4rem;
    }
    
    .mhl-pricing-table.featured {
        transform: scale(1);
    }
    
    .mhl-stats {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .mhl-stat-number {
        font-size: 2.5rem;
    }
    
    .mhl-comparison-table {
        font-size: 0.9rem;
    }
    
    .mhl-comparison-table th,
    .mhl-comparison-table td {
        padding: 12px;
    }
    
    .cta-button {
        display: block;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }
}

@media (max-width: 576px) {
    /* Further reduce padding on small screens */
    .mhl-hero > *,
    .mhl-section,
    .mhl-cta-section > *,
    .mhl-product-hero > *,
    .mhl-content,
    .hero-section > *,
    .content-section,
    .opener-section,
    .cta-section > *,
    .cta-section.dark > *,
    .postscript > *,
    .intro-section,
    .footer-note > *,
    .mhl-cta > * {
        padding: 30px 20px;
    }
    
    .mhl-skills-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .mhl-hero h1,
    .mhl-product-hero h1 {
        font-size: 1.75rem;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .hero-tagline {
        font-size: 1.25rem;
    }
    
    .mhl-hero p,
    .mhl-product-hero .lead {
        font-size: 1.1rem;
    }
    
    .mhl-cta-button {
        padding: 12px 24px;
        font-size: 1rem;
    }
    
    .mhl-emphasis-box {
        padding: 24px;
        margin: 24px 0;
    }
    
    .mhl-skill-link {
        padding: 24px;
    }
    
    .mhl-price {
        font-size: 2.5rem;
    }
}

/* ============================================
   10. Print Styles
   ============================================ */
@media print {
    .mhl-hero,
    .mhl-cta-section {
        background: none;
        color: var(--mhl-dark-blue);
    }
    
    .mhl-hero h1,
    .mhl-cta-section h2 {
        color: var(--mhl-deep-teal);
    }
    
    .mhl-cta-button {
        border: 2px solid var(--mhl-bright-orange);
        color: var(--mhl-bright-orange);
        background: none;
    }
    
    .mhl-skill-link {
        border: 1px solid var(--mhl-light-gray);
        box-shadow: none;
    }
}

/* Additional page-specific styling for world-class design */
.content-section h2 {
    margin-top: 0;
}

/* Enhanced hero stats on mobile */
@media (max-width: 768px) {
    .mhl-hero .mhl-stats {
        padding: 20px 0 0;
    }
    
    .mhl-hero .mhl-stat-number {
        font-size: 2.5rem;
        color: var(--mhl-sky-blue);
    }
    
    .mhl-hero .mhl-stat-label {
        font-size: 0.9rem;
        color: rgba(255, 255, 255, 0.9);
    }
}

/* Smooth scroll behavior for better UX */
html {
    scroll-behavior: smooth;
}

/* Enhanced focus states for accessibility */
a:focus,
button:focus,
.mhl-cta-button:focus {
    outline: 3px solid var(--mhl-sky-blue);
    outline-offset: 2px;
}

/* Animation for numbered items on scroll (CSS-only approach) */
.mhl-numbered-item {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease-out forwards;
}

.mhl-numbered-item:nth-child(1) { animation-delay: 0.1s; }
.mhl-numbered-item:nth-child(2) { animation-delay: 0.2s; }
.mhl-numbered-item:nth-child(3) { animation-delay: 0.3s; }
.mhl-numbered-item:nth-child(4) { animation-delay: 0.4s; }
.mhl-numbered-item:nth-child(5) { animation-delay: 0.5s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Enhanced testimonial styling */
.mhl-testimonial {
    transition: var(--mhl-transition-slow);
}

.mhl-testimonial:hover {
    box-shadow: 0 4px 20px var(--mhl-shadow-medium);
}

/* Progress bar animation */
.mhl-progress-bar {
    animation: progressFill 2s ease-out forwards;
}

@keyframes progressFill {
    from {
        width: 0;
    }
}

/* Enhanced CTA section */
.mhl-cta-section.dark {
    background: linear-gradient(135deg, var(--mhl-deep-teal) 0%, #033547 100%);
    position: relative;
}

.mhl-cta-section.dark::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="pattern" x="0" y="0" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="rgba(67,191,203,0.2)"/></pattern></defs><rect width="100" height="100" fill="url(%23pattern)"/></svg>');
    opacity: 0.3;
}

/* Badge pulse animation */
.mhl-badge-accent {
    animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(252, 103, 35, 0.4);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(252, 103, 35, 0);
    }
}

/* Enhanced quote styling in CTA */
.mhl-cta-section .mhl-quote {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: var(--mhl-sky-blue);
}

.mhl-cta-section .mhl-quote p {
    color: white;
}

/* Improved numbered item hover */
.mhl-numbered-item:hover {
    transform: translateX(10px);
    transition: var(--mhl-transition-base);
}

.mhl-numbered-item:hover:before {
    background-color: var(--mhl-bright-orange);
    transform: scale(1.1);
    transition: var(--mhl-transition-base);
}

/* Enhanced highlight box in dark mode */
.mhl-numbered-item .mhl-highlight {
    background-color: var(--mhl-deep-teal);
}

.mhl-numbered-item .mhl-highlight p {
    color: white;
    margin: 0;
}

/* Refined tool spacing */
.mhl-numbered-item {
    margin-bottom: 3rem;
}

.mhl-numbered-item:last-child {
    margin-bottom: 0;
}


/* MHL Tab System Styles */
.mhl-tabs-container {
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 16px var(--mhl-shadow-light);
  overflow: hidden;
  margin: 3rem 0;
}

.mhl-tabs-nav {
  display: flex;
  background-color: var(--mhl-light-gray);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--mhl-sky-blue) var(--mhl-light-gray);
}

.mhl-tabs-nav::-webkit-scrollbar {
  height: 6px;
}

.mhl-tabs-nav::-webkit-scrollbar-track {
  background: var(--mhl-light-gray);
}

.mhl-tabs-nav::-webkit-scrollbar-thumb {
  background: var(--mhl-sky-blue);
  border-radius: 3px;
}

.mhl-tab {
  flex: 1;
  min-width: 140px;
  padding: 1.5rem 1rem;
  background: none;
  border: none;
  font-family: 'Roboto', sans-serif;
  font-weight: 500;
  color: var(--mhl-dark-blue);
  cursor: pointer;
  transition: var(--mhl-transition-base);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  position: relative;
  outline: none;
}

.mhl-tab:hover {
  background-color: rgba(67, 191, 203, 0.1);
}

.mhl-tab:focus {
  outline: 3px solid var(--mhl-sky-blue);
  outline-offset: -3px;
}

.mhl-tab.active {
  background-color: white;
  color: var(--mhl-deep-teal);
}

.mhl-tab.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background-color: var(--mhl-bright-orange);
  animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

.mhl-tab-icon {
  font-size: 1.75rem;
  display: block;
  transition: transform 0.3s ease;
}

.mhl-tab:hover .mhl-tab-icon {
  transform: scale(1.1);
}

.mhl-tab.active .mhl-tab-icon {
  animation: iconPulse 0.6s ease-out;
}

@keyframes iconPulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.2);
  }
  100% {
    transform: scale(1);
  }
}

.mhl-tab-label {
  font-size: 0.95rem;
  text-align: center;
}

.mhl-tabs-content {
  padding: 3rem;
}

.mhl-tab-panel {
  display: none;
  animation: fadeInPanel 0.4s ease-out;
}

.mhl-tab-panel.active {
  display: block;
}

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

.mhl-tab-panel-title {
  color: var(--mhl-deep-teal);
  margin-bottom: 2rem;
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
}

/* Grid for score cards */
.mhl-grid-2col {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

/* Score Cards */
.mhl-score-card {
  background-color: var(--mhl-background);
  border-radius: 12px;
  padding: 2rem;
  transition: var(--mhl-transition-base);
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}

.mhl-score-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, var(--mhl-sky-blue) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.mhl-score-card:hover::before {
  opacity: 0.05;
}

.mhl-score-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px var(--mhl-shadow-medium);
}

.mhl-score-card.high:hover {
  border-color: var(--mhl-sky-blue);
}

.mhl-score-card.low:hover {
  border-color: var(--mhl-bright-orange);
}

.mhl-score-header {
  margin-bottom: 1.5rem;
}

.mhl-score-header h4 {
  color: var(--mhl-deep-teal);
  margin: 0.5rem 0 0 0;
  font-size: 1.25rem;
}

.mhl-score-description {
  color: var(--mhl-dark-blue);
  margin-bottom: 1.5rem;
  line-height: 1.7;
  font-size: 1.05rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .mhl-tabs-nav {
    justify-content: flex-start;
  }
  
  .mhl-tab {
    min-width: 120px;
    padding: 1rem 0.75rem;
  }
.pillars-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr !important;
  gap: 0.75rem;
}