@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
    --primary-color: #1E64FF;
    --primary-dark: #1a6cd1;
    --secondary-color: #008FA1;
    --bg-dark: #0f172a;
    --card-bg: rgba(255, 255, 255, 0.05);
    --border-color: rgba(255, 255, 255, 0.1);
    --text-main: #ffffff;
    --text-muted: #94a3b8;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

body {
    background-color: var(--bg-dark);
    background-image: 
        radial-gradient(at 0% 0%, rgba(30, 100, 255, 0.1) 0px, transparent 50%),
        radial-gradient(at 100% 100%, rgba(0, 143, 161, 0.1) 0px, transparent 50%);
    height: 100vh;
    overflow: hidden;
    color: var(--text-main);
}

.container {
    width: 100%;
    max-width: 1400px;
    height: 100vh;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    padding: 20px 40px;
    position: relative; /* Üst logo için referans */
    animation: fadeIn 0.8s ease-out;
}

.top-logo-area {
    position: absolute;
    top: 40px;
    left: 38px; /* Başlıkla tam dikey hizalamak için milimetrik kaydırıldı */
    z-index: 10;
}

.top-logo-area img {
    max-width: 160px;
    height: auto;
    opacity: 0.9;
}

.back-btn-area {
    position: absolute;
    top: 40px;
    right: 40px;
    z-index: 10;
}

.back-btn {
    text-decoration: none;
    color: var(--text-main);
    font-size: 13px;
    font-weight: 500;
    padding: 10px 18px;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.02);
}

.back-btn:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(30, 100, 255, 0.2);
}

.back-btn i {
    font-size: 14px;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.main-layout {
    flex: 1; /* Tüm orta alanı kaplar */
    display: grid;
    grid-template-columns: 1fr 500px 1fr;
    gap: 60px;
    align-items: center; /* İçeriği dikeyde tam merkeze alır */
    width: 100%;
}

.side-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.side-content h2 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 5px;
}

.side-content p.desc {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.6;
}

.text-highlights {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.8;
}

.info-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 20px;
}

.info-card i { font-size: 20px; margin-bottom: 12px; display: block; }
.info-card h4 { font-size: 15px; margin-bottom: 6px; color: #fff; }
.info-card p { font-size: 12px; color: var(--text-muted); }

/* Center Card */
.onboarding-card {
    background: var(--card-bg);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 35px;
}

.logo-section { text-align: center; margin-bottom: 25px; }
.logo-section h1 { font-size: 26px; }
.form-group { margin-bottom: 15px; }
.form-group label { display: block; font-size: 13px; margin-bottom: 6px; color: var(--text-muted); }

.input-wrapper { position: relative; }
.input-wrapper i { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); color: var(--text-muted); }
input { width: 100%; background: rgba(255, 255, 255, 0.03); border: 1px solid var(--border-color); border-radius: 10px; padding: 10px 15px 10px 40px; color: #fff; font-size: 14px; outline: none; }
input:focus { border-color: var(--primary-color); }

input::placeholder {
    color: rgba(255, 255, 255, 0.2);
    font-size: 13px;
    letter-spacing: 1px;
}

.submit-btn { width: 100%; background: var(--primary-color); color: white; border: none; border-radius: 10px; padding: 12px; font-weight: 600; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 8px; }
.submit-btn.disabled { opacity: 0.5; background: #475569; }

/* Phone Area */
.phone-wrapper { margin-top: 30px; position: relative; height: 320px; display: flex; justify-content: center; align-items: center; }
.main-phone { max-width: 220px; z-index: 2; animation: floating 4s infinite; }
.floating-obj { position: absolute; z-index: 3; }
.tshirt { width: 90px; right: 0; top: 0; animation: floatTshirt 5s infinite; }
.shoes { width: 80px; left: 0; bottom: 60px; animation: floatShoes 6s infinite; }

.bg-text-container { position: absolute; width: 100%; height: 100%; display: flex; flex-direction: column; justify-content: space-around; z-index: 1; }
.watermark { font-size: 70px; font-weight: 800; color: rgba(255, 255, 255, 0.02); letter-spacing: 5px; line-height: 1.4; padding: 5px 0; }

@keyframes floating { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes floatTshirt { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(-10px, -15px); } }
@keyframes floatShoes { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(10px, 15px); } }

/* Footer */
.footer-area { display: flex; align-items: center; justify-content: space-between; width: 100%; max-width: 1400px; padding: 20px 0; border-top: 1px solid var(--border-color); }
.footer-badges { display: flex; align-items: center; gap: 15px; }
.etbis-wrapper { display: flex; align-items: center; gap: 10px; background: rgba(255, 255, 255, 0.03); border: 1px solid var(--border-color); padding: 6px 12px; border-radius: 12px; }
.etbis-text { font-size: 11px; color: var(--text-muted); font-weight: 500; line-height: 1.2; }
.badge-img { height: 35px; opacity: 0.9; }
.badge-img.ministry { height: 38px; opacity: 0.7; }
.footer-main { display: flex; align-items: center; gap: 20px; }
.footer-logo { max-width: 100px; opacity: 0.5; filter: grayscale(1) brightness(2); }
.footer-text { font-size: 11px; color: var(--text-muted); display: flex; flex-direction: column; }

/* Modal */
.modal-overlay { position: fixed; inset: 0; background: rgba(15, 23, 42, 0.9); display: none; align-items: center; justify-content: center; z-index: 1000; }
.modal-card { background: #1e293b; border-radius: 20px; padding: 25px; width: 350px; }

/* Responsive Updates */
@media (max-width: 1100px) {
    body {
        overflow: auto;
        height: auto;
        min-height: 100vh;
    }
    
    .container {
        height: auto;
        padding: 40px 20px;
        justify-content: flex-start;
        display: block; /* Mobilde akış daha güvenli */
    }

    .top-logo-area {
        position: static;
        text-align: center;
        margin-bottom: 20px;
    }

    .top-logo-area img {
        max-width: 140px;
    }

    .back-btn-area {
        position: static;
        display: flex;
        justify-content: center;
        margin-bottom: 40px;
    }

    .back-btn {
        padding: 10px 20px;
        font-size: 13px;
    }

    .main-layout {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0;
        margin-bottom: 50px;
    }

    .side-content {
        display: none;
    }

    .onboarding-card {
        width: 100%;
        max-width: 480px;
        padding: 30px 20px;
    }

    .footer-area {
        flex-direction: column;
        gap: 30px;
        text-align: center;
        padding-top: 40px;
        border-top: 1px solid var(--border-color);
        margin-top: 40px;
    }

    .footer-badges {
        flex-direction: row; /* Badges yan yana kalsın */
        justify-content: center;
        flex-wrap: wrap;
        gap: 15px;
    }

    .footer-main {
        flex-direction: column;
        gap: 15px;
    }

    .footer-text {
        align-items: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 30px 15px;
    }

    .top-logo-area img {
        max-width: 120px;
    }
    
    .onboarding-card {
        padding: 25px 15px;
    }

    .onboarding-card h1 {
        font-size: 22px;
    }
}


