/* ── INVESTOR ACCESS PAGE ── */

/* Full-screen split layout — no footer */
.page-investor {
    background: var(--bg);
    min-height: 100vh;
    display: flex;
}

/* ── LEFT TRUST COLUMN ── */
.ia-left {
    width: 38%;
    background: var(--dark);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.ia-left-bg { position: absolute; inset: 0; z-index: 0; }
.ia-left-bg img { width: 100%; height: 100%; object-fit: cover; }
.ia-left-bg::after {
    content: ''; position: absolute; inset: 0;
    background: rgba(8,18,13,0.82);
}
.ia-left-glow {
    position: absolute; inset: 0; z-index: 1;
    background: radial-gradient(ellipse 80% 60% at 30% 70%, rgba(41,102,77,0.2) 0%, transparent 70%);
}
.ia-left-content {
    position: sticky; top: 0;
    height: 100vh;
    display: flex; flex-direction: column;
    justify-content: center;
    padding: 60px 48px;
    z-index: 2;
}
.ia-logo {
    display: flex; align-items: center; gap: 10px;
    font-family: 'Inter', sans-serif;
    font-size: 17px; font-weight: 600;
    letter-spacing: -0.04em;
    color: var(--white);
    text-decoration: none;
    position: absolute; top: 40px; left: 48px;
}
.ia-logo img { height: 26px; width: 26px; filter: brightness(10); }
.ia-left h1 {
    font-family: 'Inter', sans-serif;
    font-size: 38px; font-weight: 500;
    letter-spacing: -1.6px; line-height: 46px;
    color: var(--white); margin-bottom: 20px;
}
.ia-left > .ia-left-content > p {
    font-family: 'Instrument Sans', sans-serif;
    font-size: 16px; color: rgba(255,255,255,0.55);
    line-height: 26px; letter-spacing: -0.01em;
    margin-bottom: 48px;
}
.ia-trust-list {
    display: flex; flex-direction: column; gap: 20px;
}
.ia-trust-item {
    display: flex; align-items: center; gap: 16px;
    font-family: 'Instrument Sans', sans-serif;
    font-size: 15px; color: rgba(255,255,255,0.75);
    letter-spacing: -0.01em;
}
.ia-trust-icon {
    display: flex; align-items: center; justify-content: center;
    width: 40px; height: 40px; flex-shrink: 0;
    border-radius: 10px;
    background: rgba(255,255,255,0.06);
    color: var(--green);
}

/* ── RIGHT FORM COLUMN ── */
.ia-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    padding: 48px 64px;
    overflow-y: auto;
}

/* Progress Bar */
.ia-progress {
    display: flex; align-items: center; gap: 0;
    margin-bottom: 56px;
}
.ia-progress-step {
    display: flex; align-items: center; gap: 8px;
    font-family: 'Geist', sans-serif;
    font-size: 13px; font-weight: 500;
    color: var(--dark-30);
    letter-spacing: 0.02em;
    white-space: nowrap;
}
.ia-progress-step.active { color: var(--dark); }
.ia-progress-step.completed { color: var(--green); }
.ia-progress-line {
    flex: 1; height: 2px;
    background: rgba(17,17,17,0.08);
    margin: 0 16px;
    position: relative;
}
.ia-progress-line-fill {
    position: absolute; top: 0; left: 0;
    height: 100%; width: 0;
    background: var(--green);
    border-radius: 1px;
    transition: width 0.4s ease;
}
.ia-progress-line.filled .ia-progress-line-fill { width: 100%; }

/* Form Steps */
.ia-form { flex: 1; display: flex; flex-direction: column; justify-content: center; max-width: 520px; }
.ia-step { display: none; }
.ia-step.active { display: block; }
.ia-step h2 {
    font-family: 'Inter', sans-serif;
    font-size: 27.2px; font-weight: 500;
    letter-spacing: -0.56px; line-height: 33.6px;
    color: var(--dark); margin-bottom: 8px;
}
.ia-step > p {
    font-family: 'Instrument Sans', sans-serif;
    font-size: 15px; color: var(--dark-50);
    line-height: 24px; margin-bottom: 36px;
}

/* Input Fields */
.ia-field { margin-bottom: 20px; }
.ia-field label {
    display: block;
    font-family: 'Instrument Sans', sans-serif;
    font-size: 14px; font-weight: 500;
    color: var(--dark-70);
    margin-bottom: 6px;
}
.ia-field input,
.ia-field select {
    width: 100%; height: 52px;
    padding: 0 16px;
    background: var(--white);
    border: 1px solid rgba(17,17,17,0.1);
    border-radius: 10px;
    font-family: 'Instrument Sans', sans-serif;
    font-size: 16px; color: var(--dark);
    transition: border-color var(--transition);
    outline: none;
}
.ia-field input:focus,
.ia-field select:focus {
    border-color: var(--green);
}
.ia-field input::placeholder { color: var(--dark-30); }
.ia-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* Selectable Cards */
.ia-cards { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 28px; }
.ia-card-option {
    flex: 1; min-width: 140px;
    padding: 18px 20px;
    background: var(--white);
    border: 1.5px solid rgba(17,17,17,0.08);
    border-radius: 12px;
    font-family: 'Geist', sans-serif;
    font-size: 14px; font-weight: 500;
    color: var(--dark);
    cursor: pointer;
    transition: border-color var(--transition), background var(--transition);
    text-align: center;
    position: relative;
}
.ia-card-option:hover { border-color: rgba(17,17,17,0.2); }
.ia-card-option.selected {
    border-color: var(--green);
    background: rgba(41,102,77,0.04);
}
.ia-card-option.selected::after {
    content: '';
    position: absolute; top: 8px; right: 8px;
    width: 18px; height: 18px;
    background: var(--green);
    border-radius: 50%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 14 14' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3 7l3 3 5-5' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-size: 12px; background-position: center; background-repeat: no-repeat;
}
.ia-card-label {
    font-family: 'Instrument Sans', sans-serif;
    font-size: 14px; font-weight: 500;
    color: var(--dark-70);
    margin-bottom: 10px;
}

/* Upload Zone */
.ia-upload {
    border: 2px dashed rgba(17,17,17,0.12);
    border-radius: 12px;
    padding: 40px;
    text-align: center;
    cursor: pointer;
    transition: border-color var(--transition), background var(--transition);
    margin-bottom: 24px;
}
.ia-upload:hover {
    border-color: var(--green);
    background: rgba(41,102,77,0.02);
}
.ia-upload-icon {
    color: var(--dark-30); margin-bottom: 12px;
}
.ia-upload p {
    font-family: 'Instrument Sans', sans-serif;
    font-size: 14px; color: var(--dark-50);
    line-height: 22px;
}
.ia-upload .ia-upload-hint {
    font-size: 12px; color: var(--dark-30);
    margin-top: 4px;
}

/* Consent */
.ia-consent {
    display: flex; align-items: flex-start; gap: 12px;
    margin-bottom: 32px;
}
.ia-consent input[type="checkbox"] {
    width: 20px; height: 20px; margin-top: 2px;
    accent-color: var(--green);
    flex-shrink: 0;
}
.ia-consent label {
    font-family: 'Instrument Sans', sans-serif;
    font-size: 14px; color: var(--dark-50);
    line-height: 22px;
}
.ia-consent a { color: var(--dark); text-decoration: underline; }

/* Buttons */
.ia-btn-next {
    display: flex; align-items: center; justify-content: center;
    width: 100%; height: 56px;
    background: var(--green); color: var(--white);
    border: none; border-radius: 12px;
    font-family: 'Geist', sans-serif;
    font-size: 16px; font-weight: 500;
    cursor: pointer;
    transition: background var(--transition);
    margin-top: 12px;
}
.ia-btn-next:hover { background: var(--green-dark); }
.ia-btn-submit {
    display: flex; align-items: center; justify-content: center;
    width: 100%; height: 56px;
    background: var(--green); color: var(--white);
    border: none; border-radius: 12px;
    font-family: 'Geist', sans-serif;
    font-size: 16px; font-weight: 500;
    cursor: pointer;
    transition: background var(--transition);
    margin-top: 12px;
}
.ia-btn-submit:hover { background: var(--green-dark); }
.ia-btn-back {
    display: inline-flex; align-items: center; gap: 6px;
    background: none; border: none;
    font-family: 'Instrument Sans', sans-serif;
    font-size: 14px; color: var(--dark-50);
    cursor: pointer; margin-bottom: 24px;
    padding: 0;
    transition: color var(--transition);
}
.ia-btn-back:hover { color: var(--dark); }

/* Success State */
.ia-success {
    display: none;
    text-align: center;
    flex: 1;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 480px;
}
.ia-success.active { display: flex; }
.ia-success-icon {
    width: 64px; height: 64px;
    background: rgba(41,102,77,0.1);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: var(--green);
    margin-bottom: 24px;
}
.ia-success h2 {
    font-family: 'Inter', sans-serif;
    font-size: 32px; font-weight: 500;
    letter-spacing: -1.2px; color: var(--dark);
    margin-bottom: 12px;
}
.ia-success p {
    font-family: 'Instrument Sans', sans-serif;
    font-size: 16px; color: var(--dark-70);
    line-height: 26px; margin-bottom: 32px;
}
.ia-success .btn-primary { padding: 14px 32px; font-size: 16px; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
    .page-investor { flex-direction: column; }
    .ia-left { width: 100%; }
    .ia-left-content {
        position: relative; height: auto;
        padding: 100px 24px 48px;
    }
    .ia-logo { top: 24px; left: 24px; }
    .ia-left h1 { font-size: 28px; line-height: 36px; }
    .ia-right { padding: 32px 24px; }
    .ia-row { grid-template-columns: 1fr; }
}
