/* ============================================
   HERO Magnetic AI (HMA)
   Website Health Check for the AI Era
   Powered by HIP Platform
   ============================================ */

:root {
    --navy-dark: #0a0e1a;
    --navy: #0f1629;
    --navy-light: #1a2140;
    --navy-lighter: #242d4a;
    --pink: #ff2d7b;
    --pink-light: #ff5c9a;
    --blue: #00c8ff;
    --blue-light: #4dd9ff;
    --purple: #8b5cf6;
    --cyan: #00e5ff;
    --gradient-pink-blue: linear-gradient(135deg, #ff2d7b, #00c8ff);
    --gradient-pink-purple: linear-gradient(135deg, #ff2d7b, #8b5cf6);
    --gradient-blue-purple: linear-gradient(135deg, #00c8ff, #8b5cf6);
    --gradient-cyan-blue: linear-gradient(135deg, #00e5ff, #00c8ff);
    --text-primary: #ffffff;
    --text-secondary: #a0aec0;
    --text-muted: #6b7a99;
    --border: rgba(255, 255, 255, 0.08);
    --glass: rgba(15, 22, 41, 0.8);
    --glass-light: rgba(26, 33, 64, 0.6);
    --shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    --radius: 16px;
    --radius-sm: 8px;
    --radius-lg: 24px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--navy-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ============================================
   NAVIGATION
   ============================================ */
.hma-navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    backdrop-filter: blur(20px);
    background: rgba(10, 14, 26, 0.9);
    border-bottom: 1px solid var(--border);
}

.hma-nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hma-nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.hma-nav-brand img {
    height: 52px;
    width: auto;
    border-radius: 0;
    object-fit: contain;
}

.hma-nav-logo-fallback {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    background: var(--gradient-pink-blue);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: flex;
    align-items: center;
}

.hma-nav-brand-text {
    display: none; /* Replaced by logo image */
}

.hma-nav-brand-text .brand-name {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    background: var(--gradient-pink-blue);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hma-nav-brand-text .brand-sub {
    font-size: 0.65rem;
    color: var(--text-muted);
    letter-spacing: 0.5px;
}

/* Hero Logo */
.hma-hero-logo {
    max-width: 320px;
    height: auto;
    margin-bottom: 28px;
    animation: fadeInUp 0.6s ease 0.1s both;
}

/* Footer Logo */
.hma-footer-logo {
    height: 44px;
    width: auto;
    object-fit: contain;
    margin-bottom: 12px;
}

.hma-nav-links {
    display: flex;
    align-items: center;
    gap: 24px;
}

.hma-nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.hma-nav-links a:hover {
    color: var(--text-primary);
}

.hma-nav-links .btn-primary-sm {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    background: var(--gradient-pink-blue);
    color: white;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.hma-nav-links .btn-primary-sm:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(255, 45, 123, 0.3);
}

/* ============================================
   HERO + FORM SPLIT LAYOUT (Two-Column)
   ============================================ */
.hma-hero-split {
    display: flex;
    align-items: flex-start;
    gap: 48px;
    min-height: 100vh;
    padding: 120px 24px 80px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.hma-hero-left {
    flex: 1;
    max-width: 520px;
    padding-top: 40px;
    position: sticky;
    top: 120px;
}

.hma-hero-right {
    flex: 1;
    max-width: 560px;
}

.hma-hero-split .hma-hero-logo {
    max-width: 300px;
    height: auto;
    margin-bottom: 28px;
    animation: fadeInUp 0.6s ease 0.1s both;
}

.hma-hero-split .hma-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: var(--glass-light);
    border: 1px solid var(--border);
    border-radius: 100px;
    font-size: 0.8rem;
    color: var(--cyan);
    margin-bottom: 20px;
    font-weight: 500;
}

.hma-hero-split .hma-badge .badge-icon {
    font-size: 0.9rem;
}

.hma-hero-split .tagline {
    font-size: 0.9rem;
    color: var(--cyan);
    font-weight: 600;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
}

.hma-hero-split h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.6rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 18px;
}

.hma-hero-split h1 .gradient-text {
    background: var(--gradient-pink-blue);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hma-hero-split .subtitle {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 28px;
}

.hma-hero-split .ai-platforms {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.hma-hero-split .ai-platform-item {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: var(--glass-light);
    border: 1px solid var(--border);
    border-radius: 100px;
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.hma-hero-split .ai-platform-item i {
    color: var(--cyan);
}

/* Form card within split layout */
.hma-hero-right .hma-form-card {
    max-width: 100%;
    margin: 0;
    background: var(--navy);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow), 0 0 80px rgba(0, 200, 255, 0.05);
    position: relative;
    overflow: hidden;
}

.hma-hero-right .hma-form-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-pink-blue);
}

/* Bilingual form title styles */
.hma-form-card h2 .form-title-th {
    font-size: 0.85em;
    font-weight: 500;
    color: var(--cyan);
}

.hma-form-card .form-subtitle .form-subtitle-th {
    font-size: 0.9em;
    color: var(--cyan);
}

/* Bilingual label styling — English = white, Thai = cyan */
.hma-form-group label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: 0.3px;
}

.hma-form-group label .label-th {
    font-weight: 400;
    color: var(--cyan);
}

/* Button Thai text */
.hma-submit-btn .btn-th {
    font-weight: 500;
    color: rgba(255, 255, 255, 0.75);
}

/* Responsive: stack on mobile */
@media (max-width: 960px) {
    .hma-hero-split {
        flex-direction: column;
        align-items: center;
        padding: 100px 20px 60px;
        gap: 40px;
    }

    .hma-hero-left {
        max-width: 100%;
        text-align: center;
        position: static;
        padding-top: 0;
    }

    .hma-hero-left .hma-hero-logo {
        max-width: 240px;
        margin-left: auto;
        margin-right: auto;
    }

    .hma-hero-left .ai-platforms {
        justify-content: center;
    }

    .hma-hero-left h1 {
        font-size: 2rem;
    }

    .hma-hero-right {
        max-width: 100%;
        width: 100%;
    }

    .hma-hero-right .hma-form-card {
        padding: 28px 20px;
    }
}

.hma-form-card h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 8px;
    text-align: center;
}

.hma-form-card .form-subtitle {
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 32px;
}

.hma-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.hma-form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.hma-form-group label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-secondary);
    letter-spacing: 0.3px;
}

.hma-form-group input,
.hma-form-group select {
    width: 100%;
    padding: 14px 18px;
    background: var(--navy-dark);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 0.9rem;
    font-family: 'Inter', sans-serif;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    outline: none;
}

.hma-form-group input:focus,
.hma-form-group select:focus {
    border-color: var(--cyan);
    box-shadow: 0 0 0 3px rgba(0, 229, 255, 0.1);
}

.hma-form-group input::placeholder {
    color: var(--text-muted);
}

.hma-form-group select {
    appearance: none;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%236b7a99' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
}

.hma-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.hma-submit-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 18px 32px;
    background: var(--gradient-pink-blue);
    color: white;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 8px;
    font-family: 'Inter', sans-serif;
}

.hma-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(255, 45, 123, 0.35);
}

.hma-submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.hma-submit-btn i {
    font-size: 1.1rem;
}

/* ============================================
   LOADING STATE
   ============================================ */
.hma-loading {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    padding: 140px 24px 60px;
    min-height: 100vh;
}

.hma-loading.active {
    display: flex;
}

.hma-loading-spinner {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 4px solid var(--navy-lighter);
    border-top-color: var(--cyan);
    border-right-color: var(--pink);
    animation: spin 1.2s linear infinite;
    margin-bottom: 32px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hma-loading h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.hma-loading p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    max-width: 500px;
}

.hma-loading-steps {
    margin-top: 32px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.hma-loading-step {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    color: var(--text-muted);
    transition: color 0.3s ease;
}

.hma-loading-step.active {
    color: var(--cyan);
}

.hma-loading-step.done {
    color: #28ca42;
}

.hma-loading-step i {
    width: 20px;
    text-align: center;
}

/* ============================================
   FEATURES SECTION
   ============================================ */
.hma-features {
    padding: 100px 24px;
    background: var(--navy);
}

.hma-features-header {
    text-align: center;
    margin-bottom: 64px;
}

.hma-features-header h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.hma-features-header p {
    font-size: 1rem;
    color: var(--text-secondary);
}

.hma-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto;
}

.hma-feature-card {
    background: var(--navy-dark);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    transition: all 0.3s ease;
}

.hma-feature-card:hover {
    border-color: var(--cyan);
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(0, 229, 255, 0.08);
}

.hma-feature-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-cyan-blue);
    border-radius: 14px;
    font-size: 1.3rem;
    color: white;
    margin-bottom: 18px;
}

.hma-feature-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.hma-feature-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ============================================
   CTA SECTION
   ============================================ */
.hma-cta-section {
    padding: 100px 24px;
    text-align: center;
}

.hma-cta-card {
    max-width: 700px;
    margin: 0 auto;
    padding: 60px 48px;
    background: var(--navy);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    position: relative;
    overflow: hidden;
}

.hma-cta-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 229, 255, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.hma-cta-card h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 16px;
    position: relative;
}

.hma-cta-card p {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 32px;
    position: relative;
}

.hma-cta-card .btn-primary-lg {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 18px 36px;
    background: var(--gradient-pink-blue);
    color: white;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    position: relative;
}

.hma-cta-card .btn-primary-lg:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(255, 45, 123, 0.35);
}

/* ============================================
   FOOTER
   ============================================ */
.hma-footer {
    padding: 48px 24px 32px;
    border-top: 1px solid var(--border);
    text-align: center;
}

.hma-footer-brand {
    margin-bottom: 20px;
}

.hma-footer-brand h4 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.hma-footer-brand p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.hma-footer-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.hma-footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s ease;
}

.hma-footer-links a:hover {
    color: var(--cyan);
}

.hma-footer-copy {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* ============================================
   DISCLAIMER
   ============================================ */
.hma-disclaimer {
    max-width: 640px;
    margin: 40px auto 0;
    padding: 20px 24px;
    background: rgba(255, 189, 46, 0.05);
    border: 1px solid rgba(255, 189, 46, 0.2);
    border-radius: var(--radius-sm);
    text-align: center;
}

.hma-disclaimer p {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.hma-disclaimer i {
    color: #ffbd2e;
    margin-right: 6px;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
    .hma-form-card {
        padding: 32px 24px;
    }

    .hma-form-row {
        grid-template-columns: 1fr;
    }

    .hma-nav-links {
        display: none;
    }

    .hma-nav-brand img {
        height: 40px;
    }

    .hma-hero-logo {
        max-width: 220px;
    }

    .hma-footer-logo {
        height: 36px;
    }

    .hma-features-header h2 {
        font-size: 1.6rem;
    }

    .hma-cta-card {
        padding: 40px 24px;
    }

    .hma-cta-card h2 {
        font-size: 1.4rem;
    }
}

/* ============================================
   REPORT PAGE STYLES
   ============================================ */
.hma-report-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 80px 24px 80px;
}

.hma-report-header {
    text-align: center;
    margin-bottom: 48px;
}

.hma-report-header h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.hma-report-header p {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

/* Score Meter */
.hma-score-section {
    display: flex;
    justify-content: center;
    margin-bottom: 48px;
}

.hma-score-meter {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px;
    background: var(--navy);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    min-width: 280px;
}

.hma-score-ring {
    position: relative;
    width: 160px;
    height: 160px;
    margin-bottom: 20px;
}

.hma-score-ring svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.hma-score-ring .ring-bg {
    fill: none;
    stroke: var(--navy-lighter);
    stroke-width: 10;
}

.hma-score-ring .ring-fill {
    fill: none;
    stroke: url(#scoreGradient);
    stroke-width: 10;
    stroke-linecap: round;
    stroke-dasharray: 440;
    stroke-dashoffset: 440;
    transition: stroke-dashoffset 1.5s ease;
}

.hma-score-value {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.hma-score-value .score-number {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.8rem;
    font-weight: 800;
    background: var(--gradient-pink-blue);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hma-score-value .score-max {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.hma-score-label {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.hma-score-rating {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 600;
}

.hma-score-rating.dominant { background: rgba(40, 202, 66, 0.15); color: #28ca42; border: 1px solid rgba(40, 202, 66, 0.3); }
.hma-score-rating.ai-ready { background: rgba(0, 200, 255, 0.15); color: #00c8ff; border: 1px solid rgba(0, 200, 255, 0.3); }
.hma-score-rating.strong { background: rgba(139, 92, 246, 0.15); color: #8b5cf6; border: 1px solid rgba(139, 92, 246, 0.3); }
.hma-score-rating.average { background: rgba(255, 189, 46, 0.15); color: #ffbd2e; border: 1px solid rgba(255, 189, 46, 0.3); }
.hma-score-rating.weak { background: rgba(255, 140, 0, 0.15); color: #ff8c00; border: 1px solid rgba(255, 140, 0, 0.3); }
.hma-score-rating.invisible { background: rgba(255, 45, 123, 0.15); color: #ff2d7b; border: 1px solid rgba(255, 45, 123, 0.3); }

/* Report Cards Grid */
.hma-report-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    margin-bottom: 48px;
}

.hma-report-card {
    background: var(--navy);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    transition: all 0.3s ease;
}

.hma-report-card:hover {
    border-color: rgba(0, 229, 255, 0.3);
}

.hma-report-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.hma-report-card-header h3 {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.hma-report-card-header .card-score {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    background: var(--gradient-pink-blue);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hma-report-card-bar {
    height: 6px;
    background: var(--navy-lighter);
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 14px;
}

.hma-report-card-bar .bar-fill {
    height: 100%;
    border-radius: 3px;
    background: var(--gradient-pink-blue);
    transition: width 1.2s ease;
}

.hma-report-card-details {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.hma-report-card-details .detail-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.hma-report-card-details .detail-item i {
    width: 16px;
    text-align: center;
    font-size: 0.75rem;
}

.hma-report-card-details .detail-item i.pass { color: #28ca42; }
.hma-report-card-details .detail-item i.fail { color: #ff2d7b; }
.hma-report-card-details .detail-item i.warn { color: #ffbd2e; }

/* Priority Fixes */
.hma-priority-fixes {
    background: var(--navy);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    margin-bottom: 48px;
}

.hma-priority-fixes h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.hma-priority-fixes h2 i {
    color: #ffbd2e;
}

.hma-fix-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.hma-fix-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    background: var(--navy-dark);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
}

.hma-fix-item .fix-priority {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    height: 28px;
    border-radius: 50%;
    font-size: 0.75rem;
    font-weight: 700;
    color: white;
}

.hma-fix-item .fix-priority.high { background: #ff2d7b; }
.hma-fix-item .fix-priority.medium { background: #ffbd2e; }
.hma-fix-item .fix-priority.low { background: var(--blue); }

.hma-fix-item .fix-content h4 {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.hma-fix-item .fix-content p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Recommended Actions */
.hma-actions-section {
    background: var(--navy);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    margin-bottom: 48px;
}

.hma-actions-section h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.hma-actions-section h2 i {
    color: var(--cyan);
}

.hma-actions-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 14px;
}

.hma-action-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    background: var(--navy-dark);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.hma-action-item i {
    color: var(--cyan);
    font-size: 0.9rem;
}

/* Report CTA */
.hma-report-cta {
    text-align: center;
    padding: 48px;
    background: var(--navy);
    border: 1px solid rgba(0, 229, 255, 0.2);
    border-radius: var(--radius-lg);
    margin-bottom: 40px;
}

.hma-report-cta h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.hma-report-cta p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 28px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.hma-report-cta .btn-audit {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 18px 36px;
    background: var(--gradient-pink-blue);
    color: white;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.hma-report-cta .btn-audit:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(255, 45, 123, 0.35);
}

/* Report Not Found */
.hma-report-empty {
    text-align: center;
    padding: 80px 24px;
}

.hma-report-empty i {
    font-size: 3rem;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.hma-report-empty h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.hma-report-empty p {
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.hma-report-empty a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: var(--gradient-pink-blue);
    color: white;
    border-radius: var(--radius-sm);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.hma-report-empty a:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 45, 123, 0.3);
}

/* Report Disclaimer */
.hma-report-disclaimer {
    padding: 20px 24px;
    background: rgba(255, 189, 46, 0.05);
    border: 1px solid rgba(255, 189, 46, 0.2);
    border-radius: var(--radius-sm);
    margin-bottom: 40px;
}

.hma-report-disclaimer p {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.6;
    text-align: center;
}

.hma-report-disclaimer i {
    color: #ffbd2e;
    margin-right: 6px;
}


/* ============================================
   AUDIT CONFIDENCE SECTION
   ============================================ */
.hma-confidence-section {
    display: flex;
    justify-content: center;
    margin-bottom: 48px;
}

.hma-confidence-card {
    width: 100%;
    max-width: 500px;
    background: var(--navy);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 32px;
}

.hma-confidence-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.hma-confidence-header h3 {
    font-size: 1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.hma-confidence-header h3 i {
    color: var(--cyan);
}

.hma-confidence-percent {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--gradient-pink-blue);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hma-confidence-bar {
    height: 8px;
    background: var(--navy-lighter);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 20px;
}

.hma-confidence-fill {
    height: 100%;
    border-radius: 4px;
    background: var(--gradient-cyan-blue);
    transition: width 1s ease;
}

.hma-confidence-checks {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.confidence-check-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.confidence-check-item i {
    color: #28ca42;
    font-size: 0.7rem;
}

/* ============================================
   WHY THIS SCORE? BREAKDOWN
   ============================================ */
.hma-breakdown-section {
    background: var(--navy);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    margin-bottom: 48px;
}

.hma-breakdown-section h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 28px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.hma-breakdown-section h2 i {
    color: var(--cyan);
}

.hma-breakdown-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.hma-breakdown-item {
    display: grid;
    grid-template-columns: 180px 1fr 80px;
    align-items: center;
    gap: 16px;
}

.hma-breakdown-item .breakdown-label {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.hma-breakdown-item .breakdown-bar {
    height: 8px;
    background: var(--navy-lighter);
    border-radius: 4px;
    overflow: hidden;
}

.hma-breakdown-item .breakdown-bar .breakdown-fill {
    height: 100%;
    border-radius: 4px;
    background: var(--gradient-pink-blue);
    transition: width 1.2s ease;
}

.hma-breakdown-item .breakdown-bar .breakdown-fill.total {
    background: var(--gradient-cyan-blue);
}

.hma-breakdown-item .breakdown-value {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    text-align: right;
    color: var(--text-primary);
}

.hma-breakdown-item.hma-breakdown-total {
    margin-top: 12px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
}

.hma-breakdown-item.hma-breakdown-total .breakdown-label {
    font-weight: 700;
    color: var(--text-primary);
}

.hma-breakdown-item.hma-breakdown-total .breakdown-value {
    font-size: 1.1rem;
    background: var(--gradient-pink-blue);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ============================================
   ENHANCED CTA COMPARISON
   ============================================ */
.hma-cta-comparison {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 32px;
    text-align: left;
}

.hma-cta-col {
    padding: 24px;
    background: var(--navy-dark);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
}

.hma-cta-col h4 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.hma-cta-col h4 i {
    color: var(--text-muted);
}

.hma-cta-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.hma-cta-col ul li {
    font-size: 0.8rem;
    color: var(--text-secondary);
    padding-left: 16px;
    position: relative;
}

.hma-cta-col ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--text-muted);
}

.hma-cta-col-highlight {
    border-color: rgba(0, 229, 255, 0.3);
    background: rgba(0, 229, 255, 0.03);
}

.hma-cta-col-highlight h4 i {
    color: var(--cyan);
}

.hma-cta-col-highlight ul li::before {
    color: var(--cyan);
}

/* ============================================
   CARD WEIGHT LABEL
   ============================================ */
.hma-report-card-header h3 .card-weight {
    font-size: 0.7rem;
    font-weight: 400;
    color: var(--text-muted);
}

/* ============================================
   STRENGTHS & WEAKNESSES SECTIONS
   ============================================ */
.hma-strengths-section {
    border-color: rgba(40, 202, 66, 0.2);
}

.hma-strengths-section h2 i {
    color: #28ca42 !important;
}

.hma-weaknesses-section {
    border-color: rgba(255, 45, 123, 0.2);
}

.hma-weaknesses-section h2 i {
    color: #ff2d7b !important;
}

/* ============================================
   RESPONSIVE — NEW SECTIONS
   ============================================ */
@media (max-width: 768px) {
    .hma-report-container {
        padding: 70px 16px 60px;
    }

    .hma-report-header h1 {
        font-size: 1.5rem;
    }

    .hma-report-grid {
        grid-template-columns: 1fr;
    }

    .hma-priority-fixes,
    .hma-actions-section {
        padding: 24px 18px;
    }

    .hma-report-cta {
        padding: 32px 20px;
    }

    .hma-breakdown-item {
        grid-template-columns: 1fr;
        gap: 6px;
    }

    .hma-breakdown-item .breakdown-value {
        text-align: left;
    }

    .hma-confidence-checks {
        grid-template-columns: 1fr;
    }

    .hma-cta-comparison {
        grid-template-columns: 1fr;
    }
}


/* ============================================
   HMA v3 — DUAL ASSESSMENT LAYOUT
   ============================================ */
.hma-dual-scores {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 48px;
}

.hma-dual-card {
    background: var(--navy);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    text-align: center;
}

.hma-dual-card-primary {
    border-color: rgba(0, 229, 255, 0.3);
    box-shadow: 0 0 40px rgba(0, 229, 255, 0.05);
}

.hma-dual-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--text-secondary);
}

.hma-dual-ring {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto 20px;
}

.hma-dual-ring svg {
    width: 100%;
    height: 100%;
}

.hma-dual-ring-value {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.8rem;
    font-weight: 800;
}

.hma-dual-ring-value span {
    font-size: 0.7rem;
    font-weight: 400;
    color: var(--text-muted);
}

.hma-dual-rating {
    display: inline-block;
    padding: 6px 18px;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.hma-dual-metrics {
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: left;
}

.hma-metric {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 12px;
    background: var(--navy-dark);
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
}

.hma-metric span:first-child {
    color: var(--text-secondary);
}

.hma-metric span:last-child {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    color: var(--text-primary);
}

.hma-dual-note {
    margin-top: 16px;
    font-size: 0.75rem;
    color: var(--text-muted);
    font-style: italic;
}

/* Insight Box */
.hma-insight-box {
    background: var(--navy);
    border: 1px solid rgba(0, 229, 255, 0.2);
    border-radius: var(--radius);
    padding: 32px;
    margin-bottom: 48px;
}

.hma-insight-box h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.hma-insight-box h3 i {
    color: var(--cyan);
}

.hma-insight-box > p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 16px;
}

.hma-insight-key {
    padding-top: 12px;
    border-top: 1px solid var(--border);
}

/* Category Explanations */
.hma-explanations {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
    margin-top: 20px;
}

.hma-explanation-card {
    background: var(--navy-dark);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 20px;
}

.hma-explanation-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.hma-explanation-header h4 {
    font-size: 0.9rem;
    font-weight: 600;
}

.hma-ex-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 8px;
    font-size: 0.78rem;
}

.hma-ex-list.pass { color: #28ca42; }
.hma-ex-list.fail { color: #ff5c9a; }
.hma-ex-list.warn { color: #ffbd2e; }

/* Responsive dual layout */
@media (max-width: 768px) {
    .hma-dual-scores {
        grid-template-columns: 1fr;
    }

    .hma-explanations {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   POSITIONING STATEMENT
   ============================================ */
.hma-positioning {
    padding: 100px 24px;
    background: var(--navy);
}

.hma-pos-content {
    max-width: 900px;
    margin: 0 auto;
}

.hma-pos-compare {
    display: flex;
    align-items: center;
    gap: 32px;
    justify-content: center;
}

.hma-pos-card {
    flex: 1;
    max-width: 360px;
    padding: 36px 32px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    text-align: center;
}

.hma-pos-card.hma-pos-old {
    background: rgba(255, 45, 123, 0.03);
    border-color: rgba(255, 45, 123, 0.2);
}

.hma-pos-card.hma-pos-new {
    background: rgba(0, 229, 255, 0.03);
    border-color: rgba(0, 229, 255, 0.3);
}

.hma-pos-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.hma-pos-card p {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.5;
}

.hma-pos-card .hma-pos-sub {
    margin-top: 8px;
    font-size: 1.1rem;
    color: var(--cyan);
}

.hma-pos-divider {
    font-size: 1.5rem;
    color: var(--pink);
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .hma-pos-compare {
        flex-direction: column;
        gap: 20px;
    }
    .hma-pos-card {
        max-width: 100%;
    }
    .hma-pos-divider {
        transform: rotate(90deg);
    }
}

/* ============================================
   SERVICE PACKAGES
   ============================================ */
.hma-packages {
    padding: 100px 24px;
    background: var(--navy-dark);
}

.hma-packages-header {
    text-align: center;
    margin-bottom: 64px;
}

.hma-packages-header h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.4rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.hma-packages-header p {
    font-size: 1rem;
    color: var(--text-secondary);
}

.hma-packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.hma-pkg-card {
    background: var(--navy);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 36px 28px;
    position: relative;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}

.hma-pkg-card:hover {
    border-color: rgba(0, 229, 255, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.hma-pkg-card.hma-pkg-featured {
    border-color: rgba(0, 229, 255, 0.4);
    box-shadow: 0 0 40px rgba(0, 229, 255, 0.08);
}

.hma-pkg-card.hma-pkg-featured::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-pink-blue);
}

.hma-pkg-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-pink-blue);
    border-radius: 14px;
    font-size: 1.3rem;
    color: white;
    margin-bottom: 18px;
}

.hma-pkg-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 4px 12px;
    border-radius: 100px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hma-pkg-badge.free { background: rgba(40, 202, 66, 0.15); color: #28ca42; border: 1px solid rgba(40, 202, 66, 0.3); }
.hma-pkg-badge.popular { background: rgba(0, 229, 255, 0.15); color: var(--cyan); border: 1px solid rgba(0, 229, 255, 0.3); }
.hma-pkg-badge.premium { background: rgba(139, 92, 246, 0.15); color: var(--purple); border: 1px solid rgba(139, 92, 246, 0.3); }
.hma-pkg-badge.partner { background: rgba(255, 45, 123, 0.15); color: var(--pink); border: 1px solid rgba(255, 45, 123, 0.3); }

.hma-pkg-card h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.hma-pkg-purpose {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.hma-pkg-price {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    background: var(--gradient-pink-blue);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 24px;
}

.hma-pkg-price span {
    font-size: 0.85rem;
    font-weight: 500;
    -webkit-text-fill-color: var(--text-muted);
}

.hma-pkg-features {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

.hma-pkg-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.83rem;
    color: var(--text-secondary);
}

.hma-pkg-features li i {
    color: var(--cyan);
    font-size: 0.7rem;
    flex-shrink: 0;
}

.hma-pkg-lead {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    font-style: italic;
}

.hma-pkg-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 24px;
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    text-align: center;
}

.hma-pkg-btn:hover {
    border-color: var(--cyan);
    color: var(--text-primary);
}

.hma-pkg-btn.hma-pkg-btn-primary {
    background: var(--gradient-pink-blue);
    color: white;
    border: none;
}

.hma-pkg-btn.hma-pkg-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 45, 123, 0.3);
}

.hma-btn-lg {
    padding: 18px 32px;
    font-size: 1rem;
}

/* ============================================
   FINAL CTA
   ============================================ */
.hma-final-cta {
    padding: 100px 24px;
    background: var(--navy);
    text-align: center;
}

.hma-final-cta-content {
    max-width: 600px;
    margin: 0 auto;
}

.hma-final-cta-content h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.4rem;
    font-weight: 800;
    margin-bottom: 16px;
}

.hma-final-cta-content p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 36px;
}

.hma-final-cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .hma-packages-header h2 {
        font-size: 1.8rem;
    }

    .hma-packages-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    .hma-final-cta-content h2 {
        font-size: 1.8rem;
    }

    .hma-final-cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}
