/* ── FAQ OLDAL ─────────────────────────────────────────── */
.folyamat-section { padding: 48px 0 0; margin: 0 auto;}

.folyamat-header { margin-bottom: 36px; }
.folyamat-header h1 { margin-bottom: 8px;  text-align: center;}
.folyamat-header-sub { font-size: 1.125rem; color: var(--text-muted); text-align: center; }

/* Process tabs */
.process-tabs{
	display: flex;
	justify-content: center;
	gap: 1.5rem;
}

/* ============================================================
   TIMELINE SECTION
   ============================================================ */
.timeline-section {
    position: relative;
    overflow: hidden;
    padding: 3rem 0;
    margin-bottom: 2rem;
}

/* ===== Horizontal line ===== */
.timeline-line {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--border-glass);
    transform: translateY(-50%);
    display: none;
}

/* ===== Grid ===== */
.timeline-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 2rem;
	position: relative;
	z-index: 10;
	padding-bottom: 3rem;
}

/* ===== Step ===== */
.timeline-step {
	display: flex;
	flex-direction: column;
	align-items: center;
	transition: transform .45s cubic-bezier(0.4, 0, 0.2, 1);
}

/* váltakozó eltolás */
.timeline-step-offset {
	transform: translateY(3rem);
}

/* ===== Circle ===== */
.timeline-circle {
	width: 4rem;
	height: 4rem;
	border-radius: 9999px;
	border: 1px solid var(--border-glass);
	background: var(--glass-bg);
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: var(--font-spec);
	font-size: 1.35rem;
	font-weight:700;
	color: var(--gold);
	margin-bottom: 1.5rem;
	position: relative;
	z-index: 20;
	transition: transform 0.5s;
}

/* hover effect (group-hover kiváltása) */
.timeline-step:hover .timeline-circle {
	transform: scale(1.1);
	border: 1px solid var(--border-gold);
}

.timeline-step:nth-child(1) .timeline-card::before {
    animation: timelineShimmer .65s cubic-bezier(0.4,0,0.2,1) 0s forwards;
}

.timeline-step:nth-child(2) .timeline-card::before {
    animation: timelineShimmer .65s cubic-bezier(0.4,0,0.2,1) 0.18s forwards;
}

.timeline-step:nth-child(3) .timeline-card::before {
    animation: timelineShimmer .65s cubic-bezier(0.4,0,0.2,1) 0.36s forwards;
}

.timeline-step:nth-child(4) .timeline-card::before {
    animation: timelineShimmer .65s cubic-bezier(0.4,0,0.2,1) 0.54s forwards;
}

.timeline-step:nth-child(5) .timeline-card::before {
    animation: timelineShimmer .65s cubic-bezier(0.4,0,0.2,1) 0.72s forwards;
}

/*Timeline körök pulzálása*/
.timeline-step:nth-child(1) .timeline-circle {
    animation: timelinePulse .7s ease-out 0.2s;
}

.timeline-step:nth-child(2) .timeline-circle {
    animation: timelinePulse .7s ease-out 0.55s;
}

.timeline-step:nth-child(3) .timeline-circle {
    animation: timelinePulse .7s ease-out 0.9s;
}

.timeline-step:nth-child(4) .timeline-circle {
    animation: timelinePulse .7s ease-out 1.25s;
}

.timeline-step:nth-child(5) .timeline-circle {
    animation: timelinePulse .7s ease-out 1.6s;
}

/* ===== Card ===== */
.timeline-card {
	padding: 1.5rem;
	width: 100%;
	border-radius: 0.5rem;
	text-align: center;

	min-height: 160px;

	display: flex;
	flex-direction: column;
	justify-content: center;
	position: relative;
	overflow: hidden;
}

.timeline-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: -120%;
    width: 120%;
    height: 100%;

    background: linear-gradient(
        110deg,
        transparent 30%,
        rgba(200,169,110,0.08) 45%,
        rgba(200,169,110,0.18) 50%,
        rgba(200,169,110,0.08) 55%,
        transparent 70%
    );

    transform: skewX(-20deg);
    pointer-events: none;
}
.timeline-card:hover::before {
	left: -120% !important;
	animation: timelineShimmer 1.2s ease forwards;
}

.timeline-content {
    position: absolute;
    inset: 0;

    opacity: 0;
    transform: translateY(10px) scale(0.98);

    transition:
        opacity 0.4s ease,
        transform 0.4s ease;

    display: flex;
    flex-direction: column;
    justify-content: center;
	
	filter: blur(6px);
}

/* aktív */
.timeline-content.active {
    position: relative;

    opacity: 1;
    transform: translateY(0) scale(1);
    z-index: 2;
	
	filter: blur(0);
}
.timeline-content.leaving {
    opacity: 0;
    transform: translateY(-10px) scale(0.98);
}

.timeline-card::after {
    content: "";
    position: absolute;
    inset: 0;

    background: linear-gradient(
        120deg,
        transparent 0%,
        rgba(200,169,110,0.15) 50%,
        transparent 100%
    );

    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

/* amikor váltás történik */
.timeline-card.switching::after {
    opacity: 1;
}

/* ===== Typography ===== */
.timeline-title {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
	transition: transform 0.4s ease;
}
.timeline-content.active .timeline-title {
    transform: translateY(-2px);
}
.timeline-text {
    font-size: 0.875rem;
    font-weight: 300;
	color: var(--text-muted);
}

.timeline-card-num{font-family: var(--font-spec);text-transform: uppercase; font-size:.875rem;letter-spacing:.2em;color:var(--gold);margin-bottom:1.5rem;display:flex;align-items:center;gap:.75rem; }
.timeline-card-num span{color:var(--gold);}
.timeline-card-num-spacer{flex:1;height:1px;background:var(--border-gold);}

/* ============================================================
   //TIMELINE SECTION
   ============================================================ */


/* ============================================================
   STATS/TRUST SECTION
   ============================================================ */

/* ===== Grid ===== */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

/* ===== Card ===== */
.stats-card {
    padding: 2rem;
    text-align: center;
    border-radius: 4px;

    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

/* finom hover (luxus, nem túl erős) */
.stats-card:hover {
	transform: translateY(-4px);
	border-color: var(--border-gold);
	background: var(--surface-gold); /* plusz effekt, háttér goldra vált */
}

/* Innen törölhető a plusz effekt*/

/* Gold glow hover */
.stats-card::after {
    content: "";
    position: absolute;
    inset: 0;

    background: radial-gradient(
        circle at center,
        rgba(200,169,110,0.10),
        transparent 70%
    );

    opacity: 0;
    transition: opacity 0.4s ease;
}
.stats-card:hover::after {
    opacity: 1;
}
.stats-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: -120%;
    width: 120%;
    height: 100%;

    background: linear-gradient(
        110deg,
        transparent 30%,
        rgba(200,169,110,0.08) 45%,
        rgba(200,169,110,0.18) 50%,
        rgba(200,169,110,0.08) 55%,
        transparent 70%
    );

    transform: skewX(-20deg);
    pointer-events: none;
}
.stats-card:hover::before {
    animation: shimmer-slide 1.2s ease forwards;
}
/* Innen törölhető a plusz effekt eddig*/

/* ===== Number ===== */
.stats-number {
    font-family: var(--font-spec); /* Bebas Neue */
	font-weight: 500;
    font-size: 2.75rem; /* ~text-5xl */
    color: var(--gold);
    margin-bottom: 0.5rem;
    letter-spacing: 0.02em;
}

/* Innen törölhető a plusz effekt*/
/* ===== Number "breathing" micro animation ===== */
.stats-card:hover .stats-number {
    transform: scale(1.05);
    transition: transform 0.3s ease;
}
/* Innen törölhető a plusz effekt eddig*/

/* ===== Label ===== */
.stats-label {
    font-size: 0.75rem; /* text-xs */
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-muted);
}

/* ===== Responsive ===== */

@media (min-width: 769px) {
    .timeline-grid {
		grid-template-columns: repeat(3, 1fr);
    }
	.stats-grid {
		grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 1023px) {
   .timeline-step-offset {
        transform: none;
    }
}

@media (max-width: 768px) {
    .folyamat-section   { padding: 28px 0; }
	.folyamat-header-sub{padding: 4px 18px;}
	.timeline-card-num{display: block;}
	.timeline-circle { display: none;}
	.stats-section { margin-bottom: 3rem; }
	.timeline-grid{padding-bottom: 0;}
}

@media (min-width: 1024px) {
	.timeline-grid {
        grid-template-columns: repeat(5, 1fr);
    }
    .timeline-line {
        display: block;
    }
}

/* Luxury Shimmer effekt (fénycsík a kártyán) */
@keyframes shimmer-slide {
    0% {
        left: -120%;
    }
    100% {
        left: 120%;
    }
}
/*Timeline kártyák arany csík animálása*/
@keyframes timelineShimmer {
    0% {
        left: -120%;
    }
    100% {
         left: 120%;
    }
}
/*körök animálása*/
@keyframes timelinePulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.08);
    }
}