/**
 * iDi Offer Builder - Homepage Premium Dark Styles
 * Estilos semánticos para la homepage de iDidáctica.
 * Diseño: Dark Mode, Glassmorphism, Split Component.
 */

/* ===== Variables ===== */
:root {
    --hp-dark: #0F172A;
    --hp-light: #F8FAFC;
    --hp-brand: #3B82F6;
    --hp-pro: var(--hp-brand);
    --hp-corp: color-mix(in srgb, var(--hp-dark), #fff 25%);
    --hp-font-sans: 'Inter', sans-serif;
    --hp-font-heading: 'Playfair Display', serif;
}

/* ===== Wrapper ===== */
.idi-homepage-wrap {
    font-family: var(--hp-font-sans);
    background-color: var(--hp-dark);
    color: var(--hp-light);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    min-height: 100vh;
}
.idi-homepage-wrap *, .idi-homepage-wrap *::before, .idi-homepage-wrap *::after {
    box-sizing: border-box;
}
.idi-homepage-wrap a { color: inherit; text-decoration: none; }
.idi-homepage-wrap h1, .idi-homepage-wrap h2, .idi-homepage-wrap h3, .idi-homepage-wrap h4 { margin: 0; }
.idi-homepage-wrap p { margin: 0; }
.idi-homepage-wrap svg { display: inline-block; vertical-align: middle; }

/* ===== Navbar ===== */
.idi-hp-navbar {
    position: fixed;
    width: 100%;
    z-index: 50;
    transition: all 0.3s;
    background-color: rgba(255,255,255,0.1);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);
}
.idi-hp-navbar.scrolled {
    background-color: color-mix(in srgb, var(--hp-dark) 80%, transparent);
    backdrop-filter: blur(12px);
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
}
.idi-hp-navbar-inner {
    max-width: 80rem;
    margin: 0 auto;
    padding: 0 1.5rem;
    height: 5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo */
.idi-hp-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.idi-hp-logo-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.5rem;
    background: linear-gradient(135deg, var(--hp-brand), var(--hp-pro));
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
}
.idi-hp-logo-icon span {
    font-family: var(--hp-font-heading);
    font-weight: 700;
    font-size: 1.25rem;
    color: #fff;
}
.idi-hp-logo-text {
    font-family: var(--hp-font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: 0.025em;
    color: #fff;
}

/* Nav Links */
.idi-hp-nav {
    display: none;
    gap: 2rem;
}
.idi-hp-nav a {
    font-size: 0.875rem;
    font-weight: 500;
    color: rgba(255,255,255,0.7);
    transition: color 0.2s;
}
.idi-hp-nav a:hover { color: #fff; }
.idi-hp-nav-actions {
    display: none;
    align-items: center;
    gap: 1rem;
}
.idi-hp-nav-link {
    font-size: 0.875rem;
    font-weight: 500;
    color: rgba(255,255,255,0.8);
    transition: color 0.2s;
}
.idi-hp-nav-link:hover { color: #fff; }
.idi-hp-nav-cta {
    padding: 0.625rem 1.25rem;
    border-radius: 9999px;
    background: var(--hp-brand);
    color: #fff;
    font-size: 0.875rem;
    font-weight: 600;
    transition: all 0.2s;
    box-shadow: 0 4px 14px rgba(0,0,0,0.2);
}
.idi-hp-nav-cta:hover { filter: brightness(1.1); color: #fff; }

@media (min-width: 768px) {
    .idi-hp-nav { display: flex; }
    .idi-hp-nav-actions { display: flex; }
}

/* ===== Hero ===== */
.idi-hp-hero {
    padding: 8rem 1.5rem 5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    min-height: 100vh;
}

/* Blobs */
.idi-hp-blob {
    position: absolute;
    border-radius: 50%;
    mix-blend-mode: screen;
    pointer-events: none;
    animation: idiHpFloat 6s ease-in-out infinite;
}
.idi-hp-blob--1 {
    top: 25%; left: 25%;
    width: 24rem; height: 24rem;
    background: color-mix(in srgb, var(--hp-brand) 20%, transparent);
    filter: blur(120px);
}
.idi-hp-blob--2 {
    bottom: 25%; right: 25%;
    width: 31rem; height: 31rem;
    background: rgba(255,255,255,0.08);
    filter: blur(150px);
    animation-delay: -3s;
}
@keyframes idiHpFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Hero Content */
.idi-hp-hero-content {
    max-width: 56rem;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 10;
    animation: idiHpSlideUp 0.6s ease-out forwards;
}
@keyframes idiHpSlideUp {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* Badge */
.idi-hp-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    background-color: rgba(255,255,255,0.1);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255,255,255,0.2);
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 2rem;
    color: var(--hp-brand);
}
.idi-hp-badge-dot {
    width: 0.5rem; height: 0.5rem;
    border-radius: 50%;
    background: var(--hp-pro);
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* Title */
.idi-hp-hero-title {
    font-family: var(--hp-font-heading);
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.025em;
    color: #fff;
}
.idi-hp-gradient-text {
    background: linear-gradient(to right, var(--hp-pro), var(--hp-brand));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Subtitle */
.idi-hp-hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255,255,255,0.7);
    max-width: 48rem;
    margin: 0 auto 3rem;
    font-weight: 300;
    line-height: 1.6;
}
.idi-hp-hero-subtitle strong {
    color: #fff;
    font-weight: 500;
}

@media (min-width: 768px) {
    .idi-hp-hero-title { font-size: 4.5rem; }
    .idi-hp-hero-subtitle { font-size: 1.5rem; }
}

/* ===== Split Component ===== */
.idi-hp-split {
    width: 100%;
    max-width: 80rem;
    margin: 3rem auto 0;
    display: flex;
    flex-direction: column;
    height: auto;
    min-height: 50vh;
    overflow: hidden;
    border-radius: 1.5rem;
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);
    animation: idiHpFadeIn 0.5s ease-out;
    animation-delay: 0.3s;
    animation-fill-mode: both;
}
@keyframes idiHpFadeIn {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

.idi-hp-split-side {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem 2rem;
    position: relative;
    cursor: pointer;
    transition: all 0.7s cubic-bezier(0.16,1,0.3,1);
    text-decoration: none !important;
}
.idi-hp-split-side::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.4);
    z-index: 10;
    opacity: 0;
    transition: opacity 0.7s;
    pointer-events: none;
}
.idi-hp-split-side--pro {
    background: color-mix(in srgb, var(--hp-dark), #000 15%);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.idi-hp-split-side--corp {
    background: color-mix(in srgb, var(--hp-dark), #000 30%);
}

/* Background image */
.idi-hp-split-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.2;
    transition: opacity 0.7s;
    mix-blend-mode: overlay;
}
.idi-hp-split-side:hover .idi-hp-split-bg { opacity: 0.3; }

/* Split content */
.idi-hp-split-content {
    position: relative;
    z-index: 20;
    text-align: center;
    transition: transform 0.7s;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.idi-hp-split-side:hover .idi-hp-split-content { transform: scale(1.05); }

/* Icons */
.idi-hp-split-icon {
    width: 5rem; height: 5rem;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
}
.idi-hp-split-icon--pro {
    background: color-mix(in srgb, var(--hp-brand) 15%, transparent);
    border: 1px solid color-mix(in srgb, var(--hp-brand) 30%, transparent);
    color: var(--hp-brand);
    box-shadow: 0 0 30px color-mix(in srgb, var(--hp-brand) 20%, transparent);
}
.idi-hp-split-icon--corp {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    color: rgba(255,255,255,0.7);
    box-shadow: 0 0 30px rgba(255,255,255,0.05);
}

/* Title & Desc */
.idi-hp-split-title {
    font-family: var(--hp-font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1rem;
}
.idi-hp-split-desc {
    font-size: 1.125rem;
    color: rgba(255,255,255,0.8);
    margin-bottom: 2rem;
    max-width: 24rem;
    line-height: 1.6;
}

/* Buttons */
.idi-hp-split-btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 1.125rem;
    color: #fff;
    transition: all 0.3s;
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
    pointer-events: none;
    position: relative;
    overflow: hidden;
}
.idi-hp-split-btn > span {
    position: relative;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.idi-hp-split-btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0.2);
    transform: translateX(-100%);
    transition: transform 0.5s ease-out;
}
.idi-hp-split-side:hover .idi-hp-split-btn::after { transform: translateX(0); }
.idi-hp-split-btn--pro { background: var(--hp-pro); }
.idi-hp-split-btn--corp { background: var(--hp-corp); }
.idi-hp-split-btn svg {
    transition: transform 0.2s;
}
.idi-hp-split-side:hover .idi-hp-split-btn svg { transform: translateX(4px); }

@media (min-width: 768px) {
    .idi-hp-split {
        flex-direction: row;
        height: 70vh;
        min-height: 500px;
    }
    .idi-hp-split-side { padding: 4rem; }
    .idi-hp-split-side--pro { border-bottom: none; border-right: 1px solid rgba(255,255,255,0.1); }
    .idi-hp-split-title { font-size: 2.5rem; }

    /* Hover effects - desktop only */
    .idi-hp-split-side:hover { flex: 1.5; }
    .idi-hp-split:hover .idi-hp-split-side::before { opacity: 1; }
    .idi-hp-split:hover .idi-hp-split-side:hover::before { opacity: 0; }
    .idi-hp-split:hover .idi-hp-split-side:not(:hover) {
        flex: 0.75;
        filter: grayscale(80%) blur(2px);
    }
}

/* ===== Philosophy Section ===== */
.idi-hp-philosophy {
    padding: 8rem 1.5rem;
    position: relative;
    border-top: 1px solid rgba(255,255,255,0.05);
}
.idi-hp-philosophy-inner {
    max-width: 56rem;
    margin: 0 auto;
    text-align: center;
}
.idi-hp-section-label {
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--hp-brand);
    margin-bottom: 1rem;
}
.idi-hp-philosophy-title {
    font-family: var(--hp-font-heading);
    font-size: 2.25rem;
    color: #fff;
    margin-bottom: 2rem;
}
.idi-hp-philosophy-desc {
    font-size: 1.25rem;
    color: rgba(255,255,255,0.6);
    font-weight: 300;
    margin-bottom: 3rem;
    line-height: 1.7;
}
.idi-hp-philosophy-desc strong { color: #fff; font-weight: 600; }

@media (min-width: 768px) {
    .idi-hp-philosophy-title { font-size: 3rem; }
}

/* Feature Cards */
.idi-hp-features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}
@media (min-width: 768px) {
    .idi-hp-features { grid-template-columns: repeat(3, 1fr); }
}
.idi-hp-feature-card {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255,255,255,0.1);
    border-top: 1px solid rgba(255,255,255,0.1);
    border-left: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);
    padding: 2rem;
    border-radius: 1rem;
    text-align: left;
}
.idi-hp-feature-card h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 0.75rem;
}
.idi-hp-feature-card p {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.6);
    line-height: 1.6;
}
.idi-hp-feature-icon {
    width: 3rem; height: 3rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}
.idi-hp-feature-icon--brand { background: color-mix(in srgb, var(--hp-brand) 20%, transparent); color: var(--hp-brand); }
.idi-hp-feature-icon--pro { background: color-mix(in srgb, var(--hp-brand) 15%, transparent); color: var(--hp-brand); }
.idi-hp-feature-icon--corp { background: color-mix(in srgb, var(--hp-brand) 10%, transparent); color: var(--hp-brand); }

/* ===== Footer ===== */
.idi-hp-footer {
    padding: 3rem 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(16px);
}
.idi-hp-footer-inner {
    max-width: 80rem;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}
.idi-hp-footer-copy {
    color: rgba(255,255,255,0.5);
    font-size: 0.875rem;
}
.idi-hp-footer-links {
    display: flex;
    gap: 1.5rem;
}
.idi-hp-footer-links a {
    color: rgba(255,255,255,0.5);
    font-size: 0.875rem;
    transition: color 0.2s;
}
.idi-hp-footer-links a:hover { color: #fff; }

@media (min-width: 768px) {
    .idi-hp-footer-inner {
        flex-direction: row;
        justify-content: space-between;
    }
}

/* =============================================================
   PAGE: PROFESIONALES (VSL + Propuesta de Valor)
   ============================================================= */

/* Hero */
.idi-ob-pro-hero {
    padding: 8rem 1.5rem 4rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    min-height: 80vh;
}
.idi-ob-pro-hero-inner {
    max-width: 52rem;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 10;
    animation: idiHpSlideUp 0.6s ease-out forwards;
}
.idi-ob-pro-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    background-color: color-mix(in srgb, var(--hp-brand) 10%, transparent);
    backdrop-filter: blur(16px);
    border: 1px solid color-mix(in srgb, var(--hp-brand) 20%, transparent);
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 2rem;
    color: var(--hp-pro);
}
.idi-ob-pro-title {
    font-family: var(--hp-font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    color: #fff;
}
.idi-ob-pro-subtitle {
    font-size: 1.125rem;
    color: rgba(255,255,255,0.65);
    max-width: 44rem;
    margin: 0 auto 2.5rem;
    font-weight: 300;
    line-height: 1.7;
}
.idi-ob-pro-subtitle strong {
    color: #fff;
    font-weight: 500;
}
.idi-ob-pro-cta-arrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255,255,255,0.6);
    font-size: 0.9375rem;
    font-weight: 500;
    transition: color 0.2s;
    animation: idiHpFloat 2s ease-in-out infinite;
}
.idi-ob-pro-cta-arrow:hover { color: var(--hp-pro); }

@media (min-width: 768px) {
    .idi-ob-pro-title { font-size: 3.75rem; }
    .idi-ob-pro-subtitle { font-size: 1.375rem; }
}

/* VSL Section */
.idi-ob-pro-vsl-section {
    padding: 5rem 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.05);
}
.idi-ob-pro-vsl-inner {
    max-width: 56rem;
    margin: 0 auto;
}
.idi-ob-pro-vsl-context {
    margin-bottom: 3rem;
}
.idi-ob-pro-vsl-heading {
    font-family: var(--hp-font-heading);
    font-size: 2rem;
    color: #fff;
    margin-bottom: 1.5rem;
    text-align: center;
}
.idi-ob-pro-vsl-lead {
    font-size: 1.125rem;
    color: rgba(255,255,255,0.7);
    line-height: 1.8;
    margin-bottom: 1rem;
    text-align: center;
}
.idi-ob-pro-vsl-lead strong {
    color: #fff;
    font-weight: 600;
}
.idi-ob-pro-vsl-lead em {
    color: var(--hp-pro);
    font-style: italic;
}

@media (min-width: 768px) {
    .idi-ob-pro-vsl-heading { font-size: 2.5rem; }
}

/* Video Embed */
.idi-ob-pro-video-wrap {
    max-width: 48rem;
    margin: 0 auto;
}
.idi-ob-pro-video-placeholder {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 */
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 1rem;
    overflow: hidden;
}
.idi-ob-pro-video-play {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    cursor: pointer;
    transition: background 0.3s;
}
.idi-ob-pro-video-play:hover {
    background: color-mix(in srgb, var(--hp-brand) 5%, transparent);
}
.idi-ob-pro-video-play span {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.5);
    font-weight: 500;
}
.idi-ob-pro-video-play svg {
    filter: drop-shadow(0 0 20px color-mix(in srgb, var(--hp-brand) 50%, transparent));
    transition: transform 0.3s;
}
.idi-ob-pro-video-play:hover svg {
    transform: scale(1.1);
}

/* How it works / Steps */
.idi-ob-pro-how {
    padding: 6rem 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.05);
}
.idi-ob-pro-how-inner {
    max-width: 56rem;
    margin: 0 auto;
    text-align: center;
}
.idi-ob-pro-how-title {
    font-family: var(--hp-font-heading);
    font-size: 2rem;
    color: #fff;
    margin-bottom: 3rem;
}
.idi-ob-pro-steps {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}
@media (min-width: 768px) {
    .idi-ob-pro-steps { grid-template-columns: repeat(3, 1fr); }
    .idi-ob-pro-how-title { font-size: 2.5rem; }
}
.idi-ob-pro-step {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 1rem;
    padding: 2rem;
    text-align: left;
    transition: border-color 0.3s, transform 0.3s;
}
.idi-ob-pro-step:hover {
    border-color: color-mix(in srgb, var(--hp-brand) 30%, transparent);
    transform: translateY(-4px);
}
.idi-ob-pro-step-num {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--hp-pro), var(--hp-brand));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    color: #fff;
    margin-bottom: 1.25rem;
}
.idi-ob-pro-step h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 0.75rem;
}
.idi-ob-pro-step p {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.6);
    line-height: 1.7;
}

/* Final CTA */
.idi-ob-pro-final-cta {
    padding: 6rem 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.05);
    background: linear-gradient(180deg, transparent, color-mix(in srgb, var(--hp-brand) 5%, transparent));
}
.idi-ob-pro-final-inner {
    max-width: 44rem;
    margin: 0 auto;
    text-align: center;
}
.idi-ob-pro-final-title {
    font-family: var(--hp-font-heading);
    font-size: 2.25rem;
    color: #fff;
    margin-bottom: 1.5rem;
}
.idi-ob-pro-final-desc {
    font-size: 1.125rem;
    color: rgba(255,255,255,0.6);
    line-height: 1.7;
    margin-bottom: 2.5rem;
}
.idi-ob-pro-final-desc strong {
    color: var(--hp-pro);
    font-weight: 600;
}
.idi-ob-pro-final-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.25rem 2.5rem;
    border-radius: 9999px;
    background: var(--hp-pro);
    color: #fff;
    font-weight: 700;
    font-size: 1.25rem;
    transition: all 0.3s;
    box-shadow: 0 0 30px color-mix(in srgb, var(--hp-brand) 40%, transparent), 0 10px 20px -5px rgba(0,0,0,0.2);
    text-decoration: none !important;
}
.idi-ob-pro-final-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 50px color-mix(in srgb, var(--hp-brand) 60%, transparent), 0 15px 30px -5px rgba(0,0,0,0.3);
    color: #fff;
}
.idi-ob-pro-final-btn svg {
    transition: transform 0.2s;
}
.idi-ob-pro-final-btn:hover svg {
    transform: translateX(4px);
}

@media (min-width: 768px) {
    .idi-ob-pro-final-title { font-size: 3rem; }
}

/* =============================================================
   PAGE: SELECTOR DE SECTOR
   ============================================================= */

.idi-ob-sel-bg-layer {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}
.idi-ob-sel-header {
    position: relative;
    z-index: 10;
    padding: 1.5rem;
    display: flex;
    justify-content: center;
}
.idi-ob-sel-main {
    position: relative;
    z-index: 10;
    max-width: 52rem;
    margin: 0 auto;
    padding: 2rem 1.5rem 4rem;
    min-height: 90vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.idi-ob-sel-intro {
    text-align: center;
    margin-bottom: 3rem;
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 2.5rem 2rem;
    border-radius: 1.5rem;
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);
    animation: idiHpSlideUp 0.5s ease-out forwards;
}
.idi-ob-sel-title {
    font-family: var(--hp-font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1rem;
}
.idi-ob-sel-desc {
    font-size: 1.125rem;
    color: rgba(255,255,255,0.7);
    max-width: 36rem;
    margin: 0 auto 1.5rem;
    line-height: 1.6;
    font-weight: 300;
}
.idi-ob-sel-desc strong {
    color: #fff;
    font-weight: 500;
}
.idi-ob-sel-label {
    display: inline-block;
    color: var(--hp-pro);
    font-weight: 500;
    font-size: 1rem;
    background: color-mix(in srgb, var(--hp-brand) 10%, transparent);
    padding: 0.5rem 1.25rem;
    border-radius: 9999px;
    border: 1px solid color-mix(in srgb, var(--hp-brand) 20%, transparent);
}

@media (min-width: 768px) {
    .idi-ob-sel-title { font-size: 2.75rem; }
}

/* Sector Grid */
.idi-ob-sel-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    animation: idiHpFadeIn 0.5s ease-out;
    animation-delay: 0.2s;
    animation-fill-mode: both;
}
@media (min-width: 768px) {
    .idi-ob-sel-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Sector Card */
.idi-ob-sel-card {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1.5rem 1.75rem;
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 1rem;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none !important;
}
.idi-ob-sel-card:hover {
    transform: translateY(-3px);
    border-color: rgba(255,255,255,0.2);
    box-shadow: 0 10px 40px rgba(255,255,255,0.08);
}
.idi-ob-sel-card--highlight:hover {
    border-color: color-mix(in srgb, var(--hp-brand) 50%, transparent);
    box-shadow: 0 10px 40px color-mix(in srgb, var(--hp-brand) 20%, transparent);
}

.idi-ob-sel-card-icon {
    width: 3.5rem;
    height: 3.5rem;
    flex-shrink: 0;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}
.idi-ob-sel-card:hover .idi-ob-sel-card-icon {
    transform: scale(1.1);
    background: rgba(255,255,255,0.9);
    color: var(--hp-dark);
}
.idi-ob-sel-card-icon--pro {
    background: color-mix(in srgb, var(--hp-brand) 20%, transparent);
    color: var(--hp-pro);
}
.idi-ob-sel-card--highlight:hover .idi-ob-sel-card-icon--pro {
    background: var(--hp-pro);
    color: #fff;
}

.idi-ob-sel-card-title {
    font-family: var(--hp-font-heading);
    font-size: 1.125rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 0.25rem;
    transition: color 0.3s;
}
.idi-ob-sel-card--highlight:hover .idi-ob-sel-card-title {
    color: var(--hp-pro);
}
.idi-ob-sel-card-sub {
    font-size: 0.8125rem;
    color: rgba(255,255,255,0.45);
    line-height: 1.4;
}

/* Loading Modal */
.idi-ob-loading-modal {
    position: fixed;
    inset: 0;
    background: color-mix(in srgb, var(--hp-dark) 92%, transparent);
    backdrop-filter: blur(12px);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s;
}
.idi-ob-loading-modal.show {
    opacity: 1;
    pointer-events: auto;
}
.idi-ob-loading-content {
    max-width: 28rem;
    width: 100%;
    padding: 2rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.idi-ob-loading-spinner {
    width: 4rem;
    height: 4rem;
    border: 4px solid var(--hp-pro);
    border-top-color: transparent;
    border-radius: 50%;
    animation: idiObSpin 0.8s linear infinite;
    margin-bottom: 1.5rem;
    box-shadow: 0 0 15px color-mix(in srgb, var(--hp-brand) 50%, transparent);
}
@keyframes idiObSpin {
    to { transform: rotate(360deg); }
}
.idi-ob-loading-title {
    font-family: var(--hp-font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1rem;
}
.idi-ob-loading-desc {
    color: rgba(255,255,255,0.7);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}
.idi-ob-loading-desc strong {
    color: #fff;
}
.idi-ob-loading-bar-track {
    width: 100%;
    background: rgba(255,255,255,0.1);
    border-radius: 9999px;
    height: 0.5rem;
    overflow: hidden;
}
.idi-ob-loading-bar-fill {
    height: 100%;
    background: var(--hp-pro);
    border-radius: 9999px;
    width: 0;
    transition: width 5s linear;
}

