/* ============================================
   MYLENS HOMEPAGE — MODERN REDESIGN
   ============================================ */

/* ============================================
   HERO SECTION — Full impact
   ============================================ */
.ml-hero {
    position: relative;
    min-height: 92vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--ml-primary);
}

.ml-hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.ml-hero__gradient {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 70% 30%, rgba(13, 148, 136,0.18) 0%, transparent 50%),
        radial-gradient(circle at 20% 80%, rgba(13, 148, 136,0.1) 0%, transparent 40%),
        radial-gradient(circle at 50% 50%, rgba(12, 10, 9, 0.78) 0%, transparent 70%),
        linear-gradient(160deg, #0c0a09 0%, #1c1917 40%, #292524 100%);
}

/* Animated mesh dots */
.ml-hero__bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(13, 148, 136,0.07) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: 1;
}

.ml-hero__content {
    position: relative;
    z-index: 2;
    max-width: 640px;
    padding: var(--ml-space-3xl) 0;
}

.ml-hero__tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--ml-font-accent);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--ml-accent);
    background: rgba(13, 148, 136,0.08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 10px 22px;
    border-radius: var(--ml-radius-full);
    margin-bottom: var(--ml-space-xl);
    border: 1px solid rgba(13, 148, 136,0.15);
}

.ml-hero__tag::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--ml-accent);
    animation: pulse 2s ease-in-out infinite;
}

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

.ml-hero__title {
    font-family: var(--ml-font-heading);
    font-size: clamp(3rem, 7vw, 5rem);
    font-weight: 900;
    color: var(--ml-white);
    line-height: 1.0;
    margin-bottom: var(--ml-space-lg);
    letter-spacing: -2px;
}

.ml-hero__title-accent {
    /* Solid teal — gradient + shimmer read as gold on hero (see refine.css) */
    background: none !important;
    background-size: auto !important;
    -webkit-background-clip: border-box !important;
    background-clip: border-box !important;
    -webkit-text-fill-color: #0f766e !important;
    color: #0f766e !important;
    animation: none !important;
}

@keyframes shimmer {
    0% { background-position: 0% center; }
    50% { background-position: 100% center; }
    100% { background-position: 0% center; }
}

.ml-hero__desc {
    font-size: var(--ml-text-lg);
    color: rgba(255,255,255,0.6);
    line-height: 1.7;
    margin-bottom: var(--ml-space-2xl);
    max-width: 480px;
}

.ml-hero__cta {
    display: flex;
    gap: 14px;
    margin-bottom: var(--ml-space-3xl);
    flex-wrap: wrap;
}

.ml-hero__cta .ml-btn-primary {
    background: linear-gradient(135deg, var(--ml-accent) 0%, var(--ml-accent-hover) 100%);
    border: none;
    box-shadow: 0 4px 20px rgba(13, 148, 136,0.35);
}

.ml-hero__cta .ml-btn-primary:hover {
    box-shadow: 0 8px 30px rgba(13, 148, 136,0.5);
    transform: translateY(-3px);
}

.ml-hero__cta .ml-btn-outline {
    border-color: rgba(255,255,255,0.2);
    backdrop-filter: blur(4px);
}

.ml-hero__trust {
    display: flex;
    gap: var(--ml-space-xl);
    flex-wrap: wrap;
}

.ml-hero__trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--ml-font-accent);
    font-size: 13px;
    font-weight: 500;
    color: rgba(255,255,255,0.45);
}

.ml-hero__trust-item svg {
    stroke: #0d9488 !important;
    opacity: 1 !important;
}

/* ---------------------------------------------
   HERO RIGHT-SIDE VISUAL COMPOSITION
   --------------------------------------------
   Pure CSS — no extra HTML required. Layered:
     • `.ml-hero__float--1` → outer concentric ring backdrop
     • `.ml-hero__float--2` → inner radial glow halo
     • `.ml-hero::before`   → centerpiece glasses SVG inside a glassy frame
     • `.ml-hero::after`    → floating "AI Virtual Try-On" feature card
     • `.ml-hero__content::after` → floating "★ 4.9 / 25k+ buyers" trust card
   --------------------------------------------- */

/* Common floating decoration baseline. */
.ml-hero__float {
    position: absolute;
    border-radius: 50%;
    z-index: 1;
    pointer-events: none;
}

/* OUTER RING — large concentric gold rings backdrop on the right side. */
.ml-hero__float--1 {
    width: 620px;
    height: 620px;
    top: 50%;
    right: -120px;
    transform: translateY(-50%);
    border: 1px solid rgba(13, 148, 136, 0.10);
    box-shadow:
        inset 0 0 0 60px rgba(13, 148, 136, 0.04),
        inset 0 0 0 120px rgba(13, 148, 136, 0.06),
        inset 0 0 0 180px rgba(13, 148, 136, 0.04);
    animation: heroFloat 25s ease-in-out infinite;
}

/* INNER GLOW — soft radial halo behind the glasses centerpiece. */
.ml-hero__float--2 {
    width: 460px;
    height: 460px;
    top: 50%;
    right: 4%;
    transform: translateY(-50%);
    background:
        radial-gradient(circle at 50% 50%,
            rgba(13, 148, 136, 0.22) 0%,
            rgba(13, 148, 136, 0.08) 30%,
            transparent 70%);
    filter: blur(8px);
    animation: heroPulseGlow 6s ease-in-out infinite;
}

@keyframes heroFloat {
    0%, 100% { transform: translateY(-50%) translate(0, 0) rotate(0deg); }
    33%      { transform: translateY(-50%) translate(10px, -8px) rotate(2deg); }
    66%      { transform: translateY(-50%) translate(-6px, 6px) rotate(-1.5deg); }
}

@keyframes heroPulseGlow {
    0%, 100% { transform: translateY(-50%) scale(1);    opacity: 0.9; }
    50%      { transform: translateY(-50%) scale(1.06); opacity: 1;   }
}

/* CENTERPIECE — stylized eyeglasses SVG inside a glassy circular frame. */
.ml-hero::before {
    content: "";
    position: absolute;
    top: 50%;
    right: 7%;
    transform: translateY(-50%);
    width: 380px;
    height: 380px;
    border-radius: 50%;
    background:
        url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 220 90' fill='none' stroke='%235eead4' stroke-width='2.3' stroke-linecap='round' stroke-linejoin='round'><circle cx='55' cy='45' r='34' fill='rgba(13, 148, 136,0.08)'/><circle cx='165' cy='45' r='34' fill='rgba(13, 148, 136,0.08)'/><path d='M89 45 Q110 32 131 45'/><path d='M21 47 L4 41' /><path d='M199 47 L216 41' /><circle cx='55' cy='45' r='14' fill='none' stroke='%235eead4' stroke-width='1' opacity='0.5'/><circle cx='165' cy='45' r='14' fill='none' stroke='%235eead4' stroke-width='1' opacity='0.5'/><path d='M40 28 Q60 18 75 25' fill='none' stroke='white' stroke-width='1.4' opacity='0.55'/><path d='M150 28 Q170 18 185 25' fill='none' stroke='white' stroke-width='1.4' opacity='0.55'/></svg>") center/72% no-repeat,
        radial-gradient(circle at 30% 25%,
            rgba(255, 255, 255, 0.06) 0%,
            transparent 40%),
        radial-gradient(circle at 65% 60%,
            rgba(13, 148, 136, 0.12) 0%,
            transparent 60%),
        linear-gradient(140deg,
            rgba(255, 255, 255, 0.04) 0%,
            rgba(28, 25, 23, 0.18) 60%,
            rgba(13, 148, 136, 0.08) 100%);
    border: 1px solid rgba(13, 148, 136, 0.22);
    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.45),
        0 0 60px rgba(13, 148, 136, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    z-index: 2;
    pointer-events: none;
    animation: heroGlassesFloat 7s ease-in-out infinite;
}

@keyframes heroGlassesFloat {
    0%, 100% { transform: translateY(-50%) translateY(0); }
    50%      { transform: translateY(-50%) translateY(-10px); }
}

/* FLOATING TRUST CARD — top-right of the hero.
   Built with pseudo-element on `.ml-hero` (after) so we don't need extra HTML.
   Renders the rating star + numbers via CSS gradients & content. */
.ml-hero::after {
    content: "AI Virtual Try-On";
    position: absolute;
    bottom: 12%;
    right: 6%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 22px 14px 46px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(13, 148, 136, 0.28);
    border-radius: 999px;
    font-family: var(--ml-font-accent);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    color: var(--ml-white);
    box-shadow:
        0 12px 32px rgba(0, 0, 0, 0.35),
        0 0 0 4px rgba(13, 148, 136, 0.06);
    background-image:
        url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230d9488' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z'/><circle cx='12' cy='12' r='3'/></svg>");
    background-repeat: no-repeat;
    background-position: 18px center;
    background-size: 18px 18px;
    z-index: 3;
    pointer-events: none;
    animation: heroBadgeFloat 8s ease-in-out infinite;
}

@keyframes heroBadgeFloat {
    0%, 100% { transform: translateY(0) rotate(-1deg); }
    50%      { transform: translateY(-8px) rotate(1deg); }
}

/* Second floating accent — uses ::after on the hero content's parent shadow,
   placed via the `.ml-hero__content`'s after pseudo. Renders a "★ 4.9 rating"
   chip in the upper-right area. */
.ml-hero__content::after {
    content: "4.9 / 5  ·  25,000+ Happy Buyers";
    position: absolute;
    top: 10%;
    right: -480px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 22px 12px 42px;
    background: rgba(15, 15, 30, 0.55);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(13, 148, 136, 0.30);
    border-radius: 999px;
    font-family: var(--ml-font-accent);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.4px;
    color: var(--ml-white);
    background-image:
        url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%230d9488' stroke='%230d9488' stroke-width='1.5' stroke-linejoin='round'><polygon points='12 2 15.09 8.26 22 9.27 17 14.14 18.18 21.02 12 17.77 5.82 21.02 7 14.14 2 9.27 8.91 8.26 12 2'/></svg>");
    background-repeat: no-repeat;
    background-position: 16px center;
    background-size: 16px 16px;
    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.45),
        0 0 0 4px rgba(13, 148, 136, 0.05);
    z-index: 3;
    white-space: nowrap;
    pointer-events: none;
    animation: heroBadgeFloat 9s ease-in-out infinite reverse;
}

/* TranslatePress / Albanian: localized trust chip copy */
html[lang="sq"] .ml-hero::after {
    content: "Provë Virtuale me AI";
}

html[lang="sq"] .ml-hero__content::after {
    content: "4.9 / 5 · 25,000+ blerës të kënaqur" !important;
}

/* Note: `.ml-hero__content` already has `position: relative` from its base
   rule above, so the rating-chip ::after anchors correctly without needing
   to be redeclared. */

/* ============================================
   SECTION HEADERS — Modern editorial
   ============================================ */
.mylens-homepage-wrap .ml-section-header h2 {
    font-size: clamp(1.85rem, 3.2vw, 2.65rem);
    font-weight: 700;
    letter-spacing: -0.035em;
    color: var(--ml-primary);
}

.mylens-homepage-wrap .ml-section-header h2::after {
    width: 52px;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--ml-accent), rgba(13, 148, 136, 0.35));
    margin: 16px auto 0;
}

.mylens-homepage-wrap .ml-section-header p {
    font-size: var(--ml-text-lg);
    color: var(--ml-text-light);
    max-width: 540px;
    line-height: 1.65;
}

.mylens-homepage-wrap .ml-section-header .ml-view-all {
    margin-top: var(--ml-space-lg);
    padding: 10px 22px;
    border-radius: 999px;
    border: 1px solid rgba(13, 148, 136, 0.35);
    background: rgba(13, 148, 136, 0.06);
    transition:
        background 0.25s ease,
        border-color 0.25s ease,
        color 0.25s ease,
        gap 0.25s ease,
        box-shadow 0.25s ease;
}

.mylens-homepage-wrap .ml-section-header .ml-view-all:hover {
    background: rgba(13, 148, 136, 0.14);
    border-color: rgba(13, 148, 136, 0.55);
    box-shadow: 0 6px 22px rgba(13, 148, 136, 0.18);
}

/* ============================================
   PRODUCT CARDS — Glass modern
   ============================================ */
.mylens-homepage-wrap .ml-product-card {
    border-radius: 18px;
    border: 1px solid rgba(28, 25, 23, 0.06);
    overflow: hidden;
    background: var(--ml-white);
    box-shadow: 0 4px 22px rgba(28, 25, 23, 0.045);
    transition:
        transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        box-shadow 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        border-color 0.35s ease;
}

.mylens-homepage-wrap .ml-product-card:hover {
    transform: translateY(-10px);
    box-shadow:
        0 26px 56px rgba(28, 25, 23, 0.11),
        0 4px 14px rgba(13, 148, 136, 0.12);
    border-color: rgba(13, 148, 136, 0.22);
}

.mylens-homepage-wrap .ml-product-card__image {
    aspect-ratio: 1;
    background: linear-gradient(135deg, #f5f3ef 0%, #faf8f5 100%);
    position: relative;
    overflow: hidden;
}

.mylens-homepage-wrap .ml-product-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.mylens-homepage-wrap .ml-product-card:hover .ml-product-card__image img {
    transform: scale(1.08);
}

.mylens-homepage-wrap .ml-product-card__quickview {
    background: linear-gradient(transparent 0%, rgba(28, 25, 23,0.85) 100%);
    backdrop-filter: blur(4px);
}

.mylens-homepage-wrap .ml-product-card__quickview a {
    font-size: 12px;
    letter-spacing: 1.5px;
}

.mylens-homepage-wrap .ml-product-card__info {
    padding: 16px 18px 18px;
}

.mylens-homepage-wrap .ml-product-card__brand {
    font-size: 10px;
    letter-spacing: 1.5px;
    opacity: 0.7;
}

.mylens-homepage-wrap .ml-product-card__title {
    font-size: 14px;
    font-weight: 600;
    margin: 0 0 6px;
    line-height: 1.35;
}

.mylens-homepage-wrap .ml-product-card__price {
    font-size: var(--ml-text-base);
    font-weight: 700;
}

/* Product Grid — breathable rhythm */
.mylens-homepage-wrap .ml-product-grid {
    gap: 22px;
}

/* ============================================
   VIRTUAL TRY-ON — Modern split
   ============================================ */
.ml-tryon {
    background: linear-gradient(165deg, #0c0a09 0%, #1c1917 50%, #262626 100%) !important;
    position: relative;
    overflow: hidden;
}

.ml-tryon::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(13, 148, 136,0.06) 0%, transparent 70%);
    pointer-events: none;
}

.ml-tryon__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--ml-space-4xl);
    align-items: center;
}

.ml-tryon__label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--ml-font-accent);
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--ml-accent);
    margin-bottom: var(--ml-space-md);
}

.ml-tryon__label::before {
    content: '';
    width: 20px;
    height: 1px;
    background: var(--ml-accent);
}

.ml-tryon h2 {
    color: var(--ml-white);
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    margin-bottom: var(--ml-space-md);
    letter-spacing: -0.5px;
}

.ml-tryon p {
    color: rgba(255,255,255,0.55);
    font-size: var(--ml-text-base);
    line-height: 1.7;
    margin-bottom: var(--ml-space-2xl);
}

.ml-tryon__features {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: var(--ml-space-2xl);
}

.ml-tryon__feature {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.ml-tryon__feature-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(13, 148, 136,0.08);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(13, 148, 136,0.1);
}

.ml-tryon__feature-icon svg {
    width: 20px;
    height: 20px;
}

.ml-tryon__feature strong {
    display: block;
    color: var(--ml-white);
    font-family: var(--ml-font-accent);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 2px;
}

.ml-tryon__feature span {
    color: rgba(255,255,255,0.4);
    font-size: 13px;
}

.ml-tryon__cta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.ml-tryon__cta .ml-btn-primary {
    background: linear-gradient(135deg, var(--ml-accent), var(--ml-accent-hover));
    border: none;
}

/* Try-on visual — real image with floating cards */
.ml-tryon__visual {
    position: relative;
}

.ml-tryon__image-wrap {
    position: relative;
    border-radius: 20px;
    overflow: visible !important;
}

.ml-tryon__image-wrap > img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    display: block;
    box-shadow: 0 24px 60px rgba(0,0,0,0.4);
}

/* Floating glassmorphic stat cards */
.ml-tryon__float-card {
    position: absolute !important;
    display: flex !important;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 14px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.25);
    z-index: 10;
    animation: floatCard 4s ease-in-out infinite;
    white-space: nowrap;
}

.ml-tryon__float-card strong {
    display: block;
    color: var(--ml-white);
    font-family: var(--ml-font-accent);
    font-size: 13px;
    font-weight: 600;
    margin: 0;
}

.ml-tryon__float-card span {
    color: rgba(255,255,255,0.5);
    font-size: 11px;
    font-family: var(--ml-font-accent);
    display: block;
}

.ml-tryon__float-card--top {
    top: 20px;
    right: -30px;
    animation-delay: 0s;
}

.ml-tryon__float-card--bottom {
    bottom: 40px;
    left: -30px;
    animation-delay: 2s;
}

.ml-tryon__float-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(13, 148, 136,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.ml-tryon__float-stat {
    font-family: var(--ml-font-heading);
    font-size: 28px;
    font-weight: 900;
    color: var(--ml-accent);
    line-height: 1;
    flex-shrink: 0;
}

@keyframes floatCard {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* ============================================
   PROMO BANNER — light sale strip + solid card
   (Dark glass variant removed: poor contrast with ink type.) 
   ============================================ */
.ml-promo-banner {
    position: relative;
    padding: var(--ml-space-4xl) 0;
    overflow: hidden;
    background: linear-gradient(180deg, var(--ml-surface) 0%, var(--ml-surface-alt) 50%, var(--ml-surface) 100%);
}

.ml-promo-banner__bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 50% 0%, rgba(13, 148, 136, 0.12) 0%, transparent 55%),
        radial-gradient(ellipse 45% 45% at 100% 100%, rgba(13, 148, 136, 0.08) 0%, transparent 50%);
    z-index: 0;
}

.ml-promo-banner__bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(28, 25, 23, 0.06) 1px, transparent 1px);
    background-size: 28px 28px;
    opacity: 0.35;
}

.ml-promo-banner__content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 640px;
    margin: 0 auto;
    padding: clamp(1.85rem, 4vw, 2.85rem) clamp(1.35rem, 3vw, 2.5rem);
    border-radius: var(--ml-radius-xl, 14px);
    border: 1px solid rgba(28, 25, 23, 0.08);
    background: var(--ml-card, #fff);
    box-shadow:
        0 12px 40px rgba(28, 25, 23, 0.08),
        0 1px 0 rgba(255, 255, 255, 0.92) inset;
}

.ml-promo-banner__badge {
    display: inline-block;
    font-family: var(--ml-font-accent);
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--ml-accent-hover, #0f766e);
    background: rgba(13, 148, 136, 0.1);
    border: 1px solid rgba(13, 148, 136, 0.18);
    padding: 8px 18px;
    border-radius: var(--ml-radius-full);
    margin-bottom: var(--ml-space-lg);
}

.ml-promo-banner h2 {
    font-size: clamp(1.85rem, 4vw, 2.75rem);
    color: var(--ml-primary, #1c1917);
    margin-bottom: var(--ml-space-sm);
    letter-spacing: -0.02em;
    line-height: 1.12;
}

.ml-promo-banner p {
    font-size: var(--ml-text-base);
    color: var(--ml-text-light, #57534e);
    margin-bottom: var(--ml-space-xl);
    line-height: 1.65;
    max-width: 38rem;
    margin-left: auto;
    margin-right: auto;
}

.ml-promo-banner .ml-btn {
    background: linear-gradient(180deg, var(--ml-accent, #0d9488) 0%, var(--ml-accent-hover, #0f766e) 100%);
    color: #fff;
    border: none;
    font-weight: 600;
    box-shadow: 0 4px 20px rgba(13, 148, 136, 0.28);
}

.ml-promo-banner .ml-btn:hover {
    color: #fff;
}

/* ============================================
   HOW IT WORKS — Premium step cards w/ arrow connectors
   ============================================
   HTML layout (in homepage template):
     .ml-steps
       ├─ .ml-step (01)
       ├─ .ml-step__connector  ← arrow svg
       ├─ .ml-step (02)
       ├─ .ml-step__connector  ← arrow svg
       └─ .ml-step (03)

   Grid uses `1fr auto 1fr auto 1fr` so the
   connector cells slot between the step cells
   automatically without changing the markup.
   ============================================ */

/* Section gets a subtle dotted gold backdrop pattern. */
.ml-how-it-works {
    position: relative;
    overflow: hidden;
}

.ml-how-it-works::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 1px 1px, rgba(13, 148, 136, 0.10) 1px, transparent 0);
    background-size: 28px 28px;
    opacity: 0.6;
    pointer-events: none;
    z-index: 0;
}

.ml-how-it-works > .ml-container {
    position: relative;
    z-index: 1;
}

.ml-steps {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    align-items: stretch;
    column-gap: 14px;
    row-gap: 24px;
    max-width: 1120px;
    margin: 32px auto 0;
}

.ml-step {
    position: relative;
    text-align: center;
    padding: 64px 28px 36px;
    background: var(--ml-white);
    border-radius: 22px;
    border: 1px solid rgba(28, 25, 23, 0.06);
    box-shadow: 0 4px 20px rgba(28, 25, 23, 0.04);
    transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                box-shadow 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                border-color 0.35s ease;
    overflow: visible;
    z-index: 1;
}

/* Top accent bar reveals on hover. */
.ml-step::before {
    content: "";
    position: absolute;
    top: 0;
    left: 28px;
    right: 28px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--ml-accent), transparent);
    border-radius: 0 0 3px 3px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.ml-step:hover {
    transform: translateY(-8px);
    border-color: rgba(13, 148, 136, 0.35);
    box-shadow:
        0 18px 48px rgba(28, 25, 23, 0.08),
        0 4px 12px rgba(13, 148, 136, 0.10);
}

.ml-step:hover::before {
    opacity: 1;
}

/* The "01/02/03" number — circular badge floating above the card top edge. */
.ml-step__number {
    position: absolute;
    top: -24px;
    left: 50%;
    transform: translateX(-50%);
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--ml-accent), var(--ml-accent-hover));
    color: var(--ml-white);
    font-family: var(--ml-font-accent);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
    line-height: 1;
    box-shadow:
        0 6px 16px rgba(13, 148, 136, 0.35),
        0 0 0 6px var(--ml-white);
    transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                box-shadow 0.35s ease;
    -webkit-text-fill-color: var(--ml-white);
    background-clip: padding-box;
    -webkit-background-clip: padding-box;
}

.ml-step:hover .ml-step__number {
    transform: translateX(-50%) scale(1.08);
    box-shadow:
        0 10px 22px rgba(13, 148, 136, 0.45),
        0 0 0 6px var(--ml-white);
}

/* Icon — bigger, framed in a soft gold ring with a deeper inner badge. */
.ml-step__icon {
    width: 76px;
    height: 76px;
    border-radius: 22px;
    background: linear-gradient(135deg, rgba(13, 148, 136, 0.18) 0%, rgba(13, 148, 136, 0.06) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 22px;
    position: relative;
    transition: transform 0.35s ease, background 0.35s ease;
}

.ml-step__icon::after {
    content: "";
    position: absolute;
    inset: 8px;
    border-radius: 16px;
    background: var(--ml-white);
    box-shadow: 0 2px 8px rgba(28, 25, 23, 0.04);
    z-index: 0;
}

.ml-step__icon svg {
    width: 32px;
    height: 32px;
    position: relative;
    z-index: 1;
    stroke: var(--ml-accent-hover);
    transition: stroke 0.3s ease, transform 0.35s ease;
}

.ml-step:hover .ml-step__icon {
    background: linear-gradient(135deg, rgba(13, 148, 136, 0.30) 0%, rgba(13, 148, 136, 0.10) 100%);
}

.ml-step:hover .ml-step__icon svg {
    stroke: var(--ml-primary);
    transform: scale(1.05);
}

/* Heading — brand serif. */
.ml-step h3 {
    font-family: var(--ml-font-heading);
    font-size: 21px;
    font-weight: 700;
    color: var(--ml-primary);
    margin: 0 0 12px;
    letter-spacing: -0.01em;
    line-height: 1.25;
}

/* Description. */
.ml-step p {
    font-family: var(--ml-font-body);
    font-size: 14px;
    color: var(--ml-text-light);
    line-height: 1.65;
    margin: 0;
    max-width: 28ch;
    margin-left: auto;
    margin-right: auto;
}

/* Connector arrows between cards (visible on desktop). */
.ml-step__connector {
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: center;
    width: 56px;
    height: 56px;
    margin: 0;
    opacity: 0.5;
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.ml-step__connector svg {
    width: 100%;
    height: auto;
    stroke: var(--ml-accent);
}

/* Subtle pulse-like nudge on parent grid hover (any step hover). */
.ml-steps:hover .ml-step__connector {
    opacity: 0.85;
}

.ml-step__connector svg path {
    stroke-dasharray: 0;
    animation: ml-step-arrow-flow 3.5s ease-in-out infinite;
}

@keyframes ml-step-arrow-flow {
    0%, 100% { transform: translateX(0); }
    50%      { transform: translateX(4px); }
}

/* ============================================
   TESTIMONIALS — Glass cards
   ============================================ */
.ml-testimonials__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.ml-testimonial {
    background: linear-gradient(155deg, rgba(255, 255, 255, 0.96) 0%, var(--ml-white) 100%);
    padding: var(--ml-space-xl) var(--ml-space-xl) var(--ml-space-xl);
    border-radius: 22px;
    border: 1px solid rgba(28, 25, 23, 0.07);
    box-shadow: 0 8px 28px rgba(28, 25, 23, 0.055);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition:
        transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        box-shadow 0.45s ease,
        border-color 0.35s ease;
    position: relative;
}

.ml-testimonial:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 48px rgba(28, 25, 23, 0.1);
    border-color: rgba(13, 148, 136, 0.22);
}

.ml-testimonial::before {
    content: '"';
    position: absolute;
    top: 16px;
    right: 20px;
    font-family: var(--ml-font-heading);
    font-size: 60px;
    line-height: 1;
    color: rgba(13, 148, 136,0.08);
}

.ml-testimonial__stars {
    display: flex;
    gap: 2px;
    margin-bottom: 14px;
}

.ml-testimonial__stars svg {
    width: 14px;
    height: 14px;
}

.ml-testimonial blockquote {
    font-size: 14px;
    font-style: italic;
    color: var(--ml-text);
    line-height: 1.7;
    margin: 0 0 var(--ml-space-lg);
    padding: 0;
    border: none;
}

.ml-testimonial__author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ml-testimonial__avatar {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--ml-accent) 0%, var(--ml-accent-hover) 100%);
    color: var(--ml-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--ml-font-accent);
    font-weight: 700;
    font-size: 15px;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.95), 0 4px 14px rgba(13, 148, 136, 0.35);
}

.ml-testimonial__author strong {
    display: block;
    font-family: var(--ml-font-accent);
    font-size: 13px;
    color: var(--ml-text);
}

.ml-testimonial__author span {
    font-size: 11px;
    color: var(--ml-accent);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

/* ============================================
   SHOP BY BRAND — Modern pills
   ============================================ */
.ml-brands__grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.ml-brand-card {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    background: var(--ml-white);
    border-radius: var(--ml-radius-full);
    border: 1px solid rgba(28, 25, 23, 0.07);
    box-shadow: 0 4px 16px rgba(28, 25, 23, 0.045);
    transition:
        transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        box-shadow 0.35s ease,
        border-color 0.3s ease,
        background 0.3s ease;
    text-decoration: none;
}

.ml-brand-card:hover {
    border-color: rgba(13, 148, 136, 0.45);
    background: var(--ml-primary);
    transform: translateY(-4px);
    box-shadow: 0 14px 34px rgba(28, 25, 23, 0.14);
}

.ml-brand-card__name {
    font-family: var(--ml-font-accent);
    font-size: 14px;
    font-weight: 600;
    color: var(--ml-primary);
    letter-spacing: 0.3px;
    transition: color 0.3s ease;
}

.ml-brand-card:hover .ml-brand-card__name {
    color: var(--ml-accent);
}

/* ============================================
   SEO BLOCK — About copy card (spacing + depth)
   ============================================ */
.ml-seo-block {
    position: relative;
    /* Extra bottom rhythm before footer */
    padding: clamp(3rem, 8vw, 5.5rem) 0 clamp(4.25rem, 11vw, 7.5rem);
    overflow: hidden;
    background:
        radial-gradient(ellipse 90% 55% at 12% 18%, rgba(13, 148, 136, 0.1) 0%, transparent 52%),
        radial-gradient(ellipse 65% 45% at 90% 72%, rgba(28, 25, 23, 0.045) 0%, transparent 48%),
        linear-gradient(175deg, #f4f1e8 0%, #ebe7df 40%, #e6e2d8 100%);
    border-top: 1px solid rgba(28, 25, 23, 0.065);
}

/* Soft stage behind the card */
.ml-seo-block::before {
    content: "";
    position: absolute;
    inset: clamp(18px, 4vw, 28px) clamp(12px, 3vw, 20px);
    border-radius: clamp(22px, 3vw, 28px);
    border: 1px solid rgba(13, 148, 136, 0.14);
    background: linear-gradient(
        155deg,
        rgba(255, 255, 255, 0.38) 0%,
        rgba(255, 255, 255, 0) 55%
    );
    pointer-events: none;
    z-index: 0;
    opacity: 0.88;
}

.ml-seo-block > .ml-container {
    position: relative;
    z-index: 1;
}

.ml-seo-block p {
    display: flow-root;
    position: relative;
    font-size: 15px;
    color: rgba(42, 42, 54, 0.88);
    line-height: 1.82;
    max-width: 880px;
    margin: 0 auto;
    text-align: left;
    hyphens: auto;
    padding: clamp(2.25rem, 4.5vw, 3rem) clamp(2.25rem, 4.25vw, 2.85rem) clamp(2.85rem, 5.25vw, 3.75rem) !important;
    background:
        linear-gradient(165deg, rgba(255, 255, 255, 0.99) 0%, rgba(252, 250, 246, 1) 100%);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.95);
    border-left: 5px solid var(--ml-accent);
    box-shadow:
        0 2px 0 rgba(255, 255, 255, 0.9) inset,
        0 1px 0 rgba(13, 148, 136, 0.22),
        0 14px 36px rgba(28, 25, 23, 0.09),
        0 32px 72px rgba(28, 25, 23, 0.08),
        0 6px 16px rgba(13, 148, 136, 0.07);
}

/* Top gradient rule */
.ml-seo-block p::before {
    content: "";
    display: block;
    width: min(280px, 90%);
    height: 4px;
    border-radius: 999px;
    margin-bottom: 1rem;
    background: linear-gradient(90deg, var(--ml-accent), rgba(13, 148, 136, 0.14));
    box-shadow: 0 10px 26px rgba(13, 148, 136, 0.22);
}

/* Drop cap — editorial feel */
.ml-seo-block p::first-letter {
    font-family: var(--ml-font-heading);
    font-size: clamp(2.6rem, 6vw, 3.25rem);
    font-weight: 700;
    float: left;
    line-height: 0.78;
    padding-right: 0.18rem;
    margin: 0.05em 0.12em 0 0;
    color: var(--ml-accent);
    text-shadow: 0 4px 14px rgba(13, 148, 136, 0.22);
}

@media (max-width: 899px) {
    .ml-seo-block::before {
        inset: 14px 10px;
        border-radius: 20px;
    }

    .ml-seo-block p::first-letter {
        font-size: 2.5rem;
    }
}

/* ============================================
   SCROLL ANIMATIONS — Smoother
   ============================================ */
.mylens-homepage-wrap .ml-fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.mylens-homepage-wrap .ml-fade-up.ml-visible {
    opacity: 1;
    transform: translateY(0);
}

.mylens-homepage-wrap .ml-slide-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.mylens-homepage-wrap .ml-slide-left.ml-visible {
    opacity: 1;
    transform: translateX(0);
}

.mylens-homepage-wrap .ml-slide-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.mylens-homepage-wrap .ml-slide-right.ml-visible {
    opacity: 1;
    transform: translateX(0);
}

/* Stagger — quicker */
.mylens-homepage-wrap .ml-stagger > *:nth-child(1) { transition-delay: 0s; }
.mylens-homepage-wrap .ml-stagger > *:nth-child(2) { transition-delay: 0.08s; }
.mylens-homepage-wrap .ml-stagger > *:nth-child(3) { transition-delay: 0.16s; }
.mylens-homepage-wrap .ml-stagger > *:nth-child(4) { transition-delay: 0.24s; }
.mylens-homepage-wrap .ml-stagger > *:nth-child(5) { transition-delay: 0.32s; }
.mylens-homepage-wrap .ml-stagger > *:nth-child(6) { transition-delay: 0.40s; }
.mylens-homepage-wrap .ml-stagger > *:nth-child(7) { transition-delay: 0.48s; }
.mylens-homepage-wrap .ml-stagger > *:nth-child(8) { transition-delay: 0.56s; }

/* ============================================
   SECTION SPACING — Tighter, modern
   ============================================ */
.mylens-homepage-wrap .ml-section {
    padding: var(--ml-space-4xl) 0;
}

.mylens-homepage-wrap .ml-section-header {
    margin-bottom: var(--ml-space-2xl);
}

/* Alternating section bg enhancements */
.mylens-homepage-wrap .ml-section-alt {
    background:
        radial-gradient(ellipse 120% 70% at 50% 0%, rgba(13, 148, 136, 0.065) 0%, transparent 48%),
        linear-gradient(180deg, #f3efe6 0%, #faf8f4 50%, #f4f1ea 100%);
}

.mylens-homepage-wrap .ml-section-dark {
    background: linear-gradient(165deg, #0d0d18 0%, #141428 45%, #1a1a32 100%);
}

/* ============================================
   RESPONSIVE — TABLET
   ============================================ */
@media (max-width: 1024px) {
    .ml-hero {
        min-height: 75vh;
    }

    /* Scale down the hero right-side visual composition on tablet. */
    .ml-hero::before {
        width: 280px;
        height: 280px;
        right: 3%;
    }

    .ml-hero__float--1 {
        width: 460px;
        height: 460px;
        right: -160px;
    }

    .ml-hero__float--2 {
        width: 340px;
        height: 340px;
        right: 2%;
    }

    .ml-hero::after {
        right: 3%;
        bottom: 8%;
        font-size: 11px;
        padding: 12px 18px 12px 40px;
        background-size: 16px 16px;
        background-position: 14px center;
    }

    .ml-hero__content::after {
        right: -260px;
        top: 6%;
        font-size: 11px;
        padding: 10px 18px 10px 36px;
    }

    .ml-tryon__grid {
        grid-template-columns: 1fr;
        gap: var(--ml-space-2xl);
    }

    .ml-tryon__visual {
        display: none;
    }

    .ml-steps {
        grid-template-columns: 1fr;
        max-width: 460px;
        row-gap: 56px;
        column-gap: 0;
    }

    /* Switch arrows from horizontal to a vertical "downward" hint. */
    .ml-step__connector {
        width: 36px;
        height: 36px;
        justify-self: center;
        opacity: 0.6;
        transform: rotate(90deg);
    }

    .ml-testimonials__grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* ============================================
   RESPONSIVE — MOBILE
   ============================================ */
@media (max-width: 768px) {
    .ml-hero {
        min-height: auto;
        padding: var(--ml-space-2xl) 0;
    }

    .ml-hero__content {
        padding: var(--ml-space-lg) 0;
    }

    .ml-hero__title {
        letter-spacing: -1px;
    }

    .ml-hero__cta {
        flex-direction: column;
    }

    .ml-hero__cta .ml-btn {
        text-align: center;
        width: 100%;
    }

    .ml-hero__trust {
        gap: 12px;
    }

    .ml-hero__float {
        display: none;
    }

    /* Hide the right-side visual composition on mobile so the hero
       text gets the full viewport width. */
    .ml-hero::before,
    .ml-hero::after,
    .ml-hero__content::after {
        display: none;
    }

    .ml-promo-banner {
        padding: var(--ml-space-3xl) 0;
    }

    .ml-promo-banner__content {
        padding: 1.35rem 1.1rem;
        border-radius: 20px;
    }

    .ml-testimonials__grid {
        grid-template-columns: 1fr;
    }

    .mylens-homepage-wrap .ml-section {
        padding: var(--ml-space-3xl) 0;
    }

    .ml-seo-block {
        padding: clamp(2.35rem, 8vw, 3.75rem) 0 clamp(3.25rem, 11vw, 5rem);
    }

    .ml-seo-block p {
        padding: clamp(1.45rem, 4.8vw, 1.95rem) clamp(1.35rem, 4.5vw, 1.85rem) clamp(2.05rem, 5.5vw, 2.75rem) !important;
        font-size: 14px;
        line-height: 1.75;
    }

    .ml-seo-block p::before {
        width: min(220px, 92%);
        margin-bottom: 0.65rem;
    }
}

@media (max-width: 480px) {
    .ml-hero__tag {
        font-size: 9px;
        padding: 8px 16px;
    }

    .ml-step {
        padding: 56px 22px 28px;
    }

    .ml-step h3 {
        font-size: 19px;
    }

    .ml-step__icon {
        width: 68px;
        height: 68px;
        margin-bottom: 18px;
    }

    .ml-step__icon svg {
        width: 28px;
        height: 28px;
    }

    .ml-step__number {
        width: 42px;
        height: 42px;
        top: -21px;
        font-size: 13px;
    }

    .ml-step__connector {
        display: none;
    }

    .ml-steps {
        row-gap: 32px;
    }

    .ml-testimonial {
        padding: var(--ml-space-lg);
    }

    .ml-brand-card {
        padding: 12px 20px;
    }

    .ml-brand-card__name {
        font-size: 12px;
    }
}
