* {
    box-sizing: border-box;
}

[v-cloak] {
    display: none;
}

:root {
    --bg-1: #eef4ff;
    --bg-2: #f4fbf7;
    --card: rgba(255, 255, 255, 0.88);
    --text: #0f172a;
    --muted: #64748b;
    --line: #e2e8f0;
    --primary: #0f766e;
    --primary-dark: #0b5e58;
    --primary-soft: rgba(15, 118, 110, 0.10);
    --google: #ffffff;
    --apple: #111827;
    --linkedin: #0a66c2;
    --danger-bg: #fef2f2;
    --danger-border: #fecaca;
    --danger-text: #b91c1c;
    --success-bg: #ecfdf5;
    --success-border: #bbf7d0;
    --success-text: #166534;
    --shadow-lg: 0 24px 80px rgba(15, 23, 42, 0.14);
    --shadow-md: 0 12px 30px rgba(15, 23, 42, 0.08);
    --radius-xl: 28px;
    --radius-lg: 18px;
    --radius-md: 14px;
}

body {
    margin: 0;
    font-family: Inter, Arial, Helvetica, sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(59, 130, 246, 0.12), transparent 30%),
        radial-gradient(circle at bottom right, rgba(16, 185, 129, 0.12), transparent 30%),
        linear-gradient(135deg, var(--bg-1) 0%, var(--bg-2) 100%);
}

.page-shell {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 28px;
}

.card {
    width: 100%;
    max-width: 920px;
    background: var(--card);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: var(--radius-xl);
    padding: 32px;
    box-shadow: var(--shadow-lg);
}

.brand-row {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 20px;
    align-items: center;
    margin-bottom: 28px;
    padding-bottom: 22px;
    border-bottom: 1px solid var(--line);
}

.logo {
    width: 92px;
    height: 92px;
    object-fit: contain;
    border-radius: 22px;
    background: #fff;
    border: 1px solid #e5e7eb;
    padding: 12px;
    box-shadow: var(--shadow-md);
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    background: var(--primary-soft);
    border: 1px solid rgba(15, 118, 110, 0.16);
    padding: 8px 12px;
    border-radius: 999px;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    font-size: 12px;
    margin-bottom: 12px;
}

h1 {
    margin: 0 0 8px;
    font-size: clamp(28px, 4vw, 36px);
    line-height: 1.15;
    color: var(--text);
}

.subtitle {
    margin: 0;
    color: var(--muted);
    line-height: 1.6;
    font-size: 15px;
    max-width: 640px;
}

.center-message {
    text-align: center;
    padding: 40px 0;
    color: var(--muted);
    font-weight: 600;
}

.auth-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 28px;
}

.auth-btn,
.submit-btn,
.link-btn {
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    border-radius: 16px;
    padding: 15px 18px;
    font-weight: 700;
    border: 1px solid var(--line);
    transition: all 0.22s ease;
    min-height: 54px;
}

.auth-btn i,
.link-btn i,
.submit-btn i {
    font-size: 18px;
}

.auth-btn:hover,
.submit-btn:hover,
.link-btn:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.auth-btn.google.google-official {
    background: #ffffff;
    color: #3c4043;
    border: 1px solid #dadce0;
    box-shadow: 0 1px 2px rgba(60, 64, 67, 0.08), 0 1px 3px 1px rgba(60, 64, 67, 0.06);
    font-weight: 600;
    justify-content: center;
}

.auth-btn.google.google-official:hover {
    background: #f8f9fa;
    border-color: #d2d6da;
    box-shadow: 0 2px 6px rgba(60, 64, 67, 0.15);
    transform: translateY(-1px);
}

.auth-btn.google.google-official:active {
    background: #f1f3f4;
    transform: translateY(0);
    box-shadow: 0 1px 2px rgba(60, 64, 67, 0.1);
}

.google-icon-wrap {
    width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 20px;
}

.google-icon {
    width: 20px;
    height: 20px;
    display: block;
}

.auth-btn.apple {
    background: var(--apple);
    color: #fff;
    border-color: var(--apple);
}

.auth-btn.apple:hover {
    background: #000;
}

.auth-btn.linkedin {
    background: var(--linkedin);
    color: #fff;
    border-color: var(--linkedin);
}

.auth-btn.linkedin:hover {
    background: #0858a5;
}

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

.profile-box {
    display: flex;
    gap: 14px;
    align-items: center;
    padding: 16px;
    background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
    border: 1px solid var(--line);
    border-radius: 18px;
    margin-bottom: 22px;
}

.avatar {
    width: 58px;
    height: 58px;
    border-radius: 999px;
    object-fit: cover;
    border: 3px solid #fff;
    box-shadow: var(--shadow-md);
}

.welcome {
    font-weight: 800;
    font-size: 17px;
    margin-bottom: 4px;
}

.meta {
    color: var(--muted);
    font-size: 14px;
}

.form-card {
    background: rgba(248, 250, 252, 0.72);
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 22px;
}

.form-title {
    margin: 0 0 6px;
    font-size: 22px;
}

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

.lead-form {
    margin-top: 8px;
}

.grid-two {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.field {
    margin-bottom: 18px;
}

.field label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 700;
    margin-bottom: 8px;
    font-size: 14px;
    color: #1e293b;
}

.field input,
.field textarea {
    width: 100%;
    border: 1px solid #cbd5e1;
    border-radius: 14px;
    padding: 14px 15px;
    font-size: 15px;
    outline: none;
    background: #fff;
    color: var(--text);
    transition: all 0.2s ease;
}

.field input::placeholder,
.field textarea::placeholder {
    color: #94a3b8;
}

.field input:focus,
.field textarea:focus {
    border-color: var(--linkedin);
    box-shadow: 0 0 0 4px rgba(10, 102, 194, 0.12);
}

.field input:disabled,
.field textarea:disabled {
    background: #f8fafc;
    color: #475569;
    cursor: not-allowed;
}

.req {
    color: #dc2626;
}

.helper-text {
    margin-top: 6px;
    font-size: 12px;
    color: var(--muted);
}

.alert.error {
    padding: 14px 16px;
    background: var(--danger-bg);
    color: var(--danger-text);
    border: 1px solid var(--danger-border);
    border-radius: 14px;
    margin-bottom: 16px;
    font-size: 14px;
    line-height: 1.5;
}

.submit-btn {
    width: 100%;
    background: linear-gradient(135deg, var(--primary) 0%, #0d9488 100%);
    color: #fff;
    border-color: transparent;
    cursor: pointer;
    font-size: 16px;
    box-shadow: 0 12px 24px rgba(15, 118, 110, 0.22);
}

.submit-btn:hover {
    background: linear-gradient(135deg, var(--primary-dark) 0%, #0f766e 100%);
}

.submit-btn:disabled {
    opacity: 0.72;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.success-box {
    text-align: center;
    padding: 34px 18px;
    background: var(--success-bg);
    border: 1px solid var(--success-border);
    border-radius: 22px;
    color: var(--success-text);
}

.success-box .success-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: #dcfce7;
    font-size: 28px;
}

.success-box h2 {
    margin: 0 0 8px;
    color: #14532d;
    font-size: 26px;
}

.success-box p {
    margin: 0 auto 14px;
    max-width: 540px;
    line-height: 1.6;
}

.link-btn {
    margin-top: 10px;
    color: var(--primary);
    border-color: rgba(15, 118, 110, 0.35);
    background: #fff;
}

.link-btn:hover {
    background: #f8fffd;
}

.section-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 18px 0 0;
    color: var(--muted);
    font-size: 13px;
}

.section-divider::before,
.section-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--line);
}

@media (max-width: 720px) {
    .page-shell {
        padding: 16px;
        align-items: stretch;
    }

    .card {
        padding: 22px 18px;
        border-radius: 22px;
    }

    .brand-row {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .logo {
        margin: 0 auto;
    }

    .grid-two {
        grid-template-columns: 1fr;
        gap: 0;
    }

    h1 {
        font-size: 28px;
    }

    .subtitle {
        font-size: 14px;
    }

    .form-card {
        padding: 18px;
    }

    .profile-box {
        align-items: flex-start;
    }
}