/* 
 * Homepage Specific Styles
 * Munkaengedély.hu - Professional Landing Page
 */

/* ==========================================
   HOMEPAGE HERO
   ========================================== */
   .homepage-hero {
    padding: 60px 0 80px;
    background: linear-gradient(180deg, #ffffff 0%, var(--background-gray) 100%);
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-centered {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-centered .hero-lead {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-centered .hero-cta-group {
    justify-content: center;
}

.hero-centered .hero-trust-badges {
    justify-content: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border: 2px solid #f59e0b;
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    color: #92400e;
    margin-bottom: 24px;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.2);
}

.badge-icon {
    font-size: 18px;
}

.hero-main-title {
    font-size: 52px;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.03em;
    color: var(--primary-gray);
    margin-bottom: 24px;
}

.hero-main-title .highlight {
    background: linear-gradient(135deg, rgb(27, 100, 127) 0%, rgb(40, 130, 160) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-lead {
    font-size: 18px;
    line-height: 1.7;
    color: var(--primary-gray-faded);
    margin-bottom: 32px;
    max-width: 540px;
}

.hero-cta-group {
    display: flex;
    gap: 16px;
    margin-bottom: 40px;
}

.btn-hero-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    background: linear-gradient(135deg, rgb(20, 80, 102) 0%, rgb(27, 100, 127) 100%);
    color: white;
    font-size: 16px;
    font-weight: 600;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 14px rgba(27, 100, 127, 0.4);
}

.btn-hero-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(27, 100, 127, 0.5);
}

.btn-hero-secondary {
    display: inline-flex;
    align-items: center;
    padding: 16px 32px;
    background: white;
    color: rgb(27, 100, 127);
    font-size: 16px;
    font-weight: 600;
    border: 2px solid rgba(27, 100, 127, 0.2);
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-hero-secondary:hover {
    border-color: rgb(27, 100, 127);
    background: #ECF1EF;
}

.hero-trust-badges {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--primary-gray-faded);
    font-weight: 500;
}

/* ==========================================
   HERO BADGE STAT (bottom badge - same style as original top badge)
   ========================================== */
.hero-badge-stat {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border: 2px solid #f59e0b;
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    color: #92400e;
    margin-top: 40px;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.2);
}

.hero-badge-stat .badge-icon {
    font-size: 18px;
}

.hero-badge-stat .badge-text {
    font-size: 20px;
    font-weight: 600;
    color: #92400e;
}

/* ==========================================
   HERO STATS (inside hero) - HIDDEN
   ========================================== */
.hero-centered .hero-stats,
.homepage-hero .hero-stats {
    display: none; /* Hidden */
    align-items: center;
    justify-content: center;
    gap: 0;
    background: var(--background-gray);
    border-radius: 16px;
    padding: 32px 48px;
    margin-top: 40px;
    box-shadow: 0 4px 20px rgba(27, 100, 127, 0.08);
    border: 1px solid rgba(27, 100, 127, 0.1);
}

/* Legacy support for separate section */
.hero-stats-section {
    padding: 40px 0;
    background: var(--background-gray);
}

.hero-stats-section .hero-stats {
    background: white;
}

.stat-item {
    text-align: center;
    padding: 0 40px;
}

.stat-item .stat-value {
    font-size: 36px;
    font-weight: 700;
    color: rgb(27, 100, 127);
    line-height: 1.2;
    margin-bottom: 6px;
}

.stat-item .stat-value-text {
    font-size: 24px;
    font-weight: 700;
    color: rgb(27, 100, 127);
    line-height: 1.2;
    margin-bottom: 6px;
}

.stat-item .stat-label {
    font-size: 14px;
    font-weight: 500;
    color: rgba(77, 77, 77, 0.8);
}

.stat-divider {
    width: 1px;
    height: 50px;
    background: rgba(27, 100, 127, 0.2);
    flex-shrink: 0;
}

/* ==========================================
   PROBLEM-SOLUTION SECTION
   ========================================== */
.problem-solution-section {
    padding: 80px 0;
    /* background: var(--background-gray); */
}

.ps-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.problem-side, .solution-side {
    padding: 40px;
    border-radius: 16px;
    background: white;
    border: 1px solid var(--color-border);
}

.problem-side {
    border-left: 4px solid #ef4444;
}

.solution-side {
    border-left: 4px solid #10b981;
}

.ps-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.ps-icon.red { background: #fef2f2; color: #ef4444; }
.ps-icon.green { background: #d1fae5; color: #10b981; }

.problem-side h3, .solution-side h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary-gray);
    margin-bottom: 24px;
}

.problem-list, .solution-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.problem-list li, .solution-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 0;
    font-size: 15px;
    color: var(--primary-gray-faded);
    border-bottom: 1px solid var(--color-border);
}

.problem-list li:last-child, .solution-list li:last-child {
    border-bottom: none;
}

.problem-list svg, .solution-list svg {
    flex-shrink: 0;
    margin-top: 2px;
}

/* ==========================================
   BENEFITS SECTION
   ========================================== */
.benefits-section {
    padding: 100px 0;
    background: var(--background-gray);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    padding: 6px 16px;
    background: var(--background-gray);
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    color: var(--primary-gray-faded);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.section-header .section-title {
    font-size: 40px;
    font-weight: 700;
    color: var(--primary-gray);
    margin-bottom: 16px;
}

.section-header .section-subtitle {
    font-size: 18px;
    color: var(--primary-gray-faded);
    max-width: 600px;
    margin: 0 auto;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.benefit-card {
    padding: 32px;
    background: white;
    border: 1px solid var(--color-border);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.benefit-card:hover {
    border-color: rgba(27, 100, 127, 0.3);
    box-shadow: 0 10px 40px rgba(27, 100, 127, 0.1);
    transform: translateY(-4px);
}

.benefit-icon {
    margin-bottom: 20px;
}

.benefit-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-gray);
    margin-bottom: 12px;
}

.benefit-card p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--primary-gray-faded);
    margin: 0;
}

/* ==========================================
   PERMIT TYPES SECTION
   ========================================== */
.permit-types-section {
    padding: 100px 0;
    background: var(--background-gray);
}

.permit-types-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.permit-type-card {
    padding: 28px 20px;
    background: white;
    border: 1px solid var(--color-border);
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
}

.permit-type-card:hover {
    border-color: var(--primary-gray-faded);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    transform: translateY(-4px);
}

.permit-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.permit-icon.orange { background: #ffedd5; color: #ea580c; }
.permit-icon.red { background: #fee2e2; color: #dc2626; }
.permit-icon.blue { background: rgba(188, 222, 212, 0.5); color: rgb(27, 100, 127); }
.permit-icon.yellow { background: #fef3c7; color: #d97706; }
.permit-icon.purple { background: #f3e8ff; color: #9333ea; }
.permit-icon.teal { background: rgba(255, 255, 255, 0.3); color: white; }

.permit-type-card.featured {
    background: rgb(27, 100, 127);
    border-color: rgb(27, 100, 127);
}

.permit-type-card.featured h4 {
    color: white;
}

.permit-type-card.featured p {
    color: rgba(255, 255, 255, 0.85);
}

.permit-type-card h4 {
    font-size: 15px;
    font-weight: 700;
    color: var(--primary-gray);
    margin-bottom: 8px;
}

.permit-type-card p {
    font-size: 13px;
    color: var(--primary-gray-faded);
    line-height: 1.5;
    margin: 0;
}

/* ==========================================
   HOW IT WORKS SECTION
   ========================================== */
.how-it-works-section {
    padding: 100px 0;
    background: white;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.step-card-new {
    background: white;
    border: 1px solid var(--color-border);
    border-radius: 16px;
    padding: 32px 24px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
}

.step-card-new:hover {
    border-color: rgba(244, 173, 61, 0.5);
    box-shadow: 0 8px 30px rgba(244, 173, 61, 0.15);
    transform: translateY(-4px);
}

.step-number-badge {
    display: inline-block;
    font-size: 24px;
    font-weight: 700;
    color: rgba(77, 77, 77, 0.3);
    margin-bottom: 16px;
}

.step-card-new h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-gray);
    margin-bottom: 16px;
    line-height: 1.3;
}

.step-card-new p {
    font-size: 14px;
    color: var(--primary-gray-faded);
    line-height: 1.6;
    margin: 0;
    padding: 16px;
    background: rgba(244, 173, 61, 0.08);
    border-radius: 8px;
    border-left: 3px solid #F4AD3D;
}

.step-card-new .aszf-link {
    color: var(--primary-gray);
    font-weight: 600;
    text-decoration: underline;
}

.step-card-new .aszf-link:hover {
    color: rgb(27, 100, 127);
}

/* Legacy step styles - kept for compatibility */
.steps-container {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    max-width: 1000px;
    margin: 0 auto;
}

.step-card {
    flex: 1;
    text-align: center;
    padding: 0 20px;
}

.step-number {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, rgb(20, 80, 102) 0%, rgb(27, 100, 127) 100%);
    color: white;
    font-size: 24px;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 4px 14px rgba(27, 100, 127, 0.4);
}

.step-content h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-gray);
    margin-bottom: 12px;
}

.step-content p {
    font-size: 14px;
    color: var(--primary-gray-faded);
    line-height: 1.6;
    margin: 0;
}

.step-connector {
    width: 60px;
    height: 2px;
    background: var(--color-border);
    margin-top: 28px;
    flex-shrink: 0;
}

/* ==========================================
   STATS SECTION
   ========================================== */
.stats-section {
    padding: 60px 0;
    background: linear-gradient(135deg, rgb(20, 80, 102) 0%, rgb(27, 100, 127) 100%);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.stat-card {
    text-align: center;
    padding: 32px 20px;
}

.stat-card .stat-value {
    font-size: 36px;
    font-weight: 700;
    color: white;
    margin-bottom: 8px;
}

.stat-card .stat-label {
    font-size: 15px;
    font-weight: 600;
    color: rgba(188, 222, 212, 0.9);
    margin-bottom: 4px;
}

.stat-card .stat-note {
    font-size: 13px;
    color: var(--primary-gray-faded);
}

/* ==========================================
   AUDIENCE SECTION
   ========================================== */
.audience-section {
    padding: 100px 0;
    background: white;
}

.audience-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.audience-card {
    padding: 32px;
    background: white;
    border: 1px solid var(--color-border);
    border-radius: 16px;
    text-align: center;
    transition: all 0.3s ease;
}

.audience-card:hover {
    border-color: var(--primary-gray-faded);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    transform: translateY(-4px);
}

.audience-icon {
    font-size: 40px;
    margin-bottom: 16px;
}

.audience-card h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-gray);
    margin-bottom: 8px;
}

.audience-card p {
    font-size: 14px;
    color: var(--primary-gray-faded);
    line-height: 1.6;
    margin: 0;
}

/* ==========================================
   FAQ SECTION (HOME)
   ========================================== */
.faq-section-home {
    padding: 100px 0;
    background: white;
}

.faq-grid-home {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.faq-item-home {
    padding: 28px;
    background: var(--background-gray);
    border-radius: 12px;
    border: 1px solid var(--color-border);
    transition: all 0.2s ease;
}

.faq-item-home:hover {
    border-color: var(--primary-gray-faded);
    background: white;
}

.faq-item-home h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary-gray);
    margin-bottom: 12px;
}

.faq-item-home p {
    font-size: 14px;
    color: var(--primary-gray-faded);
    line-height: 1.6;
    margin: 0;
}

/* ==========================================
   FINAL CTA SECTION
   ========================================== */
.final-cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #ffffff 0%, var(--background-gray) 100%);
}

.cta-card {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 60px;
    background: white;
    border-radius: 24px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.1);
}

.cta-card h2 {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary-gray);
    margin-bottom: 16px;
}

.cta-card > p {
    font-size: 18px;
    color: var(--primary-gray-faded);
    margin-bottom: 32px;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 24px;
}

.btn-cta-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 18px 36px;
    background: linear-gradient(135deg, rgb(20, 80, 102) 0%, rgb(27, 100, 127) 100%);
    color: white;
    font-size: 17px;
    font-weight: 600;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.4);
}

.btn-cta-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.5);
}

.btn-cta-secondary {
    display: inline-flex;
    align-items: center;
    padding: 18px 36px;
    background: white;
    color: var(--primary-color);
    font-size: 17px;
    font-weight: 600;
    border: 2px solid var(--color-border);
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-cta-secondary:hover {
    border-color: var(--primary-color);
    background: var(--background-gray);
}

.cta-note {
    font-size: 14px;
    color: var(--primary-gray-faded);
    margin: 0;
}

/* ==========================================
   RESPONSIVE DESIGN
   ========================================== */
@media (max-width: 1200px) {
    .permit-types-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .hero-main-title {
        font-size: 44px;
    }
    
}

@media (max-width: 1024px) {
    .hero-stats {
        flex-wrap: wrap;
        gap: 24px;
        padding: 28px 32px;
    }
    
    .stat-divider {
        display: none;
    }
    
    .stat-item {
        flex: 1 1 40%;
        padding: 16px 20px;
    }
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-content {
        text-align: center;
    }
    
    .hero-lead {
        max-width: none;
    }
    
    .hero-cta-group {
        justify-content: center;
    }
    
    .hero-trust-badges {
        justify-content: center;
    }
    
    .ps-grid {
        grid-template-columns: 1fr;
    }
    
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .permit-types-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .audience-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .homepage-hero {
        padding: 40px 0 60px;
    }
    
    .hero-main-title {
        font-size: 36px;
    }
    
    .hero-lead {
        font-size: 16px;
    }
    
    .hero-cta-group {
        flex-direction: column;
        align-items: stretch;
    }
    
    .btn-hero-primary, .btn-hero-secondary {
        justify-content: center;
    }
    
    .hero-trust-badges {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }
    
    .hero-badge-stat {
        padding: 8px 16px;
    }
    
    .hero-stats-section {
        padding: 24px 0;
    }
    
    .hero-stats,
    .hero-centered .hero-stats,
    .homepage-hero .hero-stats {
        flex-direction: column;
        gap: 0;
        padding: 24px;
    }
    
    .stat-item {
        padding: 16px 0;
        border-bottom: 1px solid rgba(27, 100, 127, 0.1);
        width: 100%;
    }
    
    .stat-item:last-child {
        border-bottom: none;
    }
    
    .stat-item .stat-value {
        font-size: 28px;
    }
    
    .stat-item .stat-value-text {
        font-size: 20px;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .permit-types-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    
    .step-card-new {
        padding: 24px 20px;
    }
    
    .step-card-new h4 {
        font-size: 16px;
    }
    
    .steps-container {
        flex-direction: column;
        gap: 24px;
    }
    
    .step-connector {
        width: 2px;
        height: 30px;
        margin: 0 auto;
    }
    
    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }
    
    .stat-card {
        padding: 20px 16px;
    }
    
    .stat-card .stat-value {
        font-size: 28px;
    }
    
    .audience-grid {
        grid-template-columns: 1fr;
    }
    
    .faq-grid-home {
        grid-template-columns: 1fr;
    }
    
    .section-header .section-title {
        font-size: 32px;
    }
    
    .cta-card {
        padding: 40px 24px;
    }
    
    .cta-card h2 {
        font-size: 28px;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .btn-cta-primary, .btn-cta-secondary {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-main-title {
        font-size: 30px;
    }
    
    .hero-badge-stat {
        padding: 8px 14px;
        font-size: 12px;
    }
    
    .hero-badge-stat .badge-text {
        font-size: 12px;
    }
    
    .stat-item .stat-value {
        font-size: 24px;
    }
    
    .stat-item .stat-value-text {
        font-size: 18px;
    }
    
    .stat-item .stat-label {
        font-size: 12px;
    }
    
    .steps-grid {
        grid-template-columns: 1fr;
    }
    
    .step-card-new {
        padding: 20px 16px;
    }
    
    .permit-types-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .stat-card .stat-value {
        font-size: 32px;
    }
}
