/* ===== index.css — Landing Page ===== */

/* ── Hero Section ── */
.hero-section {
    background: linear-gradient(135deg, #0d1b2a 0%, #1a237e 55%, #311b92 100%);
    border-radius: 20px;
    padding: 80px 40px;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
}

/* Cerc decorativ fundal */
.hero-section::before {
    content: '';
    position: absolute;
    top: -80px;
    right: -80px;
    width: 350px;
    height: 350px;
    background: rgba(255,255,255,0.04);
    border-radius: 50%;
    pointer-events: none;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -60px;
    width: 280px;
    height: 280px;
    background: rgba(255,255,255,0.03);
    border-radius: 50%;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
}

/* ── Icon mașină animat ── */
.hero-icon {
    font-size: 4.5rem;
    color: #fff;
    margin-bottom: 24px;
    display: inline-block;
    animation: floatCar 3.5s ease-in-out infinite;
    filter: drop-shadow(0 8px 20px rgba(99,102,241,0.5));
}

@keyframes floatCar {
    0%, 100% { transform: translateY(0px);   }
    50%       { transform: translateY(-12px); }
}

/* ── Titlu ── */
.hero-section h1 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 700;
    color: #fff;
    margin: 0 0 16px;
    line-height: 1.2;
}

.hero-highlight {
    background: linear-gradient(90deg, #818cf8, #c084fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.75);
    margin: 0 0 36px;
    line-height: 1.6;
}

/* ── Features ── */
.hero-features {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    color: rgba(255,255,255,0.9);
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    backdrop-filter: blur(6px);
    transition: background 0.25s, transform 0.25s;
}

.feature-item:hover {
    background: rgba(255,255,255,0.14);
    transform: translateY(-2px);
}

.feature-item i {
    color: #a5b4fc;
    font-size: 1rem;
}

/* ── Butoane hero ── */
.hero-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
}

.btn-hero-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 15px 48px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: #fff;
    border-radius: 50px;
    font-size: 1.05rem;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 6px 20px rgba(99,102,241,0.45);
    transition: transform 0.25s, box-shadow 0.25s;
    letter-spacing: 0.01em;
}

.btn-hero-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(99,102,241,0.6);
    color: #fff;
}

.hero-register-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.hero-register-label {
    color: rgba(255,255,255,0.45);
    font-size: 0.82rem;
    white-space: nowrap;
}

.btn-hero-reg {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 10px 22px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    border: 2px solid;
    transition: all 0.2s;
}

.btn-hero-reg--mechanic {
    border-color: rgba(129,140,248,0.55);
    color: #a5b4fc;
    background: rgba(99,102,241,0.12);
}

.btn-hero-reg--mechanic:hover {
    border-color: rgba(129,140,248,0.9);
    color: #c7d2fe;
    background: rgba(99,102,241,0.22);
    transform: translateY(-2px);
}

.btn-hero-reg--client {
    border-color: rgba(52,211,153,0.55);
    color: #6ee7b7;
    background: rgba(16,185,129,0.12);
}

.btn-hero-reg--client:hover {
    border-color: rgba(52,211,153,0.9);
    color: #a7f3d0;
    background: rgba(16,185,129,0.22);
    transform: translateY(-2px);
}

/* ── Page Cards (chenare secțiuni) ── */
.page-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 32px;
    box-shadow: 0 2px 16px rgba(0,0,0,0.05);
}

.page-card-title {
    text-align: center;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #94a3b8;
    margin-bottom: 28px;
}

/* ── Audience Section ── */

.audience-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.audience-card {
    background: #f8fafc;
    border-radius: 14px;
    padding: 28px;
    border: 1px solid #e2e8f0;
    display: flex;
    flex-direction: column;
    gap: 22px;
    transition: transform 0.25s, box-shadow 0.25s;
}

.audience-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(0,0,0,0.09);
}

.audience-card--mechanic {
    border-top: 4px solid #6366f1;
}

.audience-card--client {
    border-top: 4px solid #10b981;
}

.audience-card-header {
    display: flex;
    align-items: center;
    gap: 18px;
}

.audience-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.audience-icon--client {
    background: linear-gradient(135deg, #10b981, #059669);
}

.audience-icon i {
    font-size: 1.4rem;
    color: #fff;
}

.audience-card-header h2 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 4px;
}

.audience-card-header p {
    font-size: 0.875rem;
    color: #64748b;
    margin: 0;
}

.audience-features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

.audience-features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.9rem;
    color: #374151;
    line-height: 1.4;
}

.audience-features li i {
    color: #6366f1;
    font-size: 0.8rem;
    margin-top: 3px;
    flex-shrink: 0;
}

.audience-card--client .audience-features li i {
    color: #10b981;
}

.audience-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
    width: 100%;
}

.audience-btn--mechanic {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: #fff;
    box-shadow: 0 4px 14px rgba(99,102,241,0.35);
}

.audience-btn--mechanic:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(99,102,241,0.5);
    color: #fff;
}

.audience-btn--client {
    background: linear-gradient(135deg, #10b981, #059669);
    color: #fff;
    box-shadow: 0 4px 14px rgba(16,185,129,0.35);
}

.audience-btn--client:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(16,185,129,0.5);
    color: #fff;
}

/* ── Welcome Section ── */
.welcome-section {
    margin-bottom: 0;
}

.welcome-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: stretch;
}

/* ── Benefits Card ── */
.benefits-card {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.09);
    overflow: hidden;
    border: 1px solid #f1f5f9;
}

.benefits-header {
    background: linear-gradient(135deg, #059669, #10b981);
    padding: 20px 28px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #fff;
}

.benefits-header i {
    font-size: 1.4rem;
}

.benefits-header h3 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.benefits-content {
    padding: 24px 28px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 18px;
    background: #f8fafc;
    border-radius: 14px;
    border: 1px solid #e2e8f0;
    transition: transform 0.2s, box-shadow 0.2s;
}

.benefit-item:hover {
    transform: translateX(4px);
    box-shadow: 0 4px 16px rgba(5,150,105,0.1);
}

.benefit-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: linear-gradient(135deg, #059669, #10b981);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.benefit-icon i {
    font-size: 1.3rem;
    color: #fff;
}

.benefit-icon--teal {
    background: linear-gradient(135deg, #0891b2, #06b6d4);
}

.benefit-icon--gold {
    background: linear-gradient(135deg, #d97706, #f59e0b);
}

.benefit-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.benefit-title {
    font-size: 1rem;
    font-weight: 600;
    color: #1e293b;
}

.benefit-desc {
    font-size: 0.88rem;
    color: #64748b;
    line-height: 1.6;
}

.benefit-desc strong {
    color: #059669;
}

/* ── Stats Card ── */
.stats-card {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.09);
    overflow: hidden;
    border: 1px solid #f1f5f9;
    display: flex;
    flex-direction: column;
}

.stats-header {
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    padding: 20px 28px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #fff;
}

.stats-header i {
    font-size: 1.4rem;
}

.stats-header h3 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.stats-content {
    padding: 24px 28px;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    flex: 1;
}

.stat-item-large {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 18px;
    background: #f8fafc;
    border-radius: 14px;
    border: 1px solid #e2e8f0;
    transition: transform 0.2s, box-shadow 0.2s;
}

.stat-item-large:hover {
    transform: translateX(4px);
    box-shadow: 0 4px 16px rgba(79,70,229,0.1);
}

.stat-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.stat-icon i {
    font-size: 1.3rem;
    color: #fff;
}

.stat-info {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
}

.stat-label {
    font-size: 0.85rem;
    color: #64748b;
    font-weight: 500;
    margin-top: 4px;
}

.stat-icon--client {
    background: linear-gradient(135deg, #10b981, #059669);
}

.stat-icon--car {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

.stat-number--client {
    background: linear-gradient(135deg, #10b981, #059669);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-number--car {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .hero-section {
        padding: 50px 24px;
    }

    .page-card {
        padding: 24px 18px;
    }

    .welcome-grid,
    .audience-grid {
        grid-template-columns: 1fr;
    }

    .hero-features {
        gap: 8px;
    }

    .feature-item {
        font-size: 0.82rem;
        padding: 8px 14px;
    }

    .btn-hero-primary {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

    .hero-register-row {
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }

    .btn-hero-reg {
        width: 100%;
        max-width: 260px;
        justify-content: center;
    }

    .audience-card {
        padding: 22px 18px;
    }
}

/* ═══ Forum activ — homepage ═══════════════════════════════ */
.idx-forum-list {
    display: flex;
    flex-direction: column;
    gap: .5rem;
}

.idx-forum-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: .85rem 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    text-decoration: none;
    color: inherit;
    transition: background .15s, border-color .15s;
}
.idx-forum-row:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
}

.idx-forum-row__icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: #eff6ff;
    color: #2563eb;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.idx-forum-row__body {
    flex: 1;
    min-width: 0;
}

.idx-forum-row__title {
    font-size: .95rem;
    font-weight: 600;
    color: #1e293b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.idx-forum-row__meta {
    display: flex;
    gap: 1rem;
    margin-top: .2rem;
    font-size: .78rem;
    color: #64748b;
}

.idx-forum-row__meta i {
    margin-right: .25rem;
}

.idx-forum-row__replies {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 52px;
    flex-shrink: 0;
}

.idx-forum-row__replies strong {
    font-size: 1.1rem;
    color: #2563eb;
    line-height: 1;
}

.idx-forum-row__replies span {
    font-size: .7rem;
    color: #94a3b8;
}

.idx-forum-footer {
    margin-top: 1rem;
    text-align: center;
}

.idx-forum-all {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    padding: .55rem 1.4rem;
    border: 1px solid #2563eb;
    border-radius: 8px;
    color: #2563eb;
    font-size: .9rem;
    font-weight: 600;
    text-decoration: none;
    transition: all .15s;
}
.idx-forum-all:hover {
    background: #2563eb;
    color: #fff;
}

@media (max-width: 480px) {
    .idx-forum-row__meta { flex-direction: column; gap: .2rem; }
}
