/* ==========================================================================
   DENTISTS PAGE ENHANCEMENTS
   Specialized styling for dental practice GoHighLevel pages
   ========================================================================== */

/* HERO VISUAL CARD POSITIONING */
.hero-visual-card {
    transform: translateY(0);
    position: relative;
    width: 100%;
}

@media (max-width: 1024px) {
    .hero-visual-card {
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .hero-visual-card {
        transform: translateY(0);
    }
}

/* HERO RIGHT COLUMN ALIGNMENT */
.hero-right-col {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

/* ENHANCED CHAT BUBBLE STYLING */
.chat-bubble-simulation {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.sim-message {
    padding: 1rem 1.4rem;
    border-radius: 14px;
    font-size: 0.9rem;
    line-height: 1.6;
    max-width: 95%;
    animation: fadeInUp 0.5s ease-out both;
}

.sim-message:nth-child(1) {
    animation-delay: 0.1s;
}

.sim-message:nth-child(2) {
    animation-delay: 0.4s;
}

.sim-message:nth-child(3) {
    animation-delay: 0.7s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

.sim-message strong {
    font-weight: 700;
    color: var(--color-accent-purple);
    display: block;
    margin-bottom: 0.4rem;
    font-size: 0.85rem;
}

.sim-message.patient strong {
    color: var(--color-text-primary);
}

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

.audio-bar {
    width: 4px;
    height: 16px;
    background: var(--color-accent-purple);
    border-radius: 2px;
    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: 20px;
    }
}

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

/* CHAT CONFIRMATION STATUS */
.chat-confirmation-status {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    gap: 1rem;
}

.confirmation-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.8rem;
    font-weight: 700;
    color: #10b981;
}

.confirmation-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 4px;
    font-size: 0.75rem;
    flex-shrink: 0;
}

/* TREATMENT ICON STYLING WITH SVG SUPPORT */
.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;
    color: var(--color-accent-purple);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.treatment-icon svg {
    width: 28px;
    height: 28px;
    stroke-width: 1.5;
}

.treatment-card:hover .treatment-icon {
    background: rgba(94, 14, 215, 0.25);
    border-color: var(--color-accent-purple);
    transform: scale(1.1);
}

/* TREATMENT STAT VARIANTS */
.treatment-stat {
    font-size: 0.85rem;
    font-weight: 700;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    width: fit-content;
    transition: all 0.3s ease;
}

.treatment-stat-primary {
    color: var(--color-accent-purple);
    background: rgba(94, 14, 215, 0.08);
    border: 1px solid rgba(94, 14, 215, 0.2);
}

.treatment-stat-success {
    color: #10b981;
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.treatment-stat-alert {
    color: #ef4444;
    background: rgba(239, 68, 68, 0.08);
    border: 1px solid rgba(239, 68, 68, 0.2);
}

/* MATRIX GRID AND CARDS */
.matrix-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    margin-top: 3rem;
    position: relative;
}

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

.matrix-card {
    background: rgba(18, 18, 24, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    transition: all 0.35s ease;
    position: relative;
    overflow: hidden;
}

.matrix-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-accent-purple) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.35s ease;
}

.matrix-card.problem::before {
    background: linear-gradient(90deg, #ef4444 0%, transparent 100%);
}

.matrix-card.solution::before {
    background: linear-gradient(90deg, #10b981 0%, transparent 100%);
}

.matrix-card:hover {
    border-color: rgba(94, 14, 215, 0.3);
    box-shadow: 0 8px 24px rgba(94, 14, 215, 0.1);
}

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

/* MATRIX CARD HEADER */
.matrix-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.matrix-card-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--color-text-primary);
    line-height: 1.3;
    margin: 0;
    flex: 1;
}

.matrix-card-status-problem,
.matrix-card-status-solution {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.matrix-card-status-problem {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.matrix-card-status-solution {
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

/* MATRIX LIST STYLING */
.matrix-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.matrix-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--color-text-secondary);
}

.matrix-list span {
    flex: 1;
}

.matrix-issue-icon,
.matrix-solution-icon {
    width: 20px;
    height: 20px;
    border-radius: 4px;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
}

.matrix-issue-icon {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
    font-weight: 700;
    font-size: 0.75rem;
}

.matrix-issue-icon::before {
    content: '✕';
}

.matrix-solution-icon {
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.3);
    font-weight: 700;
    font-size: 0.75rem;
}

.matrix-solution-icon::before {
    content: '✓';
}

/* RESPONSIVE ADJUSTMENTS */
@media (max-width: 768px) {
    .matrix-card {
        padding: 1.75rem;
        gap: 1.25rem;
    }

    .matrix-card-title {
        font-size: 1.15rem;
    }

    .matrix-card-header {
        flex-direction: column;
    }

    .matrix-card-status-problem,
    .matrix-card-status-solution {
        align-self: flex-start;
    }

    .matrix-list li {
        font-size: 0.88rem;
    }
}

/* TREATMENT CARD ENHANCEMENTS */
.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: all 0.35s ease;
}

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

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

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

/* Treatment Cards & FAQ Responsiveness */

/* MOBILE RESPONSIVE */
@media (max-width: 640px) {
    .treatment-cards-grid {
        grid-template-columns: 1fr;
    }

    .treatment-icon {
        width: 48px;
        height: 48px;
    }

    .treatment-title {
        font-size: 1.1rem;
    }

    .faq-question {
        padding: 1.25rem 1.5rem;
        font-size: 0.95rem;
    }

    .faq-answer {
        padding: 0 1.5rem 1.25rem 1.5rem;
    }
}

/* ==========================================================================
   FOOTER ENHANCEMENTS
   ========================================================================== */

.footer-pre-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    background: rgba(94, 14, 215, 0.08);
    border: 1px solid rgba(94, 14, 215, 0.2);
    border-radius: 16px;
    padding: 2.5rem 3rem;
    margin-bottom: 4rem;
    margin-top: 3rem;
}

.footer-pre-cta-content {
    flex: 1;
}

.footer-pre-cta-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--color-text-primary);
    margin-bottom: 0.75rem;
}

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

.btn-sm {
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    margin-bottom: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand {
    grid-column: 1;
}

.footer-brand .logo {
    display: block;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-text-primary);
    margin-bottom: 1rem;
}

.footer-desc {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--color-text-secondary);
    max-width: 280px;
}

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

.footer-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-accent-purple);
    margin-bottom: 0.5rem;
}

.footer-links-group a {
    font-size: 0.95rem;
    color: var(--color-text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.footer-links-group a.active {
    color: var(--color-accent-purple);
    font-weight: 600;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

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

.footer-copyright p {
    margin: 0;
}

.footer-legal-links {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.footer-legal-links a {
    font-size: 0.85rem;
    color: var(--color-text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

/* FOOTER RESPONSIVE */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

    .footer-pre-cta {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
        padding: 2rem;
    }
}

@media (max-width: 768px) {
    .footer-pre-cta {
        margin-bottom: 3rem;
        padding: 1.5rem;
    }

    .footer-pre-cta-title {
        font-size: 1.15rem;
    }

    .footer-pre-cta-desc {
        font-size: 0.9rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-bottom: 2rem;
        padding-bottom: 2rem;
    }

    .footer-brand {
        grid-column: 1;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }

    .footer-legal-links {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
    }

    .footer-legal-links a {
        display: block;
    }
}

@media (max-width: 480px) {
    .footer-pre-cta {
        padding: 1.25rem 1rem;
        margin-top: 2rem;
        margin-bottom: 2rem;
    }

    .footer-pre-cta-title {
        font-size: 1rem;
    }

    .footer-copyright {
        font-size: 0.8rem;
    }

    .footer-legal-links {
        gap: 0.75rem;
    }

    .footer-legal-links a {
        font-size: 0.8rem;
    }
}


/* ==========================================================================
   DENTISTS PAGE SPACING POLISH & RHYTHM SYSTEM
   ========================================================================== */

/* Core Container & Section Rhythm */
.ghl-feature-section {
    padding: clamp(4rem, 8vh, 6.5rem) 0;
    position: relative;
}

.ghl-feature-section.alt-bg {
    background: rgba(18, 18, 24, 0.4);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.section-header-center {
    text-align: center;
    max-width: 820px;
    margin: 0 auto clamp(2.5rem, 5vh, 4rem) auto;
}

.section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 20px;
    background: rgba(94, 14, 215, 0.12);
    border: 1px solid rgba(94, 14, 215, 0.3);
    color: var(--color-accent-purple, #a5b4fc);
    font-size: 0.825rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 1.25rem;
}

.section-title-large {
    font-size: clamp(2rem, 4.2vw, 3.25rem);
    font-weight: 800;
    line-height: 1.18;
    letter-spacing: -0.02em;
    color: #ffffff;
    margin-bottom: 1.25rem;
}

.section-description-text {
    font-size: clamp(1.05rem, 1.8vw, 1.25rem);
    line-height: 1.65;
    color: var(--color-text-secondary, #94a3b8);
    max-width: 720px;
    margin: 0 auto;
}

/* Grid & Card Spacing Enhancements */
.matrix-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: clamp(1.5rem, 3vw, 2.5rem);
    margin-top: 1.5rem;
}

.matrix-card {
    background: rgba(18, 18, 24, 0.6);
    backdrop-filter: blur(12px);
    border-radius: 20px;
    padding: clamp(1.75rem, 3.5vw, 2.5rem);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    height: 100%;
}

.matrix-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.matrix-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.matrix-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    font-size: 0.95rem;
    line-height: 1.6;
}

.treatment-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: clamp(1.25rem, 2.5vw, 2rem);
    margin-top: 2rem;
}

.features-grid-6 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: clamp(1.25rem, 2.5vw, 2rem);
    margin-top: 2.5rem;
}

.feature-box-card {
    background: rgba(18, 18, 24, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: clamp(1.5rem, 3vw, 2.25rem);
    transition: all 0.3s ease;
}

.feature-box-card:hover {
    transform: translateY(-4px);
    border-color: rgba(94, 14, 215, 0.35);
    background: rgba(18, 18, 24, 0.75);
}

/* CTA Section Spacing */
.ghl-cta-section {
    padding: clamp(4.5rem, 9vh, 7rem) 0;
    position: relative;
    background: radial-gradient(circle at 50% 50%, rgba(94, 14, 215, 0.12) 0%, rgba(10, 10, 12, 1) 80%);
}

.cta-inner-box {
    max-width: 960px;
    margin: 0 auto;
    background: rgba(18, 18, 24, 0.8);
    border: 1px solid rgba(94, 14, 215, 0.3);
    border-radius: 24px;
    padding: clamp(2.5rem, 5vw, 4rem) clamp(1.5rem, 4vw, 3rem);
    text-align: center;
}

/* Mobile Spacing Polish */
@media (max-width: 768px) {
    .ghl-feature-section {
        padding: 3.5rem 0;
    }

    .matrix-grid,
    .treatment-cards-grid,
    .features-grid-6 {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .section-header-center {
        margin-bottom: 2rem;
    }

    .section-title-large {
        font-size: 1.75rem;
        margin-bottom: 1rem;
    }

    .section-description-text {
        font-size: 1rem;
    }

    .cta-inner-box {
        padding: 2rem 1.25rem;
    }
}

/* ==========================================================================
   HERO SECTION, BUTTON SVG, STATS ROW & 6 COMPONENTS FIXES
   ========================================================================== */

/* 1. Hero Section Top Padding & Layout Offset */
.hero-section.ghl-hero-bg {
    padding-top: 100px !important;
    padding-bottom: 2.5rem !important;
    background: radial-gradient(circle at 30% 20%, rgba(94, 14, 215, 0.15) 0%, rgba(10, 10, 12, 1) 70%);
}

.hero-grid-split {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: clamp(2rem, 4vw, 4rem);
    align-items: center;
}

@media (max-width: 991px) {
    .hero-section.ghl-hero-bg {
        padding-top: 90px !important;
        padding-bottom: 2rem !important;
    }

    .hero-grid-split {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 640px) {
    .hero-section.ghl-hero-bg {
        padding-top: 80px !important;
        padding-bottom: 1.75rem !important;
    }
}

/* 2. SVG Arrow & Icon Sizing Constraints inside Buttons */
.btn-primary svg,
.btn-secondary svg,
.btn-large svg,
.btn-nav-cta svg,
.btn-hero-cta svg,
.mega-menu-action svg {
    width: 14px !important;
    height: 14px !important;
    min-width: 14px !important;
    min-height: 14px !important;
    max-width: 14px !important;
    max-height: 14px !important;
    display: inline-block !important;
    vertical-align: middle !important;
    flex-shrink: 0 !important;
    margin-left: 0.5rem;
}

/* 3. Hero Actions & Stats Row Polish */
.hero-actions {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    flex-wrap: wrap;
    margin-top: 2rem;
    margin-bottom: 2.5rem;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    background: #5E0ED7;
    color: #ffffff;
    padding: 0.95rem 1.85rem;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(94, 14, 215, 0.35);
    border: 1px solid rgba(165, 180, 252, 0.2);
}

.btn-primary:hover {
    background: #731bf0;
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(94, 14, 215, 0.5);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 0.95rem 1.85rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.hero-stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    width: 100%;
    margin-top: 0.5rem;
}

@media (max-width: 640px) {
    .hero-stats-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

.stat-card {
    background: rgba(18, 18, 24, 0.6);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 1.25rem 1.15rem;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    align-items: flex-start;
    transition: all 0.3s ease;
}

.stat-card:hover {
    border-color: rgba(94, 14, 215, 0.4);
    transform: translateY(-3px);
    background: rgba(24, 24, 34, 0.8);
    box-shadow: 0 8px 24px rgba(94, 14, 215, 0.15);
}

.stat-value {
    font-size: clamp(1.4rem, 2.2vw, 1.85rem);
    font-weight: 800;
    color: #a5b4fc;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.stat-label {
    font-size: 0.8rem;
    font-weight: 500;
    color: #94a3b8;
    line-height: 1.35;
}

/* 4. Section 05: 6 System Components Grid & Glass Cards */
.ghl-services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
    margin-top: 3rem;
}

@media (max-width: 1024px) {
    .ghl-services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .ghl-services-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
}

.ghl-services-grid .capability-card {
    background: rgba(18, 18, 24, 0.6);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.15rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: none;
    transition: all 0.35s ease;
    height: 100%;
}

.ghl-services-grid .capability-card:hover {
    transform: translateY(-5px);
    border-color: rgba(94, 14, 215, 0.4);
    box-shadow: 0 12px 30px rgba(94, 14, 215, 0.15);
    background: rgba(24, 24, 34, 0.8);
    padding-left: 2rem;
}

.ghl-service-num {
    font-size: 0.85rem;
    font-weight: 800;
    color: #a5b4fc;
    background: rgba(94, 14, 215, 0.15);
    border: 1px solid rgba(94, 14, 215, 0.3);
    padding: 0.35rem 0.75rem;
    border-radius: 8px;
    letter-spacing: 0.05em;
}

.ghl-service-name {
    font-size: 1.2rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.35;
    margin: 0;
}

.ghl-service-desc {
    font-size: 0.925rem;
    line-height: 1.6;
    color: #94a3b8;
    margin: 0;
}

/* 5. CTA Banner Section & Glass Card */
.cta-banner-glass {
    background: rgba(18, 18, 24, 0.7);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(94, 14, 215, 0.3);
    border-radius: 24px;
    padding: clamp(2.5rem, 5vw, 4rem) clamp(1.5rem, 4vw, 3rem);
    text-align: center;
    max-width: 960px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}

.cta-eyebrow {
    color: #a5b4fc;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.cta-title {
    font-size: clamp(1.8rem, 3.5vw, 2.75rem);
    font-weight: 800;
    color: #ffffff;
    line-height: 1.25;
    letter-spacing: -0.02em;
    margin: 0;
}

.cta-desc {
    font-size: clamp(1rem, 1.5vw, 1.15rem);
    line-height: 1.65;
    color: #94a3b8;
    max-width: 720px;
    margin: 0;
}

/* ==========================================================================
   A2P DELIVERABILITY FOR DENTISTS SPECIFIC SECTIONS FIXES
   ========================================================================== */

/* 1. Tax Pipeline 4-Stage Flow */
.tax-pipeline-section {
    padding: clamp(4rem, 8vh, 6rem) 0;
    background: #0a0a0c;
}

.tax-pipeline-visual {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.tax-pipeline-visual .pipeline-stage {
    background: rgba(18, 18, 24, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-top: 2px solid rgba(94, 14, 215, 0.4);
    border-radius: 16px;
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    transition: all 0.35s ease;
}

.tax-pipeline-visual .pipeline-stage:hover {
    background: rgba(24, 24, 34, 0.85);
    border-color: rgba(94, 14, 215, 0.5);
    border-top-color: #5E0ED7;
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4), 0 0 20px rgba(94, 14, 215, 0.15);
}

.stage-number {
    font-size: 0.85rem;
    font-weight: 800;
    color: #a5b4fc;
    background: rgba(94, 14, 215, 0.15);
    border: 1px solid rgba(94, 14, 215, 0.3);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stage-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.35;
}

/* 2. Quarterly Grid (4 Common Issues Cards) */
.quarterly-section {
    padding: clamp(4.5rem, 9vh, 6.5rem) 0;
    background: rgba(18, 18, 24, 0.3);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.quarterly-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.quarter-card {
    background: rgba(18, 18, 24, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-left: 4px solid #5E0ED7;
    border-radius: 16px;
    padding: 2.25rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    transition: all 0.35s ease;
}

.quarter-card:hover {
    background: rgba(24, 24, 34, 0.85);
    border-color: rgba(94, 14, 215, 0.4);
    border-left-color: #731bf0;
    transform: translateY(-4px);
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.4);
}

.quarter-label {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #5E0ED7;
}

.quarter-months {
    font-size: 1.35rem;
    font-weight: 800;
    color: #ffffff;
}

.tax-deadline {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
    color: #a0a0b0;
}

.deadline-indicator {
    width: 6px;
    height: 6px;
    min-width: 6px;
    border-radius: 50%;
    background: #5E0ED7;
}

.automation-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.automation-item {
    font-size: 0.925rem;
    line-height: 1.5;
    color: #94a3b8;
    position: relative;
    padding-left: 1.25rem;
}

.automation-item::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #5E0ED7;
    font-weight: bold;
}

/* 3. Engine Grid (6 Deliverability Modules) */
.capability-engine-section {
    padding: clamp(4.5rem, 9vh, 6.5rem) 0;
    background: #0a0a0c;
}

.engine-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
    margin-top: 3rem;
}

.engine-card {
    background: rgba(18, 18, 24, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 2rem 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transition: all 0.35s ease;
}

.engine-card:hover {
    background: rgba(24, 24, 34, 0.85);
    border-color: rgba(94, 14, 215, 0.4);
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.engine-number {
    font-size: 0.85rem;
    font-weight: 800;
    color: #a5b4fc;
    background: rgba(94, 14, 215, 0.15);
    border: 1px solid rgba(94, 14, 215, 0.3);
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.engine-name {
    font-size: 1.2rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.35;
}

.engine-desc {
    font-size: 0.925rem;
    line-height: 1.6;
    color: #94a3b8;
}

/* 4. Responsive Breakpoints for Dentists A2P Page */
@media (max-width: 1024px) {
    .tax-pipeline-visual {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }

    .engine-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .quarterly-grid {
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .tax-pipeline-visual {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .quarterly-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .engine-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .workflow-step-card {
        padding: 1.5rem !important;
        gap: 1.5rem !important;
    }

    .workflow-step-title {
        font-size: 1.2rem !important;
    }

    .workflow-step-desc {
        font-size: 0.9rem !important;
    }

    .visual-row {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 0.5rem !important;
        padding: 0.85rem !important;
    }

    .visual-row .tag {
        align-self: flex-start !important;
    }

    .hero-title {
        font-size: clamp(1.8rem, 6vw, 2.5rem) !important;
    }

    .sub-hero-description {
        font-size: 0.95rem !important;
    }

    .hero-actions {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 0.85rem !important;
        margin-top: 1.5rem !important;
        margin-bottom: 2rem !important;
    }

    .hero-actions .btn-primary,
    .hero-actions .btn-secondary {
        width: 100% !important;
        justify-content: center !important;
        text-align: center !important;
    }

    .hero-visual-card {
        padding: 1.25rem !important;
        margin-top: 2.25rem !important;
    }

    .sim-message {
        padding: 0.85rem 1.1rem !important;
        font-size: 0.85rem !important;
    }
}