:root {
    --bg: #ffffff;
    --bg-card: #ffffff;
    --bg-muted: #f9fafb;
    --border: #e5e7eb;
    --border-soft: #d1d5e5;
    --text: #111827;
    --text-muted: #6b7280;
    --accent: #2563eb;
    --accent-hover: #1d4ed8;
    --accent-soft: #e0ecff;
    --danger-bg: #fee2e2;
    --danger-border: #fecaca;
    --danger-text: #b91c1c;
    --radius: 18px;
    --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.06);
    --shadow-card: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.5;
}

.page {
    max-width: 1040px;
    margin: 32px auto;
    padding: 0 16px 40px;
}

/* Brand Card */
.brand-card {
    margin-bottom: 14px;
}

.brand-card-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 18px;
    border-radius: 20px;
    background: #ddeeeb; /* Light teal background from original site */
    border: 1px solid var(--border);
    box-shadow: 0 18px 35px rgba(15, 23, 42, 0.06);
    flex-wrap: wrap;
    gap: 16px;
}

.brand-card-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-logo {
    width: 44px;
    height: 44px;
    border-radius: 16px;
    background: radial-gradient(circle at 25% 20%, #a5e1fb, #1ae27f 70%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: 0 4px 12px rgba(26, 226, 127, 0.2);
}

.brand-title {
    font-size: 17px;
    font-weight: 700;
    letter-spacing: 0.0em;
    text-transform: uppercase;
    color: #111827;
}

.brand-subtitle {
    font-size: 11px;
    color: #6b7280;
    margin-top: 2px;
}

.brand-pill-group {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.brand-pill {
    min-width: 120px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(148, 163, 184, 0.3);
    font-size: 11px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.pill-title {
    display: block;
    font-weight: 600;
    line-height: 1.2;
}

.pill-sub {
    display: block;
    color: #6b7280;
    font-size: 10px;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
}

.dot-green {
    background: radial-gradient(circle, #22c55e 0, #16a34a 60%);
    box-shadow: 0 0 8px rgba(34, 197, 94, 0.4);
}

/* Steps Strip */
.steps-strip {
    display: flex;
    align-items: center;
    padding: 12px 24px;
    border-radius: 999px;
    background: var(--bg-muted);
    border: 1px solid var(--border);
    font-size: 13px;
    color: #4b5563;
    margin-bottom: 32px;
    justify-content: space-between;
}

.step-item {
    display: flex;
    align-items: center;
    gap: 8px;
    opacity: 0.6;
}

.step-item--active {
    opacity: 1;
    font-weight: 600;
    color: var(--accent);
}

.step-index {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #e5e7eb;
    color: #6b7280;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
}

.step-item--active .step-index {
    background: var(--accent);
    color: white;
}

.step-separator {
    flex: 1;
    height: 1px;
    background: #e5e7eb;
    margin: 0 16px;
}

/* Layout Grid */
.layout-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: start;
}

/* Form Section */
.headline {
    font-size: 28px;
    font-weight: 800;
    margin: 0 0 16px 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.tag-row {
    display: flex;
    gap: 8px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.tag-pill {
    background: #eff6ff;
    color: var(--accent);
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
}

.field-group {
    margin-bottom: 24px;
}

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

.select-wrapper {
    position: relative;
}

.select-wrapper::after {
    content: "▼";
    font-size: 10px;
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #6b7280;
    pointer-events: none;
}

select, input {
    width: 100%;
    padding: 16px;
    border: 2px solid var(--border);
    border-radius: 12px;
    font-size: 16px;
    background: white;
    transition: all 0.2s;
    appearance: none;
}

select:focus, input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 4px var(--accent-soft);
}

small {
    display: block;
    margin-top: 8px;
    color: var(--text-muted);
    font-size: 13px;
}

.btn-submit {
    width: 100%;
    padding: 18px;
    background: var(--accent);
    color: white;
    border: none;
    border-radius: 14px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    transition: all 0.2s;
    box-shadow: 0 10px 20px -5px rgba(37, 99, 235, 0.4);
}

.btn-submit:hover {
    background: var(--accent-hover);
    transform: translateY(-1px);
    box-shadow: 0 15px 25px -5px rgba(37, 99, 235, 0.5);
}

.btn-submit:active {
    transform: translateY(0);
}

.btn-note {
    margin-top: 16px;
    font-size: 13px;
    color: var(--text-muted);
    text-align: center;
    line-height: 1.6;
}

/* Summary Section */
.card-summary {
    background: white;
    border-radius: 24px;
    padding: 32px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-soft);
}

.side-card-title {
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 16px 0;
    color: var(--text);
}

.summary-box {
    background: var(--bg-muted);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 32px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    font-size: 14px;
}

.summary-row:last-child {
    margin-bottom: 0;
    padding-top: 12px;
    border-top: 1px solid #e5e7eb;
    font-weight: 600;
}

.summary-label {
    color: var(--text-muted);
}

.summary-value {
    font-weight: 600;
    color: var(--text);
}

.trust-list {
    list-style: none;
    padding: 0;
    margin: 0 0 32px 0;
}

.trust-list li {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.5;
}

.trust-list .icon {
    font-size: 18px;
    flex-shrink: 0;
}

.badge-row {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.badge {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
    background: var(--bg-muted);
    padding: 6px 12px;
    border-radius: 999px;
}

.error-message {
    background: var(--danger-bg);
    border: 1px solid var(--danger-border);
    color: var(--danger-text);
    padding: 12px 16px;
    border-radius: 12px;
    margin-bottom: 24px;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.page-footer {
    text-align: center;
    margin-top: 40px;
    color: var(--text-muted);
    font-size: 12px;
}

/* Responsive */
@media (max-width: 768px) {
    .layout-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .brand-card-main {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .brand-pill-group {
        width: 100%;
        justify-content: flex-start;
    }

    .steps-strip {
        padding: 12px;
        font-size: 11px;
    }
    
    .step-title {
        display: none;
    }
    
    .step-item--active .step-title {
        display: block;
    }
}
