/* ==========================================================================
   SECTION SPECIFIC STYLES
   Solvevare - Custom Section Layouts
   ========================================================================== */

/* Hero Container Section */
.hero-section {
    position: relative;
    width: 100%;
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding-top: clamp(100px, 12vh, 130px);
    padding-bottom: clamp(2.5rem, 5vh, 4rem);
    background-color: var(--color-bg-dark);
    color: var(--color-text-primary);
    overflow: hidden;
    z-index: 5;
}

/* Background video styles */
.hero-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.65;
}

/* Overlay gradient for maximum readability */
.hero-video-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
            rgba(10, 10, 12, 0.8) 0%,
            rgba(10, 10, 12, 0.4) 30%,
            rgba(10, 10, 12, 0.8) 75%,
            var(--color-bg-dark) 100%);
    z-index: 2;
}

.hero-container {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    gap: clamp(1rem, 2vh, 1.75rem);
    margin-top: 0;
}

/* Stacked headings */
.hero-heading-wrapper {
    width: 100%;
}

.hero-eyebrow,
.sub-hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-size: clamp(0.9rem, 1.2vw, 1.05rem);
    font-weight: 1000;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: #ffffff;
    margin-bottom: 1.5rem;
    
}

.hero-eyebrow::before,
.sub-hero-eyebrow::before {
    content: none;
    display: none;
}

.hero-title,
.sub-hero-title {
    display: flex;
    flex-direction: column;
    font-size: clamp(3.2rem, 7vw, 7rem);
    font-weight: 800;
    line-height: 0.93;
    letter-spacing: -0.04em;
    text-transform: uppercase;
    color: var(--color-text-primary);
}

.word-line {
    display: block;
    overflow: hidden;
    line-height: inherit;
    padding-bottom: 0.05em;
}

.word-inner {
    display: block;
    will-change: transform;
}

/* Bottom content columns */
.hero-content-row {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: clamp(3rem, 7vw, 7rem);
    align-items: flex-start;
    margin-top: clamp(0.25rem, 0.75vh, 0.75rem);
}

/* Left Group */
.hero-info-group {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.hero-description,
.sub-hero-desc {
    max-width: 480px;
    font-size: clamp(0.95rem, 1.15vw, 1.1rem);
    line-height: 1.7;
    color: var(--color-text-secondary);
}

.hero-cta-wrapper {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

/* Premium Primary CTA */
.btn-hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 1.25rem;
    background-color: var(--color-accent-purple);
    color: var(--color-text-primary);
    padding: 0.85rem 1.85rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: background-color var(--transition-medium), box-shadow var(--transition-medium);
    box-shadow: 0 0 0px var(--color-accent-purple-glow);
}

.cta-arrow-circle {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.12);
    transition: background-color var(--transition-fast), transform var(--transition-medium);
}

.cta-arrow-circle svg {
    width: 11px;
    height: 11px;
    color: var(--color-text-primary);
    transition: transform var(--transition-medium);
}

.btn-hero-cta:hover {
    background-color: var(--color-accent-purple-hover);
    box-shadow: 0 10px 30px var(--color-accent-purple-glow);
}

.btn-hero-cta:hover .cta-arrow-circle {
    background-color: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

.btn-hero-cta:hover .cta-arrow-circle svg {
    transform: translate(2px, -2px);
}

.cta-subtext {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    color: var(--color-text-muted);
}

/* Capability Index / Cards Grid */
.hero-capability-grid,
.sub-hero-stats {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.capability-card {
    display: flex;
    align-items: center;
    gap: clamp(1.5rem, 3vw, 2.5rem);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: clamp(1.25rem, 2.2vh, 1.75rem) 0;
    transition: border-color var(--transition-medium), padding-left var(--transition-medium);
}

.capability-card:last-child {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.capability-card:hover {
    border-top-color: var(--color-accent-purple);
    padding-left: 1rem;
}

/* Subtle border animation cleanup for next element sibling on hover */
.capability-card:hover+.capability-card {
    border-top-color: rgba(255, 255, 255, 0.08);
}

.cap-num {
    font-family: var(--font-primary);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-accent-purple);
    margin-top: 0.25rem;
    letter-spacing: 0.05em;
}

.cap-content {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.cap-title {
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-text-primary);
}

.cap-desc {
    font-size: 0.85rem;
    color: var(--color-text-secondary);
}

/* ==========================================================================
   HOMEPAGE EXPANSION SECTIONS
   ========================================================================== */

/* Shared Section Utilities */
.pt-xl {
    padding-top: clamp(5rem, 12vh, 10rem);
}

.pb-xl {
    padding-bottom: clamp(5rem, 12vh, 10rem);
}

.pt-lg {
    padding-top: clamp(4rem, 8vh, 8rem);
}

.pb-lg {
    padding-bottom: clamp(4rem, 8vh, 8rem);
}

.pb-md {
    padding-bottom: clamp(3rem, 5vh, 5rem);
}

.mt-xl {
    margin-top: clamp(4rem, 10vh, 8rem);
}

.mt-lg {
    margin-top: clamp(3rem, 6vh, 6rem);
}

.mt-md {
    margin-top: 2rem;
}

.mt-sm {
    margin-top: 1rem;
}

.bg-dark {
    background-color: var(--color-bg-dark);
}

.bg-light-alt {
    background-color: #f7f7f9;
}

.bg-off-white {
    background-color: #fbfbfc;
    color: var(--color-bg-dark);
}

.bg-off-white .section-title,
.bg-off-white .huge-title,
.bg-off-white p,
.bg-off-white li {
    color: var(--color-bg-dark);
}

.text-light {
    color: var(--color-text-primary);
}

.text-light .section-title,
.text-light .huge-title,
.text-light p {
    color: #ffffff;
}

.text-center {
    text-align: center;
}

/* Clip Reveal Utility */
.reveal-line {
    display: block;
    overflow: hidden;
    line-height: inherit;
    padding-bottom: 0.1em;
}

.reveal-line span {
    display: block;
    will-change: transform;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    text-transform: uppercase;
}

.huge-title {
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.03em;
    text-transform: uppercase;
}

.split-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: flex-start;
}

.align-center {
    align-items: center;
}

.section-intro p {
    font-size: 1.125rem;
    line-height: 1.6;
    color: var(--color-text-secondary);
    margin-bottom: 1.5rem;
}

.section-intro p:last-child {
    margin-bottom: 0;
}

.btn-text-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--color-accent-purple);
    transition: color var(--transition-fast);
}

.btn-text-link .arrow {
    transition: transform var(--transition-fast);
}

.btn-text-link:hover {
    color: var(--color-accent-purple-hover);
}

.btn-text-link:hover .arrow {
    transform: translateX(4px);
}

/* Section 02: What We Build */
.capability-columns {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.capability-col {
    display: flex;
    flex-direction: column;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.col-num {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--color-accent-purple);
    margin-bottom: 1rem;
}

.col-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: 0.02em;
}

.col-desc {
    color: var(--color-text-secondary);
    line-height: 1.6;
}

/* Section 03: The Solvevare Difference */
.philosophy-flow {
    display: flex;
    flex-direction: column;
}

.flow-step {
    display: flex;
    align-items: baseline;
    gap: 2rem;
    padding: 2rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: clamp(1.5rem, 3vw, 2.5rem);
}

.flow-step:first-child {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.flow-num {
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-accent-purple);
    min-width: 30px;
}

.flow-label {
    font-weight: 800;
    color: #fff;
}

.flow-desc {
    font-weight: 400;
    color: rgba(255, 255, 255, 0.5);
}

/* Section 04: Core Capabilities */
.capabilities-list {
    display: flex;
    flex-direction: column;
}

.capability-item {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    padding: 4rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    transition: border-color var(--transition-medium);
}

.capability-item:last-child {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.capability-item:hover {
    border-top-color: var(--color-accent-purple);
}

.capability-item:hover+.capability-item {
    border-top-color: rgba(255, 255, 255, 0.1);
}

.cap-header {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cap-number {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-accent-purple);
    font-family: var(--font-primary);
}

.active-dot {
    display: inline-block;
    width: 6px;
    height: 6px;
    background-color: var(--color-accent-purple);
    border-radius: 50%;
    opacity: 0;
    transform: scale(0);
    box-shadow: 0 0 10px var(--color-accent-purple);
}

.cap-heading {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 800;
    line-height: 1.1;
    color: #fff;
    text-transform: uppercase;
}

.cap-body {
    display: flex;
    flex-direction: column;
}

.cap-description {
    font-size: 1.125rem;
    line-height: 1.6;
    color: var(--color-text-secondary);
    margin-bottom: 2rem;
}

.cap-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem 2rem;
    margin-bottom: 2rem;
}

.cap-features li {
    font-size: 0.95rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.cap-features li::before {
    content: '';
    display: block;
    width: 6px;
    height: 6px;
    background-color: var(--color-accent-purple);
    border-radius: 50%;
}

/* Section 05: Solutions */
.solutions-editorial-list {
    display: flex;
    flex-direction: column;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.solution-row {
    display: grid;
    grid-template-columns: 80px 1fr 40px;
    gap: 2rem;
    align-items: center;
    padding: 2.5rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    transition: padding-left var(--transition-medium), border-color var(--transition-medium);
}

.solution-row:hover {
    padding-left: 1rem;
    border-bottom-color: var(--color-accent-purple);
}

.sol-num {
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-accent-purple);
    font-family: var(--font-primary);
    transition: transform var(--transition-medium);
}

.solution-row:hover .sol-num {
    transform: translateY(-2px);
}

.sol-content {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.sol-title {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: var(--color-text-primary);
    text-transform: uppercase;
}

.sol-desc {
    font-size: 1rem;
    color: var(--color-text-secondary);
    line-height: 1.5;
    max-width: 600px;
}

.sol-arrow {
    font-size: 1.5rem;
    color: var(--color-accent-purple);
    opacity: 0;
    transform: translateX(-10px);
    transition: all var(--transition-medium);
}

.solution-row:hover .sol-arrow {
    opacity: 1;
    transform: translateX(0);
}

/* Feature Split Sections */
.feature-split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.feature-split-layout.reverse {
    direction: rtl;
}

.feature-split-layout.reverse>* {
    direction: ltr;
}

.feature-desc p {
    font-size: 1.125rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.7);
}

.section-feature-split:not(.bg-dark) .feature-desc p {
    color: var(--color-text-body-secondary);
}

.bg-off-white .feature-highlights li {
    border-color: rgba(0, 0, 0, 0.12);
    color: #0a0a0c;
}

.feature-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.feature-highlights li {
    padding: 0.5rem 1rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 40px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.05em;
}

/* Feature Visuals */
.feature-visual {
    position: relative;
    aspect-ratio: 4/4;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 2rem;
}

.section-feature-split:not(.bg-dark) .feature-visual {
    background-color: #ffffff;
    border-color: rgba(0, 0, 0, 0.05);
    box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.01);
}

.call-flow-diagram,
.ghl-system-diagram,
.cap-visual-concept {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.concept-svg {
    width: 100%;
    height: 100%;
    max-height: 100%;
    overflow: visible;
}

/* Base SVG element resets for GSAP */
.sys-node,
.sys-node-rect {
    transform-origin: center;
}

/* Section 08: Industries */
.industries-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.industry-col-title {
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: var(--color-accent-purple);
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.industry-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.industry-list li {
    font-size: 1.125rem;
    font-weight: 500;
}

/* Section 09: How We Work */
.process-timeline {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 2rem;
}

.process-step {
    display: flex;
    flex-direction: column;
}

.step-num {
    font-size: 2rem;
    font-weight: 800;
    color: rgba(0, 0, 0, 0.1);
    margin-bottom: 1rem;
    transition: color var(--transition-medium);
}

.process-step.active .step-num {
    color: var(--color-accent-purple);
}

.step-title {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.step-desc {
    font-size: 0.95rem;
    color: var(--color-text-secondary);
    line-height: 1.5;
}

/* Section 10: Proof */
.proof-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.proof-card {
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 3rem;
}

.proof-header {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.proof-client {
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
}

.proof-meta {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.meta-label {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: var(--color-accent-purple);
}

.meta-value {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
}

/* Section 11: Final CTA */
.final-cta-content p {
    font-size: 1.25rem;
    line-height: 1.6;
    color: var(--color-text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.final-cta-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

/* Override nav button theme for light sections */
.btn-nav-cta.dark-theme-override {
    border-color: var(--color-accent-purple);
    color: var(--color-text-body);
}

.btn-nav-cta.dark-theme-override:hover {
    color: #fff;
}

/* FOOTER */
.site-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
}

.footer-brand .logo {
    font-size: 1.5rem;
    color: #fff;
}

.footer-tagline {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.95rem;
}

.footer-links-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-label {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.3);
    margin-bottom: 0.5rem;
}

.footer-links-group a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    transition: color var(--transition-fast);
}

.footer-links-group a:hover {
    color: var(--color-accent-purple);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.85rem;
}

/* ==========================================================================
   STANDARDIZED SPACING & MARGIN/PADDING UTILITIES
   ========================================================================== */
.py-section {
    padding-top: clamp(6rem, 12vh, 10rem);
    padding-bottom: clamp(6rem, 12vh, 10rem);
}

.mb-section-header {
    margin-bottom: clamp(3.5rem, 7vh, 5.5rem);
}

.sub-feature-content h2 {
    margin-bottom: clamp(1.25rem, 3vh, 2rem);
}

.sub-feature-content p {
    margin-bottom: clamp(1rem, 2vh, 1.5rem);
}

.matrix-table {
    margin-top: clamp(2.5rem, 5vh, 4rem);
    margin-bottom: clamp(3rem, 6vh, 5rem);
}

/* ==========================================================================
   GOHIGHLEVEL FINAL CTA SECTION STYLES
   ========================================================================== */
.ghl-cta-section {
    background: var(--color-bg-dark);
    padding: clamp(6rem, 12vh, 10rem) 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.ghl-cta-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 400px;
    background: radial-gradient(ellipse, rgba(94, 14, 215, 0.22) 0%, transparent 70%);
    pointer-events: none;
}

.ghl-cta-title {
    font-size: clamp(3rem, 7vw, 6.5rem);
    font-weight: 800;
    line-height: 0.92;
    letter-spacing: -0.04em;
    text-transform: uppercase;
    color: var(--color-text-primary);
    margin-bottom: 1.75rem;
    position: relative;
}

.ghl-cta-title .line {
    display: block;
    overflow: hidden;
    padding-bottom: 0.06em;
}

.ghl-cta-desc {
    font-size: clamp(1rem, 1.3vw, 1.15rem);
    color: var(--color-text-secondary);
    max-width: 520px;
    margin: 0 auto 3rem auto;
    line-height: 1.65;
    position: relative;
}

.ghl-cta-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    position: relative;
}

/* ==========================================================================
   LEFT & RIGHT MOTION UTILITIES & DENTAL INDUSTRY ENHANCEMENTS
   ========================================================================== */

/* Hero Grid Split Layout */
.hero-grid-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2.5rem, 5vw, 5rem);
    align-items: center;
    width: 100%;
}

@media (max-width: 991px) {
    .hero-grid-split {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

/* Hero Visual Card (Glass Box with Purple Glow) */
.hero-visual-card {
    position: relative;
    background: rgba(18, 18, 24, 0.7);
    border: 1px solid rgba(138, 43, 226, 0.3);
    border-radius: 20px;
    padding: clamp(1.75rem, 3vw, 2.5rem);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    overflow: hidden;
}

.hero-visual-card::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 220px;
    height: 220px;
    background: radial-gradient(circle, rgba(94, 14, 215, 0.35) 0%, transparent 70%);
    pointer-events: none;
    
}

.hero-visual-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 1.5rem;
}

.live-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #10b981;
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.25);
    padding: 0.4rem 0.85rem;
    border-radius: 50px;
}

.live-dot-pulse {
    width: 8px;
    height: 8px;
    background-color: #10b981;
    border-radius: 50%;
    box-shadow: 0 0 10px #10b981;
    animation: pulse-dot 1.8s infinite ease-in-out;
}

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

.hero-visual-body {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.chat-bubble-simulation {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.sim-message {
    padding: 0.9rem 1.2rem;
    border-radius: 14px;
    font-size: 0.88rem;
    line-height: 1.5;
    max-width: 90%;
}

.sim-message.ai {
    align-self: flex-start;
    background: rgba(94, 14, 215, 0.2);
    border: 1px solid rgba(94, 14, 215, 0.35);
    color: var(--color-text-primary);
    border-bottom-left-radius: 4px;
}

.sim-message.patient {
    align-self: flex-end;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--color-text-primary);
    border-bottom-right-radius: 4px;
}

.voice-audio-bars {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 0.5rem;
}

.audio-bar {
    width: 4px;
    height: 16px;
    background: var(--color-accent-purple);
    border-radius: 4px;
    animation: audio-wave 1.2s infinite ease-in-out;
}

.audio-bar:nth-child(2) { animation-delay: 0.2s; }
.audio-bar:nth-child(3) { animation-delay: 0.4s; }
.audio-bar:nth-child(4) { animation-delay: 0.1s; }
.audio-bar:nth-child(5) { animation-delay: 0.3s; }

@keyframes audio-wave {
    0%, 100% { height: 8px; }
    50% { height: 24px; }
}

/* WORKFLOW PIPELINE SECTION (Alternating Left / Right) */
.workflow-pipeline-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    position: relative;
    margin-top: 3rem;
}

.workflow-pipeline-grid::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background: linear-gradient(to bottom, transparent, var(--color-accent-purple), transparent);
    transform: translateX(-50%);
    opacity: 0.3;
}

@media (max-width: 768px) {
    .workflow-pipeline-grid::before {
        left: 24px;
    }
}

.workflow-step-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    background: rgba(18, 18, 24, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: clamp(2rem, 4vw, 3rem);
    position: relative;
    transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

.workflow-step-card:hover {
    border-color: rgba(138, 43, 226, 0.4);
    box-shadow: 0 15px 40px rgba(94, 14, 215, 0.15);
    transform: translateY(-4px);
}

.workflow-step-card.reversed {
    direction: rtl;
}

.workflow-step-card.reversed > * {
    direction: ltr;
}

@media (max-width: 991px) {
    .workflow-step-card,
    .workflow-step-card.reversed {
        grid-template-columns: 1fr;
        direction: ltr;
        gap: 1.5rem;
    }
}

.workflow-step-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.workflow-step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: rgba(94, 14, 215, 0.15);
    border: 1px solid rgba(94, 14, 215, 0.4);
    color: var(--color-accent-purple);
    font-weight: 800;
    font-size: 1.1rem;
    border-radius: 12px;
}

.workflow-step-title {
    font-size: clamp(1.4rem, 2.2vw, 1.8rem);
    font-weight: 700;
    color: var(--color-text-primary);
    line-height: 1.25;
}

.workflow-step-desc {
    font-size: 1rem;
    line-height: 1.65;
    color: var(--color-text-secondary);
}

.workflow-step-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-accent-purple);
    background: rgba(94, 14, 215, 0.08);
    padding: 0.35rem 0.75rem;
    border-radius: 6px;
    width: fit-content;
}

.workflow-step-visual {
    background: rgba(10, 10, 14, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.visual-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
    font-size: 0.88rem;
    color: var(--color-text-primary);
}

.visual-row .tag {
    font-size: 0.75rem;
    font-weight: 700;
    color: #10b981;
}

/* TREATMENT CAMPAIGN SHOWCASE GRID */
.treatment-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.75rem;
    margin-top: 3rem;
}

.treatment-card {
    background: rgba(18, 18, 24, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.treatment-card:hover {
    transform: translateY(-5px);
    border-color: rgba(138, 43, 226, 0.4);
    box-shadow: 0 12px 30px rgba(94, 14, 215, 0.15);
}

.treatment-icon {
    width: 52px;
    height: 52px;
    background: rgba(94, 14, 215, 0.15);
    border: 1px solid rgba(94, 14, 215, 0.3);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--color-accent-purple);
}

.treatment-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--color-text-primary);
}

.treatment-desc {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--color-text-secondary);
}

.treatment-stat {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--color-accent-purple);
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

/* FAQ ICON STYLING */
.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    text-align: left;
    gap: 1rem;
    background: none;
    border: none;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--color-text-primary);
    cursor: pointer;
    padding: 1.5rem 0;
}

.faq-toggle-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: var(--color-accent-purple);
    transition: transform 0.3s ease, background-color 0.3s ease;
    flex-shrink: 0;
}

.faq-item.active .faq-toggle-icon {
    transform: rotate(45deg);
    background: rgba(94, 14, 215, 0.25);
    border-color: var(--color-accent-purple);
}