/* ============================================
   SECURENCE — Sub-Pages Editorial Architecture
   Zero boxy cards · Hairline structure · 3D Backdrop
   ============================================ */

.page-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    border-bottom: 1px solid transparent;
    transition: padding 0.35s var(--ease-out-expo), background 0.35s ease, border-color 0.35s ease;
}

.page-nav.scrolled {
    padding: 13px 0;
    background: rgba(0, 0, 0, 0.82);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom-color: var(--border-hairline);
}

.page-nav-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.page-back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    border: 1px solid var(--border-strong);
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(12px);
    border-radius: 100px;
    font-family: var(--font-display);
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-primary);
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.page-back-link:hover {
    background: #ffffff;
    color: #000000;
    border-color: #ffffff;
}

.page-back-link svg {
    transition: transform 0.2s var(--ease-out-expo);
}

.page-back-link:hover svg {
    transform: translateX(-3px);
}

/* ──────────── Page Hero (Open Studio Over 3D Backdrop) ──────────── */
.page-hero {
    min-height: 58vh;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    text-align: left;
    padding: 160px 40px 72px;
    position: relative;
    overflow: hidden;
    background: transparent;
}

.page-hero-bg,
.page-hero-glow {
    display: none;
}

.page-hero-content {
    position: relative;
    z-index: 2;
    max-width: 680px;
    margin: 0 auto 0 max(0px, calc((100vw - var(--container-max)) / 2));
}

.page-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-display);
    font-size: 0.74rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    color: var(--text-secondary);
    text-transform: uppercase;
    margin-bottom: 18px;
}

.badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent-emerald);
}

.page-hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.6rem, 5.8vw, 4.8rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 0.98;
    margin-bottom: 18px;
    color: #ffffff;
}

.page-hero-subtitle {
    font-size: clamp(1rem, 1.8vw, 1.16rem);
    color: var(--text-secondary);
    max-width: 520px;
    line-height: 1.6;
}

/* ──────────── Editorial Hairline Columns (Zero Boxy Cards) ──────────── */
.page-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 36px 40px;
}

.page-card,
.vision-card {
    position: relative;
    padding: 28px 0 0;
    background: transparent;
    border: none;
    border-top: 1px solid var(--border-hairline);
    border-radius: 0;
    text-align: left;
    transition: border-color 0.25s ease;
}

.page-card:hover,
.vision-card:hover {
    border-top-color: #ffffff;
}

.page-card-glow {
    display: none;
}

.page-card-icon,
.vision-card-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    margin-bottom: 16px;
    opacity: 0.85;
}

.page-card h3,
.vision-card h3 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 8px;
    color: #ffffff;
}

.page-card p,
.vision-card p {
    font-size: 0.94rem;
    color: var(--text-secondary);
    line-height: 1.65;
}

/* ──────────── Role Selection Strip ──────────── */
.role-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1px;
    background: var(--border-hairline);
    border: 1px solid var(--border-hairline);
    margin-bottom: 36px;
}

.role-option {
    position: relative;
    padding: 24px 18px;
    background: #060608;
    text-align: left;
    cursor: pointer;
    transition: background 0.2s ease;
}

.role-option:hover {
    background: #0d0e12;
}

.role-option.selected {
    background: #ffffff;
}

.role-option.selected .role-option-title,
.role-option.selected .role-option-icon {
    color: #000000;
}

.role-option.selected::after {
    content: '✓';
    position: absolute;
    top: 14px;
    right: 16px;
    font-size: 0.85rem;
    font-weight: 700;
    color: #000000;
}

.role-option-icon {
    width: 28px;
    height: 28px;
    margin-bottom: 12px;
    color: #ffffff;
}

.role-option-title {
    font-family: var(--font-display);
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--text-primary);
}

/* ──────────── Forms (Architectural Surface) ──────────── */
.message-container {
    max-width: 640px;
}

.form-container {
    max-width: 640px;
    padding: 40px 36px;
    background: rgba(8, 9, 12, 0.84);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    border: 1px solid var(--border-hairline);
    border-radius: 14px;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-family: var(--font-display);
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.form-input,
.form-textarea,
.form-select {
    width: 100%;
    padding: 13px 16px;
    background: rgba(0, 0, 0, 0.72);
    border: 1px solid var(--border-hairline);
    border-radius: 8px;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.92rem;
    outline: none;
    transition: border-color 0.2s ease, background 0.2s ease;
    -webkit-appearance: none;
    appearance: none;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    border-color: #ffffff;
    background: #000000;
}

.form-textarea {
    min-height: 120px;
    resize: vertical;
}

.form-select {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg width='14' height='9' viewBox='0 0 14 9' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1.5 2L7 7.5L12.5 2' stroke='%23a1a1aa' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 44px;
}

.form-select option {
    background: #0a0a0d;
    color: #ffffff;
}

.form-submit {
    width: 100%;
    margin-top: 10px;
    padding: 15px 28px;
    border-radius: 100px;
    font-family: var(--font-display);
    font-size: 0.92rem;
    font-weight: 600;
    background: #ffffff;
    border: 1px solid #ffffff;
    color: #000000;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: background 0.2s ease, transform 0.2s var(--ease-out-expo);
}

.form-submit:hover {
    background: #e4e4e7;
    transform: translateY(-1px);
}

/* ──────────── Quotes & Transparency ──────────── */
.page-quote {
    text-align: center;
    padding: 48px 24px;
    max-width: 680px;
    margin: 0 auto;
}

.page-quote p {
    font-family: var(--font-display);
    font-size: clamp(1.3rem, 2.5vw, 1.85rem);
    font-weight: 600;
    letter-spacing: -0.025em;
    color: var(--text-secondary);
}

.section-divider {
    width: 48px;
    height: 1px;
    background: var(--border-strong);
    margin: 0 auto 28px;
}

.expectations-block {
    max-width: 680px;
    padding: 36px 0;
    border-top: 1px solid var(--border-hairline);
    border-bottom: 1px solid var(--border-hairline);
}

.expectations-block h3 {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.expectations-block p {
    color: var(--text-secondary);
    line-height: 1.65;
}

@media (max-width: 768px) {
    .page-nav-container {
        padding: 0 22px;
    }

    .page-hero {
        padding: 132px 22px 52px;
        min-height: 46vh;
    }

    .page-hero-content {
        margin: 0;
    }

    .form-container {
        padding: 28px 20px;
    }
}
