/* ============================================
   BETTY AI - REHAB CENTERS LANDING PAGE
   ============================================ */

/* ---- Hero Section ---- */
.rehab-hero {
    min-height: 100vh;
    padding: 140px 0 100px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #0f0a1e 0%, #1a1333 50%, #0f0a1e 100%);
}

.rehab-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.rehab-hero-bg .gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
}

.rehab-hero-bg .orb-1 {
    width: 600px;
    height: 600px;
    top: -20%;
    right: -10%;
    background: radial-gradient(circle, rgba(47, 99, 230, 0.25) 0%, transparent 70%);
    animation: pulse-orb 8s ease-in-out infinite;
}

.rehab-hero-bg .orb-2 {
    width: 500px;
    height: 500px;
    bottom: -15%;
    left: -10%;
    background: radial-gradient(circle, rgba(54, 203, 143, 0.2) 0%, transparent 70%);
    animation: pulse-orb 10s ease-in-out infinite reverse;
}

.rehab-hero-bg .orb-3 {
    width: 400px;
    height: 400px;
    top: 40%;
    left: 30%;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.15) 0%, transparent 70%);
    animation: pulse-orb 12s ease-in-out infinite 2s;
}

@keyframes pulse-orb {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.15); opacity: 0.8; }
}

.rehab-hero-container {
    position: relative;
    z-index: 2;
}

.rehab-hero-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.rehab-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 24px;
    background: rgba(47, 99, 230, 0.12);
    border: 1px solid rgba(47, 99, 230, 0.25);
    border-radius: 100px;
    font-size: 0.95rem;
    font-weight: 600;
    color: #7c9aff;
    margin-bottom: 28px;
    backdrop-filter: blur(10px);
}

.rehab-badge .badge-icon {
    font-size: 1.1rem;
}

.rehab-hero-title {
    font-family: 'Fraunces', serif;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 28px;
}

.rehab-hero-title .title-line {
    display: block;
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    color: #ffffff;
}

.rehab-hero-title .title-gradient {
    background: linear-gradient(135deg, #36cb8f 0%, #2f63e6 50%, #a855f7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.rehab-hero-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    max-width: 720px;
    margin: 0 auto 36px;
}

.rehab-hero-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.btn-secondary-outline {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    font-size: 1rem;
    font-weight: 600;
    font-family: 'Plus Jakarta Sans', sans-serif;
    text-decoration: none;
    border-radius: 14px;
    transition: all 0.3s ease;
}

.btn-secondary-outline:hover {
    border-color: rgba(54, 203, 143, 0.5);
    background: rgba(54, 203, 143, 0.08);
    transform: translateY(-2px);
}

.rehab-trust-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
    padding: 24px 0;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
}

.trust-item svg {
    color: #36cb8f;
    flex-shrink: 0;
}

.trust-divider {
    width: 1px;
    height: 20px;
    background: rgba(255, 255, 255, 0.15);
}

/* ---- Problem Section ---- */
.rehab-problem {
    padding: 120px 0;
    background: linear-gradient(180deg, #0f0a1e 0%, #1a1333 100%);
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 60px;
}

.problem-card {
    background: linear-gradient(135deg, rgba(26, 19, 51, 0.8) 0%, rgba(45, 34, 82, 0.6) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 36px 28px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.problem-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #ef4444, #f97316);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.problem-card:hover {
    transform: translateY(-6px);
    border-color: rgba(239, 68, 68, 0.2);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.problem-card:hover::before {
    opacity: 1;
}

.problem-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.problem-card h3 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 12px;
}

.problem-card p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.65);
}

/* ---- Solution Section ---- */
.rehab-solution {
    padding: 120px 0;
    background: linear-gradient(180deg, #1a1333 0%, #0f0a1e 100%);
}

.solution-tracks {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-top: 60px;
}

.solution-track {
    background: linear-gradient(135deg, rgba(26, 19, 51, 0.9) 0%, rgba(45, 34, 82, 0.7) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 40px 36px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.solution-track::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #2f63e6, #36cb8f);
}

.solution-track:hover {
    transform: translateY(-4px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
    border-color: rgba(47, 99, 230, 0.3);
}

.track-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.track-number {
    font-family: 'Fraunces', serif;
    font-size: 2rem;
    font-weight: 800;
    background: linear-gradient(135deg, #2f63e6, #36cb8f);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.track-badge {
    padding: 6px 14px;
    background: rgba(54, 203, 143, 0.12);
    border: 1px solid rgba(54, 203, 143, 0.25);
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #36cb8f;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.solution-track h3 {
    font-family: 'Fraunces', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 14px;
}

.solution-track > p {
    font-size: 1rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 24px;
}

.track-features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.track-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

.track-features li svg {
    flex-shrink: 0;
}

/* ---- Agents Section ---- */
.rehab-agents {
    padding: 120px 0;
    background: linear-gradient(180deg, #0f0a1e 0%, #1a1333 100%);
}

.agents-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 60px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.agent-card {
    background: linear-gradient(135deg, rgba(26, 19, 51, 0.9) 0%, rgba(45, 34, 82, 0.6) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.agent-card:hover {
    transform: translateY(-6px);
    border-color: rgba(47, 99, 230, 0.3);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.agent-card.agent-live {
    border-color: rgba(54, 203, 143, 0.3);
    background: linear-gradient(135deg, rgba(26, 19, 51, 0.9) 0%, rgba(20, 50, 40, 0.5) 100%);
}

.agent-card.agent-live:hover {
    border-color: rgba(54, 203, 143, 0.5);
    box-shadow: 0 20px 50px rgba(54, 203, 143, 0.15);
}

.agent-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    width: fit-content;
    margin-bottom: 20px;
}

.status-live {
    background: rgba(54, 203, 143, 0.12);
    color: #36cb8f;
    border: 1px solid rgba(54, 203, 143, 0.25);
}

.status-dev {
    background: rgba(245, 158, 11, 0.12);
    color: #f59e0b;
    border: 1px solid rgba(245, 158, 11, 0.25);
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.status-live .status-dot {
    background: #36cb8f;
    box-shadow: 0 0 8px rgba(54, 203, 143, 0.6);
    animation: status-pulse 2s ease-in-out infinite;
}

.status-dev .status-dot {
    background: #f59e0b;
}

@keyframes status-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.agent-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.agent-card h3 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 4px;
}

.agent-card h4 {
    font-size: 0.9rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.agent-card > p {
    font-size: 0.92rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 20px;
    flex: 1;
}

.agent-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.agent-highlights span {
    padding: 5px 12px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 100px;
    font-size: 0.78rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.6);
}

.agent-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    color: #36cb8f;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-top: auto;
}

.agent-cta:hover {
    color: #4ade80;
}

.agent-cta:hover svg {
    transform: translateX(4px);
}

.agent-cta svg {
    transition: transform 0.3s ease;
}

.agent-cta-waitlist {
    color: #f59e0b;
}

.agent-cta-waitlist:hover {
    color: #fbbf24;
}

/* ---- Why Betty Section ---- */
.rehab-why {
    padding: 120px 0;
    background: linear-gradient(180deg, #1a1333 0%, #0f0a1e 100%);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 60px;
}

.why-card {
    background: linear-gradient(135deg, rgba(26, 19, 51, 0.8) 0%, rgba(45, 34, 82, 0.5) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 36px 28px;
    transition: all 0.4s ease;
}

.why-card:hover {
    transform: translateY(-6px);
    border-color: rgba(54, 203, 143, 0.25);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.why-number {
    font-family: 'Fraunces', serif;
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #2f63e6, #36cb8f);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 16px;
    line-height: 1;
}

.why-card h3 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 12px;
    line-height: 1.3;
}

.why-card p {
    font-size: 0.92rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.6);
}

/* ---- Process Section ---- */
.rehab-process {
    padding: 120px 0;
    background: linear-gradient(180deg, #0f0a1e 0%, #1a1333 100%);
}

.process-steps {
    max-width: 700px;
    margin: 60px auto 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.process-step {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    width: 100%;
}

.step-num {
    width: 56px;
    height: 56px;
    min-width: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2f63e6 0%, #36cb8f 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Fraunces', serif;
    font-size: 1.4rem;
    font-weight: 800;
    color: #ffffff;
}

.process-step .step-content h3 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 8px;
}

.process-step .step-content p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.65);
}

.process-connector {
    width: 2px;
    height: 40px;
    background: linear-gradient(180deg, rgba(47, 99, 230, 0.5), rgba(54, 203, 143, 0.5));
    margin: 12px 0 12px 27px;
}

/* ---- CTA Section ---- */
.rehab-cta {
    padding: 120px 0;
    background: linear-gradient(180deg, #1a1333 0%, #0f0a1e 100%);
}

.rehab-cta-wrapper {
    background: linear-gradient(135deg, rgba(26, 19, 51, 0.9) 0%, rgba(45, 34, 82, 0.7) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 32px;
    padding: 80px 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.rehab-cta-wrapper .cta-bg-shapes .cta-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
}

.rehab-cta-wrapper .shape-1 {
    width: 400px;
    height: 400px;
    top: -200px;
    right: -100px;
    background: rgba(47, 99, 230, 0.2);
}

.rehab-cta-wrapper .shape-2 {
    width: 350px;
    height: 350px;
    bottom: -200px;
    left: -100px;
    background: rgba(54, 203, 143, 0.15);
}

.rehab-cta-content {
    position: relative;
    z-index: 2;
}

.rehab-cta-content .cta-betty {
    margin-bottom: 24px;
}

.rehab-cta-content .cta-betty img {
    width: 100px;
    height: 100px;
    object-fit: contain;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.3));
}

.rehab-cta-content h2 {
    font-family: 'Fraunces', serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 16px;
    line-height: 1.2;
}

.rehab-cta-content > p {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 600px;
    margin: 0 auto 36px;
    line-height: 1.7;
}

.rehab-cta-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.btn-whatsapp-outline {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    background: transparent;
    border: 2px solid rgba(37, 211, 102, 0.4);
    color: #25D366;
    font-size: 1rem;
    font-weight: 600;
    font-family: 'Plus Jakarta Sans', sans-serif;
    text-decoration: none;
    border-radius: 14px;
    transition: all 0.3s ease;
}

.btn-whatsapp-outline:hover {
    background: rgba(37, 211, 102, 0.1);
    border-color: rgba(37, 211, 102, 0.6);
    transform: translateY(-2px);
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
    .problem-grid,
    .agents-grid,
    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .solution-tracks {
        grid-template-columns: 1fr;
    }
    
    .rehab-trust-bar {
        flex-direction: column;
        gap: 12px;
    }
    
    .trust-divider {
        display: none;
    }
}

@media (max-width: 768px) {
    .rehab-hero {
        padding: 120px 0 80px;
        min-height: auto;
    }
    
    .rehab-hero-subtitle {
        font-size: 1.05rem;
    }
    
    .rehab-hero-cta {
        flex-direction: column;
    }
    
    .problem-grid,
    .agents-grid,
    .why-grid {
        grid-template-columns: 1fr;
    }
    
    .rehab-problem,
    .rehab-solution,
    .rehab-agents,
    .rehab-why,
    .rehab-process,
    .rehab-cta {
        padding: 80px 0;
    }
    
    .rehab-cta-wrapper {
        padding: 50px 28px;
    }
    
    .rehab-cta-buttons {
        flex-direction: column;
    }
    
    .process-step {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .process-connector {
        margin-left: 0;
    }
}
