/* ==========================================================================
   AIVIBE.DK - Solution Finder Page Styles
   ========================================================================== */

/* Hero Section */
.hero-section {
    margin-top: 73px;
    background: var(--black);
    color: var(--white);
    padding: 2rem 3rem;
    text-align: center;
}

.hero-section h1 {
    font-size: 2.5rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -0.04em;
    line-height: 0.9;
    margin-bottom: 0.75rem;
}

.hero-section h1 span {
    color: var(--yellow);
}

.hero-section p {
    font-size: 0.95rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Main Container */
.container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 2rem 3rem;
}

/* All-in-one View */
.questions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.question-block {
    border: 4px solid var(--black);
    background: var(--light-gray);
    padding: 2rem 1.5rem;
    transition: all 0.3s ease;
}

.question-block.completed {
    background: var(--yellow);
}

.question-number {
    font-family: 'Courier Prime', monospace;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--red);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.question-title {
    font-size: 1.5rem;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.option-compact {
    background: var(--white);
    border: 3px solid var(--black);
    padding: 1.25rem 1rem;
    margin-bottom: 0.75rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.option-compact:hover {
    background: var(--yellow);
    transform: translateX(5px);
}

.option-compact.selected {
    background: var(--yellow);
    box-shadow: 5px 5px 0 var(--black);
    transform: translate(-2px, -2px);
}

.option-compact h4 {
    font-size: 1rem;
    font-weight: 900;
    margin-bottom: 0.35rem;
    text-transform: uppercase;
}

.option-compact p {
    font-size: 0.8rem;
    color: #666;
    line-height: 1.4;
}

/* Results Section - Inline */
.results-inline {
    border: 4px solid var(--black);
    background: var(--black);
    color: var(--white);
    padding: 2rem;
    margin-top: 2rem;
    display: none;
    animation: slideDown 0.4s ease;
}

.results-inline.active {
    display: block;
}

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

.results-header-inline {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 3px solid var(--yellow);
}

.results-header-inline h2 {
    font-size: 2.5rem;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

.results-header-inline h2 span {
    color: var(--yellow);
}

.summary-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.summary-item {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid var(--yellow);
    padding: 1.25rem;
    text-align: center;
}

.summary-item h4 {
    font-family: 'Courier Prime', monospace;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
    color: var(--yellow);
}

.summary-item p {
    font-size: 1rem;
    font-weight: 700;
}

.recommendation-card {
    background: var(--yellow);
    color: var(--black);
    border: 4px solid var(--yellow);
    padding: 2.5rem;
}

.tier-badge {
    display: inline-block;
    background: var(--black);
    color: var(--yellow);
    padding: 0.75rem 1.5rem;
    font-weight: 900;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
}

.recommendation-card h3 {
    font-size: 2.25rem;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.tier-description {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.pricing-box {
    background: var(--black);
    color: var(--white);
    border: 3px solid var(--black);
    padding: 1.75rem;
    margin: 1.5rem 0;
}

.pricing-box h4 {
    font-size: 1.1rem;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
    color: var(--yellow);
}

.price-range {
    font-family: 'Courier Prime', monospace;
    font-size: 1.75rem;
    font-weight: 700;
    margin: 0.5rem 0;
}

.pricing-note {
    font-size: 0.85rem;
    margin-top: 0.75rem;
    line-height: 1.5;
    color: var(--gray);
}

.details-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.detail-column h4 {
    font-weight: 900;
    text-transform: uppercase;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    border-bottom: 3px solid var(--black);
    padding-bottom: 0.5rem;
}

.detail-column ul {
    list-style: none;
    font-family: 'Courier Prime', monospace;
    font-size: 0.85rem;
}

.detail-column li {
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(0,0,0,0.2);
}

.detail-column li::before {
    content: '▸ ';
    font-weight: 700;
    margin-right: 0.5rem;
}

.cta-inline {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 3px solid var(--yellow);
}

.cta-inline h3 {
    font-size: 1.75rem;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.cta-buttons .btn-cta.primary {
    background: var(--yellow);
    color: var(--black);
    border: 3px solid var(--yellow);
}

.cta-buttons .btn-cta.primary:hover {
    background: var(--white);
    border-color: var(--white);
}

.cta-buttons .btn-cta.secondary {
    background: transparent;
    color: var(--white);
    border: 3px solid var(--white);
}

.cta-buttons .btn-cta.secondary:hover {
    background: var(--white);
    color: var(--black);
}

/* Calculate Button */
.calculate-section {
    text-align: center;
    margin: 2rem 0;
}

.btn-calculate {
    padding: 1.5rem 4rem;
    background: var(--black);
    color: var(--yellow);
    border: 4px solid var(--black);
    font-family: 'Work Sans', sans-serif;
    font-weight: 900;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-block;
}

.btn-calculate:hover:not(:disabled) {
    background: var(--yellow);
    color: var(--black);
    transform: translate(-4px, -4px);
    box-shadow: 4px 4px 0 var(--black);
}

.btn-calculate:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */

@media (max-width: 1024px) {
    .questions-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 1.5rem 1rem;
    }
    
    .hero-section {
        padding: 2rem 1rem;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .question-block {
        padding: 1.5rem;
    }
    
    .question-title {
        font-size: 1.2rem;
    }
    
    .option-compact {
        padding: 1rem;
    }
    
    .option-compact h4 {
        font-size: 1rem;
    }
    
    .summary-row {
        flex-direction: column;
        gap: 1rem;
    }
    
    .details-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .btn-cta {
        width: 100%;
        text-align: center;
    }
    
    .btn-calculate {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .hero-section h1 {
        font-size: 1.75rem;
    }
    
    .question-number {
        font-size: 0.7rem;
    }
    
    .question-title {
        font-size: 1rem;
    }
}
