/* ── VaultLend Home Page — matches login.php theme ── */

:root {
    --vault-onyx:      #1a1209;
    --vault-gold:      #b4861c;
    --vault-cream:     #fdf8f0;
    --vault-muted-gold:#e8c87a;
    --vault-border:    rgba(180, 134, 28, 0.18);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; }

body {
    margin: 0;
    padding: 0;
    font-family: 'DM Sans', sans-serif;
    background: var(--vault-onyx);
    color: var(--vault-onyx);
    min-height: 100vh;
}

/* ════════════════════════
   SHELL — two-column split
════════════════════════ */
.home-shell {
    display: flex;
    min-height: 100vh;
    width: 100%;
}

/* ════════════════════════
   LEFT PANEL  (dark)
════════════════════════ */
.home-left {
    width: 48%;
    background: var(--vault-onyx);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 3rem 3.5rem 3rem;
    position: relative;
    overflow: hidden;
}

/* Subtle decorative rings */
.home-left::before,
.home-left::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(180, 134, 28, 0.07);
    pointer-events: none;
}
.home-left::before {
    width: 480px;
    height: 480px;
    bottom: -160px;
    right: -160px;
}
.home-left::after {
    width: 280px;
    height: 280px;
    bottom: -80px;
    right: -80px;
}

/* Brand mark */
.brand-mark {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-icon {
    width: 42px;
    height: 42px;
    background: rgba(180, 134, 28, 0.15);
    border: 1px solid rgba(180, 134, 28, 0.3);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--vault-muted-gold);
    flex-shrink: 0;
}

.brand-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: 22px;
    font-weight: 600;
    color: var(--vault-muted-gold);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* Headline */
.left-headline {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 3rem 0 2rem;
}

.left-headline h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(3rem, 5vw, 5.5rem);
    font-weight: 600;
    color: var(--vault-cream);
    line-height: 1.05;
    margin: 0 0 1.5rem;
    letter-spacing: -0.01em;
}

.left-headline p {
    font-size: 15px;
    color: #8a7050;
    line-height: 1.7;
    margin: 0;
    max-width: 380px;
}

/* Trust badges */
.trust-badges {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 11px;
    font-size: 13px;
    color: #a38b6d;
    font-weight: 500;
}

.trust-item svg {
    color: var(--vault-gold);
    flex-shrink: 0;
    opacity: 0.85;
}

/* ════════════════════════
   RIGHT PANEL (light)
════════════════════════ */
.home-right {
    flex: 1;
    background: #fffdf8;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem 2.5rem;
}

.home-right-content {
    width: 100%;
    max-width: 440px;
}

.form-heading {
    font-family: 'Cormorant Garamond', serif;
    font-size: 36px;
    font-weight: 600;
    color: var(--vault-onyx);
    margin: 0 0 0.4rem;
    letter-spacing: -0.01em;
}

.form-sub {
    font-size: 14px;
    color: #7a6040;
    margin: 0 0 2.25rem;
    line-height: 1.55;
}

/* ── CTA Buttons ── */
.home-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 2rem;
}

.home-btn-primary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    width: 100%;
    padding: 14px 20px;
    background: var(--vault-onyx);
    color: var(--vault-muted-gold);
    border: none;
    border-radius: 10px;
    font-family: 'DM Sans', sans-serif;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    letter-spacing: 0.01em;
    transition: background 0.2s, color 0.2s, transform 0.15s;
}

.home-btn-primary:hover {
    background: #2e1f0a;
    color: var(--vault-muted-gold);
    text-decoration: none;
    transform: translateY(-1px);
}

.home-btn-outline {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    width: 100%;
    padding: 13px 20px;
    background: transparent;
    color: var(--vault-onyx);
    border: 1.5px solid rgba(26, 18, 9, 0.2);
    border-radius: 10px;
    font-family: 'DM Sans', sans-serif;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    letter-spacing: 0.01em;
    transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.15s;
}

.home-btn-outline:hover {
    background: var(--vault-cream);
    border-color: var(--vault-gold);
    color: var(--vault-onyx);
    text-decoration: none;
    transform: translateY(-1px);
}

/* ── Divider ── */
.home-divider {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 1.75rem;
}

.home-divider-line {
    flex: 1;
    height: 1px;
    background: rgba(26, 18, 9, 0.1);
}

.home-divider-text {
    font-size: 11px;
    font-weight: 700;
    color: #b0956a;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    flex-shrink: 0;
}

/* ── Feature grid ── */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px;
    background: #ffffff;
    border: 1px solid var(--vault-border);
    border-radius: 10px;
    transition: border-color 0.2s, transform 0.2s;
}

.feature-item:hover {
    border-color: var(--vault-gold);
    transform: translateY(-2px);
}

.feature-icon {
    width: 36px;
    height: 36px;
    background: rgba(180, 134, 28, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--vault-gold);
    flex-shrink: 0;
}

.feature-title {
    font-size: 12px;
    font-weight: 700;
    color: var(--vault-onyx);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 3px;
}

.feature-desc {
    font-size: 11.5px;
    color: #8a7050;
    line-height: 1.5;
}

/* ════════════════════════
   RESPONSIVE — ≤900px
   (stacked layout)
════════════════════════ */
@media (max-width: 900px) {
    .home-shell {
        flex-direction: column;
        min-height: 100vh;
    }

    .home-left {
        width: 100%;
        padding: 2.5rem 2rem 2.5rem;
        min-height: auto;
    }

    /* Collapse headline size on tablet */
    .left-headline h1 { font-size: clamp(2.4rem, 7vw, 3.5rem); }
    .left-headline { padding: 2rem 0 1.5rem; }

    .home-right {
        padding: 2.5rem 2rem;
    }
}

/* ════════════════════════
   RESPONSIVE — ≤600px
   (mobile)
════════════════════════ */
@media (max-width: 600px) {
    .home-left {
        padding: 2rem 1.5rem;
    }

    .left-headline h1 { font-size: 2.6rem; }
    .left-headline { padding: 1.75rem 0 1.25rem; }
    .left-headline p { font-size: 14px; }

    .brand-name { font-size: 19px; }

    .home-right {
        padding: 2rem 1.25rem 2.5rem;
    }

    .form-heading { font-size: 28px; }

    .feature-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .trust-badges { gap: 12px; }
    .trust-item   { font-size: 12.5px; }
}

/* ════════════════════════
   RESPONSIVE — ≤380px
   (very small phones)
════════════════════════ */
@media (max-width: 380px) {
    .home-left  { padding: 1.5rem 1.1rem; }
    .home-right { padding: 1.75rem 1.1rem 2rem; }
    .left-headline h1 { font-size: 2.2rem; }
    .home-btn-primary,
    .home-btn-outline { font-size: 14px; padding: 12px 16px; }
}
