/**
 * HackRepair.com - Main Stylesheet
 * Converted from Tailwind CSS to Vanilla CSS
 */

/* ========================================
   CSS Variables (Design Tokens)
   ======================================== */
:root {
    /* Colors */
    --bg-primary: #0f172a;
    --bg-secondary: #1e293b;
    --bg-card: rgba(30, 41, 59, 0.7);
    /* More transparent for glass effect */

    --text-primary: #e2e8f0;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --text-dark: #475569;

    --accent-blue: #3b82f6;
    --accent-blue-light: #60a5fa;
    --accent-green: #22c55e;
    --accent-green-light: #4ade80;
    --accent-red: #ef4444;
    --accent-red-light: #f87171;
    --accent-amber: #f59e0b;
    --accent-orange: #f97316;

    --border-light: rgba(255, 255, 255, 0.05);
    --border-medium: rgba(255, 255, 255, 0.1);
    --border-accent: rgba(59, 130, 246, 0.2);

    /* Spacing */
    --container-max: 1280px;
    --container-sm: 896px;

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.15);
    --shadow-2xl: 0 25px 50px rgba(0, 0, 0, 0.25);
    --shadow-blue: 0 10px 40px -10px rgba(59, 130, 246, 0.4);
    --shadow-green: 0 10px 40px -10px rgba(34, 197, 94, 0.5);
    --shadow-glow-cyan: 0 0 30px rgba(6, 182, 212, 0.15);

    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-3xl: 2rem;
    --radius-full: 9999px;

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-normal: 300ms ease;
    --transition-slow: 500ms ease;
}

/* ========================================
   Base Styles
   ======================================== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 6rem;
    /* Fix for sticky header obscuring links */
}

body {
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ========================================
   Utilities
   ======================================== */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 calc(1rem + 10px);
}

.container-sm {
    max-width: var(--container-sm);
    margin: 0 auto;
    padding: 0 calc(1rem + 10px);
}

/* ========================================
   Urgent Banner
   ======================================== */
.urgent-banner {
    background-color: rgba(239, 68, 68, 0.2);
    border-bottom: 1px solid rgba(239, 68, 68, 0.3);
    padding: 0.625rem 1rem;
    text-align: center;
    font-size: 0.875rem;
    font-weight: 600;
    color: #fecaca;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.urgent-banner a {
    text-decoration: underline;
    transition: color var(--transition-fast);
}

.urgent-banner a:hover {
    color: white;
}

.icon-alert {
    width: 1rem;
    height: 1rem;
    color: var(--accent-red-light);
}

/* ========================================
   Header / Navigation
   ======================================== */
.header {
    position: sticky;
    top: 0;
    z-index: 50;
    background-color: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-light);
}

.header-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 calc(1rem + 10px);
    height: 5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-icon {
    width: 2.75rem;
    height: 2.75rem;
    /* background removed to show image only */
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    /* box-shadow removed */
}

.logo-icon svg {
    width: 1.5rem;
    height: 1.5rem;
    color: white;
}

.logo-text {
    display: flex;
    flex-direction: column;
    position: relative;
    top: 5px;
}

.logo-name {
    font-size: 1.5rem;
    font-weight: 900;
    color: white;
    letter-spacing: -0.025em;
    line-height: 1;
}

.logo-accent {
    color: #f5b611;
}

.logo-tagline {
    font-size: 0.625rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--text-muted);
    font-weight: 700;
}

.nav {
    display: none;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-muted);
    transition: color var(--transition-fast);
}

.nav-link:hover {
    color: white;
}

.mobile-menu-btn {
    display: block;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 0.5rem;
}

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

/* Mobile Menu Open State */
.nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 5rem;
    left: 0;
    right: 0;
    background-color: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 2rem;
    border-bottom: 1px solid var(--border-light);
    box-shadow: var(--shadow-2xl);
    animation: slideDown 0.3s ease-out;
}

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

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

@media (min-width: 768px) {
    .nav {
        display: flex;
    }

    .mobile-menu-btn {
        display: none;
    }
}

/* Nav CTA Container (Emergency + Toggle) */
.nav-cta-container {
    display: flex;
    align-items: center;
    justify-content: center;
    /* Center buttons on mobile */
    gap: 1rem;
    width: 100%;
    margin-top: 1rem;
    /* Add some space above */
}

@media (min-width: 768px) {
    .nav-cta-container {
        width: auto;
        margin-top: 0;
        /* Align with nav links on desktop */
    }
}

/* Theme Toggle Button */
.btn-icon-only {
    padding: 0.625rem;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--bg-secondary);
    color: var(--text-primary);
    border: 1px solid var(--border-light);
    transition: all var(--transition-fast);
}

.btn-icon-only:hover {
    background-color: var(--accent-blue);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-icon-only svg {
    width: 1.25rem;
    height: 1.25rem;
}

/* ========================================
   Buttons
   ======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    font-weight: 700;
    border-radius: var(--radius-full);
    transition: all var(--transition-fast);
    cursor: pointer;
    border: none;
    text-decoration: none;
}

.btn-icon {
    width: 1.375rem;
    height: 1.375rem;
}

.btn-icon-right {
    width: 1.125rem;
    height: 1.125rem;
}

.btn-primary {
    background-color: var(--accent-blue);
    color: white;
    padding: 0.625rem 1.5rem;
    font-size: 0.875rem;
    box-shadow: var(--shadow-blue);
}

.btn-primary:hover {
    background-color: var(--accent-blue-light);
}

.btn-success {
    background-color: var(--accent-green);
    color: var(--bg-primary);
    padding: 1rem 2rem;
    font-size: 1rem;
}

.btn-success:hover {
    background-color: var(--accent-green-light);
}

.btn-white {
    background-color: white;
    color: var(--bg-primary);
}

.btn-white:hover {
    background-color: #f1f5f9;
}

.btn-glass {
    background-color: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-medium);
    color: white;
    padding: 0.625rem 1.7rem;
}

.btn-glass:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.btn-large {
    padding: 1.25rem 2rem;
    font-size: 1.125rem;
    border-radius: var(--radius-full);
}

.btn-xl {
    padding: 1.5rem 3rem;
    font-size: 1.5rem;
    font-weight: 900;
    border-radius: var(--radius-full);
}

.btn-full {
    width: 100%;
    padding: 1rem 2rem;
    border-radius: var(--radius-full);
}

.btn:active {
    transform: translateY(2px);
}

/* Multiline Button Text */
.btn-multiline {
    text-align: center;
    line-height: 1.2;
}

.btn-multiline .btn-subtext {
    font-size: 0.7em;
    font-weight: 400;
    display: block;
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
    position: relative;
    padding: 3.75rem 0 8rem;
    /* Reduced from 5rem for mobile (-20px approx) */
    overflow: hidden;
}

@media (min-width: 768px) {
    .hero {
        padding: 5rem 0 8rem;
    }
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
    transform: scale(1.05);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, var(--bg-primary), rgba(15, 23, 42, 0.4), var(--bg-primary));
}

.hero-content {
    position: relative;
    z-index: 10;
}

.hero-text {
    max-width: 48rem;
    padding-left: 10px;
}

.availability-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: var(--radius-full);
    padding: 0.375rem 1rem;
    margin-bottom: -1.25rem;
    margin-top: -2.25rem;
    /* Mobile First - reduced padding above by 1rem */
    transform: translateY(-1.875rem);
    /* Mobile First */
}

@media (min-width: 768px) {
    .availability-badge {
        margin-top: 1rem;
        margin-bottom: 2rem;
        transform: none;
    }
}

.pulse {
    position: relative;
    width: 0.5rem;
    height: 0.5rem;
}

.pulse::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background-color: var(--accent-green);
    animation: pulse 2s infinite;
}

.pulse::after {
    content: '';
    position: relative;
    display: block;
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background-color: var(--accent-green);
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(2);
        opacity: 0;
    }
}

.badge-text {
    color: var(--accent-blue-light);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.hero h1 {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    font-weight: 900;
    color: white;
    line-height: 1.1;
    margin-bottom: 2rem;
    letter-spacing: -0.02em;
}

.gradient-text {
    background: linear-gradient(90deg, var(--accent-blue-light), var(--accent-green-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 3rem;
    max-width: 42rem;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

@media (min-width: 640px) {
    .hero-buttons {
        flex-direction: row;
    }
}

/* =========================================
   HERO LAYOUT UPDATE (Desktop Split) 
   ========================================= */
@media (min-width: 1024px) {
    .hero-content .hero-text {
        display: grid;
        grid-template-columns: 2fr 1fr;
        /* 2/3 Text, 1/3 Buttons */
        column-gap: 4rem;
        align-items: start;
        text-align: left;
        max-width: 80rem !important;
        /* Override base style to fill screen (1280px) */
        width: 100%;
        margin-top: -2rem;
        /* Move left column content up 2rem on desktop */
    }

    /* Column 1: Text Content */
    .availability-badge {
        width: auto;
        /* Restore original content-based width */
        justify-self: start;
        /* Prevent stretching to fill column */
    }

    .availability-badge,
    .hero-text h1,
    .hero-description,
    .trust-signals {
        grid-column: 1;
    }

    /* Column 2: Buttons Stack */
    .hero-buttons {
        grid-column: 2;
        grid-row: 1 / span 5;
        /* Force span to cover all text rows */
        flex-direction: column;
        width: 100%;
        /* max-width removed to fill column */
        margin: 0;
        align-self: start;
        margin-top: 4.5rem;
        /* Align Call Jim with top of H1 headline */
        gap: 1.5rem;
    }

    /* Reduce buttons to 80% of the column width */
    .hero-buttons .btn {
        width: 80%;
        max-width: none;
        /* Override any global button limits */
        justify-content: center;
        white-space: nowrap;
        /* Prevent text from wrapping in button */
    }
}

.trust-signals {
    margin-top: -0.625rem;
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .trust-signals {
        margin-top: 4rem;
        padding-top: 3rem;
    }
}

.trustpilot-badge {
    /* Removed button styling to match Platinum Service look */
    display: flex;
    align-items: center;
    gap: 0.5rem;

    /* Mobile First */
    width: 100%;
    justify-content: center;
    margin-top: 1rem;
}

@media (min-width: 768px) {
    .trustpilot-badge {
        width: auto;
        justify-content: flex-start;
        margin-top: 0;
    }
}

.trustpilot-logo {
    height: 1.5rem;
    width: auto;
}

.stars {
    color: #00b67a;
    font-size: 1.125rem;
    letter-spacing: 0.1em;
}

.divider {
    height: 1.5rem;
    width: 1px;
    background-color: var(--border-medium);
    display: none;
}

@media (min-width: 640px) {
    .divider {
        display: block;
    }
}

.experience-badge {
    display: flex;
    flex-direction: column;

    /* Mobile First */
    width: 100%;
    align-items: center;
    text-align: center;
    margin-top: 1rem;
}

@media (min-width: 768px) {
    .experience-badge {
        width: auto;
        align-items: flex-start;
        text-align: left;
        margin-top: 0;
    }
}

.badge-label {
    font-size: 0.625rem;
    font-weight: 900;
    color: var(--text-dark);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    line-height: 1;
    margin-bottom: 0.25rem;
}

.badge-value {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

/* ========================================
   Diagnosis Section
   ======================================== */
/* ========================================
   Diagnosis Section
   ======================================== */
.diagnosis-section {
    padding: 1rem 0;
    /* Mobile First: reduced padding */
    background-color: rgba(59, 130, 246, 0.05);
}

@media (min-width: 768px) {
    .diagnosis-section {
        padding: 6rem 0;
    }
}

.diagnosis-card {
    background-color: rgba(30, 41, 59, 0.8);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: var(--radius-3xl);
    padding: 2rem;
    box-shadow: var(--shadow-2xl), var(--shadow-glow-cyan);
    position: relative;
    overflow: hidden;
}

@media (min-width: 768px) {
    .diagnosis-card {
        padding: 3rem;
    }
}

.diagnosis-bg-icon {
    position: absolute;
    top: 0;
    right: 0;
    padding: 2rem;
    opacity: 0.05;
    color: var(--accent-blue);
}

.diagnosis-bg-icon svg {
    width: 7.5rem;
    height: 7.5rem;
}

.diagnosis-content {
    position: relative;
    z-index: 10;
}

.diagnosis-content h2 {
    font-size: 1.875rem;
    font-weight: 700;
    color: white;
    letter-spacing: -0.025em;
    margin-bottom: 1.5rem;
    text-align: center;
    /* Mobile First */
}

@media (min-width: 768px) {
    .diagnosis-content h2 {
        text-align: left;
    }
}

.diagnosis-intro {
    color: var(--text-muted);
    margin-bottom: 1rem;
    font-size: 1.125rem;
}

#diagnosisForm {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

#diagnosisForm textarea {
    width: 100%;
    background-color: var(--bg-primary);
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-xl);
    padding: 1.5rem;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 1rem;
    resize: vertical;
    min-height: 8rem;
    transition: all var(--transition-fast);
}

#diagnosisForm textarea:focus {
    outline: none;
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

#diagnosisForm textarea::placeholder {
    color: var(--text-dark);
}

.btn-text,
.btn-loader {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-loader {
    display: none;
}

.btn.loading .btn-text {
    display: none;
}

.btn.loading .btn-loader {
    display: flex;
}

.spinner {
    width: 1.25rem;
    height: 1.25rem;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.diagnosis-note {
    color: var(--text-muted);
    font-size: 0.875rem;
    font-style: italic;
    margin-top: 1.5rem;
    text-align: center;
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

.diagnosis-result {
    margin-top: 2.5rem;
    padding: 2rem;
    background-color: var(--bg-primary);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: var(--radius-2xl);
    animation: slideIn 0.5s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-1rem);
    }

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

.result-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.result-avatar {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background-color: var(--accent-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 900;
    font-size: 0.875rem;
    font-style: italic;
}

.result-label {
    font-weight: 700;
    color: var(--accent-blue-light);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: 0.75rem;
}

.result-text {
    color: var(--text-secondary);
    line-height: 1.7;
    font-weight: 500;
}

.result-text p {
    margin-bottom: 1rem;
}

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

.diagnosis-error {
    color: var(--accent-red);
    padding: 1rem;
    text-align: center;
}

/* ========================================
   Scorecard Section
   ======================================== */
/* ========================================
   Scorecard Section
   ======================================== */
.scorecard-section {
    padding: 2rem 0;
    /* Mobile First: reduced padding */
    background-color: rgba(15, 23, 42, 0.4);
}

@media (min-width: 768px) {
    .scorecard-section {
        padding: 6rem 0;
    }
}

.section-header {
    text-align: center;
    margin-bottom: 2rem;
    /* Mobile First: reduced margin */
}

@media (min-width: 768px) {
    .section-header {
        margin-bottom: 4rem;
    }
}

.section-header h2 {
    font-size: clamp(1.875rem, 5vw, 3rem);
    font-weight: 700;
    color: white;
    margin-bottom: 1.5rem;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.125rem;
    max-width: 42rem;
    margin: 0 auto;
}

.scorecard-card {
    background-color: rgba(30, 41, 59, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-3xl);
    overflow: hidden;
    box-shadow: var(--shadow-2xl);
    padding: 2rem;
}

@media (min-width: 768px) {
    .scorecard-card {
        padding: 3.5rem;
    }
}

.scorecard-header {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    /* Reduced gap from 1.5rem */
    margin-bottom: 2rem;
    /* Reduced margin from 2.8rem */
}

@media (min-width: 768px) {
    .scorecard-header {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 3.5rem;
    }
}

.scorecard-title h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: -10px;
    /* Mobile First: reduced margin */
}

@media (min-width: 768px) {
    .scorecard-title h3 {
        margin-bottom: 0.5rem;
    }
}

.scorecard-title p {
    color: var(--text-dark);
    margin-top: -5px;
    /* Pull text up closer to title on mobile */
    font-size: 0.95rem;
}

@media (min-width: 768px) {
    .scorecard-title p {
        margin-top: 0;
        font-size: 1rem;
    }
}

.scorecard-score {
    text-align: left;
}

@media (min-width: 768px) {
    .scorecard-score {
        text-align: right;
    }
}

.percentage {
    font-size: 3.75rem;
    font-weight: 900;
    transition: color var(--transition-slow);
    display: block;
    line-height: 1;
}

.percentage.red {
    color: var(--accent-red);
}

.percentage.amber {
    color: var(--accent-amber);
}

.percentage.green {
    color: var(--accent-green);
}

.rank-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--text-muted);
    margin-top: 0.25rem;
    /* Reduced from 0.5rem */
}

.rank-label.red {
    color: var(--accent-red);
}

.rank-label.amber {
    color: var(--accent-amber);
}

.rank-label.green {
    color: var(--accent-green);
}

.questions-grid {
    display: grid;
    gap: 1rem;
}

.question-item {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    padding: 1.5rem;
    border-radius: var(--radius-2xl);
    border: 1px solid var(--border-light);
    background-color: rgba(255, 255, 255, 0.05);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.question-item:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.question-item.checked {
    background-color: rgba(34, 197, 94, 0.1);
    border-color: rgba(34, 197, 94, 0.3);
}

.checkbox-wrapper {
    flex-shrink: 0;
    padding-top: 0.25rem;
}

.checkbox {
    width: 1.75rem;
    height: 1.75rem;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-lg);
    background-color: var(--bg-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.check-icon {
    width: 1.125rem;
    height: 1.125rem;
    opacity: 0;
    transition: opacity var(--transition-fast);
}

.question-item.checked .checkbox {
    background-color: var(--accent-green);
    border-color: var(--accent-green);
}

.question-item.checked .check-icon {
    opacity: 1;
    color: white;
}

.question-content h4 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    transition: color var(--transition-fast);
}

.question-item:hover .question-content h4 {
    color: var(--accent-blue-light);
}

.question-item.checked .question-content h4 {
    color: white;
}

.question-content p {
    font-size: 0.875rem;
    color: var(--text-dark);
    transition: color var(--transition-fast);
}

.question-item.checked .question-content p {
    color: var(--text-secondary);
}

/* Verdict Panel */
.verdict-panel {
    margin-top: 3rem;
    padding: 2rem;
    border-radius: var(--radius-3xl);
    border: 1px solid rgba(59, 130, 246, 0.3);
    background-color: rgba(59, 130, 246, 0.05);
    display: none;
    animation: slideUp 0.7s ease;
}

.verdict-panel.visible {
    display: block;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(1rem);
    }

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

.verdict-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2.5rem;
}

@media (min-width: 768px) {
    .verdict-content {
        flex-direction: row;
    }
}

.verdict-avatar {
    flex-shrink: 0;
    position: relative;
}

.avatar-ring {
    width: 7rem;
    height: 7rem;
    border-radius: 50%;
    background-color: #ffffff;
    /* White bg for image visibility */
    border: 4px solid var(--accent-green);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: var(--shadow-2xl);
}

.branding-logo {
    object-fit: contain;
}

.branding-logo.logo-large {
    width: 4rem;
    height: auto;
}

.branding-logo.logo-small {
    width: 3rem;
    height: 3rem;
    /* Fixed square aspect ratio */
    border-width: 3px;
    /* Thinner border for small logo */
}

@media (max-width: 768px) {
    .branding-logo.logo-small {
        width: 2.25rem;
        height: 2.25rem;
        border-width: 2px;
    }
}

.avatar-badge {
    position: absolute;
    bottom: -0.5rem;
    right: -0.5rem;
    background-color: var(--accent-green);
    color: white;
    padding: 0.375rem;
    border-radius: 50%;
    box-shadow: var(--shadow-lg);
}

.avatar-badge svg {
    width: 1.25rem;
    height: 1.25rem;
}

.verdict-text {
    text-align: center;
    flex-grow: 1;
}

@media (min-width: 768px) {
    .verdict-text {
        text-align: left;
    }
}

.verdict-text h5 {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.75rem;
}

.verdict-text>p {
    color: var(--text-secondary);
    font-size: 1.125rem;
    line-height: 1.7;
}

.verdict-buttons {
    margin-top: 2rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

@media (min-width: 768px) {
    .verdict-buttons {
        justify-content: flex-start;
    }
}

/* ========================================
   About Section
   ======================================== */
.about-section {
    padding: 1.5rem 0;
    /* Reduced further (~40px total from original) */
}

@media (min-width: 768px) {
    .about-section {
        padding: 4rem 0;
    }
}

.about-grid {
    display: grid;
    gap: 4rem;
    align-items: start;
    /* Align columns to top */
}

@media (min-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr 1fr;
        gap: 6rem;
    }
}

.about-image {
    position: relative;
    order: -1;
    /* Mobile: show below text content */
    margin-top: -2.5rem;
    /* Mobile: pull up */
}

@media (min-width: 768px) {
    .about-image {
        order: 2;
        /* Desktop: show on left side */
        margin-top: 2rem;
        /* Desktop: push down 2rem */
    }
}

.image-frame {
    aspect-ratio: 4 / 3;
    /* Video aspect ratio */
    border-radius: var(--radius-3xl);
    overflow: hidden;
    box-shadow: var(--shadow-2xl);
    position: relative;
    z-index: 10;
    border: 1px solid var(--border-medium);
    background-color: black;
    padding: 0;
}

.image-frame img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 1rem;
    transition: transform 0.7s ease;
}



.stats-card {
    position: relative;
    background-color: var(--bg-secondary);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 2rem 2.5rem 1.375rem 2.5rem;
    border-radius: var(--radius-3xl);
    z-index: 10;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(34, 197, 94, 0.3);
    width: 100%;
    max-width: 100%;
    margin-top: -3.125rem;
    /* -50px in rem */
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 1rem;
    text-align: left;
}

@media (min-width: 768px) {
    .stats-card {
        gap: 1.5rem;
    }
}

.stats-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.stats-avatar {
    width: 5rem;
    height: 5rem;
    border-radius: 50%;
    background: #ffffff;
    /* White bg for image visibility */
    border: 3px solid var(--accent-green);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    flex-shrink: 0;
}

.stats-name {
    font-weight: 900;
    color: white;
    font-size: 1.25rem;
}

.stats-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 0.25rem;
}

.stats-list:last-child {
    margin-bottom: 0;
}

.stats-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.stats-list svg {
    width: 1.125rem;
    height: 1.125rem;
    color: var(--accent-green-light);
}

.stats-footer {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-medium);
    text-align: center;
}

.stats-location {
    display: block;
    font-size: 0.625rem;
    font-weight: 900;
    color: var(--text-dark);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 0.25rem;
}

.stats-phone {
    font-size: 1.25rem;
    font-weight: 900;
    color: white;
    line-height: 1;
}

.about-content {
    order: 1;
    padding-bottom: 3rem;
}

@media (min-width: 768px) {
    .about-content {
        order: 2;
        padding-bottom: 0;
    }
}

.about-content h2 {
    font-size: clamp(2rem, 5vw, 3.75rem);
    font-weight: 900;
    color: white;
    margin-bottom: 2rem;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.highlight {
    color: var(--accent-blue);
    position: relative;
    display: inline-block;
    margin-top: 0.5rem;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 0;
    width: 100%;
    height: 0.5rem;
    background-color: var(--accent-green);
    border-radius: var(--radius-full);
    opacity: 0.8;
}

.about-content blockquote {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
    line-height: 1.7;
    font-style: italic;
    border-left: 4px solid var(--accent-blue);
    padding-left: 1.5rem;
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.feature {
    display: flex;
    gap: 1.5rem;
}

.feature-icon {
    flex-shrink: 0;
    width: 3.5rem;
    height: 3.5rem;
    border-radius: var(--radius-2xl);
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon svg {
    width: 1.75rem;
    height: 1.75rem;
}

.feature-icon.blue {
    background-color: rgba(59, 130, 246, 0.1);
    color: var(--accent-blue-light);
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.feature-icon.green {
    background-color: rgba(34, 197, 94, 0.1);
    color: var(--accent-green-light);
    border: 1px solid rgba(34, 197, 94, 0.2);
}

.feature-icon.orange {
    background-color: rgba(249, 115, 22, 0.1);
    color: var(--accent-orange);
    border: 1px solid rgba(249, 115, 22, 0.2);
}

.feature-text h4 {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.5rem;
    letter-spacing: -0.025em;
}

.feature-text p {
    color: var(--text-muted);
    line-height: 1.7;
}

.feature-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
    font-size: 0.875rem;
    font-weight: 900;
    color: var(--accent-blue-light);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    transition: color var(--transition-fast);
}

.feature-link:hover {
    color: var(--accent-blue);
}

.feature-link svg {
    width: 0.875rem;
    height: 0.875rem;
    transition: transform var(--transition-fast);
}

.feature-link:hover svg {
    transform: translateX(0.25rem);
}

/* ========================================
   Comparison Section
   ======================================== */
.comparison-section {
    padding: 8rem 0;
    background-color: rgba(15, 23, 42, 0.6);
}

.comparison-grid {
    display: grid;
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-3xl);
    overflow: hidden;
    box-shadow: var(--shadow-2xl);
}

@media (min-width: 768px) {
    .comparison-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.comparison-card {
    padding: 2.5rem;
}

@media (min-width: 768px) {
    .comparison-card {
        padding: 4rem;
    }
}

.comparison-card.bad {
    background-color: var(--bg-primary);
}

.comparison-card.good {
    background-color: rgba(30, 41, 59, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(34, 197, 94, 0.3);
    box-shadow: var(--shadow-xl), 0 0 40px rgba(34, 197, 94, 0.1);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.comparison-card.good::before {
    content: '';
    position: absolute;
    top: 20px;
    right: 20px;
    width: 225px;
    height: 225px;
    background-image: url('../assets/images/hackrepair-with-heart.png');
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.3;
    z-index: -1;
    pointer-events: none;
}

.comparison-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    margin-bottom: 1.5rem;
}

.comparison-card.bad .comparison-label {
    color: var(--accent-red);
}

.comparison-card.good .comparison-label {
    color: var(--accent-green);
}

.comparison-card h3 {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 900;
    color: white;
    margin-bottom: 2.5rem;
    letter-spacing: -0.025em;
}

.comparison-card ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.comparison-card li {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
}

.icon-x,
.icon-check {
    flex-shrink: 0;
    width: 1.5rem;
    height: 1.5rem;
    margin-top: 0.25rem;
}

.icon-x {
    color: var(--accent-red);
}

.icon-check {
    color: var(--accent-green);
}

.comparison-card li strong {
    display: block;
    font-size: 1.125rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.25rem;
}

.comparison-card.bad li p {
    color: var(--text-dark);
}

.comparison-card.good li p {
    color: var(--text-muted);
}

/* ========================================
   CTA Section
   ======================================== */
.cta-section {
    padding: calc(4rem - 20px) 0;
    padding-bottom: calc(6rem - 20px);
    /* Mobile First */
    position: relative;
    overflow: hidden;
    background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.2));
}

@media (min-width: 768px) {
    .cta-section {
        padding: calc(8rem - 30px) 0;
    }
}

.cta-content {
    text-align: center;
    position: relative;
    z-index: 10;
}

.cta-content h2 {
    font-size: clamp(2rem, 6vw, 3.75rem);
    font-weight: 900;
    color: white;
    margin-bottom: 2.5rem;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.cta-content>p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 3.5rem;
    line-height: 1.7;
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .cta-buttons {
        flex-direction: row;
        justify-content: center;
    }
}

.cta-buttons .btn-success {
    box-shadow: var(--shadow-green);
    transform: translateY(0);
    transition: all var(--transition-fast);
    white-space: nowrap;
}

.cta-buttons .btn-success:hover {
    transform: translateY(-4px);
}

.cta-quote {
    margin-top: 4rem;
    color: var(--text-dark);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.4em;
    font-size: 0.75rem;
    font-style: italic;
}

/* ========================================
   Footer Section
   ======================================== */
.footer-section {
    border-top: 1px solid var(--border-light);
    padding: 5rem 0;
    background-color: #0f172a;
    /* Dark Slate 900 for contrast */
}

.footer-grid {
    display: grid;
    gap: 4rem;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr;
    }
}

.footer-heading {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.icon-lock {
    width: 1.25rem;
    height: 1.25rem;
    color: var(--accent-blue);
}

.footer-heading h4 {
    font-size: 1.125rem;
    font-weight: 900;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

.footer-text {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    max-width: 42rem;
}

.footer-meta {
    font-size: 0.625rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

.review-link {
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;
    text-decoration-color: var(--accent-blue);
    transition: all var(--transition-fast);
}

.review-link:hover {
    opacity: 0.8;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.contact-card {
    /* Styles removed for alignment */
    padding-left: 2rem;
    /* Keep left layout */
}

.contact-card h4 {
    font-size: 0.875rem;
    font-weight: 900;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 1.5rem;
}

.contact-info {
    font-size: 0.875rem;
    color: var(--text-muted);
    font-weight: 500;
}

.contact-info p {
    margin-bottom: 0.25rem;
}

.contact-name {
    color: white;
    font-weight: 700;
}

.social-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem 1.5rem;
    padding-top: 1.5rem;
}

.social-links a {
    color: var(--accent-blue-light);
    transition: color var(--transition-fast);
}

.social-links a:hover {
    color: white;
}


/* ========================================
   Additional Component Styles
   ======================================== */

#video-placeholder {
    width: 100%;
    height: 100%;
    aspect-ratio: 4/3;
    display: block;
    margin: 0;
    padding: 0;
}

#video-end-image {
    display: none;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
}

/* Stats Card Layout */
.stats-content-wrapper {
    flex-grow: 1;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    width: 100%;
}

.stats-text-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding-left: 0.625rem;
    /* 10px in rem */
}

.stats-line-item {
    text-align: left;
    margin: 0;
    padding: 0;
}

.stats-location-col {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    font-weight: 700;
    line-height: 1.3;
    margin-left: 1rem;
    color: rgba(255, 255, 255, 0.7);
    align-self: flex-start;
    margin-top: 0.3125rem;
    /* 5px in rem */
    min-width: 7.5rem;
    /* 120px in rem */
    transform: translate(-0.625rem, 0.3125rem);
}

.stats-card .stats-location-col {
    color: #666;
}

.stats-list-primary {
    font-weight: 700;
}


/* End of Styles */