:root{
    --bg:#f3f6fb;
    --text:#172033;
    --muted:#64748b;
    --panel:#ffffff;
    --border:#e5eaf1;
    --brand:#0f766e;
    --brand2:#14b8a6;
    --dark:#0f172a;
}

*{
    box-sizing:border-box;
}

body{
    margin:0;
    background:var(--bg);
    color:var(--text);
    font-family:Arial,sans-serif;
}

header{
    position:relative;
    overflow:hidden;
    color:#fff;
    padding:52px 18px 92px;
    background:
        linear-gradient(135deg, rgba(15,118,110,.72), rgba(15,23,42,.82)),
        url('/assets/img/header.jpg') center/cover no-repeat;
}

header::before{
    content:"";
    position:absolute;
    inset:0;
    background:
        radial-gradient(circle at 82% 12%, rgba(45,212,191,.24), transparent 34%),
        radial-gradient(circle at 18% 18%, rgba(59,130,246,.18), transparent 30%);
    pointer-events:none;
}

header::after{
    content:"";
    position:absolute;
    left:-8%;
    right:-8%;
    bottom:-74px;
    height:92px;
    background:var(--bg);
    border-radius:50% 50% 0 0;
}

.wrap{
    max-width:1120px;
    margin:auto;
    padding:0 18px;
    position:relative;
    z-index:2;
}

.hero{
    display:grid;
    grid-template-columns:1fr 460px;
    gap:28px;
    align-items:center;
}

h1{
    margin:0;
    font-size:44px;
    line-height:1.04;
    letter-spacing:-.055em;
    text-shadow:0 8px 30px rgba(0,0,0,.22);
}

.sub{
    margin-top:14px;
    max-width:720px;
    line-height:1.6;
    font-size:17px;
    opacity:.94;
}

.actions{
    display:flex;
    gap:10px;
    flex-wrap:wrap;
    margin-top:18px;
}

.actions a{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:11px 15px;
    border-radius:999px;
    background:rgba(255,255,255,.14);
    color:#fff;
    text-decoration:none;
    font-weight:950;
    border:1px solid rgba(255,255,255,.25);
}

.actions a.primary{
    background:#fff;
    color:var(--brand);
}

.form-card{
    background:rgba(255,255,255,.96);
    color:var(--text);
    border:1px solid rgba(226,232,240,.95);
    border-radius:26px;
    padding:22px;
    box-shadow:0 22px 54px rgba(15,23,42,.18);
    backdrop-filter:blur(10px);
}

.form-card h2{
    margin:0 0 6px;
    font-size:24px;
    letter-spacing:-.04em;
}

.form-card p{
    margin:0 0 16px;
    color:var(--muted);
    font-size:14px;
    line-height:1.5;
}

label{
    display:block;
    font-weight:900;
    font-size:13px;
    margin:12px 0 6px;
}

input[type="email"],
input[type="password"],
input[type="text"]{
    width:100%;
    padding:13px 14px;
    border:1px solid #d7deea;
    border-radius:16px;
    font-size:15px;
    background:#fff;
}

input[type="email"]:focus,
input[type="password"]:focus,
input[type="text"]:focus{
    outline:none;
    border-color:#14b8a6;
    box-shadow:0 0 0 4px rgba(20,184,166,.15);
}

button[type="submit"]{
    width:100%;
    margin-top:14px;
    padding:14px 15px;
    border:0;
    border-radius:16px;
    background:var(--brand);
    color:#fff;
    font-size:15px;
    font-weight:950;
    cursor:pointer;
    box-shadow:0 12px 26px rgba(15,118,110,.22);
}

button[type="submit"]:hover{
    background:#0d6b64;
}

.notice{
    border-radius:16px;
    padding:14px;
    margin-bottom:14px;
    font-size:14px;
    line-height:1.5;
}

.notice.error{
    background:#fee2e2;
    border:1px solid #fecaca;
    color:#991b1b;
}

.notice.success{
    background:#dcfce7;
    border:1px solid #bbf7d0;
    color:#166534;
}

.notice ul{
    margin:0;
    padding-left:18px;
}

.hint{
    color:var(--muted);
    font-size:12px;
    line-height:1.45;
    margin-top:10px;
}

.main-card{
    max-width:1120px;
    margin:-48px auto 34px;
    padding:0 18px;
    position:relative;
    z-index:5;
}

.features{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:14px;
}

.feature{
    background:#fff;
    border:1px solid var(--border);
    border-radius:22px;
    padding:18px;
    box-shadow:0 18px 42px rgba(15,23,42,.08);
}

.feature b{
    display:block;
    margin-bottom:6px;
    font-size:17px;
}

.feature span{
    color:var(--muted);
    font-size:14px;
    line-height:1.45;
}

/* SecureLayer Challenge */

.captcha-wrap{
    margin-top:18px;
    margin-bottom:6px;
}

.sl-captcha{
    margin-top:18px;
    padding:14px;
    border:1px solid #d7deea;
    border-radius:18px;
    background:#ffffff;
    box-shadow:0 10px 24px rgba(15,23,42,.05);
    overflow:visible;
}

/* fontos: ne örökölje a globális input/button stílust */

@media(max-width:900px){
    header{
        padding:38px 14px 74px;
    }

    .hero{
        grid-template-columns:1fr;
    }

    h1{
        font-size:34px;
    }

    .features{
        grid-template-columns:1fr;
    }
}

@media(max-width:520px){
    header{
        padding:30px 10px 66px;
    }

    .wrap,
    .main-card{
        padding:0 12px;
    }

    h1{
        font-size:30px;
    }

    .form-card{
        padding:18px;
    }
}
