/* ====================================================================
   TELEHEALTH PAGE — Premium Redesign (matches index.html theme)
   ==================================================================== */

/* --- Navbar Override --- */
.telehealth-navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 24px 40px;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: padding 0.3s ease, background-color 0.3s ease;
}

.telehealth-navbar .nav-menu a {
    color: var(--bg-dark);
}

.telehealth-navbar .nav-menu a.active {
    font-weight: 600;
    border-bottom: 2px solid var(--bg-dark);
    padding-bottom: 2px;
}

.telehealth-navbar .btn-waitlist-nav {
    background-color: var(--bg-dark);
    color: var(--text-white);
}

.telehealth-navbar .hamburger-line {
    background-color: var(--bg-dark);
}

/* --- Telehealth Hero --- */
.th-hero {
    padding: 200px 60px 120px;
    background: linear-gradient(160deg, #08aabe 0%, #5cc4d2 40%, #C6F6C2 80%, #e8fce6 100%);
    overflow: hidden;
    position: relative;
}

.th-hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 220px;
    pointer-events: none;
    z-index: 0;
    opacity: 0.1;
    -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 100%);
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 100%);
}

.th-hero-pattern-inner {
    width: 100%;
    height: 100%;
    background-image: url('icon.svg');
    background-repeat: repeat;
    background-size: 80px;
    background-position: center;
    filter: brightness(0) invert(1);
}

.th-hero-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.th-eyebrow {
    font-family: var(--font-main);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 20px;
}

.th-hero-title {
    font-family: var(--font-heading);
    font-size: 100px;
    font-weight: 400;
    line-height: 0.95;
    letter-spacing: -3px;
    color: #ffffff;
    margin-bottom: 32px;
    text-shadow: 0 4px 40px rgba(0, 0, 0, 0.15);
}

.th-hero-subtitle {
    font-family: var(--font-main);
    font-size: 20px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.75);
    max-width: 520px;
}

/* --- Hero Visual (Pulse Animation) --- */
.th-hero-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    height: 320px;
}

.th-pulse-ring {
    position: absolute;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    border: 1.5px solid rgba(255, 255, 255, 0.25);
    animation: th-pulse 3s ease-out infinite;
}

.th-pulse-ring-2 {
    width: 200px;
    height: 200px;
    animation-delay: 1s;
}

@keyframes th-pulse {
    0% {
        transform: scale(0.8);
        opacity: 1;
    }

    100% {
        transform: scale(1.6);
        opacity: 0;
    }
}

.th-device-icon {
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 28px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 2;
}

.th-device-icon svg {
    width: 48px;
    height: 48px;
    stroke: #ffffff;
}

/* --- Intro Section --- */
.th-intro {
    padding: 120px 60px;
    background: linear-gradient(180deg, #e8fce6 0%, #ffffff 100%);
    display: flex;
    justify-content: center;
    align-items: center;
}

.th-intro-content {
    max-width: 1200px;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.th-intro-heading {
    font-family: var(--font-heading);
    font-size: 72px;
    line-height: 1.1;
    letter-spacing: -1.5px;
    font-weight: 400;
    color: #067a8a;
}

.th-intro-paragraph {
    font-family: var(--font-main);
    font-size: 20px;
    line-height: 1.6;
    color: rgba(0, 0, 0, 0.65);
    max-width: 900px;
}

/* --- Marquee --- */
.th-marquee-section {
    padding: 40px 0;
    background-color: #ffffff;
    overflow: hidden;
}

.th-marquee-section .marquee-word {
    color: rgba(8, 170, 190, 0.1);
}

.th-marquee-section .marquee-dot {
    color: rgba(8, 170, 190, 0.06);
}

/* --- How It Works --- */
.th-how {
    padding: 120px 60px;
    background-color: #ffffff;
}

.th-how-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.th-section-title {
    font-family: var(--font-heading);
    font-size: 56px;
    font-weight: 400;
    letter-spacing: -2px;
    color: #067a8a;
    text-align: center;
    margin-bottom: 80px;
}

.th-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.th-step {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 40px 30px;
    background: #f8f9fa;
    border-radius: 24px;
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: all 0.4s cubic-bezier(0.2, 1, 0.3, 1);
}

.th-step:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
}

.th-step-num {
    font-family: var(--font-heading);
    font-size: 56px;
    font-weight: 600;
    background: linear-gradient(135deg, #08aabe, #067a8a);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.th-step h3 {
    font-family: var(--font-main);
    font-size: 22px;
    font-weight: 600;
    color: var(--bg-dark);
}

.th-step p {
    font-family: var(--font-main);
    font-size: 16px;
    line-height: 1.6;
    color: rgba(0, 0, 0, 0.55);
    max-width: 320px;
}

/* --- Split Layout: Telehealth Services + Sticky CTA --- */
.th-services {
    padding: 80px 60px 120px;
    background: linear-gradient(180deg, #ffffff 0%, #f8f8fa 100%);
}

.th-split-layout {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 80px;
    align-items: start;
}

.th-services-col {
    display: flex;
    flex-direction: column;
}

.th-services-heading {
    font-family: var(--font-heading);
    font-size: 56px;
    font-weight: 400;
    letter-spacing: -2px;
    color: #067a8a;
    margin-bottom: 40px;
}

.th-cta-col {
    position: sticky;
    top: 120px;
    height: max-content;
    align-self: flex-start;
}

.th-svc-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.th-svc-card {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    padding: 36px 32px;
    background-color: #ffffff;
    border-radius: 24px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.2, 1, 0.3, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.th-svc-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
    border-color: rgba(0, 0, 0, 0.12);
}

.th-svc-icon {
    width: 52px;
    height: 52px;
    min-width: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 16px;
    color: #08aabe;
    transition: all 0.3s ease;
}

.th-svc-icon svg {
    width: 26px;
    height: 26px;
}

.th-svc-card:hover .th-svc-icon {
    background: #08aabe;
    color: #ffffff;
    transform: scale(1.1);
}

.th-svc-text h3 {
    font-family: var(--font-main);
    font-size: 19px;
    font-weight: 600;
    color: var(--text-main, #1c1c1e);
    margin-bottom: 8px;
    letter-spacing: -0.4px;
    line-height: 1.3;
}

.th-svc-text p {
    font-family: var(--font-main);
    font-size: 15px;
    line-height: 1.6;
    color: rgba(0, 0, 0, 0.6);
}

/* --- Sticky CTA Column --- */
.th-sticky-cta {
    background-color: #ffffff;
    border-radius: 24px;
    padding: 60px 40px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 24px;
}

.th-sticky-visual {
    position: relative;
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
}

.th-mini-pulse {
    position: absolute;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 1.5px solid rgba(8, 170, 190, 0.15);
    animation: th-pulse 3s ease-out infinite;
}

.th-mini-pulse-2 {
    width: 70px;
    height: 70px;
    animation-delay: 1s;
}

.th-sticky-device {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #08aabe, #067a8a);
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(8, 170, 190, 0.25);
    position: relative;
    z-index: 2;
}

.th-sticky-device svg {
    width: 32px;
    height: 32px;
    stroke: #ffffff;
}

.th-sticky-heading {
    font-family: var(--font-heading);
    font-size: 38px;
    color: #08aabe;
    line-height: 1.1;
    font-weight: 500;
}

.th-sticky-text {
    font-family: var(--font-main);
    font-size: 17px;
    color: rgba(0, 0, 0, 0.65);
    line-height: 1.6;
}

.th-sticky-cta .btn-waitlist-main {
    background: #08aabe;
    color: #ffffff;
}

.th-sticky-cta .btn-waitlist-main .arrow-circle {
    background: #ffffff;
    color: #08aabe;
}

.th-sticky-cta .btn-waitlist-main:hover {
    background: #067a8a;
    transform: translateY(-4px) scale(1.02);
}

/* --- CTA Band --- */
.th-cta-band {
    padding: 120px 60px;
    background: linear-gradient(135deg, #08aabe 0%, #067a8a 100%);
    color: #ffffff;
}

.th-cta-band-inner {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.th-cta-band-inner h2 {
    font-family: var(--font-heading);
    font-size: 56px;
    font-weight: 400;
    letter-spacing: -2px;
    color: #ffffff;
    line-height: 1.1;
}

.th-cta-band-inner p {
    font-family: var(--font-main);
    font-size: 19px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
    max-width: 600px;
}

.th-cta-band .btn-waitlist-main {
    margin-top: 12px;
    background-color: #ffffff;
    color: var(--text-main, #1c1c1e);
}

.th-cta-band .arrow-circle.dark {
    background-color: var(--text-main, #1c1c1e);
    color: #ffffff;
}

.th-cta-band .btn-waitlist-main:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-4px) scale(1.02);
}

/* ====================================================================
   RESPONSIVE: Tablet (≤1024px)
   ==================================================================== */
@media (max-width: 1024px) {
    .telehealth-navbar {
        padding: 20px 30px;
    }

    .th-hero {
        padding: 160px 40px 80px;
    }

    .th-hero-inner {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .th-hero-title {
        font-size: 64px;
    }

    .th-hero-subtitle {
        max-width: 100%;
        margin: 0 auto;
    }

    .th-hero-visual {
        height: 240px;
    }

    .th-intro {
        padding: 80px 40px;
    }

    .th-intro-heading {
        font-size: 52px;
    }

    .th-how {
        padding: 80px 40px;
    }

    .th-section-title {
        font-size: 42px;
        margin-bottom: 60px;
    }

    .th-steps {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .th-services {
        padding: 60px 40px 80px;
    }

    .th-split-layout {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .th-cta-col {
        position: static;
    }

    .th-services-heading {
        font-size: 42px;
    }

    .th-cta-band {
        padding: 80px 40px;
    }

    .th-cta-band-inner h2 {
        font-size: 42px;
    }
}

/* ====================================================================
   RESPONSIVE: Mobile (≤768px)
   ==================================================================== */
@media (max-width: 768px) {
    .telehealth-navbar {
        padding: 16px 20px;
    }

    .th-hero {
        padding: 130px 24px 60px;
    }

    .th-hero-title {
        font-size: 42px;
        letter-spacing: -1.5px;
    }

    .th-hero-title br {
        display: none;
    }

    .th-eyebrow {
        font-size: 11px;
    }

    .th-hero-subtitle {
        font-size: 16px;
    }

    .th-hero-visual {
        height: 180px;
    }

    .th-pulse-ring {
        width: 200px;
        height: 200px;
    }

    .th-pulse-ring-2 {
        width: 140px;
        height: 140px;
    }

    .th-device-icon {
        width: 72px;
        height: 72px;
        border-radius: 20px;
    }

    .th-device-icon svg {
        width: 36px;
        height: 36px;
    }

    .th-intro {
        padding: 60px 24px;
    }

    .th-intro-heading {
        font-size: 32px;
        letter-spacing: -0.5px;
    }

    .th-intro-paragraph {
        font-size: 16px;
    }

    .th-marquee-section {
        padding: 24px 0;
    }

    .th-how {
        padding: 50px 24px;
    }

    .th-section-title {
        font-size: 32px;
        margin-bottom: 40px;
    }

    .th-step {
        padding: 28px 22px;
    }

    .th-step-num {
        font-size: 40px;
    }

    .th-step h3 {
        font-size: 18px;
    }

    .th-step p {
        font-size: 14px;
    }

    .th-services {
        padding: 40px 16px 60px;
    }

    .th-services-heading {
        font-size: 32px;
        margin-bottom: 24px;
    }

    .th-svc-card {
        padding: 28px 20px;
        gap: 16px;
        border-radius: 18px;
    }

    .th-svc-icon {
        width: 44px;
        height: 44px;
        min-width: 44px;
        border-radius: 12px;
    }

    .th-svc-icon svg {
        width: 22px;
        height: 22px;
    }

    .th-svc-text h3 {
        font-size: 17px;
    }

    .th-svc-text p {
        font-size: 14px;
    }

    .th-sticky-cta {
        padding: 40px 24px;
        border-radius: 18px;
    }

    .th-sticky-heading {
        font-size: 28px;
    }

    .th-cta-band {
        padding: 60px 24px;
    }

    .th-cta-band-inner h2 {
        font-size: 32px;
        letter-spacing: -1px;
    }

    .th-cta-band-inner p {
        font-size: 15px;
    }
}

/* ====================================================================
   RESPONSIVE: Small Mobile (≤480px)
   ==================================================================== */
@media (max-width: 480px) {
    .th-hero {
        padding: 110px 20px 50px;
    }

    .th-hero-title {
        font-size: 32px;
    }

    .th-svc-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .th-intro-heading {
        font-size: 28px;
    }

    .th-cta-band-inner h2 {
        font-size: 26px;
    }
}