/*
Theme Name: MIDA - LP Theme
Description: A modern, minimalistic WordPress theme for MIDA Session Recording & Heatmap for Shopify with sophisticated black & white color scheme and gradient design
Version: 2.0.0
Author: MIDA Team
Text Domain: mida
*/
:root {
    --color-background-light: #FFFFFF;
    --color-background-dark: #F0F0F0;
    --color-primary-text: #121212;
    --color-secondary-text: #5F5F5F;
    --color-accent: #000;
    --color-white: #fff;
    --color-black-1: #121212;
    --color-black-4: #A3A3A3;
    --color-black-6: #5F5F5F;
    --font-size-title: 40px;
    --font-size-subtitle: 18px;
    --max-width: 1200px;
    --padding-section: 60px 20px;
}

@keyframes fade-in {
    0% {
        transform: translateY(50px);
        opacity: 0;
    }

    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

/* --- Fade-in Animation Utility --- */
.fade-in {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in.fade-out {
    opacity: 0 !important;
    transform: translateY(50px) !important;
    pointer-events: none;
}

/* --- 1. General & Utility Styles --- */

.site-header {
    background: #fff;
    border-bottom: 1px solid #e5e7eb;
    padding: 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: all 0.5s ease;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
}

:root {
    --color-primary-text: #333;
    --color-secondary-text: #555;
    --color-accent: #000;
}

body {
    padding-top: 80px;
    /* Compensate for fixed header */
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
}

/* Header Content */

.header-content .site-header .container {
    max-width: 1280px;
    margin: 0 auto;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 80px;
    padding: 0 32px;
}

.header-content .logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.header-content .logo-icon {
    height: 32px;
    width: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    position: relative;
}

.header-content .logo-icon img {
    height: 32px;
    width: auto;
    position: relative;
    z-index: 2;
}

.header-content .logo-text {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-primary-text);
    letter-spacing: -0.025em;
}

.header-content .main-nav {
    display: flex !important;
    align-items: center;
    gap: 32px;
    z-index: 1001;
}

.header-content .main-nav ul {
    display: flex !important;
    align-items: center;
    gap: 32px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.header-content .main-nav li {
    display: flex;
    align-items: center;
    position: relative;
}

.header-content .main-nav li a {
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-primary-text);
    text-decoration: none;
    transition: color 0.3s;
    padding: 8px 0;
}

.header-content .main-nav li a:hover {
    color: var(--color-accent);
}

.header-content .main-nav li.menu-item-has-children>a::after {
    content: "▼";
    font-size: 0.7rem;
    margin-left: 8px;
    transition: transform 0.3s;
}

.header-content .main-nav li.menu-item-has-children:hover>a::after {
    transform: rotate(180deg);
}

.header-content .btn-header {
    border: 2px solid #111;
    background: #fff;
    color: #111;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    padding: 12px 24px;
    transition: all 0.3s;
    text-decoration: none;
    white-space: nowrap;
}

.header-content .btn-header:hover {
    background: #111;
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

/* Mobile Menu Toggle */
.header-content .mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
}

.header-content .mobile-menu-toggle svg {
    width: 24px;
    height: 24px;
    stroke: #111;
}

@media (max-width: 900px) {
    .header-content .main-nav ul, .main-nav {
        gap: 32px;
    }

    .header-content .btn-header {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .header-content .logo-text {
        font-size: 1.25rem;
    }
}

@media (max-width: 768px) {
    .header-content .site-header .container {
        padding: 0 20px;
    }

    .header-content .header-content {
        min-height: 64px;
    }

    .header-content body {
        padding-top: 64px;
    }

    .header-content .mobile-menu-toggle {
        display: block;
        z-index: 2;
    }

    .header-content .main-nav {
        display: none;
        position: fixed;
        top: 0;
        left: 0 !important;
        bottom: 0;
        width: 100vw;
        height: 100vh;
        background: #fff;
        border-top: none;
        flex-direction: column;
        padding: 100px 0 0 0;
        box-shadow: none;
        z-index: 2;
        justify-content: flex-start;
        align-items: center;
        min-height: 100vh;
        overflow-y: auto;
        transition: opacity 0.5s;
        opacity: 0;
        pointer-events: none;
    }

    .header-content .main-nav li {
        padding-left: 40px;
    }

    .header-content .main-nav.active {
        display: flex !important;
        opacity: 1;
        pointer-events: auto;
    }

    .header-content .main-nav ul {
        flex-direction: column;
        gap: 24px;
        width: 100%;
        align-items: center;
    }

    .header-content .main-nav li {
        width: 100%;
        text-align: center;
    }

    .header-content .btn-header {
        margin-top: 32px;
        text-align: center;
    }

    .header-content body.menu-open {
        overflow: hidden;
    }
}

@media (min-width: 769px) {
    #primary-menu {
        display: flex !important;
        padding: 0 !important;
        margin: 0 !important;
        align-items: center;
        gap: 32px;
        position: static;
        opacity: 1 !important;
        pointer-events: auto !important;
    }
}


/* Footer Styles */
.site-footer .site-footer-container {
    margin: 0 40px 0px 40px;
    background-color: #f2f2f2;
    padding: 40px 60px 20px 60px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    color: #333;
    border-radius: 12px 12px 0 0;
}

.site-footer .footer-main {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 20px;
    gap: 12px;
}

.site-footer .footer-column-left {
    flex: 1;
    min-width: 220px;
    margin-right: 32px;
}

.site-footer .footer-column-right {
    flex: 1.2;
    min-width: 220px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 0;
}

.site-footer .footer-column-right .footer-column {
    margin-bottom: 0;
    padding-bottom: 0;
}

.site-footer .footer-column {
    min-width: 180px;
}

.site-footer .footer-column h3 {
    font-size: 18px;
    margin-top: 0;
    margin-bottom: 20px;
    font-weight: bold;
    color: #000;
}

.site-footer .footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.site-footer .footer-column ul li {
    margin-bottom: 12px;
    line-height: 1.6;
    position: relative;
    cursor: pointer;
    padding-left: 0;
    transition: color 0.25s;
}

.site-footer .footer-column ul li a {
    position: relative;
    display: inline-block;
    color: #333;
    text-decoration: none !important;
    transition: color 0.25s;
}

.site-footer .footer-column ul li a::after {
    content: '';
    display: block;
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 100%;
    height: 2px;
    background: linear-gradient(99deg, var(--Black-6, #5F5F5F) 0%, var(--Black-6, #5F5F5F) 0.01%, var(--Black-4, #A3A3A3) 46%, var(--Black-1, #121212) 96.97%);
    border-radius: 2px;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
}

.site-footer .footer-column ul li:hover a::after,
.site-footer .footer-column ul li a:hover::after {
    transform: scaleX(1);
}

.site-footer .footer-column ul a {
    color: #333;
    text-decoration: none !important;
}

.site-footer .footer-logo {
    display: flex;
    align-items: center;
}

.site-footer .footer-logo img {
    max-width: 150px;
    height: auto;
}

.site-footer .footer-bottom {
    border-top: 1px solid #e0e0e0;
    padding-top: 30px;
    text-align: center;
    font-size: 14px;
    color: #555;
}

@media (max-width: 1280px) {
    .site-footer .footer-main {
        flex-direction: column;
    }

    .site-footer .footer-column-left,
    .site-footer .footer-column-right {
        margin-right: 0;
        min-width: 0;
    }

    .site-footer .footer-column-right {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 24px;
    }

    .site-footer .footer-column-right .footer-column {
        min-width: 250px;
        flex: 1 1 45%;
    }

    .site-footer .footer-logo {
        justify-content: flex-start;
        margin-top: 20px;
        margin-left: 0;
    }

    .site-footer .site-footer-container {
        margin: 0px;
    }
}

/* --- 1. Home Page Styles --- */
.mida-home-page body {
    font-family: var(--font-primary);
    margin: 0;
    padding: 0;
    color: var(--color-primary-text);
}

.mida-home-page {
    width: 100%;
}

.mida-home-page .container {
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
    box-sizing: border-box;
}

.mida-home-page .page-section {
    padding-top: 80px;
    padding-bottom: 80px;
    text-align: center;
}

/* Unified Title & Subtitle Styles */
.mida-home-page .section-title {
    font-size: 42px;
    font-weight: bold;
    color: var(--color-primary-text);
    line-height: 1.2;
    margin: 0 0 20px 0;
}

.mida-home-page .section-subtitle {
    font-size: 18px;
    color: var(--color-secondary-text);
    max-width: 700px;
    line-height: 1.6;
    margin: 0 auto 32px auto;
}

.mida-home-page .cta-button {
    display: inline-block;
    background-color: var(--color-accent);
    color: #fff;
    padding: 15px 15px;
    font-size: 14px;
    font-weight: bold;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.mida-home-page .cta-button:hover {
    background-color: #333;
}

/* --- 2. Hero Section --- */
.mida-home-page .hero-section {
    background-color: var(--color-background-light);
    text-align: center;
    padding: 100px 20px 100px 20px;
    position: relative;
    overflow: hidden;
}

/* Red glow spot for mouse tracking */
.mida-home-page .hero-mouse-glow {
    position: absolute;
    pointer-events: none;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 0, 64, 0.42) 0%, rgba(255, 0, 64, 0.11) 60%, rgba(255, 0, 64, 0) 100%);
    mix-blend-mode: lighten;
    z-index: 1;
    transition: opacity 0.2s;
    opacity: 0.7;
    left: 0;
    top: 0;
    transform: translate(-50%, -50%);
    will-change: transform;
}

.mida-home-page .hero-container {
    max-width: 800px;
    margin: 0 auto;
}

.mida-home-page .hero-title {
    margin: 32px 0;
    text-align: center;
    font-size: 72px;
    font-style: normal;
    font-weight: 650;
    line-height: 110%;
    background: linear-gradient(90deg, var(--Black-1, #121212) 0%, var(--Black-4, #A3A3A3) 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.mida-home-page .hero-subtitle {
    font-size: 18px;
    color: #555;
    max-width: 600px;
    margin: 0 auto 30px auto;
    line-height: 1.6;
}

.mida-home-page .hero-image-showcase {
    padding-top: 60px;
}

.mida-home-page .hero-image-container {
    max-width: 1200px;
    margin: 0 auto;
    border-radius: 20px;
    border: 2px solid #5F5F5F;
    background: url(<path-to-image>) lightgray 50% / cover no-repeat;
    box-shadow: 12px 12px 0px 0px #0F172A;
    overflow: hidden;
}

.mida-home-page .hero-image-container img {
    max-height: 450px;
    width: 100%;
    object-fit: cover;
    display: block;
}

/* --- 3. Journey Section --- */
.mida-home-page .journey-section {
    background-color: var(--color-background-dark);
}

/* Hover effect for images in journey-section */
.mida-home-page .journey-section .journey-image-showcase img {
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.mida-home-page .journey-section .journey-image-showcase img:hover {
    transform: scale(1.045) rotate(-1.5deg);
    z-index: 2;
}

.mida-home-page .journey-image-showcase {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding-bottom: 120px;
}

.mida-home-page .main-dashboard-img {
    display: block;
    width: 100%;
    height: auto;
}

.mida-home-page .overlay-img {
    position: absolute;
    border-radius: 8px;
}

.mida-home-page .overlay-survey {
    width: 20%;
    top: 56%;
    left: -10%;
}

.mida-home-page .overlay-poll {
    width: 26%;
    left: -10%;
    bottom: 10%;
}

.mida-home-page .overlay-mobile {
    width: 26%;
    bottom: 10%;
    right: -10%;
}

/* --- 4. Feature Section --- */
.mida-home-page .feature-section {
    background-color: var(--color-background-dark);
}

.mida-home-page .feature-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    text-align: left;
}

.mida-home-page .feature-container .section-title {
    text-align: left;
}

.mida-home-page .tabs-nav {
    display: flex;
    background: #ffffff;
    border-radius: 12px;
    padding: 6px;
    margin-bottom: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.mida-home-page .tab-link {
    flex: 1;
    padding: 12px 20px;
    text-align: center;
    font-size: 1rem;
    font-weight: 500;
    color: #6b7280;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.3s ease;
    user-select: none;
}

.mida-home-page .tab-link.active {
    background: #F0F0F0;
    color: black;
    box-shadow: 0 2px 8px rgba(105, 105, 105, 0.3);
}

.mida-home-page .tab-link:hover:not(.active) {
    background: #f3f4f6;
}

.mida-home-page .tab-content {
    position: relative;
    min-height: 120px;
}

.mida-home-page .tab-pane {
    display: none;
    opacity: 0;
}

.mida-home-page .tab-pane.active {
    display: block;
    opacity: 1;
    transition: opacity 0.3s ease-in-out;
}

.mida-home-page .tab-pane p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--color-secondary-text);
    margin-bottom: 30px;
}

.mida-home-page .feature-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: black;
    font-weight: 600;
    text-decoration: none;
    font-size: 1.1rem;
    transition: gap 0.2s ease;
}

.mida-home-page .feature-cta:hover {
    color: #5F5F5F;
    gap: 12px;
}

.mida-home-page .feature-image {
    width: 100%;
    height: auto;
    max-width: 600px;
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    transition: transform 0.25s cubic-bezier(0.3, 0, 0.2, 1);
    will-change: transform;
}

.mida-home-page .feature-image:hover {
    transform: scale(1.015);
}

/* --- 5. Survey Banner Section --- */
.mida-home-page .survey-banner-section-wrapper {
    background-color: var(--color-background-dark);
    padding: 80px 20px;
}

.mida-home-page .survey-banner-section {
    display: flex;
    padding: 80px;
    align-items: center;
    border-radius: 30px;
    background: linear-gradient(0deg, rgba(95, 95, 95, 0.75) 0%, rgba(95, 95, 95, 0.75) 100%), url('images/Seek_question.png') center/cover no-repeat;
    color: #fff;
    max-width: 1200px;
    margin: 0 auto;
    text-align: left;
}

.mida-home-page .survey-banner-content {
    max-width: 600px;
}

/* Color override for dark background */
.mida-home-page .survey-banner-content .section-title {
    color: #fff;
}

.mida-home-page .survey-banner-content .section-subtitle {
    color: #f0f0f0;
    margin-bottom: 24px;
    margin-left: 0;
    max-width: 100%;
}

.mida-home-page .survey-cta {
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    color: #fff;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: opacity 0.3s ease;
}

.mida-home-page .survey-cta:hover {
    opacity: 0.8;
}

/* --- 6. "One App" / Browser Mockup Section --- */
.mida-home-page .one-app-section {
    background-color: var(--color-background-light);
}

.mida-home-page .browser-mockup {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    margin-bottom: 40px;
}

.mida-home-page .browser-header {
    background: #f5f5f5;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #e0e0e0;
}

.mida-home-page .browser-controls {
    display: flex;
    gap: 8px;
}

.mida-home-page .control-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.mida-home-page .control-dot.red {
    background: #ff5f56;
}

.mida-home-page .control-dot.yellow {
    background: #ffbd2e;
}

.mida-home-page .control-dot.green {
    background: #27ca3f;
}

.mida-home-page .browser-url {
    flex: 1;
    text-align: center;
    padding: 0 20px;
}

.mida-home-page .url-bar {
    background: #ffffff;
    border: 1px solid #d0d0d0;
    border-radius: 6px;
    padding: 6px 16px;
    max-width: 300px;
    margin: 0 auto;
}

.mida-home-page .url-text {
    color: #666;
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mida-home-page .dashboard-image {
    width: 100%;
    display: block;
}

/* --- 7. Testimonials Section --- */
.mida-home-page .testimonials-section {
    background-color: var(--color-background-dark);
}

.mida-home-page .testimonial-cards {
    display: flex;
    flex-direction: row;
    gap: 24px;
    justify-content: flex-start;
    align-items: stretch;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: 16px;
}

.mida-home-page .testimonial-cards::-webkit-scrollbar {
    display: none;
}

.mida-home-page .testimonial-card {
    background: #ffffff;
    padding: 32px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    min-width: 260px;
    max-width: 260px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    scroll-snap-align: start;
    flex-shrink: 0;
}

.mida-home-page .stars {
    font-size: 1.25rem;
    color: #f59e0b;
    margin-bottom: 16px;
}

.mida-home-page .testimonial-text {
    font-size: 0.95rem;
    color: #374151;
    margin-bottom: 24px;
}

.mida-home-page .user-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.mida-home-page .user-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.mida-home-page .user-icon-logo img {
    width: 32px;
    height: 32px;
    object-fit: contain;
    border-radius: 6px;
    background: #fff;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
    display: block;
}

.mida-home-page .user-name {
    font-weight: 600;
    font-size: 0.95rem;
    line-height: 1.3;
}

.mida-home-page .user-name span {
    font-weight: 400;
    font-size: 0.85rem;
    color: #6b7280;
    display: block;
}

/* --- 8. Metrics Section --- */
.mida-home-page .metrics-section {
    background-color: var(--color-background-dark);
}

.mida-home-page .metrics-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    text-align: left;
}

/* NEW RULES: Handle left-alignment and subtitle spacing in this specific section */
.mida-home-page .metrics-container .section-title {
    text-align: left;
}

.mida-home-page .metrics-container .section-subtitle {
    text-align: left;
    margin-left: 0;
    max-width: none;
}

.mida-home-page .metrics-image {
    max-width: 100%;
    height: auto;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.mida-home-page .metrics-image:hover {
    transform: scale(1.1);
    z-index: 2;
}

.mida-home-page .events-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.mida-home-page .event-button {
    padding: 10px 20px;
    border: none;
    border-radius: 20px;
    background-color: #FFFFFF;
    transition: background-color 0.3s, box-shadow 0.35s cubic-bezier(0.4, 0, 0.2, 1), transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform, box-shadow;
}

.mida-home-page .event-button:hover {
    background-color: #e0e0e0;
    transform: scale(1.15) rotate(-1.5deg);
    z-index: 2;
}

.mida-home-page .event-button:hover {
    background-color: #e0e0e0;
}

.mida-home-page .event-button.active {
    background-color: #000;
    color: #fff;
}

.mida-home-page .event-button.active:hover {
    background-color: #333;
}

/* --- 9. Final CTA Banner Section --- */
.mida-home-page .final-cta-banner-wrapper {
    padding: 60px 20px;
}

.mida-home-page .final-cta-banner {
    background: linear-gradient(99deg, var(--Black-6, #5F5F5F) 0%, var(--Black-6, #5F5F5F) 0.01%, var(--Black-4, #A3A3A3) 46%, var(--Black-1, #121212) 96.97%);
    color: #fff;
    padding: 80px;
    border-radius: 16px;
    margin: 0 auto;
    text-align: center;
}

.mida-home-page .final-cta-banner .cta-button {
    display: inline-block;
    margin-left: auto;
    margin-right: auto;
}

.mida-home-page .final-cta-banner .section-title,
.mida-home-page .final-cta-banner .section-subtitle {
    color: #fff;
    max-width: 100%;
}

.mida-home-page .final-cta-banner .section-subtitle {
    margin-bottom: 30px;
}


/* --- 10. Responsive Styles --- */
@media (max-width: 1200px) {
    .mida-home-page .testimonial-cards {
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
    }

    .mida-home-page .testimonial-card {
        margin: 0 0 0 0;
        max-width: 100%;
    }

    .mida-home-page .journey-image-showcase .overlay-img {
        /* Use scale for overlays on mobile */
        transform: scale(1.05);
        transform-origin: bottom left;
        border-radius: 8px;
        transition: transform 0.3s;
    }

    .mida-home-page .overlay-survey {
        /* Optionally adjust position for scaled overlay */
        top: 53%;
        left: 3vw;
    }

    .mida-home-page .overlay-poll {
        left: 4vw;
        bottom: 10vw;
    }

    .mida-home-page .overlay-mobile {
        bottom: 10vw;
        right: 4vw;
    }
}

@media (max-width: 768px) {

    .mida-home-page .hero-section {
        padding: 60px 32px 32px 32px;
    }

    .mida-home-page .page-section,
    .mida-home-page .survey-banner-section-wrapper,
    .mida-home-page .final-cta-banner-wrapper {
        padding: 32px 32px 32px 32px;
    }

    .mida-home-page .section-title,
    .mida-home-page .hero-title {
        font-size: 32px;
    }

    .mida-home-page .section-subtitle,
    .mida-home-page .hero-subtitle {
        font-size: 16px;
    }

    .mida-home-page .feature-container {
        display: contents;

    }

    .mida-home-page .tab-link {
        padding: 12px 16px;
        font-size: 14px;
    }

    .mida-home-page .tab-content {
        padding: 20px 32px 20px 32px
    }

    .mida-home-page .feature-image-wrapper {
        min-height: 280px;
    }

    .mida-home-page .tab-pane p {
        font-size: 16px;
    }

    .mida-home-page .tabs-nav {
        margin-bottom: 8px;
    }

    .mida-home-page .feature-cta {
        font-size: 14px;
    }

    .mida-home-page .testimonials-section>.container>p {
        font-size: 16px;
        margin-bottom: 1rem;
    }

    .mida-home-page .journey-image-showcase {
        padding-bottom: 60px;
    }

    .mida-home-page .journey-image-showcase .overlay-img {
        /* Use scale for overlays on mobile */
        transform: scale(1.05);
        transform-origin: bottom left;
        border-radius: 8px;
        transition: transform 0.3s;
    }

    .mida-home-page .overlay-survey {
        /* Optionally adjust position for scaled overlay */
        top: 47%;
        left: 3vw;
    }

    .mida-home-page .overlay-poll {
        left: 3vw;
        bottom: 10vw;
    }

    .mida-home-page .overlay-mobile {
        bottom: 10vw;
        right: 3vw;
    }

    .mida-home-page .feature-container,
    .mida-home-page .metrics-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .mida-home-page .feature-container .section-title,
    .mida-home-page .metrics-container .section-title,
    .mida-home-page .metrics-container .section-subtitle {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
        max-width: 700px;
        /* Restore max-width for subtitles on mobile */
    }

    .mida-home-page .feature-container .feature-content {
        grid-row: 2;
    }

    .mida-home-page .tabs-nav {
        flex-direction: column;
        gap: 8px;
    }

    .mida-home-page .survey-banner-section {
        padding: 40px 32px;
        border-radius: 16px;
        text-align: center;
    }

    .mida-home-page .survey-banner-content .section-title,
    .mida-home-page .survey-banner-content .section-subtitle {
        text-align: center;
    }

    .mida-home-page .metrics-container .right-side {
        padding-left: 0;
    }

    .mida-home-page .events-container {
        justify-content: center;
    }

    .mida-home-page .browser-url {
        display: none;
    }

    .mida-home-page .final-cta-banner {
        padding: 40px 32px;
    }

    .mida-home-page .site-footer-container {
        margin: 0;
    }

    .mida-home-page .testimonial-cards {
        flex-direction: row;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 16px;
    }

    .mida-home-page .testimonial-cards::-webkit-scrollbar {
        display: none;
    }

    .mida-home-page .testimonial-card {
        min-width: 80vw;
        max-width: 80vw;
        margin: 0 5vw;
        scroll-snap-align: center;
    }
}

@media (max-width: 768px) {
    .mida-home-page .testimonial-cards {
        flex-direction: row;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        gap: 0;
    }

    .mida-home-page .testimonial-card {
        min-width: 80%;
        max-width: 80%;
        scroll-snap-align: start;
    }
}

/* --- 11. Responsive Styles for Pricing Page --- */
.pricing-page body {
    color: var(--color-primary-text);
    font-family: var(--font-primary);
    margin: 0;
    padding-top: 80px;
    line-height: 1.6;
}

.pricing-page .pricing-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.pricing-page .section {
    padding: var(--padding-section);
}

.pricing-page .section-title {
    font-size: 42px;
    font-weight: bold;
    color: var(--color-primary-text);
    line-height: 1.2;
    margin: 0 0 20px 0;
    text-align: center;
}

.pricing-page .section-subtitle {
    font-size: 18px;
    color: var(--color-secondary-text);
    max-width: 700px;
    line-height: 1.6;
    margin: 0 auto 32px auto;
    text-align: center;
}

.pricing-page img {
    width: 100%;
    max-width: 650px;
    height: auto;
    object-fit: cover;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.pricing-page img:hover {
    transform: scale(1.025);
    z-index: 2;
}

.pricing-page .hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 20px 0;
}

.pricing-page .hero-button-primary,
.pricing-page .cta-button {
    display: inline-block;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: bold;
    text-decoration: none;
    border-radius: 5px;
    background-color: var(--color-accent);
    color: var(--color-white);
    transition: background-color 0.3s, transform 0.2s;
}

.pricing-page .hero-button-primary:hover,
.pricing-page .cta-button:hover {
    background-color: #333;
    transform: translateY(-2px);
}

.pricing-page .final-cta-banner-wrapper {
    padding: 60px 20px;
}

.pricing-page .final-cta-banner {
    background: linear-gradient(99deg, var(--Black-6, #5F5F5F) 0%, var(--Black-6, #5F5F5F) 0.01%, var(--Black-4, #A3A3A3) 46%, var(--Black-1, #121212) 96.97%);
    color: #fff;
    padding: 80px;
    border-radius: 16px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.pricing-page .final-cta-banner .section-title,
.pricing-page .final-cta-banner .section-subtitle {
    text-align: center;
    color: var(--color-white);
}

/* --- 5. Survey Banner Section --- */
.pricing-page .survey-banner-section-wrapper {
    padding: 0 20px;
}

.pricing-page .survey-banner-section {
    display: flex;
    justify-content: flex-end;
    padding: 80px;
    align-items: center;
    border-radius: 30px;
    background: linear-gradient(0deg, rgba(95, 95, 95, 0.75) 0%, rgba(95, 95, 95, 0.75) 100%), url('images/pricing_survey.png') center/cover no-repeat;
    color: #fff;
    max-width: 1200px;
    margin: 0 auto;
    text-align: left;
}

.pricing-page .survey-banner-content {
    max-width: 600px;
    margin-left: auto;
}

/* Color override for dark background */
.pricing-page .survey-banner-content .section-title {
    color: #fff;
    text-align: left;
}

.pricing-page .survey-banner-content .section-subtitle {
    color: #f0f0f0;
    margin-bottom: 24px;
    margin-left: 0;
    max-width: 100%;
    text-align: left;
}

.pricing-page .survey-cta {
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    color: #fff;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: opacity 0.3s ease;
}

.pricing-page .survey-cta:hover {
    opacity: 0.8;
}

/* table comparison table */
/* General Table Styling */
.pricing-page .comparison-table-wrapper {
    margin: 0px;
    border: 1px solid #e0e0e0;
}

.pricing-page .pricing-comparison-section {
    padding: 60px 20px;
}

.pricing-page .pricing-comparison-table {
    width: 100%;
    border-collapse: collapse;
    color: var(--color-primary-text);
    border: 1px solid #e0e0e0;
    overflow: hidden;
    /* Ensures the border-radius is applied to the corners */
}

/* Table Header */
.pricing-page .pricing-comparison-table thead th {
    background-color: var(--color-background-dark);
    padding: 20px;
    text-align: center;
    border: 1px solid #e0e0e0;
}

.pricing-page .pricing-comparison-table .plan-header h4 {
    margin: 0 0 10px 0;
    font-size: 1.25em;
    font-weight: 550;
}

.pricing-page .pricing-comparison-table .plan-price-small .price {
    font-size: 1.5em;
    font-weight: 650;
    color: #000;
}

.pricing-page .pricing-comparison-table .plan-price-small .period {
    font-size: 0.9em;
    color: #666;
}

/* Table Body */
.pricing-page .pricing-comparison-table tbody td {
    padding: 15px 20px;
    text-align: center;
    border: 1px solid #e0e0e0;
}

.pricing-page .pricing-comparison-table tbody tr:last-child td {
    border-bottom: none;
}

.pricing-page .pricing-comparison-table .feature-name {
    text-align: left;
    font-weight: 450;
}


/* Checkmarks and Dashes */

.pricing-page .pricing-comparison-table td {
    font-size: 1rem;
}

.pricing-page .pricing-comparison-table .feature-column {
    width: 25%;
    text-align: left;
}

/* Plan columns styling */
.pricing-page .pricing-comparison-table .plan-column {
    width: 18.75%;
    vertical-align: top;
}

.pricing-page .contact-message {
    display: none;
    background: #000;
    color: #fff;
    padding: 6px 14px;
    border-radius: 32px;
    font-size: 14px;
    font-weight: 450;
    display: inline-block;
    margin-bottom: 12px;
}

.pricing-page .enterprise-section {
    padding: 60px 20px;
    font-family: sans-serif;
    max-width: 1200px;
    margin: auto;
}

.pricing-page .enterprise-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: space-between;
    align-items: flex-start;
}

.pricing-page .enterprise-info {
    flex: 1;
    min-width: 300px;
}

.pricing-page .enterprise-info h2 {
    font-size: 36px;
    font-weight: 650;
    margin-bottom: 16px;
}

.pricing-page .enterprise-info p {
    font-size: 16px;
    color: #555;
    margin-bottom: 24px;
    line-height: 1.6;
}

.pricing-page .enterprise-info .cta {
    background: #000;
    color: #fff;
    padding: 12px 20px;
    border: none;
    font-weight: 600;
    font-size: 14px;
    border-radius: 8px;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.pricing-page .enterprise-card {
    flex: 1;
    min-width: 300px;
    background: #fff;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.pricing-page .enterprise-card .plan-name {
    font-size: 14px;
    color: #555;
    margin-bottom: 4px;
}

.pricing-page .enterprise-card h2 {
    font-size: 28px;
    font-weight: 650;
    margin: 0;
}

.pricing-page .enterprise-card h2 span {
    font-size: 14px;
    color: #888;
}

.pricing-page .enterprise-card .plan-tagline {
    color: #666;
    margin: 12px 0;
    font-size: 14px;
}

.pricing-page .enterprise-card .session-output {
    font-size: 16px;
    margin-bottom: 10px;
}

.pricing-page .slider {
    width: 100%;
    height: 8px;
    border-radius: 4px;
    background: #ccc;
    appearance: none;
    outline: none;
    cursor: pointer;
}

.pricing-page .slider::-webkit-slider-thumb {
    appearance: none;
    width: 24px;
    height: 24px;
    background: #000;
    border-radius: 50%;
    cursor: pointer;
    border: none;
    margin-top: 0px;
}

.pricing-page .slider::-moz-range-thumb {
    width: 24px;
    height: 24px;
    background: #000;
    border-radius: 50%;
    cursor: pointer;
    border: none;
}

.pricing-page .pricing-section {
    font-family: sans-serif;
    max-width: 1200px;
    margin: auto;
}

.pricing-page .pricing-header {
    text-align: center;
    margin-bottom: 40px;
}

.pricing-page .pricing-header h2 {
    font-size: 32px;
    font-weight: 650;
    color: #111;
}

.pricing-page .pricing-header p {
    color: #666;
    font-size: 16px;
    margin: 10px 0 20px;
}

.pricing-page .toggle-wrapper {
    display: inline-flex;
    background: #eee;
    border-radius: 4px;
    overflow: hidden;
}

.pricing-page .toggle {
    padding: 8px 16px;
    border: none;
    background: transparent;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.3s;
}

.pricing-page .toggle.active {
    background: #000;
    color: #fff;
}

.pricing-page .pricing-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 12px;
}

.pricing-page .pricing-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: box-shadow 0.25s cubic-bezier(0.4, 0, 0.2, 1), transform 0.22s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.22s;
}

.pricing-page .pricing-card:hover {
    border-color: #bbb;
    transform: translateY(-3px) scale(1.015);
    z-index: 2;
}

.pricing-page .pricing-card-content {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    height: calc(100% - 50px);
    flex-grow: 1;
}

.pricing-page .pricing-card h4 {
    font-size: 18px;
    margin-bottom: 4px;
    color: #444;
}

.pricing-page .pricing-card h2 {
    font-size: 28px;
    margin: 0;
    color: #111;
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
    min-height: 40px;
}

.pricing-page .pricing-card .style-2 {
    display: inline-block;
    position: relative;
    transition: opacity 0.32s cubic-bezier(0.4, 0, 0.2, 1), transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: opacity, transform;
}

.pricing-page .pricing-card .style-2.fade-out {
    opacity: 0;
    transform: translateY(16px) scale(0.98);
    pointer-events: none;
}

.pricing-page .pricing-card .style-2.fade-in {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.pricing-page .pricing-card h2 .per-month {
    font-size: 14px;
    color: #999;
    margin-left: 4px;
    font-weight: 400;
}

.pricing-page .pricing-card .style-2 del {
    color: #bbb;
    text-decoration: none;
    position: relative;
    font-size: 22px;
    font-weight: 400;
    margin-right: 6px;
    opacity: 0.7;
    display: inline-block;
}

.pricing-page .pricing-card .style-2 del:before {
    content: " ";
    display: block;
    width: 100%;
    border-top: 2px solid #bbb;
    border-bottom: 2px solid #bbb;
    height: 4px;
    position: absolute;
    bottom: 12px;
    left: 0;
    transform: rotate(-11deg);
}

.pricing-page .pricing-card .style-2 ins {
    font-size: 28px;
    font-weight: 700;
    text-decoration: none;
    color: #111;
    padding-left: 2px;
    background: none;
    border: none;
    margin: 0;
    display: inline-block;
}

.pricing-page .pricing-card .style-2 ins .amount {
    color: #111;
}

.pricing-page .pricing-card .tagline {
    font-size: 14px;
    color: #666;
    margin: 8px 0 16px;
}

.pricing-page .pricing-card ul {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
    color: #333;
    font-size: 14px;
    line-height: 1.6;
}

.pricing-page .pricing-card ul li {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
}

.pricing-page .pricing-card ul li::before {
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyMCIgaGVpZ2h0PSIyMCIgdmlld0JveD0iMCAwIDIwIDIwIiBmaWxsPSJub25lIj48cmVjdCB4PSI0IiB5PSI0IiB3aWR0aD0iMTIiIGhlaWdodD0iMTIiIHJ4PSIyIiBmaWxsPSIjNUY1RjVGIi8+PHBhdGggZD0iTTcgOS4zMDc2OUw5LjEgMTJMMTMgNyIgc3Ryb2tlPSJ3aGl0ZSIgc3Ryb2tlLXdpZHRoPSIxLjgiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIvPjwvc3ZnPg==');
    background-size: contain;
    margin-right: 4px;
    vertical-align: middle;
}

.pricing-page .pricing-comparison-table .check-icon svg,
.pricing-page .pricing-comparison-table .check-icon {
    width: 20px !important;
    height: 20px !important;
}

.pricing-page .cta {
    background: #000;
    color: #fff;
    padding: 10px 16px;
    font-weight: 600;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.2s;
    display: block;
    margin: 0 auto;
    width: fit-content;
    align-self: end;
}

.pricing-page .cta:hover {
    background: #333;
}

@media (max-width: 768px) {
    .pricing-page .enterprise-wrapper {
        flex-direction: column;
    }

    .pricing-page .comparison-table-wrapper {
        overflow-x: auto;
        position: relative;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .pricing-page .comparison-table-wrapper::-webkit-scrollbar {
        display: none;
    }

    .pricing-page .pricing-comparison-table {
        min-width: 850px;
        border-collapse: separate;
        border-spacing: 0;
    }

    .pricing-page .pricing-comparison-table .feature-column {
        position: sticky;
        left: 0;
        background: #fff;
        z-index: 2;
        width: 180px;
        min-width: 160px;
        max-width: 200px;
        text-align: left;
    }

    .pricing-page .pricing-comparison-table tbody td.feature-name {
        background: #fff;
        font-weight: 500;
    }

    .pricing-page .survey-banner-section {
        padding: 40px 32px;
        text-align: center;
        border-radius: 16px;
    }

    .pricing-page .survey-banner-content .section-title,
    .pricing-page .survey-banner-content .section-subtitle {
        text-align: center;
    }

    .pricing-page .final-cta-banner {
        padding: 40px 32px;
    }

    .pricing-page .final-cta-banner-wrapper,
    .pricing-page .survey-banner-section-wrapper {
        padding: 32px 32px 32px 32px;
    }

    .pricing-page .section-title,
    .pricing-page .hero-title {
        font-size: 32px;
    }

    .pricing-page .section-subtitle,
    .pricing-page .hero-subtitle {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .pricing-page .final-cta-banner {
        padding: 24px 8px;
        border-radius: 10px;
    }

    .pricing-page .final-cta-banner .section-title {
        font-size: 24px;
    }

    .pricing-page .final-cta-banner .section-subtitle {
        font-size: 15px;
    }

    .pricing-page .pricing-comparison-table thead th,
    .pricing-page .pricing-comparison-table tbody td {
        padding: 8px 4px;
        font-size: 12px;
    }

    .pricing-page .pricing-comparison-table .plan-header h4 {
        font-size: 0.95em;
    }

    .pricing-page .pricing-comparison-table .plan-price-small .price {
        font-size: 1em;
    }

    .pricing-page .pricing-comparison-table .plan-price-small .period {
        font-size: 0.7em;
    }

    .pricing-page .pricing-comparison-table .feature-name {
        font-size: 12px;
    }

    .pricing-page .pricing-comparison-table {
        min-width: 650px;
    }
}

@media (max-width: 1024px) {
    .pricing-page .final-cta-banner {
        margin: 20px;
    }
}

@media (max-width: 480px) {
    .pricing-page .final-cta-banner {
        padding: 32px 8px;
        border-radius: 10px;
        margin: 20px;
    }

    .pricing-page .final-cta-banner .section-title {
        font-size: 24px;
    }

    .pricing-page .final-cta-banner .section-subtitle {
        font-size: 15px;
    }
}

/* --- 6. Customer Success Page Styles --- */
.customer-success body {
    background-color: var(--color-background-light);
    color: var(--color-primary-text);
    font-family: var(--font-primary);
    margin: 0;
    padding-top: 80px;
    line-height: 1.6;
}

.customer-success .container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.customer-success .section {
    padding: var(--padding-section);
}

.customer-success .section--dark {
    background-color: var(--color-background-dark);
}

.customer-success .section--black {
    background-color: var(--color-black-1);
    color: var(--color-white);
    padding: var(--padding-section);
}

.customer-success .section--black p {
    color: var(--color-white);
}


/* Unified Title & Subtitle Styles (from front-page) */
.customer-success .section-title {
    font-size: 42px;
    font-weight: bold;
    color: var(--color-primary-text);
    line-height: 1.2;
    margin: 0 0 20px 0;
    text-align: center;
}

.customer-success .section-subtitle {
    font-size: 18px;
    color: var(--color-secondary-text);
    max-width: 700px;
    line-height: 1.6;
    margin: 0 auto 32px auto;
    text-align: center;
}

/* For dark/black sections, override color */
.customer-success .section--black .section-title,
.customer-success .section--black .section-subtitle {
    color: #fff;
}

/* Hero Section */
.customer-success .hero-section {
    padding: 0 20px 80px;
    /* min-height: 700px; */
}

.customer-success .hero-container {
    display: grid;

    grid-template-columns: 1fr 2fr;
    gap: 40px;
    align-items: center;
}

.customer-success .hero-container .section-title,
.customer-success .hero-container .section-subtitle {
    text-align: left;
    margin: 0;
}

.customer-success .hero-media-right {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.customer-success .hero-media-right img,
.customer-success img {
    width: 100%;
    max-width: 650px;
    height: auto;
    object-fit: cover;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.customer-success img:hover {
    transform: scale(1.025);
    z-index: 2;
}

.customer-success .hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 20px 0;
}

.customer-success .hero-button-primary,
.customer-success .cta-button {
    display: inline-block;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: bold;
    text-decoration: none;
    border-radius: 5px;
    background-color: var(--color-accent);
    color: var(--color-white);
    transition: background-color 0.3s, transform 0.2s;
}

.customer-success .hero-button-primary:hover,
.customer-success .cta-button:hover {
    background-color: #333;
    transform: translateY(-2px);
}

.customer-success .hero-button-secondary {
    display: flex;
    align-items: center;
    gap: 8px;
    background: none;
    border: none;
    color: var(--color-accent);
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    text-decoration: underline;
    transition: color 0.2s;
}

.customer-success .hero-button-secondary:hover {
    color: #333;
}

.customer-success .hero-trusted-by {
    margin-top: 40px;
}

.customer-success .hero-trusted-by-text {
    font-size: 14px;
    color: var(--color-secondary-text);
    margin-bottom: 10px;
}

.customer-success .hero-logos {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.customer-success .hero-logos img {
    max-width: 40px;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.customer-success .hero-logos img:hover {
    opacity: 1;
}

/* Stats Section */
.customer-success .stats-grid {
    display: flex;
    justify-content: space-around;
    gap: 20px;
    text-align: center;
}

.customer-success .stat-item {
    flex: 1;
    padding: 10px;
}

.customer-success .stat-icon {
    font-size: 40px;
    margin-bottom: 20px;
}

.customer-success .stat-number {
    font-size: 60px;
    font-weight: bold;
    line-height: 1.1;
    margin: 0 0 10px;
    color: var(--color-white);
}

.customer-success .stat-label {
    font-size: 16px;
    color: #e0e0e0;
}

/* Customer Stories Carousel */
.customer-success .customer-stories-carousel {
    position: relative;
    margin: 40px 0;
}

.customer-success .carousel-track {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 20px;
    scroll-behavior: smooth;
    scrollbar-width: none;
}

.customer-success .carousel-track::-webkit-scrollbar {
    display: none;
}

.customer-success .customer-story-card {
    background: var(--color-white);
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    min-width: 280px;
    max-width: 300px;
    margin: 0 8px;
    flex: 0 0 auto;
    text-decoration: none;
    transition: box-shadow 0.2s, transform 0.2s;
    border: 1px solid #e0e0e0;
    overflow: hidden;
}

.customer-success .customer-story-card:hover {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
    transform: translateY(-4px);
}

.customer-success .story-image {
    position: relative;
    width: 100%;
    height: 200px;
}

.customer-success .story-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.customer-success .badge-customer-type {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--color-white);
    color: #222;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 6px;
    border: 1px solid #e0e0e0;
}

.customer-success .story-card-content {
    padding: 12px 16px;
}

.customer-success .story-title {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 10px;
    color: #222;
}

.customer-success .story-meta {
    display: flex;
    align-items: center;
    gap: 12px;
}

.customer-success .customer-logo img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid #eee;
}

.customer-success .customer-name {
    font-size: 14px;
    color: var(--color-secondary-text);
}

.customer-success .carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--color-white);
    border: 1px solid #e0e0e0;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 18px;
    color: var(--color-black-6);
    transition: background-color 0.2s;
}

.customer-success .carousel-arrow:hover {
    background-color: #f5f5f5;
}

.customer-success .carousel-arrow.left {
    left: -20px;
}

.customer-success .carousel-arrow.right {
    right: -20px;
}

/* Customer Story Tabs */
.customer-success .stories-content-wrapper {
    display: flex;
    gap: 40px;
    margin: 60px;
    align-items: flex-start;
    min-height: 300px;
}

.customer-success .story-image-column {
    flex: 1;
}

.customer-success .story-image-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.customer-success .story-image-container img {
    width: 100%;
    max-width: 550px;
    height: auto;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
}

.customer-success .story-tabs-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.customer-success .story-tab {
    padding: 16px 20px;
    border-left: 3px solid var(--color-black-4);
    cursor: pointer;
    transition: border-color 0.2s;
}

.customer-success .story-tab.active {
    border-left-color: var(--color-black-6);
}

.customer-success .story-tab h3 {
    font-size: 20px;
    font-weight: 600;
    margin: 0 0 8px;
    color: #222;
}

.customer-success .story-tab p {
    font-size: 16px;
    color: var(--color-secondary-text);
    margin: 0;
    line-height: 1.5;
    display: none;
}

.customer-success .story-tab.active p {
    display: block;
}

/* Video Story Section */
.customer-success .customer-story-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.customer-success .story-video-embed iframe {
    width: 100%;
    height: 400px;
    border: none;
    border-radius: 12px;
}

.customer-success .story-quote {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.customer-success .story-quote blockquote {
    font-size: var(--font-size-subtitle);
    font-style: italic;
    margin: 0;
    line-height: 1.5;
}

.customer-success .story-quote-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.customer-success .story-quote-author img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
}

.customer-success .author-info .author-name {
    font-weight: bold;
    font-size: 16px;
}

.customer-success .author-info .author-title {
    font-size: 14px;
    color: var(--color-secondary-text);
}

/* Final CTA */
.customer-success .final-cta-banner-wrapper {
    padding: 60px 20px;
}

.customer-success .final-cta-banner {
    background: linear-gradient(99deg, var(--Black-6, #5F5F5F) 0%, var(--Black-6, #5F5F5F) 0.01%, var(--Black-4, #A3A3A3) 46%, var(--Black-1, #121212) 96.97%);
    color: #fff;
    padding: 80px;
    border-radius: 16px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.customer-success .final-cta-banner .section-title,
.customer-success .final-cta-banner .section-subtitle {
    text-align: center;
    color: var(--color-white);
}

/* FAQ Section */
.customer-success .faq-section {
    padding: var(--padding-section);
}

.customer-success .faq-item {
    margin-bottom: 16px;
    border-bottom: 1px solid #e0e0e0;
}

.customer-success .faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 16px 0;
    background: none;
    border: none;
    font-size: 18px;
    font-weight: 600;
    color: var(--color-primary-text);
    cursor: pointer;
    text-align: left;
}

.customer-success .faq-question .icon {
    font-size: 20px;
    transition: transform 0.2s;
}

.customer-success .faq-item.active .icon {
    transform: rotate(45deg);
}

.customer-success .faq-answer {
    display: none;
    padding: 0 0 16px;
    font-size: 16px;
    color: var(--color-secondary-text);
}

.customer-success .faq-item.active .faq-answer {
    display: block;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .customer-success .final-cta-banner {
        margin: 20px;
    }

    .customer-success .hero-container,
    .customer-success .customer-story-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .customer-success .hero-container .section-title,
    .customer-success .hero-container .section-subtitle,
    .customer-success .customer-story-container .section-title {
        text-align: center;
    }

    .customer-success .hero-actions,
    .customer-success .story-quote-author {
        justify-content: center;
    }

    .customer-success .stories-content-wrapper {
        flex-direction: column;
        align-items: center;
    }

    .customer-success .carousel-arrow.left {
        left: 0;
    }

    .customer-success .carousel-arrow.right {
        right: 0;
    }

    .customer-success .story-video-embed iframe {
        height: 300px;
    }
}

@media (max-width: 768px) {
    .customer-success :root {
        --padding-section: 40px 16px;
    }

    .customer-success body {
        padding-top: 60px;
    }

    .customer-success .section-title {
        font-size: 32px;
    }

    .customer-success .section-subtitle {
        font-size: 16px;
    }

    .customer-success .stats-grid {
        flex-direction: row;
        gap: 12px;
    }

    .customer-success .stat-item {
        padding: 6px;
    }

    .customer-success .stat-icon {
        font-size: 28px;
        margin-bottom: 10px;
    }

    .customer-success .stat-number {
        font-size: 32px;
    }

    .customer-success .stat-label {
        font-size: 13px;
    }

    .customer-success .carousel-arrow {
        width: 36px;
        height: 36px;
        font-size: 16px;
        display: none;
    }

    .customer-success .customer-story-card {
        min-width: 260px;
    }

    .customer-success .final-cta-banner {
        padding: 32px 8px;
        border-radius: 10px;
        margin: 20px;
    }
}

@media (max-width: 480px) {
    .customer-success .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .customer-success .story-video-embed iframe {
        height: 200px;
    }

    .customer-success .section--black {
        padding: 24px 4px;
    }

    .customer-success .final-cta-banner {
        padding: 32px 8px;
        border-radius: 10px;
        margin: 20px;
    }

    .customer-success .final-cta-banner .section-title {
        font-size: 24px;
    }

    .customer-success .final-cta-banner .section-subtitle {
        font-size: 15px;
    }
}

.customer-success .customer-story-container.three-col {
    display: grid;
    grid-template-columns: 1fr 1.1fr 1fr;
    gap: 40px;
    align-items: center;
}


.customer-success .story-highlight-quote h2 {
    text-align: left;
}

/* Responsive 9:16 video wrapper */
.customer-success .video-ratio-9-16 {
    position: relative;
    width: 100%;
    padding-top: 177.77%;
    /* 9:16 aspect ratio for vertical video */
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.customer-success .video-ratio-9-16 iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 12px;
}

@media (max-width: 1024px) {
    .customer-success .customer-story-container.three-col {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: center;
    }

    .customer-success .hero-logos {
        justify-content: center;
    }

    .customer-success .story-highlight-quote,
    .customer-success .story-quote {
        text-align: center;
    }
}

/* ==============================================
   SINGLE ARTICLE STYLES
   ============================================== */
/* Related Posts Grid */
.single-article .related-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    margin: 60px;
    padding: 0;
}

.single-article .related-post-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    transition: box-shadow 0.3s, transform 0.3s;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.single-article .related-post-card:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    transform: translateY(-4px);
}

.single-article .related-post-thumbnail {
    height: 320px;
    overflow: hidden;
}

.single-article .related-post-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.single-article .related-post-card:hover .related-post-thumbnail img {
    transform: scale(1.05);
}

.single-article .related-post-content {
    padding: 20px;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.single-article .related-post-title {
    margin: 0 0 12px;
    font-size: 18px;
    line-height: 1.3;
}

.single-article .related-post-title a {
    color: var(--color-primary-text);
    text-decoration: none;
}

.single-article .related-post-title a:hover {
    color: var(--color-accent);
}

.single-article .related-post-date {
    font-size: 14px;
    color: var(--color-secondary-text);
}

/* Fix the sticky Table of Contents */
.single-article .content-wrapper {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: start;
}

.single-article .content-sidebar {
    position: relative;
    width: 320px;
    height: 100%;
}

.single-article .sidebar-sticky {
    position: sticky;
    top: 100px;
    z-index: 10;
    height: fit-content;
}

.single-article .table-of-contents {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

/* Fix responsive behavior - only disable sticky on mobile */
@media (max-width: 768px) {
    .single-article .content-wrapper {
        display: flex;
        flex-direction: column;
        gap: 0;
    }

    .single-article .content-sidebar {
        width: 100%;
        max-width: 100%;
        margin-bottom: 32px;
        order: -1;
        min-height: auto;
    }

    .single-article .sidebar-sticky {
        position: static;
        top: auto;
    }

    .single-article .table-of-contents {
        margin-bottom: 20px;
        padding: 18px;
        box-shadow: none;
    }
}

/* Keep sticky behavior on tablet */
@media (max-width: 1024px) and (min-width: 769px) {
    .single-article .content-wrapper {
        grid-template-columns: 1fr 260px;
        gap: 32px;
    }

    .single-article .content-sidebar {
        width: 260px;
    }

    .single-article .sidebar-sticky {
        position: sticky;
        top: 100px;
        z-index: 10;
    }
}

@media (max-width: 768px) {
    .single-article .related-posts-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

.single-article .content-wrapper {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: start;
}

.single-article .main-content {
    max-width: 100%;
    font-size: 20px;
    line-height: 1.9;
}

.single-article .content-sidebar {
    position: relative;
    min-width: 0;
    width: 320px;
    margin: 0;
    z-index: 2;
}

.single-article .section-title {
    font-size: 24px;
    text-align: center !important;
}

.single-article .sidebar-sticky {
    position: sticky;
    top: 100px;
}

.single-article .table-of-contents,
.single-article .reading-progress-widget {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.single-article .reading-time-meta {
    font-size: 16px;
    color: var(--color-secondary-text);
    margin-left: 8px;
    font-style: italic;
}

.single-article .reading-progress-widget,
.single-article .reading-progress-widget h3,
.single-article .progress-bar,
.single-article .progress-fill,
.single-article .reading-time {
    display: none !important;
}

@media (max-width: 1024px) {
    .single-article .content-wrapper {
        grid-template-columns: 1fr 260px;
        gap: 32px;
    }

    .single-article .content-sidebar {
        width: 100%;
        max-width: 260px;
    }
}

@media (max-width: 768px) {
    .single-article .content-wrapper {
        display: flex;
        flex-direction: column;
        gap: 0;
    }

    .single-article .content-sidebar {
        width: 100%;
        max-width: 100%;
        margin-bottom: 32px;
        order: -1;
    }

    .single-article .sidebar-sticky {
        position: static;
        top: auto;
    }

    .single-article .table-of-contents,
    .single-article .reading-progress-widget {
        margin-bottom: 20px;
        padding: 18px;
        box-shadow: none;
    }
}


/* ==============================================
   BLOG TEMPLATE STYLES
   ============================================== */

/* Blog Hero Section */
.blog-hero-section,
.archive-hero-section {
    background-color: var(--color-background-light);
    padding: 120px 20px 60px;
    text-align: center;
}

.archive-header {
    max-width: 800px;
    margin: 0 auto;
}

.archive-type {
    display: inline-block;
    background: var(--color-accent);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
}

/* Blog Posts Grid */
.blog-posts-grid,
.archive-posts-grid,
.related-posts-grid {
    padding: 60px 20px;
}

.blog-posts-grid,
.archive-posts-grid,
.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.blog-posts-grid .featured-post {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    padding: 40px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid #f0f0f0;
}

.blog-post-card,
.archive-post-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    border: 1px solid #f0f0f0;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.blog-post-card:hover,
.archive-post-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.post-thumbnail {
    position: relative;
    overflow: hidden;
}

.featured-post .post-thumbnail {
    border-radius: 12px;
}

.regular-post .post-thumbnail,
.archive-post-card .post-thumbnail {
    height: 220px;
}

.post-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.post-thumbnail:hover img {
    transform: scale(1.05);
}

.post-category {
    position: absolute;
    top: 16px;
    left: 16px;
}

.category-badge {
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    backdrop-filter: blur(10px);
}

.post-content {
    padding: 24px;
}

.featured-post .post-content {
    padding: 0;
}

.post-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
    font-size: 14px;
    color: var(--color-secondary-text);
}

.post-date {
    font-weight: 500;
}

.reading-time {
    padding-left: 16px;
    position: relative;
}

.reading-time:before {
    content: "•";
    position: absolute;
    left: 8px;
    color: #ccc;
}

.post-title {
    margin: 0 0 16px;
    line-height: 1.3;
}

.featured-post .post-title {
    font-size: 32px;
    margin-bottom: 20px;
}

.regular-post .post-title,
.archive-post-card .post-title {
    font-size: 20px;
}

.post-title a {
    color: var(--color-primary-text);
    text-decoration: none;
    transition: color 0.3s ease;
}

.post-title a:hover {
    color: var(--color-accent);
}

.post-excerpt {
    color: var(--color-secondary-text);
    line-height: 1.6;
    margin-bottom: 20px;
}

.post-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.author-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.author-info img {
    border-radius: 50%;
    width: 32px;
    height: 32px;
}

.author-name {
    font-size: 14px;
    font-weight: 500;
    color: var(--color-secondary-text);
}

.read-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--color-accent);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: gap 0.3s ease;
}

.read-more-btn:hover {
    gap: 10px;
}

.read-more-btn .arrow {
    transition: transform 0.3s ease;
}

.read-more-btn:hover .arrow {
    transform: translateX(2px);
}

/* Pagination */
.blog-pagination,
.archive-pagination {
    text-align: center;
    margin-top: 60px;
}

.pagination {
    display: inline-flex;
    gap: 8px;
    align-items: center;
}

.page-numbers {
    padding: 10px 16px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    color: var(--color-primary-text);
    text-decoration: none;
    transition: all 0.3s ease;
}

.page-numbers:hover,
.page-numbers.current {
    background: var(--color-accent);
    color: white;
    border-color: var(--color-accent);
}

/* Newsletter CTA */
.newsletter-cta-section {
    padding: 80px 20px;
}

.newsletter-cta {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.newsletter-form {
    display: flex;
    gap: 12px;
    max-width: 400px;
    margin: 30px auto 0;
}

.newsletter-form input[type="email"] {
    flex: 1;
    padding: 14px 16px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    font-size: 16px;
}

.newsletter-form .cta-button {
    padding: 14px 24px;
    white-space: nowrap;
}

/* No Posts Found */
.no-posts-found {
    text-align: center;
    padding: 80px 20px;
}

.no-posts-found h2 {
    margin-bottom: 16px;
    color: var(--color-primary-text);
}

.no-posts-found p {
    color: var(--color-secondary-text);
    margin-bottom: 30px;
}

/* ==============================================
   SINGLE POST STYLES
   ============================================== */

/* Article Header */
.single-article .article-header {
    padding: 120px 20px 60px;
}

.single-article .breadcrumb {
    margin-bottom: 20px;
    font-size: 14px;
}

.single-article .breadcrumb a {
    color: var(--color-secondary-text);
    text-decoration: none;
}

.single-article .breadcrumb a:hover {
    color: var(--color-accent);
}

.single-article .breadcrumb .separator {
    margin: 0 8px;
    color: #ccc;
}

.single-article .breadcrumb .current {
    color: var(--color-primary-text);
    font-weight: 500;
}

.single-article .article-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.single-article .article-title {
    max-width: 1200px;
    font-size: 48px;
    font-weight: bold;
    line-height: 1.2;
    margin: 0 auto;
    color: var(--color-primary-text);
    text-align: center;
}

/* Featured Image */
.single-article .article-featured-image {
    margin-bottom: 60px;
    text-align: center;
}

.single-article .article-featured-image img {
    width: 1200px;
    height: 400px;
    object-fit: cover;
    border-radius: 16px;
    display: inline-block;
}

/* Article Content */
.single-article .article-content {
    padding: 0 40px 60px;
}

.single-article .content-wrapper {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: start;
}

.single-article .main-content {
    max-width: 100%;
    font-size: 20px;
    line-height: 1.9;
}

.single-article .content-sidebar {
    position: relative;
    min-width: 0;
    width: 320px;
    margin: 0;
    z-index: 2;
}

.single-article .sidebar-sticky {
    position: sticky;
    top: 100px;
}

.single-article .table-of-contents,
.single-article .reading-progress-widget {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.single-article .reading-time-meta {
    font-size: 16px;
    color: var(--color-secondary-text);
    margin-left: 8px;
    font-style: italic;
}

/* Remove reading progress widget styles */
.single-article .reading-progress-widget,
.single-article .reading-progress-widget h3,
.single-article .progress-bar,
.single-article .progress-fill,
.single-article .reading-time {
    display: none !important;
}

@media (max-width: 1024px) {
    .single-article .content-wrapper {
        grid-template-columns: 1fr 260px;
        gap: 32px;
    }

    .single-article .content-sidebar {
        width: 100%;
        max-width: 260px;
    }
}

@media (max-width: 768px) {
    .single-article .content-wrapper {
        display: flex;
        flex-direction: column;
        gap: 0;
    }

    .single-article .content-sidebar {
        width: 100%;
        max-width: 100%;
        margin-bottom: 32px;
        order: -1;
    }

    .single-article .sidebar-sticky {
        position: static;
        top: auto;
    }

    .single-article .table-of-contents,
    .single-article .reading-progress-widget {
        margin-bottom: 20px;
        padding: 18px;
        box-shadow: none;
    }
}

@media (max-width: 768px) {
    .single-article .related-posts {
        padding: 32px 6px;
    }

    .single-article .related-posts-grid {
        grid-template-columns: 1fr;
        gap: 16px;
        margin: 24px;
    }

    .single-article .related-post-card {
        border-radius: 8px;
    }

    .single-article .related-post-thumbnail {
        height: 320px;
    }

    .single-article .related-post-content {
        padding: 12px;
    }

    .single-article .related-post-title {
        font-size: 16px;
    }

    .single-article .related-post-date {
        font-size: 13px;
    }
}
/* ==============================================
   BLOG RESPONSIVE TEXT STYLES
   ============================================== */

/* Typography Base */
.single-article .main-content {
    font-size: 20px;
    line-height: 1.9;
    color: var(--color-primary-text);
}

.single-article .main-content p {
    font-size: 20px;
    line-height: 1.9;
    margin-bottom: 24px;
    color: var(--color-primary-text);
}

.single-article .main-content h1,
.single-article .main-content h2,
.single-article .main-content h3,
.single-article .main-content h4,
.single-article .main-content h5,
.single-article .main-content h6 {
    color: var(--color-primary-text);
    font-weight: 550;
    margin-bottom: 16px;
    margin-top: 32px;
    line-height: 1.3;
}

.single-article .main-content h1 { font-size: 36px; }
.single-article .main-content h2 { font-size: 32px; }
.single-article .main-content h3 { font-size: 28px; }
.single-article .main-content h4 { font-size: 24px;}
.single-article .main-content h5 { font-size: 22px; }
.single-article .main-content h6 { font-size: 20px; }

/* Tablet Responsive - 768px to 1024px */
@media (max-width: 1024px) and (min-width: 769px) {
    .single-article .article-title {
        font-size: 42px;
    }
    
    .single-article .main-content {
        font-size: 19px;
        line-height: 1.8;
    }
    
    .single-article .main-content p {
        font-size: 19px;
    }
    
    .single-article .main-content h1 { font-size: 34px; }
    .single-article .main-content h2 { font-size: 30px; }
    .single-article .main-content h3 { font-size: 26px; }
    .single-article .main-content h4 { font-size: 22px; }
    
    .single-article .main-content li {
        font-size: 19px;
    }
    
    .single-article .main-content blockquote {
        font-size: 21px;
    }
}

/* Mobile Responsive - Up to 768px */
@media (max-width: 768px) {
    .single-article .article-title {
        font-size: 32px;
        line-height: 1.2;
    }
    
    .single-article .main-content {
        font-size: 18px;
        line-height: 1.7;
    }
    
    .single-article .main-content p {
        font-size: 18px;
        line-height: 1.7;
    }
    
    .single-article .main-content h1 { font-size: 28px; margin-top: 28px; }
    .single-article .main-content h2 { font-size: 26px; margin-top: 28px; }
    .single-article .main-content h3 { font-size: 24px; margin-top: 24px; }
    .single-article .main-content h4 { font-size: 22px; margin-top: 24px; }
    .single-article .main-content h5 { font-size: 20px; margin-top: 20px; }
    .single-article .main-content h6 { font-size: 18px; margin-top: 20px; }
    
    
    .single-article .main-content li {
        font-size: 18px;
        line-height: 1.7;
    }
    
    .single-article .main-content blockquote {
        font-size: 19px;
        line-height: 1.6;
    }

    
    .single-article .reading-time-meta {
        font-size: 14px;
    }
}

/* Small Mobile - Up to 480px */
@media (max-width: 480px) {
    .single-article .article-title {
        font-size: 28px;
    }
    
    .single-article .main-content {
        font-size: 17px;
        line-height: 1.6;
    }
    
    .single-article .main-content p {
        font-size: 17px;
        line-height: 1.6;
    }
    
    .single-article .main-content h1 { font-size: 26px; }
    .single-article .main-content h2 { font-size: 24px; }
    .single-article .main-content h3 { font-size: 22px; }
    .single-article .main-content h4 { font-size: 20px; }
    
    .single-article .main-content li {
        font-size: 17px;
        line-height: 1.6;
    }
    
    .single-article .main-content blockquote {
        font-size: 18px;
    }
}

/* Blog Archive & Index Page Text Responsive */
@media (max-width: 768px) {
    .blog-posts-grid .featured-post .post-title {
        font-size: 28px;
    }
    
    .regular-post .post-title,
    .archive-post-card .post-title {
        font-size: 18px;
    }
    
    .post-excerpt {
        font-size: 16px;
        line-height: 1.5;
    }
    
    .post-meta {
        font-size: 13px;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .section-subtitle {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .blog-posts-grid .featured-post .post-title {
        font-size: 24px;
    }
    
    .regular-post .post-title,
    .archive-post-card .post-title {
        font-size: 16px;
    }
    
    .post-excerpt {
        font-size: 15px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .section-subtitle {
        font-size: 15px;
    }
}
/* ==============================================
   BLOG IMAGE RESPONSIVE STYLES
   ============================================== */

/* Main Content Images */
.single-article .main-content img {
    max-width: 1200px;
    max-height: 1200px;
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 16px;
    margin: 24px auto;
    display: block;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.single-article .main-content img:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

/* Featured Images */
.single-article .article-featured-image img {
    width: 1200px;
    height: 400px;
    max-width: 100%;
    object-fit: cover;
    border-radius: 16px;
    display: inline-block;
    margin: 0 auto;
}

/* Blog Archive Images */
.blog-post-card .post-thumbnail img,
.archive-post-card .post-thumbnail img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.featured-post .post-thumbnail img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 12px;
}

/* Related Posts Images */
.single-article .related-post-thumbnail img {
    width: 100%;
    /* height: 180px; */
    object-fit: cover;
    transition: transform 0.5s ease;
}

/* Tablet Responsive (768px - 1024px) */
@media (max-width: 1024px) and (min-width: 769px) {
    .single-article .main-content img {
        max-width: 100%;
        border-radius: 12px;
        margin: 20px auto;
    }
    
    .single-article .article-featured-image img {
        width: 100%;
        height: 350px;
    }
    
    .featured-post .post-thumbnail img {
        height: 280px;
    }
}

/* Mobile Responsive (≤768px) */
@media (max-width: 768px) {
    .single-article .main-content img {
        max-width: 100%;
        height: auto;
        min-height: 200px;
        max-height: 300px;
        border-radius: 12px;
        margin: 16px auto;
        object-fit: cover;
    }
    
    .single-article .article-featured-image img {
        width: 100%;
        height: 200px;
        border-radius: 12px;
    }
    
    .single-article .article-featured-image {
        padding: 0 32px;
        margin-bottom: 40px;
    }
    
    .blog-post-card .post-thumbnail img,
    .archive-post-card .post-thumbnail img {
        height: 180px;
    }
    
    .featured-post .post-thumbnail img {
        height: 200px;
        border-radius: 8px;
    }
    
    .single-article .related-post-thumbnail img {
        height: 100%;
    }
    
    /* Blog grid adjustments */
    .blog-posts-grid .featured-post {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 24px;
    }
}

/* Small Mobile (≤480px) */
@media (max-width: 480px) {
    .single-article .main-content img {
        max-width: 100%;
        height: auto;
        min-height: 150px;
        max-height: 250px;
        border-radius: 8px;
        margin: 12px auto;
    }
    
    .single-article .article-featured-image img {
        width: 100%;
        height: 160px;
        border-radius: 8px;
    }
    
    .single-article .article-content {
        padding: 0 12px 32px;
    }
    
    .blog-post-card .post-thumbnail img,
    .archive-post-card .post-thumbnail img {
        height: 160px;
    }
    
    .featured-post .post-thumbnail img {
        height: 180px;
    }
    
    .single-article .related-post-thumbnail img {
        height: 220px;
    }
}

/* Image Gallery/Figure Responsive */
.single-article .main-content figure {
    margin: 32px auto;
    text-align: center;
}

.single-article .main-content figure img {
    margin: 0 auto 16px;
}

.single-article .main-content figcaption {
    font-size: 14px;
    color: var(--color-secondary-text);
    font-style: italic;
    margin-top: 8px;
}

@media (max-width: 768px) {
    .single-article .main-content figure {
        margin: 24px auto;
    }
    
    .single-article .main-content figcaption {
        font-size: 13px;
        padding: 0 16px;
    }
}

/* Image Loading States */
.single-article .main-content img {
    background: #f5f5f5;
    background-image: 
        linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    background-size: 200px 100%;
    background-repeat: no-repeat;
    animation: loading 1.5s infinite;
}

.single-article .main-content img[src] {
    animation: none;
    background: none;
}

@keyframes loading {
    0% { background-position: -200px 0; }
    100% { background-position: calc(200px + 100%) 0; }
}

/* Prevent layout shift */
.single-article .main-content img:not([width]):not([height]) {
    aspect-ratio: 16/9;
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .single-article .main-content img,
    .single-article .article-featured-image img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}
/* ==============================================
   GLOBAL STYLES
   ============================================== */

html {
    scroll-behavior: smooth;
}

body {
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Animation Utilities */
.fade-enter {
    opacity: 0;
    transform: translateY(10px);
}

.fade-enter-active {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.5s, transform 0.5s;
}

.fade-leave {
    opacity: 1;
    transform: translateY(0);
}

.fade-leave-active {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.5s, transform 0.5s;
}

.slide-enter {
    opacity: 0;
    transform: translateX(-10px);
}

.slide-enter-active {
    opacity: 1;
    transform: translateX(0);
    transition: opacity 0.5s, transform 0.5s;
}

.slide-leave {
    opacity: 1;
    transform: translateX(0);
}

.slide-leave-active {
    opacity: 0;
    transform: translateX(-10px);
    transition: opacity 0.5s, transform 0.5s;
}

/* Visibility Utilities */
.hidden {
    display: none !important;
}

.visible {
    display: block !important;
}

.invisible {
    visibility: hidden !important;
}

.visible {
    visibility: visible !important;
}

/* Misc */
blockquote {
    quotes: "“""”""‘""’";
}

blockquote::before {
    content: open-quote;
}

blockquote::after {
    content: close-quote;
}


/* ==============================================
   POLICY PAGE STYLES
   ============================================== */
.policy-page {
    background: var(--color-background-light, #f0f0f2);
    padding: 60px 0;
    min-height: 80vh;
}

.policy-page .container {
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
    padding: 40px 32px;
    transition: box-shadow 0.3s, transform 0.3s;
}

.policy-page .container:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.16);
    transform: scale(1.005);
}



.policy-page .section-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 32px;
    text-align: center;
}

.policy-page .policy-content h2 {
    font-size: 22px;
    margin-top: 32px;
    margin-bottom: 16px;
    font-weight: 600;
}

.policy-page .policy-content h3 {
    font-size: 18px;
    color: #121212;
    margin-top: 24px;
    margin-bottom: 12px;
    font-weight: 600;
}

.policy-page .policy-content p,
.policy-page .policy-content ul,
.policy-page .policy-content address {
    font-size: 16px;
    color: #121212;
    line-height: 1.7;
    margin-bottom: 18px;
}

.policy-page .policy-content ul {
    padding-left: 24px;
    margin-bottom: 18px;
}

.policy-page .policy-content li {
    margin-bottom: 8px;
}

.policy-page .policy-content a {
    color: var(--color-accent, #000);
    text-decoration: underline;
    word-break: break-all;
}

.policy-page .policy-content a:hover {
    color: var(--color-black-6, #5F5F5F);
}

.policy-page .policy-content address {
    font-style: normal;
    background: #f9f9f9;
    border-radius: 8px;
    padding: 12px 16px;
    margin-bottom: 18px;
}

@media (max-width: 768px) {
    .policy-page {
        padding: 32px 0;
    }
    .policy-page .container {
        padding: 24px 8px;
        border-radius: 8px;
    }
    .policy-page .section-title {
        font-size: 22px;
        margin-bottom: 20px;
    }
    .policy-page .policy-content h2 {
        font-size: 18px;
        margin-top: 24px;
        margin-bottom: 10px;
    }
    .policy-page .policy-content h3 {
        font-size: 16px;
        margin-top: 16px;
        margin-bottom: 8px;
    }
    .policy-page .policy-content p,
    .policy-page .policy-content ul,
    .policy-page .policy-content address {
        font-size: 15px;
        margin-bottom: 12px;
    }
    .policy-page .policy-content ul {
        padding-left: 16px;
    }
    .policy-page .policy-content address {
        padding: 8px 10px;
        border-radius: 6px;
    }
}