*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Inter,sans-serif;
}

html,body{
    width:100%;
    min-height:100%;
}

body{
    min-height:100vh;
    color:var(--text);
    background:
        radial-gradient(circle at 8% 8%,var(--glow1),transparent 34%),
        radial-gradient(circle at 92% 18%,var(--glow2),transparent 38%),
        radial-gradient(circle at 70% 90%,color-mix(in srgb,var(--primary) 10%, transparent),transparent 36%),
        linear-gradient(180deg,var(--bg),#070909 62%,#030404);
    overflow-x:hidden;
}

body::before{
    content:"";
    position:fixed;
    inset:0;
    pointer-events:none;
    background-image:
        linear-gradient(rgba(255,255,255,.026) 1px,transparent 1px),
        linear-gradient(90deg,rgba(255,255,255,.026) 1px,transparent 1px);
    background-size:46px 46px;
    mask-image:linear-gradient(to bottom,rgba(0,0,0,.95),transparent 92%);
    z-index:0;
}

body::after{
    content:"";
    position:fixed;
    width:620px;
    height:620px;
    right:-210px;
    bottom:-180px;
    background:linear-gradient(135deg,var(--primary),var(--secondary));
    filter:blur(170px);
    opacity:.12;
    pointer-events:none;
    z-index:0;
}

.login-page{
    min-height:100vh;
    position:relative;
    z-index:2;
    overflow:hidden;
}

.hero{
    position:relative;
    z-index:4;
}

.badge{
    display:inline-flex;
    align-items:center;
    gap:9px;
    padding:10px 15px;
    border-radius:999px;
    background:rgba(255,255,255,.075);
    border:1px solid rgba(255,255,255,.14);
    color:var(--muted);
    font-size:13px;
    font-weight:850;
    backdrop-filter:blur(20px);
}

.badge span{
    width:8px;
    height:8px;
    border-radius:50%;
    background:var(--primary);
    box-shadow:0 0 18px var(--primary);
}

.hero h1{
    font-weight:950;
    color:#fff;
}

.hero h1 strong{
    color:var(--primary);
}

.hero p{
    color:var(--muted);
}

.hero-cards{
    position:relative;
    z-index:4;
}

.mini-card{
    background:
        linear-gradient(145deg,rgba(255,255,255,.105),rgba(255,255,255,.045));
    border:1px solid rgba(255,255,255,.13);
    backdrop-filter:blur(24px);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.12),
        0 24px 70px rgba(0,0,0,.28);
}

.mini-card i{
    color:var(--primary);
}

.mini-card strong{
    color:var(--text);
}

.mini-card span{
    color:var(--muted);
}

.visual{
    position:relative;
    z-index:2;
    pointer-events:none;
}

.phone-3d{
    position:absolute;
    border-radius:42px;
    background:
        linear-gradient(145deg,rgba(255,255,255,.16),rgba(255,255,255,.04)),
        #0b0c10;
    border:1px solid rgba(255,255,255,.18);
    box-shadow:
        0 40px 120px rgba(0,0,0,.55),
        inset 0 1px 0 rgba(255,255,255,.2);
    padding:18px;
    animation:floatPhone 6s ease-in-out infinite alternate;
}

.phone-3d::after{
    content:"";
    position:absolute;
    inset:-18px;
    border-radius:54px;
    background:linear-gradient(135deg,var(--primary),transparent 58%);
    filter:blur(38px);
    opacity:.20;
    z-index:-1;
}

.phone-top{
    width:70px;
    height:8px;
    background:rgba(255,255,255,.14);
    border-radius:999px;
    margin:0 auto 18px;
}

.fake-post{
    background:rgba(255,255,255,.07);
    border:1px solid rgba(255,255,255,.10);
    border-radius:24px;
    padding:12px;
    margin-bottom:12px;
}

.fake-user{
    display:flex;
    align-items:center;
    gap:9px;
    margin-bottom:10px;
}

.fake-avatar{
    width:34px;
    height:34px;
    border-radius:50%;
    background:linear-gradient(135deg,var(--primary),var(--secondary));
}

.fake-lines{
    flex:1;
}

.fake-lines div{
    height:8px;
    border-radius:999px;
    background:rgba(255,255,255,.16);
    margin-bottom:6px;
}

.fake-lines div:nth-child(2){
    width:60%;
}

.fake-img{
    height:130px;
    border-radius:18px;
    background:
        radial-gradient(circle at 30% 20%,var(--glow1),transparent 35%),
        linear-gradient(135deg,rgba(255,255,255,.15),rgba(255,255,255,.04));
}

.orb{
    position:absolute;
    border-radius:34px;
    background:linear-gradient(135deg,var(--primary),var(--secondary));
    box-shadow:0 30px 90px rgba(0,0,0,.35);
}

.form-container{
    position:relative;
    z-index:8;
    background:
        linear-gradient(145deg,rgba(255,255,255,.11),rgba(255,255,255,.045));
    border:1px solid rgba(255,255,255,.15);
    backdrop-filter:blur(34px) saturate(180%);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.13),
        0 40px 120px rgba(0,0,0,.48);
}

.logo{
    font-weight:950;
    letter-spacing:-1.4px;
    color:var(--primary);
}

.form-subtitle{
    color:var(--muted);
}

.error{
    background:rgba(255,59,129,.12);
    border:1px solid rgba(255,59,129,.30);
    color:#ff7aa5;
    font-size:13px;
    padding:12px;
    border-radius:16px;
    margin-bottom:16px;
    display:flex;
    align-items:center;
    gap:9px;
}

.input-group{
    position:relative;
    margin-bottom:13px;
}

.input-group i{
    position:absolute;
    left:15px;
    top:50%;
    transform:translateY(-50%);
    color:var(--muted);
    font-size:14px;
}

input{
    width:100%;
    background:rgba(0,0,0,.28);
    border:1px solid rgba(255,255,255,.12);
    color:var(--text);
    padding:14px 14px 14px 44px;
    border-radius:18px;
    outline:none;
    font-size:16px;
    transition:.2s;
}

input:focus{
    border-color:var(--primary);
    box-shadow:0 0 0 4px color-mix(in srgb,var(--primary) 14%, transparent);
}

button{
    width:100%;
    background:var(--primary);
    color:var(--bg);
    border:none;
    padding:14px;
    border-radius:18px;
    font-weight:950;
    cursor:pointer;
    font-size:15px;
    margin-top:10px;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:9px;
    transition:.2s;
}

button:hover{
    transform:translateY(-2px);
    box-shadow:0 18px 40px color-mix(in srgb,var(--primary) 22%, transparent);
}

.footer-text{
    margin-top:22px;
    color:var(--muted);
    text-align:center;
    font-size:14px;
}

.footer-text a{
    color:var(--primary);
    font-weight:900;
    text-decoration:none;
}

.login-note{
    margin-top:18px;
    padding:14px;
    border-radius:18px;
    background:rgba(255,255,255,.05);
    border:1px solid rgba(255,255,255,.09);
    color:var(--muted);
    font-size:12px;
    line-height:1.5;
}

@keyframes floatPhone{
    from{
        transform:rotateY(-18deg) rotateX(8deg) rotateZ(2deg) translateY(0);
    }
    to{
        transform:rotateY(-12deg) rotateX(10deg) rotateZ(1deg) translateY(-18px);
    }
}

@keyframes orbMove{
    from{
        transform:translateY(0) rotate(0);
    }
    to{
        transform:translateY(-28px) rotate(18deg);
    }
}

/* DESKTOP */
@media(min-width:1181px){
    body{
        overflow:hidden;
    }

    .login-page{
        height:100vh;
        min-height:760px;
        display:grid;
        grid-template-columns:minmax(0,1fr) 430px;
        gap:70px;
        align-items:center;
        padding:34px 72px 42px;
    }

    .hero{
        align-self:start;
        max-width:720px;
        padding-top:22px;
    }

    .badge{
        margin-bottom:20px;
    }

    .hero h1{
        max-width:720px;
        font-size:64px;
        line-height:.94;
        letter-spacing:-4px;
        margin-bottom:20px;
    }

    .hero p{
        max-width:600px;
        font-size:17px;
        line-height:1.7;
    }

    .hero-cards{
        margin-top:30px;
        display:grid;
        grid-template-columns:repeat(3,178px);
        gap:14px;
        max-width:580px;
    }

    .mini-card{
        width:178px;
        min-height:132px;
        padding:17px;
        border-radius:26px;
    }

    .mini-card i{
        font-size:26px;
        margin-bottom:16px;
    }

    .mini-card strong{
        display:block;
        font-size:16px;
        margin-bottom:4px;
    }

    .mini-card span{
        font-size:13px;
    }

    .visual{
        position:absolute;
        left:72px;
        right:auto;
        bottom:14px;
        width:560px;
        height:260px;
        opacity:1;
    }

    .phone-3d{
        left:0;
        bottom:-170px;
        width:230px;
        height:420px;
        transform:rotateY(-18deg) rotateX(8deg) rotateZ(2deg) scale(.82);
        opacity:.72;
    }

    .orb.one{
        width:118px;
        height:118px;
        left:250px;
        bottom:50px;
        opacity:.58;
        animation:orbMove 7s ease-in-out infinite alternate;
    }

    .orb.two{
        width:82px;
        height:82px;
        left:-50px;
        bottom:15px;
        border-radius:50%;
        opacity:.5;
        animation:orbMove 6s ease-in-out infinite alternate-reverse;
    }

    .visual::after{
        content:"Canlı akış • Mesajlar • Paylaşımlar";
        position:absolute;
        left:245px;
        bottom:118px;
        width:260px;
        padding:14px 16px;
        border-radius:22px;
        background:rgba(255,255,255,.075);
        border:1px solid rgba(255,255,255,.13);
        backdrop-filter:blur(24px);
        color:var(--muted);
        font-size:13px;
        font-weight:850;
        box-shadow:0 20px 70px rgba(0,0,0,.28);
    }

    .form-container{
        width:430px;
        max-width:430px;
        justify-self:end;
        align-self:center;
        padding:32px;
        border-radius:36px;
    }

    .logo{
        font-size:34px;
        margin-bottom:8px;
    }

    .form-subtitle{
        font-size:15px;
        line-height:1.55;
        margin-bottom:24px;
    }

    input,
    button{
        height:54px;
        border-radius:19px;
    }
}

/* TABLET / SMALL DESKTOP */
@media(min-width:901px) and (max-width:1180px){
    body{
        overflow:hidden;
    }

    .login-page{
        height:100vh;
        min-height:700px;
        display:grid;
        grid-template-columns:minmax(0,1fr) 390px;
        gap:32px;
        align-items:center;
        padding:30px 34px;
    }

    .hero{
        align-self:start;
        max-width:590px;
        padding-top:18px;
    }

    .hero h1{
        font-size:52px;
        line-height:.96;
        letter-spacing:-3px;
        margin-bottom:18px;
    }

    .hero p{
        max-width:500px;
        font-size:16px;
        line-height:1.65;
    }

    .hero-cards{
        margin-top:26px;
        display:grid;
        grid-template-columns:repeat(2,175px);
        gap:13px;
    }

    .mini-card{
        width:175px;
        min-height:118px;
        padding:16px;
        border-radius:24px;
    }

    .visual{
        position:absolute;
        left:34px;
        bottom:100px;
        width:430px;
        height:40px;
        opacity:.92;
    }

    .phone-3d{
        left:0;
        bottom:70px;
        width:225px;
        height:410px;
        transform:rotateY(-18deg) rotateX(8deg) rotateZ(2deg) scale(.72);
        opacity:.52;
    }

    .orb.one{
        width:90px;
        height:90px;
        left:230px;
        bottom:52px;
        opacity:.5;
    }

    .orb.two{
        width:70px;
        height:70px;
        left:-34px;
        bottom:24px;
        opacity:.45;
        border-radius:50%;
    }

    .visual::after{
        content:"Canlı akış • Mesajlar";
        position:absolute;
        left:205px;
        bottom:94px;
        width:210px;
        padding:13px 15px;
        border-radius:20px;
        background:rgba(255,255,255,.075);
        border:1px solid rgba(255,255,255,.13);
        backdrop-filter:blur(24px);
        color:var(--muted);
        font-size:12px;
        font-weight:850;
    }

    .form-container{
        width:390px;
        max-width:390px;
        padding:28px;
        border-radius:34px;
        justify-self:end;
    }

    .logo{
        font-size:32px;
        margin-bottom:8px;
    }

    .form-subtitle{
        font-size:14px;
        margin-bottom:22px;
    }
}

/* MOBILE */
@media(max-width:900px){
    body{
        overflow-y:auto;
    }

    .login-page{
        min-height:100vh;
        display:block;
        padding:18px;
    }

    .hero{
        text-align:center;
        padding-top:18px;
        margin:0 auto 24px;
    }

    .badge{
        margin-bottom:18px;
    }

    .hero h1{
        font-size:38px;
        line-height:1;
        letter-spacing:-2px;
        margin-bottom:14px;
    }

    .hero p{
        max-width:440px;
        margin:0 auto;
        font-size:15px;
        line-height:1.6;
    }

    .hero-cards{
        display:none;
    }

    .visual{
        display:none;
    }

    .form-container{
        width:100%;
        max-width:430px;
        margin:0 auto;
        padding:22px;
        border-radius:28px;
    }

    .logo{
        font-size:28px;
        margin-bottom:8px;
    }

    .form-subtitle{
        font-size:14px;
        line-height:1.5;
        margin-bottom:20px;
    }
}
@media(min-width:901px){
    .desktop-floating-info{
        position:absolute;
        left:250px;
        bottom:170px;
        width:210px;
        padding:16px;
        border-radius:24px;
        background:rgba(255,255,255,.075);
        border:1px solid rgba(255,255,255,.13);
        backdrop-filter:blur(24px);
        display:flex;
        flex-direction:column;
        gap:4px;
        box-shadow:0 24px 80px rgba(0,0,0,.28);
    }

    .desktop-floating-info i{
        color:var(--primary);
        font-size:22px;
        margin-bottom:4px;
    }

    .desktop-floating-info strong{
        color:var(--text);
        font-size:14px;
    }

    .desktop-floating-info span{
        color:var(--muted);
        font-size:12px;
    }
}