/* vasarlas.css — a fő style.css-ben definiált tokeneket (--forest, --sage,
   --amber, --display, stb.) használja, mivel az a lapon előbb töltődik be. */

body{
    background:var(--ivory);
    color:var(--ink);
}

.container{
    max-width:980px;
    margin:auto;
    padding:100px 25px 60px;
}

/* ================= BUY HERO ================= */

.buyhero{
    position:relative;
    height:75vh;
    min-height:520px;

    background-image:url("../images/buyhero.png");
    background-size:cover;
    background-position:center;

    display:flex;
    justify-content:center;
    align-items:center;

    overflow:hidden;
}

.buyhero-overlay{
    position:absolute;
    inset:0;
    background:linear-gradient(
        180deg,
        rgba(20,32,26,.4) 0%,
        rgba(20,32,26,.5) 55%,
        rgba(20,32,26,.65) 100%
    );
}

.buyhero-content{
    position:relative;
    z-index:2;
    max-width:800px;
    text-align:center;
    color:var(--white);
    padding:20px;
}

.buyhero-badge{
    display:inline-block;

    padding:10px 22px;
    margin-bottom:28px;

    border-radius:999px;
    border:1px solid rgba(255,255,255,.35);

    background:rgba(255,255,255,.1);
    backdrop-filter:blur(10px);

    font-size:.82rem;
    letter-spacing:2px;
    text-transform:uppercase;
    font-weight:500;
}

.buyhero h1{
    font-family:var(--display);
    font-weight:400;
    font-style:italic;
    font-size:clamp(2.4rem,6vw,4rem);
    line-height:1.15;
    margin-bottom:24px;
    letter-spacing:.2px;
    text-shadow:0 10px 40px rgba(0,0,0,.25);
}

.buyhero p{
    font-size:1.12rem;
    line-height:1.9;
    margin-bottom:44px;
    color:rgba(255,255,255,.92);
    font-weight:300;
}

.hero-btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;

    padding:17px 40px;

    border-radius:999px;

    background:var(--forest);
    color:var(--white);

    text-decoration:none;
    font-weight:600;
    letter-spacing:.3px;

    transition:.35s cubic-bezier(.2,.8,.2,1);

    box-shadow:0 16px 34px rgba(47,74,62,.3);
}

.hero-btn:hover{
    transform:translateY(-4px);
    background:var(--amber);
    box-shadow:0 18px 38px rgba(198,154,109,.4);
}

/* ================= STEPS ================= */

.steps{
    display:grid;
    gap:22px;
}

.step{
    position:relative;
    background:var(--white);
    border:1px solid var(--line);
    border-radius:var(--radius);
    padding:36px 34px;
    box-shadow:var(--shadow-sm);
    transition:transform .4s cubic-bezier(.2,.8,.2,1), box-shadow .4s, border-color .4s;
}

.step:hover{
    transform:translateY(-6px);
    box-shadow:var(--shadow);
    border-color:var(--sage-soft);
}

.step-number{
    width:52px;
    height:52px;
    border-radius:50%;

    background:linear-gradient(150deg,var(--forest),var(--forest-light));
    color:var(--white);

    display:flex;
    align-items:center;
    justify-content:center;

    font-family:var(--display);
    font-size:20px;
    font-weight:600;

    margin-bottom:20px;

    box-shadow:0 10px 22px rgba(47,74,62,.25);
}

.step h2{
    font-family:var(--display);
    font-weight:500;
    font-size:1.35rem;
    margin:0 0 12px;
    color:var(--forest);
}

.step p{
    margin:0;
    color:var(--muted);
    line-height:1.8;
}

/* ================= NOTICE ================= */

.notice{
    margin-top:60px;
    background:var(--ivory-deep);
    border-left:4px solid var(--amber);
    border-radius:18px;
    padding:34px 36px;
}

.notice h2{
    margin-top:0;
    margin-bottom:12px;
    font-family:var(--display);
    font-weight:500;
    font-size:1.3rem;
    color:var(--forest);
}

.notice p{
    color:var(--muted);
    line-height:1.8;
}

/* ================= CTA ================= */

.cta{
    text-align:center;
    margin-top:70px;
    padding:56px 30px;
    background:var(--white);
    border:1px solid var(--line);
    border-radius:28px;
    box-shadow:var(--shadow-sm);
}

.cta h2{
    font-family:var(--display);
    font-weight:500;
    font-style:italic;
    font-size:2rem;
    color:var(--forest);
    margin-bottom:16px;
}

.cta p{
    max-width:600px;
    margin:0 auto 34px;
    color:var(--muted);
    line-height:1.8;
}

.buy-btn{
    display:inline-block;
    padding:19px 46px;
    border-radius:999px;

    background:linear-gradient(135deg,var(--forest),var(--forest-light));
    color:var(--white);
    text-decoration:none;

    font-size:1.1rem;
    font-weight:600;
    letter-spacing:.2px;

    transition:.35s cubic-bezier(.2,.8,.2,1);
    box-shadow:0 16px 34px rgba(47,74,62,.28);
}

.buy-btn:hover{
    background:linear-gradient(135deg,var(--amber),#b98a5a);
    transform:translateY(-3px);
    box-shadow:0 20px 42px rgba(198,154,109,.4);
}

/* ================= BACK LINK ================= */

.back{
    margin-top:40px;
    text-align:center;
}

.back a{
    color:var(--forest-light);
    text-decoration:none;
    font-weight:600;
    font-size:.95rem;
    transition:.3s;
}

.back a:hover{
    color:var(--amber);
    text-decoration:underline;
}

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

@media(max-width:768px){

    .container{
        padding:70px 20px 40px;
    }

    .buyhero{
        height:60vh;
        min-height:420px;
    }

    .buyhero h1{
        font-size:2.3rem;
    }

    .buyhero p{
        font-size:1rem;
    }

    .buyhero-content{
        padding:0px;
    }

    .hero-btn{
        padding:16px 24px;
    }

    .step{
        padding:26px 24px;
    }

    .cta{
        padding:40px 24px;
    }

    .buy-btn{
        width:100%;
        padding:18px;
        font-size:1rem;
    }
}

nav{
    display:flex;
    justify-content:space-between;
    align-items:center;
}

.nav-right{
    display:flex;
    align-items:center;
    gap:25px;
}

.language-switch{
    display:flex;
    align-items:center;
    gap:8px;
}

.language-switch a.active{
    font-weight:700;
    color:#3d7c52;
}