/* assets/css/landing.css */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Outfit:wght@700;800&display=swap');

:root {
    --primary-blue: #0084ff;
    --primary-blue-dark: #0073e6;
    --bg-light: #f0f2f5;
    --card-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    --input-border: #e4e6eb;
    --text-dark: #1c1e21;
    --text-muted: #65676b;
}

body,
html {
    margin: 0;
    padding: 0;
    font-family: 'Inter', sans-serif;
    height: 100%;
    overflow-x: hidden;
    background: #fff;
}

/* Split Background */
.landing-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    background: linear-gradient(to bottom, var(--primary-blue) 0%, var(--primary-blue) 55%, #ffffff 85%, #ffffff 100%);
}

.top-section {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 5% 80px;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
}

.branding-content {
    flex: 1;
    color: white;
    padding-right: 50px;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Outfit', sans-serif;
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 60px;
}

.logo-container img {
    /* width: 40px; */
    height: 40px;
}

.hero-text h1 {
    font-family: 'Outfit', sans-serif;
    font-size: 56px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -2px;
}

.hero-text p {
    font-size: 18px;
    opacity: 0.9;
    max-width: 450px;
    line-height: 1.6;
}

.illustration-box {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.illustration-box img {
    width: 100%;
    max-width: 500px;
    filter: drop-shadow(0 20px 50px rgba(0, 0, 0, 0.2));
    animation: float 6s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

/* Floating Login Card */
.login-card-container {
    position: absolute;
    top: 50%;
    right: 10%;
    transform: translateY(-40%);
    width: 440px;
    z-index: 100;
}

.login-card {
    background: white;
    padding: 48px;
    border-radius: 32px;
    box-shadow: var(--card-shadow);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    font-size: 14px;
}

.lang-switcher {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
}

.lang-switcher a {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 500;
    transition: color 0.2s;
}

.lang-switcher a:hover,
.lang-switcher a.active {
    color: var(--primary-blue);
    font-weight: 700;
}

.lang-switcher span {
    font-size: 12px;
    opacity: 0.5;
}

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

.card-header a {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 600;
    margin-left: 8px;
}

.login-card h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 42px;
    margin: 0 0 32px 0;
    color: var(--text-dark);
}

/* Social Login */
.social-login {
    display: flex;
    gap: 12px;
    margin-bottom: 32px;
}

.btn-social {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    border: 1px solid var(--input-border);
    border-radius: 12px;
    background: #f8f9fa;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-social:hover {
    background: #eef1f4;
}

.btn-social.google {
    flex: 2.5;
    background: #f1f6ff;
    border-color: #d8e6ff;
    gap: 12px;
    font-weight: 500;
    color: #0056b3;
}

.btn-social i {
    font-size: 18px;
}

.form-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.login-input {
    width: 100%;
    padding: 14px 18px;
    background: #f8f9fa;
    border: 1px solid var(--input-border);
    border-radius: 12px;
    margin-bottom: 24px;
    font-size: 15px;
    box-sizing: border-box;
    transition: all 0.2s;
}

.login-input:focus {
    outline: none;
    background: #fff;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 4px rgba(0, 132, 255, 0.1);
}

.forgot-link {
    display: block;
    text-align: right;
    font-size: 13px;
    color: var(--primary-blue);
    text-decoration: none;
    margin-top: -12px;
    margin-bottom: 32px;
}

.btn-submit {
    width: 100%;
    padding: 16px;
    background: var(--primary-blue);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 132, 255, 0.3);
}

/* Bottom Section */
.bottom-section {
    padding: 60px 5%;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
}

.login-as-header {
    font-weight: 600;
    margin-bottom: 24px;
    color: var(--text-dark);
}

.profile-grid {
    display: flex;
    gap: 20px;
}

.profile-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 24px 16px;
    text-align: center;
    width: 120px;
    position: relative;
    cursor: pointer;
    transition: all 0.3s;
    color: white;
}

.profile-card:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
}

.profile-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    margin-bottom: 10px;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.profile-name {
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.profile-status {
    font-size: 11px;
    opacity: 0.8;
}

.remove-profile {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 8px;
    color: white;
    cursor: pointer;
    transition: background 0.2s;
}

.remove-profile:hover {
    background: rgba(255, 0, 0, 0.5);
}

/* Responsive */
@media (max-width: 1100px) {
    .login-card-container {
        position: relative;
        top: 0;
        right: 0;
        transform: none;
        width: 100%;
        margin-top: -60px;
        padding: 0 20px;
        box-sizing: border-box;
    }

    .landing-wrapper {
        background: var(--primary-blue);
    }

    .top-section {
        flex-direction: column;
        text-align: center;
        padding-bottom: 120px;
    }

    .branding-content {
        padding-right: 0;
    }

    .logo-container {
        justify-content: center;
    }

    .hero-text h1 {
        font-size: 42px;
    }

    .hero-text p {
        margin: 0 auto 40px;
    }

    .bottom-section {
        background: white;
    }
}

@media (max-width: 480px) {
    .login-card {
        padding: 24px;
    }

    .hero-text h1 {
        font-size: 32px;
    }
}

/* Feedback Section */
.feedback-section {
    padding: 80px 5%;
    background: #fff;
    border-top: 1px solid var(--input-border);
}

.feedback-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    gap: 60px;
    align-items: center;
}

.feedback-text {
    flex: 1;
}

.feedback-text h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 32px;
    margin-bottom: 16px;
    color: var(--text-dark);
}

.feedback-text p {
    font-size: 16px;
    color: var(--text-muted);
    line-height: 1.6;
}

.feedback-form {
    flex: 1.2;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-row {
    display: flex;
    gap: 16px;
}

.feedback-form input,
.feedback-form select,
.feedback-form textarea {
    width: 100%;
    padding: 14px;
    border: 1px solid var(--input-border);
    border-radius: 12px;
    background: #f8f9fa;
    font-size: 15px;
    box-sizing: border-box;
}

.feedback-form textarea {
    height: 120px;
    resize: none;
}

.btn-feedback {
    background: var(--text-dark);
    color: white;
    padding: 14px;
    border: none;
    border-radius: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-feedback:hover {
    background: #000;
    transform: translateY(-2px);
}

.feedback-msg {
    font-size: 14px;
    text-align: center;
}

.feedback-msg.success {
    color: #2e7d32;
}

.feedback-msg.error {
    color: #d32f2f;
}

@media (max-width: 900px) {
    .feedback-container {
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }

    .form-row {
        flex-direction: column;
    }
}