﻿:root {
    --purple: #4CAF50;
    --purple-light: #4CAF50;
    --purple-dark: #4CAF50;
    --dark-bg: #0D0B1F;
    --text-white: #FFFFFF;
}

html, body {
    font-family: 'Inter', sans-serif;
    min-height: 100%;
}

.page {
    display: flex;
    min-height: 100vh;
}

/* ══════════════════════════════
       LEFT PANEL
    ══════════════════════════════ */
.left {
    width: 52%;
    background: var(--dark-bg);
    background-image: radial-gradient(ellipse 60% 50% at 20% 30%, rgba(100,80,220,0.45) 0%, transparent 70%), radial-gradient(ellipse 40% 40% at 80% 80%, rgba(80,60,180,0.3) 0%, transparent 70%);
    color: var(--text-white);
    padding: 48px 56px 40px;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.logo {
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    flex-shrink: 0;
}

.logo-icon {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #7B6EF6, #5B4FD9);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.logo span.highlight {
    color: var(--purple-light);
}

.headline {
    font-size: 46px;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.5px;
    margin-bottom: 20px;
}

    .headline .accent {
        color: var(--purple-light);
    }

.subtext {
    font-size: 15px;
    color: #A0A8C0;
    max-width: 380px;
    line-height: 1.6;
    margin-bottom: 44px;
}

.features {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 44px;
}

.feature {
    display: flex;
    align-items: flex-start;
    gap: 18px;
}

.feat-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: rgba(123,110,246,0.18);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}

.feat-text h3 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 4px;
}

.feat-text p {
    font-size: 13px;
    color: #8B94B0;
    line-height: 1.5;
}

.illustration {
    margin-top: auto;
    position: relative;
    height: 220px;
    flex-shrink: 0;
}

.laptop {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-40%);
    width: 300px;
}

.laptop-screen {
    background: #1A1838;
    border-radius: 10px 10px 0 0;
    padding: 10px 10px 6px;
    border: 2px solid #2D2B55;
}

.laptop-searchbar {
    background: #252350;
    border-radius: 6px;
    padding: 5px 10px;
    font-size: 11px;
    color: #8B94B0;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.laptop-cards {
    display: flex;
    gap: 8px;
}

.lcard {
    flex: 1;
    background: #252350;
    border-radius: 8px;
    padding: 8px 6px 6px;
    text-align: center;
}

.lcard-icon {
    font-size: 20px;
    margin-bottom: 4px;
}

.lcard-stars {
    color: #F59E0B;
    font-size: 8px;
    letter-spacing: 1px;
}

.laptop-base {
    height: 12px;
    background: #2D2B55;
    border-radius: 0 0 4px 4px;
}

.laptop-foot {
    height: 5px;
    background: #222048;
    border-radius: 0 0 8px 8px;
    width: 110%;
    margin-left: -5%;
}

.robot {
    position: absolute;
    bottom: 12px;
    left: 2%;
    font-size: 72px;
    line-height: 1;
    filter: drop-shadow(0 4px 24px rgba(123,110,246,0.4));
}

.badge-stars {
    position: absolute;
    top: 20px;
    right: 12%;
    background: #7B6EF6;
    border-radius: 12px;
    padding: 8px 14px;
    display: flex;
    gap: 3px;
    align-items: center;
    font-size: 18px;
    box-shadow: 0 8px 24px rgba(123,110,246,0.4);
}

.badge-chart {
    position: absolute;
    bottom: 60px;
    right: 4%;
    background: #7B6EF6;
    border-radius: 10px;
    padding: 8px 12px;
    font-size: 22px;
    box-shadow: 0 8px 20px rgba(123,110,246,0.35);
}

.mug {
    position: absolute;
    bottom: 10px;
    left: 30%;
    font-size: 38px;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.5));
}

.book {
    position: absolute;
    bottom: 8px;
    right: 18%;
    font-size: 34px;
}

/* ══════════════════════════════
       RIGHT PANEL
    ══════════════════════════════ */
.right {
    width: 48%;
    background: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px 60px;
}

.form-box {
    width: 100%;
    max-width: 440px;
}

.form-title {
    font-size: 32px;
    font-weight: 800;
    color: #111827;
    text-align: center;
    margin-bottom: 8px;
}

    .form-title .accent {
        color: var(--purple);
    }

.form-sub {
    text-align: center;
    font-size: 14px;
    color: #6B7280;
    margin-bottom: 28px;
}

.social-row {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
}

.social-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1.5px solid #E5E7EB;
    border-radius: 10px;
    padding: 11px 12px;
    font-size: 14px;
    font-weight: 500;
    color: #374151;
    background: #fff;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s;
    white-space: nowrap;
}

    .social-btn:hover {
        background: #F9FAFB;
        border-color: #D1D5DB;
    }

.google-icon {
    width: 18px;
    height: 18px;
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}

.divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    color: #9CA3AF;
    font-size: 13px;
}

    .divider::before, .divider::after {
        content: '';
        flex: 1;
        height: 1px;
        background: #E5E7EB;
    }

.field {
    margin-bottom: 18px;
}

    .field label {
        font-size: 14px;
        font-weight: 600;
        color: #111827;
        margin-bottom: 7px;
    }

.input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

    .input-wrap .ico {
        position: absolute;
        left: 14px;
        color: #9CA3AF;
        font-size: 16px;
        pointer-events: none;
    }

    .input-wrap input {
        width: 100%;
        padding: 11px 14px 11px 40px;
        border: 1.5px solid #E5E7EB;
        border-radius: 10px;
        font-size: 14px;
        color: #111827;
        font-family: 'Inter', sans-serif;
        outline: none;
        transition: border-color 0.15s, box-shadow 0.15s;
        background: #fff;
    }

        .input-wrap input::placeholder {
            color: #9CA3AF;
        }

        .input-wrap input:focus {
            border-color: var(--purple);
            box-shadow: 0 0 0 3px rgba(123,110,246,0.12);
        }

.eye-btn {
    position: absolute;
    right: 14px;
    background: none;
    border: none;
    cursor: pointer;
    color: #9CA3AF;
    display: flex;
    align-items: center;
}

.hint {
    font-size: 12px;
    color: #6B7280;
    margin-top: 6px;
}

.cta-btn {
    width: 100%;
    background: var(--purple);
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 14px;
    font-size: 15px;
    font-weight: 700;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    margin-bottom: 16px;
    transition: background 0.15s, box-shadow 0.15s;
    letter-spacing: 0.3px;
}

    .cta-btn:hover {
        background: var(--purple-dark);
        box-shadow: 0 4px 20px rgba(123,110,246,0.35);
    }

.signin-row {
    text-align: center;
    font-size: 14px;
    color: #6B7280;
    margin-bottom: 20px;
}

    .signin-row a {
        color: var(--purple);
        font-weight: 600;
        text-decoration: none;
    }

        .signin-row a:hover {
            text-decoration: underline;
        }

.terms {
    text-align: center;
    font-size: 12px;
    color: #9CA3AF;
    line-height: 1.6;
}

    .terms a {
        color: var(--purple);
        text-decoration: none;
    }

        .terms a:hover {
            text-decoration: underline;
        }

.g-blue {
    fill: #4285F4;
}

.g-red {
    fill: #EA4335;
}

.g-yellow {
    fill: #FBBC05;
}

.g-green {
    fill: #34A853;
}

/* ══════════════════════════════
       LARGE DESKTOP ≥ 1280px
    ══════════════════════════════ */
@media (min-width: 1280px) {
    .left {
        padding: 56px 64px 48px;
    }

    .headline {
        font-size: 52px;
    }

    .right {
        padding: 56px 72px;
    }
}

/* ══════════════════════════════
       TABLET  ≤ 1024px
    ══════════════════════════════ */
@media (max-width: 1024px) {
    .left {
        padding: 36px 36px 32px;
    }

    .headline {
        font-size: 36px;
    }

    .subtext {
        font-size: 14px;
        margin-bottom: 32px;
    }

    .right {
        padding: 36px 32px;
    }

    .laptop {
        width: 240px;
    }

    .robot {
        font-size: 54px;
    }

    .badge-stars {
        font-size: 15px;
        padding: 7px 12px;
    }
}

/* ══════════════════════════════
       SMALL TABLET  ≤ 768px
       Panels stack vertically
    ══════════════════════════════ */
@media (max-width: 768px) {
    .page {
        flex-direction: column;
    }

    .left {
        width: 100%;
        padding: 28px 24px 24px;
        min-height: auto;
    }

    .logo {
        margin-top: 65px;
        font-size: 18px;
    }

    .headline {
        font-size: 30px;
        margin-bottom: 14px;
    }

    .subtext {
        font-size: 14px;
        margin-bottom: 24px;
        max-width: 100%;
    }

    .features {
        gap: 18px;
        margin-bottom: 24px;
    }

    .feat-icon {
        width: 42px;
        height: 42px;
        min-width: 42px;
        font-size: 19px;
    }

    .feat-text h3 {
        font-size: 14px;
    }

    .feat-text p {
        font-size: 12px;
    }

        .feat-text p br {
            display: none;
        }

    .illustration {
        height: 180px;
    }

    .laptop {
        width: 210px;
    }

    .robot {
        font-size: 50px;
        bottom: 6px;
    }

    .badge-stars {
        font-size: 13px;
        padding: 6px 10px;
        top: 8px;
        right: 6%;
    }

    .badge-chart {
        font-size: 17px;
        padding: 6px 9px;
        bottom: 46px;
    }

    .mug {
        font-size: 28px;
    }

    .book {
        font-size: 24px;
    }

    .right {
        width: 100%;
        padding: 28px 24px 36px;
    }

    .form-title {
        font-size: 26px;
    }

    .form-sub {
        font-size: 13px;
    }
}

/* ══════════════════════════════
       MOBILE  ≤ 480px
       Hide illustration; tighten spacing
    ══════════════════════════════ */
@media (max-width: 480px) {
    .left {
        padding: 22px 18px 18px;
    }

    .logo {
        margin-top: 65px;
        font-size: 16px;
    }

    .logo-icon {
        width: 30px;
        height: 30px;
        font-size: 15px;
    }

    .headline {
        font-size: 26px;
        margin-bottom: 12px;
    }

    .subtext {
        font-size: 13px;
        margin-bottom: 18px;
    }

    .illustration {
        display: none;
    }

    .features {
        gap: 14px;
        margin-bottom: 0;
    }

    .feat-icon {
        width: 36px;
        height: 36px;
        min-width: 36px;
        font-size: 16px;
        border-radius: 9px;
    }

    .feat-text h3 {
        font-size: 13px;
    }

    .feat-text p {
        font-size: 11.5px;
    }

    .right {
        padding: 26px 18px 32px;
    }

    .form-title {
        font-size: 22px;
    }

    .form-sub {
        font-size: 13px;
        margin-bottom: 20px;
    }

    .social-row {
        flex-direction: column;
        gap: 10px;
    }

    .social-btn {
        font-size: 13px;
        padding: 11px 10px;
        justify-content: center;
    }

    .field {
        margin-bottom: 14px;
    }

        .field label {
            font-size: 13px;
        }

    .input-wrap input {
        font-size: 13px;
        padding: 10px 14px 10px 38px;
    }

    .hint {
        font-size: 11px;
    }

    .cta-btn {
        font-size: 14px;
        padding: 13px;
    }

    .signin-row {
        font-size: 13px;
    }

    .terms {
        font-size: 11px;
    }

        .terms br {
            display: none;
        }
}

/* ══════════════════════════════
       EXTRA SMALL  ≤ 360px
    ══════════════════════════════ */
@media (max-width: 360px) {
    .left {
        padding: 18px 14px 14px;
    }

    .right {
        padding: 22px 14px 28px;
    }

    .headline {
        font-size: 22px;
    }

    .form-title {
        font-size: 20px;
    }

    .social-btn {
        font-size: 12px;
        padding: 10px 8px;
    }
}
