/**
 * MYIO Blocks Frontend CSS - v2.0.0
 * Matches category page design exactly
 * Only loads on page-gutenberg template
 */

/* ========================================
   CSS Variables
   ======================================== */
:root {
    --myio-primary: #FF7396;
    --myio-primary-hover: #ff5a80;
    --myio-dark: #1a1a2e;
    --myio-text: #333;
    --myio-text-muted: #666;
    --myio-border: #e5e5e5;
    --myio-bg-light: #fdf8fc;
    --myio-white: #fff;
    --myio-radius: 12px;
    --myio-radius-lg: 16px;
    --myio-shadow: 0 2px 12px rgba(0,0,0,0.08);
    --myio-shadow-hover: 0 8px 24px rgba(0,0,0,0.12);
    --myio-transition: 0.25s ease;
}

/* ========================================
   Base Reset & Container
   ======================================== */
.myio-container {
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* ========================================
   Hero Section - Premium Design
   ======================================== */
.myio-hero {
    /* background: linear-gradient(180deg, #FFE6EE 0%, #FFD9E4 100%); */
    background-size: 400% 400%;
    padding: 30px 0 80px;
    position: relative;

}

.myio-hero-banner{
    background: #FFE6EE;
    filter: blur(100px);
    width: 100%;
    height: 80%;
    display: block;
    position: absolute;
    border-radius: 500px;
    z-index: -1;
}

.myio-hero::before,
.myio-hero::after{
    display: none;
}

/* Floating decorative ring - top right */
.myio-hero::before {
    content: '';
    position: absolute;
    top: -80px;
    right: -80px;
    width: 300px;
    height: 300px;
    border: 40px solid rgb(255 218 227);
    border-radius: 50%;
    pointer-events: none;
    animation: floatSlow 8s ease-in-out infinite;
}

/* Floating decorative ring - bottom left */
.myio-hero::after {
    content: '';
    position: absolute;
    bottom: -60px;
    left: -60px;
    width: 200px;
    height: 200px;
    border: 30px solid rgb(255 218 227);
    border-radius: 50%;
    pointer-events: none;
    animation: floatSlow 10s ease-in-out infinite reverse;
}

@keyframes floatSlow {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

/* Sparkle elements */
.myio-hero .myio-container::before,
.myio-hero .myio-container::after {
    content: '✦';
    position: absolute;
    color: #FF7396;
    opacity: 0.18;
    pointer-events: none;
    animation: sparkle 3s ease-in-out infinite;
}

.myio-hero .myio-container::before {
    top: 20%;
    left: 10%;
    font-size: 24px;
    animation-delay: 0s;
}

.myio-hero .myio-container::after {
    top: 60%;
    right: 8%;
    font-size: 18px;
    animation-delay: 1.5s;
}

@keyframes sparkle {
    0%, 100% { opacity: 0.1; transform: scale(1) rotate(0deg); }
    50% { opacity: 0.25; transform: scale(1.2) rotate(20deg); }
}

.myio-hero .myio-hero__inner {
    display: flex;
    align-items: center;
    position: relative;
    z-index: 1;
}

.myio-hero .myio-hero__content {
    flex: 1;
    text-align: left;
}

.myio-hero .myio-hero__image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.myio-hero .myio-hero__image img {
    max-width: 100%;
    height: auto;
    border-radius: 16px;
    display: block;
}

/* Glassmorphism badge */
.myio-hero .myio-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #ffd0db;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #f5567d;
    border: 1px solid #ffd0db;
    padding: 10px 24px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 18px;
    letter-spacing: 0.3px;
}

.myio-hero .myio-hero__badge-star {
    font-size: 16px;
    line-height: 1;
}

/* Premium headline with subtle gradient text */
.myio-hero .myio-hero__headline {
    font-size: clamp(36px, 5.5vw, 58px);
    font-weight: 500;
    color: var(--myio-dark);
    margin: 0 0 10px;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

/* Gradient text effect for headline emphasis */
.myio-hero .myio-hero__headline strong,
.myio-hero .myio-hero__headline em,
.myio-hero .myio-hero__headline span {
    background: linear-gradient(135deg, #ff7396 0%, #e8507a 50%, #c93060 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-style: normal;
}

.myio-hero .myio-hero__subheadline {
    font-size: clamp(17px, 2.2vw, 18px);
    color: #555;
    margin: 0 0 40px;
    line-height: 1.7;
    max-width: 520px;
}

/* Feature highlights row */
.myio-hero .myio-hero__features {
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 20px 28px;
    margin-bottom: 36px;
}

.myio-hero .myio-hero__feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.myio-hero .myio-hero__feature-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #FF7396;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #fff;
}

.myio-hero .myio-hero__feature-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.myio-hero .myio-hero__feature-text strong {
    font-size: 15px;
    font-weight: 700;
    color: var(--myio-dark);
    line-height: 1.2;
}

.myio-hero .myio-hero__feature-text span {
    font-size: 13px;
    color: #666;
    line-height: 1.3;
}

.myio-hero .myio-hero__ctas {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 32px;
}

/* Stats bar - white card strip */
.myio-hero__stats {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 40px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.07);
    overflow: hidden;
    margin-top: -59px;
    position: relative;
    margin-bottom: 80px;
}

.myio-hero__stat-item {
    display: flex;
    align-items: center;
    gap: 14px;
    flex: 1;
    padding: 30px 28px;
    position: relative;
}

 .myio-hero__stat-item::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 50px;
    background: #e8e8e8;
}

 .myio-hero__stat-item:last-child::after {
    display: none;
}

.myio-hero__stat-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #FF7396;
}

 .myio-hero__stat-text {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.myio-hero__stat-text strong {
    font-size: 25px;
    font-weight: 600;
    color: var(--myio-dark);
    line-height: 1.2;
    color: #f5567d;
}

.myio-hero__stat-text span {
    font-size: 13px;
    color: #888;
    line-height: 1.3;
}

/* Trust section - left aligned inside hero */
.myio-hero .myio-hero__trust {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 13px;
    color: #666;
}

.myio-hero .myio-hero__trust span {
    display: flex;
    align-items: center;
    gap: 5px;
    font-weight: 500;
}

/* ========================================
   Buttons - Premium Design
   ======================================== */
.myio-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 36px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    
}
.myio-btn--primary {
    background: #F45A79;
    color: #fff;
}

.myio-btn--primary:hover {
    background: #d94468;
    color: #fff;
}

.myio-btn.btn-primary {
    width: 100%;
    padding: 10px 36px;
}





/* ========================================
   Labels
   ======================================== */
.myio-label {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    color: var(--myio-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

/* ========================================
   Category Slider Section - Matching category page exactly
   ======================================== */
.myio-slider-section {
    padding: 40px 0;
    background: var(--myio-white);
}

.myio-slider-section:first-of-type {
    padding-top: 48px;
}

.myio-slider-section + .myio-slider-section {
    padding-top: 0;
}

.myio-slider-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.myio-slider-title {
    flex: 1 1 auto;
    min-width: 0;
    font-size: 24px;
    font-weight: 600;
    color: #222;
    margin: 0;
    text-transform: capitalize;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.myio-view-all {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    gap: 4px;
    position: relative;
    white-space: nowrap;
    color: var(--myio-primary) !important;
    font-weight: 500;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.2s;
}

.myio-view-all::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: currentColor;
    transition: width 0.28s ease;
}

.myio-view-all:hover {
    color: #e85a7f;
}

.myio-view-all:hover::after {
    width: 100%;
}

.myio-view-all .myio-arrow {
    font-size: 16px;
}

/* ========================================
   Carousel - Native CSS Scroll (matching category page exactly)
   ======================================== */
.myio-slider-wrapper {
    position: relative;
}

.myio-carousel {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 4px 0;
}

.myio-carousel::-webkit-scrollbar {
    display: none;
}

/* Card widths matching category page exactly */
.myio-carousel-item {
    flex: 0 0 auto;
    width: calc(20% - 13px); /* 5 items on desktop */
    min-width: 0;
}

/* Navigation arrows - matching category page exactly */
.myio-slider-nav {
    position: absolute;
    top: 40%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #fff;
    border: none;
    box-shadow: 0 2px 12px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.2s;
    padding: 0;
}

.myio-slider-nav:hover:not(.is-disabled) {
    background: #FF7396;
    box-shadow: 0 4px 16px rgba(255,115,150,0.4);
}

.myio-slider-nav:hover:not(.is-disabled) svg path {
    stroke: #fff;
}

.myio-slider-nav.is-disabled {
    opacity: 0.3;
    cursor: not-allowed;
    pointer-events: none;
}

.myio-slider-nav svg {
    width: 24px;
    height: 24px;
    display: block;
    flex-shrink: 0;
}

.myio-slider-prev {
    left: 12px;
}

.myio-slider-next {
    right: 12px;
}

/* ========================================
   Product Card - Matching category page exactly
   ======================================== */
.myio-product-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: none !important;
    transition: all 0.2s;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.myio-product-card:hover {
    transform: translateY(-4px);
}

/* Video Card Thumbnail (wvp-thumb) */
.myio-video-card .wvp-thumb {
    position: relative;
    aspect-ratio: 9/16;
    overflow: hidden;
    cursor: pointer;
    background: #f5f5f5;
    border-radius: 12px;
}

.myio-video-card .wvp-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Play button - matching category page */
.myio-video-card .wvp-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background: rgba(0,0,0,0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.myio-video-card .wvp-play svg {
    width: 22px;
    height: 22px;
}

.myio-video-card:hover .wvp-play {
    background: rgba(0,0,0,0.7);
}

/* PDF Card Thumbnail */
.myio-pdf-card {
    cursor: pointer;
}

.myio-pdf-card .myio-card-thumb {
    position: relative;
    aspect-ratio: 9/16;
    overflow: hidden;
    background: #f5f5f5;
    border-radius: 12px;
}

.myio-pdf-card .myio-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Card Body - matching category page exactly */
.myio-card-body {
    padding: 12px 8px 14px;
    display: flex;
    flex-direction: column;
    flex: 1;
    text-align: center;
}

/* Title - Fixed 2 lines with ellipsis (matching category page exactly) */
.myio-card-title {
    font-size: 13px;
    font-weight: 400;
    color: #333;
    margin: 0 0 10px;
    height: 36px; /* Fixed height for 2 lines */
    line-height: 1.4;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
    text-decoration: none;
}

/* CTA Button - Matching category page exactly */
.myio-card-btn {
    display: inline-block;
    padding: 10px 16px;
    background: #FF7396;
    color: #fff !important;
    border-radius: 25px;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s;
    margin-top: auto;
}

.myio-card-btn:hover {
    background: #e85a7f;
    color: #fff !important;
}

.myio-card-btn:active,
.myio-card-btn:focus {
    opacity: 0.7;
    outline: none;
    box-shadow: none;
}

/* ========================================
   View All Card - Matching category page exactly
   ======================================== */
.myio-view-all-card {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    aspect-ratio: 9/16;
    background: linear-gradient(145deg, #FF7396 0%, #ff8fa8 50%, #ffa5b8 100%);
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.2s;
    color: #fff !important;
}

.myio-view-all-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(255,115,150,0.35);
}

.myio-view-all-content {
    text-align: center;
    padding: 20px;
}

.myio-view-all-icon {
    width: 64px;
    height: 64px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
}

.myio-view-all-icon svg {
    width: 40px;
    height: 40px;
    stroke: white;
    stroke-width: 2;
    fill: none;
}

.myio-view-all-label {
    display: block;
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 4px;
}

.myio-view-all-count {
    display: block;
    font-size: 13px;
    color: #fff;
    opacity: 0.9;
}

/* PDF Popup styling comes from theme's subcategory-sliders.css via mi-carousel-item class */

/* ========================================
   How It Works Section
   ======================================== */
.myio-steps {
    padding: 80px 0;
    background: var(--myio-bg-light);
    position: relative;
    overflow: hidden;
}

/* Decorative floral corner ornaments */
.myio-steps__floral {
    position: absolute;
    pointer-events: none;
    z-index: 0;
}

.myio-steps__floral--tr {
    top: 0;
    right: 0;
}

.myio-steps__floral--bl {
    bottom: 0;
    left: 0;
}

.myio-steps .myio-container {
    position: relative;
    z-index: 1;
}

.myio-steps__header {
    text-align: center;
    margin-bottom: 48px;
}

.myio-steps__title {
    font-size: 44px;
    font-weight: 600;
    color: var(--myio-dark);
    line-height: 1.15;
}

.myio-steps__title em {
    color: #FF7396;
    font-style: italic;
    font-family: Georgia, serif;
    font-weight: 400;
}

.myio-steps__subtitle {
    line-height: 1.6;
}

.myio-steps__highlight {
    color: #FF7396;
    font-weight: 500;
}

/* ---- Steps body: relative container for dashed line + arrow connectors ---- */
.myio-steps__body {
    position: relative;
    z-index: 10;
    margin-bottom: 64px;
}

/* Full-width dashed line running behind the number circles */
.myio-steps__connector-line {
    position: absolute;
    top: 20px; /* half of 40px number circle */
    left: 15%;
    right: 15%;
    height: 2px;
    border-top: 2px dashed #FBB6CE;
    z-index: 0;
}

/* Arrow connector circles at 1/3 and 2/3 */
.myio-steps__arrow {
    position: absolute;
    top: 20px;
    transform: translate(-50%, -50%);
    background: white;
    border-radius: 50%;
    padding: 4px;
    border: 1px solid #FBB6CE;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #F45A79;
}

.myio-steps__arrow--1 { left: 33.33%; }
.myio-steps__arrow--2 { left: 66.66%; }

/* 3-column grid */
.myio-steps__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    text-align: center;
    position: relative;
    z-index: 10;
}

/* Each step column */
.myio-steps__item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Number circle wrapper */
.myio-steps__num-wrap {
    margin-bottom: 32px;
    position: relative;
    z-index: 10;
}

/* Number circle — w-10 h-10 bg-brand-pink */
.myio-steps__number {
    width: 40px;
    height: 40px;
    background: #F45A79;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 20px;
}

/* Illustration icon circle — w-32 h-32 step-icon-wrapper */
.myio-steps__illustration {
    width: 128px;
    height: 128px;
    border-radius: 50%;
    background: #FFF0F3;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.myio-steps__name {
    font-size: 20px;
    font-weight: 600;
    color: #1C2B39;
    margin: 0 0 12px;
}

.myio-steps__desc {
    font-size: 14px;
    color: #718096;
    margin: 0 0 24px;
    line-height: 1.625;
    padding: 0 16px;
}

/* Badge pill — bg-brand-lightPink text-brand-gray rounded-full */
.myio-steps__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #FFF0F3;
    color: #718096;
    padding: 8px 16px;
    border-radius: 9999px;
    font-size: 12px;
}

/* CTA */
.myio-steps__cta {
    text-align: center;
}

.btn-primary.myio-steps__cta-btn {
   font-size: 16px;
   padding: 10px 36px;
   min-width: 200px;
   display: inline-block;
}



/* ========================================
   Testimonials
   ======================================== */
.myio-testimonials {
    padding: 80px 0;
    background: var(--myio-white);
    background: linear-gradient(to bottom, #ffffff 0%, #fdfbfb 100%);
}


.myio-testimonials__header {
    text-align: center;
    margin-bottom: 48px;
}

.myio-testimonials__header h2 {
    font-size: 44px;
    font-weight: 600;
    color: var(--myio-dark);
    margin: 0;
}

.myio-testimonials__header p{
    margin-top: 0;
}

.myio-testimonials__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.myio-testimonial {
    background: var(--myio-white);
    padding: 20px;
    border-radius: var(--myio-radius-lg);
    transition: all var(--myio-transition);
    border: 1px solid #f0f0f0;
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    gap: 0;
}


/* Testimonial Header with Avatar */
.myio-testimonial__header {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
}

.myio-testimonial__avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 700;
    color: white;
    flex-shrink: 0;
}

img.myio-testimonial__avatar--img {
    object-fit: cover;
}

.myio-testimonial__meta {
    flex: 1;
    min-width: 0;
}

.myio-testimonial__name {
    display: block;
    font-weight: 700;
    color: var(--myio-dark);
    font-size: 15px;
    margin-bottom: 4px;
    line-height: 1.3;
}

.myio-testimonial__country {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    color: var(--myio-text-muted);
}

.myio-testimonial__country svg {
    flex-shrink: 0;
    color: #FF7396;
}

.myio-testimonial__rating {
    color: #ffc107;
    font-size: 15px;
    flex-shrink: 0;
    letter-spacing: 1px;
    padding-top: 2px;
}

/* Quote + text body */
.myio-testimonial__body {
    flex: 1;
    margin-bottom: 16px;
}

.myio-testimonial__quote {
    display: block;
    font-size: 36px;
    color: #FF7396;
    font-family: Georgia, serif;
    margin-bottom: 4px;
    line-height: 0;
    font-weight: 600;
}

.myio-testimonial__text {
    font-size: 14px;
    color: var(--myio-text);
    line-height: 1.7;
    margin: 0 0 8px;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.myio-testimonial__text.is-expanded {
    display: block;
    -webkit-line-clamp: unset;
    line-clamp: unset;
    overflow: visible;
}

.myio-testimonial__readmore {
    background: none;
    border: none;
    padding: 0;
    color: #FF7396;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    display: none;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.myio-testimonial__readmore.is-visible {
    display: inline-block;
}

/* Footer badge */
.myio-testimonial__badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 115, 150, 0.08);
    color: #f5567d;
    border: 1px solid rgba(255, 115, 150, 0.2);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 500;
    width: fit-content;
}

/* ========================================
   Features / Why Choose Us
   ======================================== */
.myio-features {
    padding: 80px 0;
    background: linear-gradient(160deg, #f0f9ff 0%, #fff 60%, #fff5f7 100%);
}

.myio-features__header {
    text-align: center;
    margin-bottom: 40px;
}

.myio-features__header h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--myio-dark);
    margin: 0;
}

.myio-features__stats {
    display: flex;
    justify-content: center;
    gap: 64px;
    margin-bottom: 48px;
}

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

.myio-features__stat-number {
    display: block;
    font-size: 40px;
    font-weight: 700;
    color: var(--myio-primary);
    margin-bottom: 4px;
}

.myio-features__stat-label {
    font-size: 14px;
    color: var(--myio-text-muted);
}

.myio-features__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.myio-features__item {
    background: var(--myio-white);
    padding: 28px;
    border-radius: var(--myio-radius-lg);
    text-align: center;
    box-shadow: var(--myio-shadow);
    transition: all var(--myio-transition);
}

.myio-features__item:hover {
    box-shadow: var(--myio-shadow-hover);
    transform: translateY(-4px);
}

.myio-features__icon {
    font-size: 40px;
    margin-bottom: 16px;
}

.myio-features__item h3 {
    font-size: 17px;
    font-weight: 700;
    color: var(--myio-dark);
    margin: 0 0 8px;
}

.myio-features__item p {
    font-size: 14px;
    color: var(--myio-text-muted);
    margin: 0;
}

/* ========================================
   FAQ Section
   ======================================== */
.myio-faq {
    padding: 80px 0;
    background: var(--myio-white);
}

.myio-faq__header {
    text-align: center;
    margin-bottom: 48px;
}

.myio-faq__header h2 {
    font-size: 44px;
    font-weight: 600;
    color: var(--myio-dark);
    margin: 0;
}

.myio-faq__list {
    max-width: 800px;
    margin: 0 auto;
}

.myio-faq__item {
    border-bottom: 1px solid var(--myio-border);
}

.myio-faq__item:last-child {
    border-bottom: none;
}

.myio-faq__question {
    width: 100%;
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
    font-size: 16px;
    font-weight: 600;
    color: var(--myio-dark);
    gap: 16px;
}

.myio-faq__question span {
    flex: 1;
}

.myio-faq__icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    transition: transform var(--myio-transition);
    color: var(--myio-text-muted);
}

.myio-faq__item.is-active .myio-faq__icon {
    transform: rotate(180deg);
}

.myio-faq__answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.myio-faq__item.is-active .myio-faq__answer {
    max-height: 300px;
}

.myio-faq__answer p {
    padding: 0 0 20px;
    margin: 0;
    color: var(--myio-text-muted);
    font-size: 15px;
    line-height: 1.7;
}

/* ========================================
   CTA Section
   ======================================== */
.myio-cta {
    padding: 80px 0;
    text-align: center;
}

.myio-cta--gradient {
    background: linear-gradient(135deg, #ff7396 0%, #e8507a 50%, #c93060 100%);
    color: white;
}

.myio-cta--pink {
    background: linear-gradient(135deg, #ff7396 0%, #e8507a 100%);
    color: white;
}

.myio-cta h2 {
    font-size: 44px;
    font-weight: 600;
    margin: 0 0 12px;
}

.myio-cta p {
    font-size: 18px;
    opacity: 0.9;
    margin: 0 0 28px;
}

/* CTA button inherits white style but with pink accent */
.btn-primary.myio-btn--white {
    background-color: #fff;
    color: #e6506f;
    font-size: 16px;
    padding: 10px 36px;
    min-width: 200px;
    display: inline-block;
}
.btn-primary.myio-btn--white:visited,
.btn-primary.myio-btn--white:focus,
.btn-primary.myio-btn--white:hover{
    background-color: #f5eeee;
    color: #e6506f;
}



/* ========================================
   Category Grid
   ======================================== */
.myio-categories {
    padding: 0 0 80px;
    position: relative;
}
.myio-categories::before{
    content: "";
    border-radius: 1599px;
    background: var(--myio-bg-light);
    filter: blur(100px);
    width: 100%;
    height: 600px;
    display: block;
    position: absolute;
    z-index: -1;
}

.myio-leaf-icon.right{
    position: relative;
    transform: scaleX(-1);
}
.myio-leaf-icon.left{
    margin-right: 2px;
}

.myio-categories__header {
    text-align: center;
    margin-bottom: 48px;
}

.myio-categories__header h2 {
    font-size: 44px;
    font-weight: 600;
    color: var(--myio-dark);
    margin: 0;
}
.myio-categories__header p{
    margin-top: 0;
}

.myio-categories__grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.myio-categories__item {
    background: var(--myio-white);
    border-radius: var(--myio-radius);
    padding: 10px;
    text-align: center;
    text-decoration: none;
    transition: all var(--myio-transition);
    box-shadow: var(--myio-shadow);
    padding-bottom: 16px;
}

.myio-categories__item:hover {
    box-shadow: var(--myio-shadow-hover);
    transform: translateY(-4px);
}

.myio-categories__image {
    aspect-ratio: 0.8;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 0;
}

.myio-categories__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.myio-categories__icon {
    width: 48px;
    height: 48px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: -24px auto 10px;
    position: relative;
    z-index: 2;
    color: #FF7396;
    flex-shrink: 0;
}

.myio-categories__name {
    font-size: 15px;
    font-weight: 600;
    color: var(--myio-dark);
    margin-bottom: 0;
    line-height: 16px;
}

.myio-categories__count {
    font-size: 13px;
    color: var(--myio-text-muted);
}

/* ========================================
   Responsive - Matching category page breakpoints exactly
   ======================================== */
@media (max-width: 1400px) {
    .myio-carousel-item {
        width: calc(25% - 12px); /* 4 items */
    }
}

@media (max-width: 1200px) {
    .myio-carousel-item {
        width: calc(33.33% - 11px); /* 3 items */
    }
    
    .myio-categories__grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 991px) {
    .myio-carousel-item {
        width: calc(33.33% - 11px); /* 3 items */
    }
    
    .myio-hero {
        padding: 60px 0;
    }
    
    .myio-steps__connector-line,
    .myio-steps__arrow {
        display: none;
    }

    .myio-steps__grid {
        grid-template-columns: 1fr;
        gap: 0;
        position: relative;
    }

    .myio-features__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .myio-testimonials__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .myio-features__stats {
        gap: 40px;
    }

    .myio-categories__grid {
        grid-template-columns: repeat(3, 1fr);
    }

       /* Line only between step 1→2 and 2→3, not after step 3 */
    .myio-steps__item::after {
        content: '';
        position: absolute;
        left: 19px;
        top: 48px;
        width: 0;
        border-left: 2px dashed #FBB6CE;
        z-index: 0;
        height: 100%;
    }
    .myio-steps__item:last-child::after{
        display: none;
    }

    .myio-steps__item {
        display: grid;
        grid-template-columns: 40px 1fr;
        grid-template-rows: auto auto auto auto;
        column-gap: 16px;
        row-gap: 8px;
        align-items: start;
        text-align: left;
        padding-bottom: 28px;
        position: relative;
    }

    .myio-steps__item:last-child {
        padding-bottom: 0;
    }

    .myio-steps__name {
        grid-column: 2;
        grid-row: 2;
        margin: 0;
        font-size: 16px;
        text-align: left;
    }
    .myio-steps__num-wrap {
        grid-column: 1;
        grid-row: 1 / 5;
        margin-bottom: 0;
        position: relative;
        z-index: 1;
        margin-top: 45px;
    }
    .myio-steps__desc{
        padding-left: 0;
    }

}

@media (max-width: 767px) {
    /* Mobile slider - matching category page exactly */
    .myio-carousel-item {
        width: calc(45% - 8px); /* ~2.2 items visible */
    }
    
    .myio-slider-section {
        padding: 32px 0;
    }
    
    .myio-slider-header {
        align-items: flex-start;
        gap: 10px;
    }

    .myio-slider-title {
        font-size: 20px;
        line-height: 1.3;
    }

    .myio-view-all {
        font-size: 13px;
    }
    
    /* Smaller nav arrows on mobile (match category page) */
    .myio-slider-nav {
        width: 32px;
        height: 32px;
    }
    
    .myio-slider-prev {
        left: 8px;
    }
    
    .myio-slider-next {
        right: 8px;
    }
    
    .myio-slider-nav svg {
        width: 16px;
        height: 16px;
    }
    
    /* Title smaller on mobile */
    .myio-card-title {
        font-size: 12px;
        height: 34px;
    }
    
    /* CTA smaller on mobile */
    .myio-card-btn {
        font-size: 12px;
        padding: 8px 14px;
    }
    
    /* View All icon smaller on mobile */
    .myio-view-all-icon {
        width: 50px;
        height: 50px;
    }
    
    .myio-view-all-icon svg {
        width: 28px;
        height: 28px;
    }
    
    .myio-view-all-label {
        font-size: 15px;
    }
    
    .myio-hero {
        padding: 60px 0 100px;
    }

    .myio-hero .myio-hero__inner {
        flex-direction: column;
        gap: 5x;
    }

    .myio-hero .myio-hero__content {
        text-align: center;
    }

    .myio-hero .myio-hero__subheadline {
        margin-left: auto;
        margin-right: auto;
        font-size: 14px;
        line-height: 1.5;
        margin-bottom: 20px;
    }
    .myio-categories__header h2,
    .myio-steps__title,
    .myio-testimonials__header h2{
        margin-top: 0;
        margin-bottom: 12px;
    }

    .myio-categories__header p,
    .myio-steps__subtitle{
        font-size: 14px;
    }

    .myio-hero .myio-hero__ctas {
        justify-content: center;
    }

    .myio-hero .myio-hero__trust {
        justify-content: center;
    }

    .myio-hero .myio-hero__features {
        justify-content: center;
        gap: 16px 20px;
    }

    .myio-hero .myio-hero__feature-item {
        width: calc(50% - 10px);
        text-align: left;
    }

    .myio-hero__stats {
        flex-wrap: wrap;
        border-radius: 12px;
        margin-top: -136px;
        margin-bottom: 48px;
    }

    .myio-hero__stat-item {
        width: 50%;
        flex: unset;
        padding: 18px 20px;
    }

    .myio-hero__stat-item::after {
        display: none;
    }

    .myio-hero__stat-item:nth-child(odd) {
        border-right: 1px solid #f0f0f0;
    }

    .myio-hero__stat-item:nth-child(1),
    .myio-hero__stat-item:nth-child(2) {
        border-bottom: 1px solid #f0f0f0;
    }

    .myio-hero::before {
        width: 180px;
        height: 180px;
        border-width: 24px;
        top: -50px;
        right: -50px;
    }
    
    .myio-hero::after {
        width: 120px;
        height: 120px;
        border-width: 18px;
        bottom: -40px;
        left: -40px;
    }
    
    .myio-hero .myio-container::before,
    .myio-hero .myio-container::after {
        display: none;
    }
    
    .myio-hero .myio-hero__badge {
        padding: 8px 18px;
        font-size: 13px;
    }

    .myio-hero .myio-hero__ctas {
        flex-direction: column;
        gap: 12px;
    }
    
    .myio-btn {
        padding: 14px 28px;
        font-size: 15px;
    }
    
    .myio-hero__trust {
        flex-direction: column;
        gap: 12px;
        padding: 16px 20px;
    }
    
    .myio-steps,
    .myio-testimonials,
    .myio-features,
    .myio-faq,
    .myio-cta,
    .myio-categories {
        padding: 48px 0;
    }
    
    .myio-steps__connector-line,
    .myio-steps__arrow {
        display: none;
    }

    /* Vertical timeline layout on mobile */
    .myio-steps__grid {
        grid-template-columns: 1fr;
        gap: 0;
        position: relative;
    }

 
    .myio-steps__num-wrap {
        grid-column: 1;
        grid-row: 1 / 5;
        margin-bottom: 0;
        position: relative;
        z-index: 1;
        margin-top: 45px;
    }



    .myio-steps__name {
        grid-column: 2;
        grid-row: 2;
        margin: 0;
        font-size: 16px;
        text-align: left;
    }

    .myio-steps__desc {
        grid-column: 2;
        grid-row: 3;
        margin: 0;
        font-size: 12px;
        text-align: left;
        padding-left: 0;
    }

    .myio-steps__badge {
        grid-column: 2;
        grid-row: 4;
        justify-content: flex-start;
        font-size: 11px;
    }

    .myio-testimonials__grid,
    .myio-features__grid {
        grid-template-columns: 1fr;
    }

    .myio-features__stats {
        flex-direction: column;
        gap: 24px;
    }
    
    .myio-categories__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    
    h2 {
        font-size: 24px !important;
    }
}

@media (max-width: 480px) {
    ul.info_list a.user{
        font-size: 12px;
        padding: 8px 10px;
    }
    .myio-container {
        padding: 0 16px;
    }
    
    .myio-carousel-item {
        flex: 0 0 calc(48% - 6px);
    }
    
    .myio-card-title {
        font-size: 13px;
        height: 34px;
        line-height: 17px;
    }
    
    .myio-card-btn {
        font-size: 12px;
        padding: 8px 12px;
    }
}

/* ========================================
   Animations & States
   ======================================== */

/* Dragging state */
.myio-carousel.is-dragging {
    cursor: grabbing;
    user-select: none;
}

.myio-carousel.is-dragging * {
    pointer-events: none;
}


/* Ensure cards show immediately if no JS */
.no-js .myio-carousel-item,
.no-js .will-animate {
    opacity: 1;
    transform: none;
    animation: none;
}
