/* =========================================
   Tech Audit Tool Styles - Soltek Labs
   ========================================= */

/* Hero Section Specifics */
.audit-hero {
    background: radial-gradient(circle at 10% 20%, rgba(37, 99, 235, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(147, 51, 234, 0.1) 0%, transparent 40%);
    padding-bottom: 4rem;
}

.audit-section {
    padding-top: 2rem;
    padding-bottom: 6rem;
    min-height: 80vh;
}

/* Progress Bar */
.audit-progress {
    max-width: 800px;
    margin: 0 auto 3rem;
    text-align: center;
}

.progress-bar-container {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    width: 0%;
    transition: width 0.5s ease;
    border-radius: 4px;
}

.progress-text {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* Audit Card (Glassmorphism) */
.audit-card {
    max-width: 900px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 3rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

/* Steps Transition */
.audit-step {
    display: none;
    animation: fadeIn 0.5s ease forwards;
}

.audit-step.active {
    display: block;
}

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

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

/* Intro Step */
.step-header {
    text-align: center;
    margin-bottom: 3rem;
}

.step-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #fff 0%, #cbd5e1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.step-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.audit-pillars {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 4rem;
}

.pillar-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.pillar-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary-color);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.pillar-item:hover .pillar-icon {
    transform: translateY(-5px);
    background: rgba(37, 99, 235, 0.1);
    border-color: var(--primary-color);
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.2);
}

.pillar-item span {
    font-weight: 600;
    color: var(--text-light);
}

/* Question Layout */
.question-container {
    text-align: center;
}

.question-category {
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 2px;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 700;
}

.question-text {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 3rem;
    line-height: 1.3;
}

.options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.option-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: left;
    position: relative;
    overflow: hidden;
}

.option-card:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
}

.option-card.selected {
    background: rgba(37, 99, 235, 0.1);
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px var(--primary-color);
}

.option-card h4 {
    color: var(--text-light);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.option-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* Results Section - Visual Dashboard */
.results-header {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    z-index: 2;
}

.score-circle {
    width: 180px;
    height: 180px;
    margin: 0 auto 2rem;
    position: relative;
    filter: drop-shadow(0 0 15px rgba(37, 99, 235, 0.5));
    transition: all 0.5s ease;
}

.score-circle:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 0 25px rgba(37, 99, 235, 0.8));
}

.circular-chart {
    display: block;
    margin: 0 auto;
    max-width: 100%;
    max-height: 250px;
}

.circle-bg {
    fill: none;
    stroke: rgba(255, 255, 255, 0.05);
    stroke-width: 2.5;
}

.circle {
    fill: none;
    stroke-width: 2.5;
    stroke: var(--success-color);
    stroke-linecap: round;
    transition: stroke-dasharray 1s ease;
}

.percentage {
    fill: #fff;
    font-family: 'Outfit', sans-serif;
    font-weight: bold;
    font-size: 0.5em;
    text-anchor: middle;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.score-label {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -1px;
    background: linear-gradient(90deg, #60a5fa, #3b82f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 10px 20px rgba(59, 130, 246, 0.3);
}

.results-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    /* Larger chart area */
    gap: 3rem;
    margin-bottom: 4rem;
    align-items: center;
}

.chart-box {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 24px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.5);
    position: relative;
    overflow: hidden;
}

/* Glow Effect for Chart Container */
.chart-box::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 60%;
    height: 60%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 0;
}

.chart-box canvas {
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 0 10px rgba(59, 130, 246, 0.3));
}

.recommendations-box {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.recommendations-box h3 {
    margin-bottom: 1.5rem;
    color: var(--text-light);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 0.5rem;
}

.recommendations-box ul {
    list-style: none;
    padding: 0;
}

.recommendations-box li {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-muted);
}

.recommendations-box li::before {
    content: "•";
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.2rem;
    position: absolute;
    left: 0;
    top: -2px;
}

/* Email Capture (Reused styles mostly) */
.email-capture-section {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.5) 0%, rgba(15, 23, 42, 0.5) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2.5rem;
    text-align: center;
    margin-top: 3rem;
    margin-bottom: 3rem;
}

.center {
    justify-content: center;
}

/* Responsive */
@media (max-width: 768px) {
    .audit-pillars {
        grid-template-columns: repeat(2, 1fr);
    }

    .question-text {
        font-size: 1.4rem;
    }

    .results-grid {
        grid-template-columns: 1fr;
    }

    .audit-card {
        padding: 1.5rem;
    }
}