:root {
    --bg-dark: #050505;
    --bg-card: #0a0a0a;
    --text-main: #e5e5e5;
    --text-gray: #a3a3a3;
    --text-muted: #525252;
    --text-accent: #ffffff;
    --border: rgba(255, 255, 255, 0.1);
    --border-subtle: rgba(255, 255, 255, 0.05);
    --bg-glass: rgba(23, 23, 23, 0.6);
    --font-main: 'Outfit', sans-serif;
    --font-mono: 'Geist Mono', monospace;
    --easing-standard: cubic-bezier(0.16, 1, 0.3, 1);
    --mouse-x: 50%;
    --mouse-y: 50%;
}

html,
body {
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
    touch-action: pan-y;
    overscroll-behavior: none;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #050505;
    background-color: var(--bg-dark);
    background-attachment: fixed;
    color: var(--text-main);
    font-family: var(--font-main);
    line-height: 1.5;
    overflow-wrap: break-word;
    word-break: break-word;
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
}

body.intro-active {
    overflow: hidden;
}

/* ===================== INTRO SEQUENCE ===================== */
#intro-sequence {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    background-color: var(--bg-dark);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.6s var(--easing-standard);
}

#intro-sequence.intro-fade-out {
    opacity: 0;
    pointer-events: none;
}

.intro-image-container {
    position: relative;
    width: 55vw;
    max-width: 420px;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background-color: var(--bg-dark);
    will-change: transform, width, height, top, left, max-width;
}

/* When zooming, JS injects exact dimensions via inline styles.
   This class just enables the transition. */
.intro-image-container.intro-zoom-in {
    position: fixed;
    transition: all 0.9s cubic-bezier(0.65, 0, 0.35, 1);
    aspect-ratio: unset;
}

@media (max-width: 768px) {
    .intro-image-container {
        width: 75vw;
        max-width: 85vw;
        aspect-ratio: 3 / 4;
    }
}

.intro-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    background-color: var(--bg-dark);
    /* No transition specifically for the image swaps for rapid flashing */
    /* Only transition opacity for the very first image so it doesn't pop harshly, though 0ms is fine */
}

.intro-img.intro-active {
    opacity: 1;
}

/* Specific styling for the logo image in intro */
.intro-img[src*="rm-media-box-logo"] {
    object-fit: contain;
    padding: 30%;
}

/* Zoom-in animation for the RM logo during intro hold */
.intro-img[src*="rm-media-box-logo"].intro-active {
    animation: introLogoZoom 0.55s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes introLogoZoom {
    0% {
        transform: scale(1.15);
        opacity: 0;
    }

    15% {
        opacity: 1;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Hide Slide 1 content and UI overlays during intro */
body.intro-active .ui-overlay {
    opacity: 0 !important;
    transition: none !important;
}

body.intro-active #slide-1 .animate-on-view {
    opacity: 0 !important;
    filter: blur(12px) !important;
    transform: translateY(40px) !important;
    animation: none !important;
}

/* When intro ends, let Slide 1 animations play */
body.intro-finished #slide-1 .animate-on-view.is-visible {
    animation: fadeSlideBlurIn 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-fill-mode: both;
}

/* Make sure text clipping plays when intro finishes */
body.intro-finished #slide-1 .text-reveal-target.is-visible .letter-clip {
    animation: slideDownClip 0.8s var(--easing-standard) both;
}

/* Word-by-word reveal for Slide 1 hero title */
body.intro-finished #slide-1 .text-reveal-target .word-clip {
    animation: wordReveal 0.7s cubic-bezier(0.16, 1, 0.3, 1) both;
}

body.intro-finished .ui-overlay {
    opacity: 1;
    transition: opacity 0.8s ease 0.3s;
}

/* ===================== UI OVERLAYS ===================== */
.ui-overlay {
    position: fixed;
    z-index: 999;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-gray);
    pointer-events: none;
}

#ui-top-left {
    top: 2rem;
    left: 2rem;
    color: var(--text-main);
    font-weight: 600;
    z-index: 1000;
    padding: 0.6rem 1.25rem;
    border-radius: 0px;
    border: 1px solid var(--border-subtle);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
    letter-spacing: 0.05em;
}

#ui-top-right {
    top: 2rem;
    right: 2rem;
    pointer-events: auto;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.6rem 1.25rem;
    border-radius: 0px;
    border: 1px solid var(--border-subtle);
    max-width: calc(100vw - 4rem);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
}

@media (max-width: 768px) {
    #ui-top-left {
        top: 1.5rem;
        left: 1.5rem;
        font-size: 0.70rem;
        padding: 0.5rem 1rem;
    }

    #ui-top-right {
        top: 1.5rem;
        right: 1.5rem;
        max-width: calc(100vw - 3rem);
        gap: 0.75rem;
        padding: 0.5rem 1rem;
    }

    #ui-mid-left {
        top: 50% !important;
        left: 0.5rem !important;
        font-size: 0.65rem;
        letter-spacing: 0.2em;
        transform: translateY(-50%) rotate(180deg) !important;
    }

    #ui-bottom-left {
        bottom: 1.5rem;
        left: 1.5rem;
        font-size: 0.70rem;
    }

    #ui-bottom-right {
        bottom: 1.5rem;
        right: 1.5rem;
        font-size: 0.70rem;
    }

    body.slide-7-active #ui-bottom-left {
        display: none !important;
    }
}

#ui-mid-left {
    top: 50%;
    left: 2rem;
    color: var(--text-gray);
    letter-spacing: 0.3em;
    transform: translateY(-50%) rotate(180deg);
    writing-mode: vertical-rl;
    text-orientation: mixed;
    font-size: 0.85rem;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.6);
}

@media (max-width: 768px) {
    #ui-mid-left {
        left: 0.8rem !important;
        font-size: 0.75rem;
    }
}

/* Side Dots Navigation */
#ui-mid-right {
    top: 50%;
    right: 3rem;
    transform: translateY(-50%);
    pointer-events: auto;
}

@media (max-width: 768px) {
    #ui-mid-right {
        right: 1.5rem;
    }
}

.nav-dots-container {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    align-items: center;
}

.nav-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.2);
    border: none;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    padding: 0;
}

.nav-dot:hover {
    background-color: rgba(255, 255, 255, 0.9);
    transform: scale(2);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.4);
}

.nav-dot.active {
    background-color: rgba(255, 255, 255, 1);
    transform: scale(1.5);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.nav-dot:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.5);
    outline-offset: 3px;
}

#ui-bottom-left {
    bottom: 2rem;
    left: 2rem;
}

#ui-bottom-right {
    bottom: 2rem;
    right: 2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(20, 20, 20, 0.95);
    padding: 0.6rem 1.25rem;
    border-radius: 0px;
    border: 1px solid var(--border-subtle);
    color: var(--text-main);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
}

.custom-logo {
    display: block;
    object-fit: contain;
}

.nav-btn {
    background: none;
    border: none;
    color: var(--text-gray);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.4s ease, transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    padding: 0.2rem;
}

.nav-btn:hover {
    color: var(--text-main);
    transform: scale(1.2) translateX(2px);
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.3));
}

.prev-btn:hover {
    transform: scale(1.2) translateX(-2px);
}

.nav-divider {
    width: 1px;
    height: 16px;
    background: rgba(255, 255, 255, 0.15);
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    letter-spacing: 0.15em;
}

.dot {
    width: 6px;
    height: 6px;
    background-color: white;
    border-radius: 50%;
    display: inline-block;
}

.text-gray {
    color: var(--text-gray);
}

/* ===================== LAYOUT ===================== */
.scroll-container {
    scroll-snap-type: y mandatory;
    height: 100vh;
    height: 100dvh;
    width: 100%;
    overflow-y: scroll;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y;
    overscroll-behavior-y: contain;
    scroll-behavior: smooth;
}

.slide {
    height: 100vh;
    height: 100dvh;
    width: 100%;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: 0;
    overflow: hidden;
    touch-action: pan-y;
}

.card {
    width: 100%;
    height: 100%;
    background-color: var(--bg-card);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: 0;
    border-radius: 0;
    border: none;
    box-shadow: none;
    container-type: inline-size;
    /* Enable container queries for text scaling */
}

/* Slide 1 background */
#slide-1 .card {
    background-image: linear-gradient(to bottom, rgba(5, 5, 5, 0) 0%, rgba(5, 5, 5, 0.475) 75%, rgba(5, 5, 5, 0.85) 98%, rgba(5, 5, 5, 0.925) 100%), url('assets/WATCHES_Gemini 3 (Nano Banana Pro)_2026-03-04_02-03-47.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-bottom: none;
}

@media (min-width: 768px) {
    .slide {
        padding: 3rem;
    }

    .card {
        max-height: 90vh;
        max-width: calc(90vh * 0.75);
        border-radius: 0px;
        box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8);
        border: 1px solid var(--border-subtle);
        background-color: var(--bg-card);
    }

}

@media (min-width: 1200px) {
    .card {
        max-height: 85vh;
        max-width: calc(85vh * 0.75);
    }
}

.card-content {
    padding: 1.5rem 1.5rem 1.5rem 2.5rem;
    height: 100%;
    width: 100%;
    min-width: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

@media (min-width: 768px) {
    .card-content {
        padding: 2.5rem;
    }
}

@media (max-width: 768px) {

    #slide-1 .card-content,
    #slide-3 .card-content {
        padding-bottom: 3.5rem;
    }
}

.flex-center {
    justify-content: center;
    align-items: center;
}

/* ===================== ANIMATIONS ===================== */
.animate-on-view {
    opacity: 0.01;
    filter: blur(12px);
    transform: translateY(40px);
}

.animate-on-view.is-visible {
    animation: fadeSlideBlurIn 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-fill-mode: both;
}

.delay-1 {
    animation-delay: 0.15s;
}

.delay-2 {
    animation-delay: 0.3s;
}

.delay-3 {
    animation-delay: 0.45s;
}

.delay-4 {
    animation-delay: 0.6s;
}

.delay-5 {
    animation-delay: 0.75s;
}

.delay-6 {
    animation-delay: 0.9s;
}

.delay-7 {
    animation-delay: 1.05s;
}

.delay-8 {
    animation-delay: 1.2s;
}

.delay-8h {
    animation-delay: 1.25s;
}

.delay-9 {
    animation-delay: 1.35s;
}

.delay-10 {
    animation-delay: 1.5s;
}

@keyframes fadeSlideBlurIn {
    0% {
        opacity: 0;
        filter: blur(12px);
        transform: translateY(40px) scale(0.98);
    }

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

/* ===================== SLIDE 1: ABOUT ===================== */

/* Full-height flex layout for Slide 1 */
.slide-1-layout {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    text-align: left;
    padding: 6rem 2rem 7rem 2rem !important;
    position: relative;
}

/* On desktop/laptop, push title to top corner and bottom section lower */
@media (min-width: 769px) {
    .slide-1-layout {
        padding: 2.5rem 2rem 3rem 2rem !important;
    }
}

.slide-1-top {
    width: 100%;
    display: flex;
    justify-content: flex-start;
}

.slide-1-bottom {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    /* Left-aligned logo and subtitle */
    text-align: left;
}

/* Slide 1 subtitle text scales with card width */
#slide-1 .left-border-block p {
    font-size: clamp(0.9rem, 3.8cqi, 1.25rem);
}

/* Big bold hero title at the top — scales with card width via cqi */
.slide-1-hero-title {
    font-size: clamp(2rem, 9cqi, 3.5rem) !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    line-height: 0.88 !important;
    letter-spacing: -0.05em !important;
    margin-bottom: 0 !important;
    text-shadow: 0 4px 60px rgba(0, 0, 0, 0.7);
    color: #ffffff;
}

@media (max-width: 768px) {
    .slide-1-layout {
        padding: 4.5rem 1.5rem 5rem 1.5rem !important;
    }

    .slide-1-hero-title {
        font-size: clamp(1.4rem, 7vw, 2rem) !important;
    }

    .slide-1-bottom {
        align-items: flex-start;
        padding-left: 5%;
    }

    .slide-1-bottom .left-border-block p {
        font-size: clamp(0.95rem, 3.8vw, 1.15rem) !important;
    }

    .slide-1-bottom .custom-logo {
        width: 80px !important;
    }
}

.main-title {
    font-size: clamp(1.7rem, 5.5vw, 2.8rem);
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 0.75rem;
}

.subtitle {
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    color: var(--text-gray);
    max-width: 100%;
    margin-bottom: 2rem;
    line-height: 1.6;
    font-weight: 400;
}

/* ===================== SLIDE 2 & 3: LEFT BORDER BLOCK ===================== */
.section-heading {
    margin-top: 0;
    font-size: clamp(2.25rem, 5vw, 3rem);
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 2rem;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.6);
}

.slide-inner-center {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    height: 100%;
    padding: 0;
}

.left-border-block {
    border-left: 1px solid rgba(255, 255, 255, 0.25);
    padding-left: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.left-border-block p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    margin: 0;
    font-weight: 450;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.9), 0 2px 20px rgba(0, 0, 0, 0.7);
}

/* ===================== CINEMATIC BACKGROUNDS ===================== */
.clip-bg-card {
    padding: 0;
}

.clip-bg-card .card-content {
    padding: 2.5rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.bg-columns {
    position: absolute;
    inset: 0;
    overflow: hidden;
    background-color: var(--bg-dark);
}

/* Vignette overlay for text readability */
.bg-columns::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: radial-gradient(ellipse at center, rgba(5, 5, 5, 0.25) 20%, rgba(5, 5, 5, 0.7) 100%);
}


.bg-cinematic,
.bg-cinematic-dress,
.bg-cinematic-dress-5,
.bg-cinematic-dress-6,
.bg-cinematic-dress-7,
.bg-cinematic-dress-8 {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transform-origin: center 40%;
    /* Hardware acceleration and rendering optimizations for GIFs */
    transform: translateZ(0);
    will-change: transform;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    perspective: 1000px;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    animation: editorialBreathe 30s ease-in-out infinite alternate;
}

.bg-cinematic {
    background-image: linear-gradient(rgba(5, 5, 5, 0.25), rgba(5, 5, 5, 0.25)), url('assets/WATCHES_Gemini 3.1 Flash (Nano Banana 2)_2026-03-02_19-31-37.png');
}

.bg-cinematic-dress {
    background-image: linear-gradient(rgba(5, 5, 5, 0.2), rgba(5, 5, 5, 0.2)), url('assets/dress-4-rm-media.png');
}

.bg-cinematic-dress-5 {
    background-image: linear-gradient(rgba(5, 5, 5, 0.40), rgba(5, 5, 5, 0.40)), url('assets/freepik_1176x1756_24fps_33055-ezgif.com-video-to-gif-converter.gif');
}

.bg-cinematic-dress-8 {
    background-image: linear-gradient(rgba(5, 5, 5, 0.45), rgba(5, 5, 5, 0.45)), url('assets/WATCHES_Gemini 3 (Nano Banana Pro)_2026-03-03_21-04-55.png');
}

.bg-cinematic-dress-7 {
    background-image: linear-gradient(rgba(5, 5, 5, 0.25), rgba(5, 5, 5, 0.25)), url('assets/WATCHES_Gemini 3 (Nano Banana Pro)_2026-03-04_00-40-44.png');
}

.bg-cinematic-dress-6 {
    background-image: linear-gradient(rgba(5, 5, 5, 0.40), rgba(5, 5, 5, 0.40)), url('assets/WATCHES_Gemini 3 (Nano Banana Pro)_2026-03-04_01-28-48.png');
}

@keyframes editorialBreathe {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.04);
    }
}

/* ===================== SLIDE 4: PROCESS STEPS ===================== */
.process-card {
    background: rgba(10, 10, 10, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1.5rem 1.5rem;
    max-width: 340px;
    width: 100%;
    margin: 0 auto;
    box-shadow: 0 16px 60px rgba(0, 0, 0, 0.9), 0 4px 20px rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(16px);
    border-radius: 0;
}

@media (max-width: 768px) {
    .process-card {
        padding: 1.5rem 1.25rem;
    }
}

.process-steps {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
}

.process-step {
    text-align: center;
    padding: 0.35rem 0;
}

.process-num {
    font-size: 0.65rem;
    letter-spacing: 0.25em;
    color: var(--text-main);
    text-transform: uppercase;
    display: block;
    margin-bottom: 0.25rem;
    font-weight: 600;
    text-shadow: 0 0 12px rgba(255, 255, 255, 0.3);
}

.process-title {
    font-size: 1.25rem;
    font-weight: 500;
    letter-spacing: -0.02em;
    margin-bottom: 0.2rem;
    color: var(--text-main);
    background: linear-gradient(135deg, #ffffff 0%, #b0b0b0 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
}

.process-desc {
    font-size: 0.75rem;
    color: var(--text-gray);
    line-height: 1.5;
    max-width: 260px;
    margin: 0 auto;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.6);
    font-weight: 400;
}

/* Process Sequential Animation */
.process-step.process-animate {
    opacity: 0;
    transform: perspective(800px) rotateX(30deg) translateY(40px) scale(0.95);
    filter: blur(12px);
    transform-origin: center top;
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1),
        transform 1s cubic-bezier(0.16, 1, 0.3, 1),
        filter 1s ease;
}

.process-step.process-animate.is-visible {
    opacity: 1;
    transform: perspective(800px) rotateX(0deg) translateY(0) scale(1);
    filter: blur(0);
}

.process-connector {
    width: 2px;
    height: 0;
    background: rgba(255, 255, 255, 0.15);
    margin: 0 auto;
    position: relative;
    opacity: 0;
    overflow: hidden;
}

.process-connector::after {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.8) 50%, rgba(255, 255, 255, 0) 100%);
    opacity: 0;
}

.process-connector.process-animate {
    transition: height 0.8s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.8s ease;
}

.process-connector.is-visible {
    height: 35px;
    opacity: 1;
}

.process-connector.is-visible::after {
    animation: travelDown 2.5s ease-in-out infinite;
    animation-delay: 1s;
}

@keyframes travelDown {
    0% {
        top: -100%;
        opacity: 0;
    }

    20% {
        opacity: 1;
    }

    80% {
        opacity: 1;
    }

    100% {
        top: 100%;
        opacity: 0;
    }
}

@keyframes connectorPulse {

    0%,
    100% {
        box-shadow: 0 0 4px rgba(255, 255, 255, 0.05);
    }

    50% {
        box-shadow: 0 0 12px rgba(255, 255, 255, 0.15);
    }
}

/* ===================== SLIDE 5: MARQUEE ===================== */
.marquee-box {
    width: 100%;
    margin: 3rem 0;
    padding: 2rem 0;
    background: rgba(10, 10, 10, 0.5);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
    mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

.marquee-wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
    display: flex;
    -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
    mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

.marquee-track {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    min-width: 100%;
    gap: 1.5rem;
    padding-right: 1.5rem;
    animation: marqueeScroll 15s linear infinite;
}

.marquee-item {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-gray);
    white-space: nowrap;
    letter-spacing: 0.03em;
}

.marquee-pill {
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.75rem 1.5rem;
    border-radius: 0px;
    background: rgba(255, 255, 255, 0.02);
    transition: border-color 0.3s ease;
}

@keyframes marqueeScroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-100%);
    }
}

/* Text shadows for slides with background images */
#slide-2 .section-heading,
#slide-3 .section-heading,
#slide-4 .section-heading,
#slide-6 .section-heading {
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.6);
}

#slide-6 .text-center[style] {
    text-shadow: 0 1px 12px rgba(0, 0, 0, 0.6);
}

#slide-2 .left-border-block p,
#slide-3 .left-border-block p {
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.5);
}

/* ===================== SLIDE 6: COMPARISON CARD ===================== */
.compare-card {
    width: 100%;
    max-width: 520px;
    background: rgba(10, 10, 10, 0.80);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 0;
    padding: 1.5rem 2rem;
    box-shadow: 0 20px 80px rgba(0, 0, 0, 0.7), 0 8px 30px rgba(0, 0, 0, 0.5);
}

.compare-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 0.25rem;
}

.compare-header-label {
    font-size: 0.65rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    font-weight: 600;
    text-align: left;
}

.compare-header-label.text-white {
    color: var(--text-main);
}

.compare-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    padding: 0.7rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.compare-row:last-child {
    border-bottom: none;
}

.compare-cell {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    font-weight: 400;
    text-align: left;
}

.compare-cell--old {
    color: var(--text-muted);
}

.compare-cell--new {
    color: var(--text-main);
}

.compare-icon {
    font-size: 0.7rem;
    flex-shrink: 0;
    font-weight: 400;
    width: auto;
    height: auto;
    display: inline;
}

.compare-icon--x {
    color: rgba(255, 255, 255, 0.2);
}

.compare-icon--check {
    color: var(--text-main);
}

/* Staggered row animation */
.compare-row-animate {
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.5s var(--easing-standard), transform 0.5s var(--easing-standard);
}

.compare-row-animate.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 768px) {
    .compare-card {
        padding: 1.25rem 1.25rem;
    }

    .compare-cell {
        font-size: 0.78rem;
        gap: 0.35rem;
    }

    .compare-header-label {
        font-size: 0.6rem;
    }
}

/* ===================== BEAM BUTTON ===================== */
.beam-btn {
    position: relative;
    background: transparent;
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 9999px;
    border: none;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    overflow: hidden;
    z-index: 1;
    font-family: var(--font-main);
    letter-spacing: 0.02em;
    transition: transform 0.3s var(--easing-standard), box-shadow 0.3s var(--easing-standard);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4), 0 0 0 0 rgba(255, 255, 255, 0);
}

.beam-btn:hover {
    transform: scale(1.08);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5), 0 0 30px rgba(255, 255, 255, 0.08);
}

.beam-btn:active {
    transform: scale(1.02);
}

.beam-btn:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.5);
    outline-offset: 4px;
}

@property --beam-angle {
    syntax: "<angle>";
    inherits: false;
    initial-value: 0deg;
}

@keyframes spin-angle {
    to {
        --beam-angle: 360deg;
    }
}

.beam-btn-inner {
    position: relative;
    z-index: 1;
}

.beam-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 9999px;
    padding: 1.5px;
    background: conic-gradient(from var(--beam-angle, 0deg), transparent 0%, transparent 80%, rgba(255, 255, 255, 0.8) 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    z-index: -2;
    animation: spin-angle 3s linear infinite;
    opacity: 0.8;
    transition: opacity 0.3s var(--easing-standard);
}

.beam-btn:hover::before {
    opacity: 1;
    background: conic-gradient(from var(--beam-angle, 0deg), transparent 0%, transparent 60%, rgba(255, 255, 255, 1) 100%);
    animation-duration: 1.5s;
}

.beam-btn::after {
    content: '';
    position: absolute;
    inset: 1.5px;
    background: rgba(10, 10, 10, 0.85);
    /* Increased opacity for darkness */
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 9999px;
    z-index: -1;
    transition: background 0.3s ease;
}

.beam-btn:hover::after {
    background: rgba(15, 15, 15, 0.95);
    /* Even darker on hover */
}

/* ===================== SCROLL INDICATOR ===================== */
.scroll-indicator {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    left: auto;
    transform: translateY(8px);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    opacity: 0;
    transition: opacity 0.6s ease, transform 0.6s ease;
    z-index: 10;
}

@media (min-width: 1024px) {
    .scroll-indicator {
        right: 3rem;
        bottom: 2rem;
    }
}


.scroll-indicator.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.scroll-indicator.fade-out {
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.scroll-mouse {
    width: 20px;
    height: 32px;
    border: 1.5px solid rgba(255, 255, 255, 0.35);
    border-radius: 10px;
    display: flex;
    justify-content: center;
    padding-top: 6px;
}

.scroll-dot {
    width: 3px;
    height: 3px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 50%;
    animation: scrollBounce 1.8s ease-in-out infinite;
}

@keyframes scrollBounce {

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

    50% {
        transform: translateY(10px);
        opacity: 0.3;
    }
}


/* ===================== DELAYED TAGLINE ===================== */
.delayed-tagline {
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.delayed-tagline.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===================== SEE MORE PROMPT ===================== */
.see-more-prompt {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    margin-top: 1.25rem;
    opacity: 0;
    transform: translateY(-6px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    cursor: default;
}

.see-more-prompt.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.see-more-prompt span {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 0.08em;
    font-weight: 400;
    text-transform: lowercase;
}

.see-more-prompt svg {
    color: rgba(255, 255, 255, 0.5);
}

.see-more-prompt.is-visible svg {
    animation: promptBounce 2s ease-in-out infinite;
    animation-delay: 1.6s;
}

@keyframes fadeInPrompt {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }

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

@keyframes promptBounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(4px);
    }
}

/* ===================== SCROLL ARROW ===================== */
.scroll-prompt-arrow {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    color: rgba(255, 255, 255, 0.4);
    opacity: 0;
    transition: opacity 0.5s ease 2s;
    pointer-events: none;
    animation: gentleBounce 2s cubic-bezier(0.4, 0, 0.2, 1) infinite;
    margin-top: 1.5rem;
}

.scroll-prompt-arrow.is-visible {
    opacity: 0.5;
    animation: bounceDown 2.5s infinite;
    animation-delay: 2s;
}

@keyframes bounceDown {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0) translateX(-50%);
    }

    40% {
        transform: translateY(8px) translateX(-50%);
    }

    60% {
        transform: translateY(4px) translateX(-50%);
    }
}

/* ===================== TEXT CLIP ANIMATION ===================== */
.text-clip-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.1em;
}

.letter-clip {
    clip-path: inset(0 0 100% 0);
    transform: translateY(30px);
    opacity: 0;
}

.is-visible .letter-clip {
    animation: slideDownClip 0.8s var(--easing-standard) both;
}

/* Word-by-word clip animation */
.word-clip {
    display: inline-block;
    clip-path: inset(0 0 100% 0);
    transform: translateY(40px);
    opacity: 0;
}

@keyframes wordReveal {
    0% {
        clip-path: inset(0 0 100% 0);
        transform: translateY(40px);
        opacity: 0;
    }

    30% {
        opacity: 1;
    }

    100% {
        clip-path: inset(0 0 0 0);
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slideDownClip {
    from {
        clip-path: inset(0 0 100% 0);
        transform: translateY(30px);
        opacity: 0;
    }

    to {
        clip-path: inset(0 0 0 0);
        transform: translateY(0);
        opacity: 1;
    }
}

/* ===================== BOOKING MODAL ===================== */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(5, 5, 5, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1.5rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s var(--easing-standard);
}

.modal-overlay.modal-active {
    opacity: 1;
    pointer-events: auto;
}

.modal-container {
    position: relative;
    width: 100%;
    /* Flexibly scale up to max-width */
    width: min(92%, 560px);
    max-height: 85vh;
    background: rgba(15, 15, 15, 0.75);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0;
    padding: clamp(1.5rem, 5vw, 2.5rem);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.9), 0 0 60px rgba(0, 0, 0, 0.5);
    overflow-y: auto;
    transform: scale(0.9) translateY(30px);
    opacity: 0;
    transition: all 0.5s var(--easing-standard);
    margin: auto;
}

.modal-active .modal-container {
    transform: scale(1) translateY(0);
    opacity: 1;
}

@media (max-width: 768px) {
    .modal-container {
        padding: 1.5rem 1.25rem;
        max-height: 95vh;
        width: 92%;
    }

    .modal-step {
        gap: 1.25rem;
    }

    .modal-title {
        font-size: 1.5rem;
        margin-bottom: 0.25rem;
    }

    .modal-subtitle {
        font-size: 0.8rem;
    }

    .lead-form {
        gap: 1rem;
    }

    .form-group {
        gap: 0.25rem;
    }

    .form-input {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }

    textarea.form-input {
        min-height: 80px;
    }

    .form-submit-btn {
        margin-top: 0.25rem;
        padding: 0.85rem 1rem;
    }
}

.modal-close {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    background: none;
    border: none;
    color: var(--text-gray);
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
    padding: 0.25rem;
    transition: color 0.3s ease, transform 0.3s var(--easing-standard);
    z-index: 10;
}

.modal-close:hover {
    color: var(--text-main);
    transform: rotate(90deg) scale(1.1);
}

.modal-step {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.4s ease, transform 0.4s var(--easing-standard);
}

.modal-step-hidden {
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
    position: absolute;
    top: 2.5rem;
    left: 2.5rem;
    right: 2.5rem;
}

.modal-header {
    margin-bottom: 2rem;
    text-align: center;
}

.modal-title {
    font-size: clamp(1.5rem, 4vw, 1.85rem);
    font-weight: 500;
    letter-spacing: -0.02em;
    margin-bottom: 0.5rem;
    color: var(--text-main);
}

.modal-subtitle {
    font-size: 0.9rem;
    color: var(--text-gray);
    line-height: 1.6;
    margin: 0;
}

/* ===================== FORM STYLES ===================== */
.lead-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-label {
    font-size: 0.8rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--text-gray);
    font-weight: 500;
}

.optional {
    text-transform: none;
    color: var(--text-muted);
    font-weight: 400;
    font-size: 0.75rem;
}

.form-input {
    width: 100%;
    padding: 0.9rem 1.25rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0;
    color: var(--text-main);
    font-family: var(--font-main);
    font-size: 0.95rem;
    transition: border-color 0.3s ease, background 0.3s ease, transform 0.3s var(--easing-standard);
}

.form-input:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-2px);
}

.form-input::placeholder {
    color: var(--text-muted);
}

.form-submit-btn {
    margin-top: 0.5rem;
    padding: 1rem 2rem;
    background: rgba(255, 255, 255, 0.95);
    color: #000;
    border: none;
    border-radius: 0;
    font-family: var(--font-main);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    transition: all 0.3s var(--easing-standard);
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.15);
}

.form-submit-btn:hover {
    background: rgba(255, 255, 255, 1);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(255, 255, 255, 0.25);
}

.form-submit-btn:active {
    transform: translateY(0);
}

.btn-arrow {
    transition: transform 0.3s var(--easing-standard);
}

.form-submit-btn:hover .btn-arrow {
    transform: translateX(4px);
}

/* ===================== CUSTOM BOOKING INTERFACE ===================== */
.booking-interface {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* ===================== CALENDLY EMBED ===================== */
.embedded-calendar-container {
    width: 100%;
    height: 600px;
    max-height: 60vh;
    overflow: hidden;
    border-radius: 8px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .embedded-calendar-container {
        height: 450px;
        max-height: 55vh;
    }
}

.booking-section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.booking-label {
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-gray);
    font-weight: 600;
}

/* Date Grid */
.date-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0.75rem;
}

@media (max-width: 768px) {
    .date-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.date-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0;
    padding: 0.75rem 0.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    cursor: pointer;
    transition: all 0.3s var(--easing-standard);
    font-family: var(--font-main);
    min-width: 0;
}

.date-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.date-card.selected {
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(255, 255, 255, 1);
    color: #000;
}

.date-day {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-gray);
    font-weight: 500;
}

.date-card.selected .date-day {
    color: #666;
}

.date-num {
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1;
    color: var(--text-main);
}

.date-card.selected .date-num {
    color: #000;
}

.date-month {
    font-size: 0.7rem;
    text-transform: uppercase;
    color: var(--text-muted);
    font-weight: 500;
}

.date-card.selected .date-month {
    color: #666;
}

/* Time Slots */
.time-slots {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
}

@media (max-width: 768px) {
    .time-slots {
        grid-template-columns: repeat(2, 1fr);
    }
}

.placeholder-text {
    grid-column: 1 / -1;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
    padding: 2rem 1rem;
    margin: 0;
}

.time-slot {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0;
    padding: 0.85rem 1rem;
    font-family: var(--font-main);
    font-size: 0.85rem;
    color: var(--text-main);
    cursor: pointer;
    transition: all 0.3s var(--easing-standard);
    font-weight: 500;
    min-width: 0;
    text-align: center;
}

.time-slot:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.time-slot.selected {
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(255, 255, 255, 1);
    color: #000;
}

/* Booking Summary */
.booking-summary {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0;
    padding: 1.25rem 1.5rem;
    margin-top: 0.5rem;
}

.summary-content {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.summary-icon {
    flex-shrink: 0;
    color: var(--text-main);
    opacity: 0.8;
}

.summary-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.summary-date {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-main);
    margin: 0;
}

.summary-time {
    font-size: 0.8rem;
    color: var(--text-gray);
    margin: 0;
}

/* Confirm Booking Button */
.confirm-booking-btn {
    margin-top: 1rem;
    padding: 1rem 2rem;
    background: rgba(255, 255, 255, 0.95);
    color: #000;
    border: none;
    border-radius: 0;
    font-family: var(--font-main);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    transition: all 0.3s var(--easing-standard);
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.15);
}

.confirm-booking-btn:hover {
    background: rgba(255, 255, 255, 1);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(255, 255, 255, 0.25);
}

.confirm-booking-btn:active {
    transform: translateY(0);
}

/* Confirmation Screen */
.confirmation-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2rem 1rem;
    gap: 1.5rem;
}

.confirmation-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(34, 197, 94, 0.1);
    border: 2px solid rgba(34, 197, 94, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgb(34, 197, 94);
    animation: checkmarkPop 0.6s var(--easing-standard);
}

@keyframes checkmarkPop {
    0% {
        transform: scale(0);
        opacity: 0;
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.confirmation-details {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.detail-row:last-child {
    border-bottom: none;
}

.detail-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-gray);
    font-weight: 500;
}

.detail-value {
    font-size: 0.9rem;
    color: var(--text-main);
    font-weight: 500;
    text-align: right;
}

.close-modal-btn {
    margin-top: 1rem;
    padding: 1rem 2.5rem;
    background: rgba(255, 255, 255, 0.95);
    color: #000;
    border: none;
    border-radius: 0;
    font-family: var(--font-main);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s var(--easing-standard);
}

.close-modal-btn:hover {
    background: rgba(255, 255, 255, 1);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(255, 255, 255, 0.2);
}

/* Animated Arrow Indicator (points to close button) */
.close-arrow-indicator {
    position: absolute;
    top: 1.5rem;
    right: 4.5rem;
    z-index: 20;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    filter: drop-shadow(0 4px 12px rgba(255, 255, 255, 0.3));
}

.close-arrow-indicator.show-arrow {
    opacity: 1;
    visibility: visible;
    animation: arrowBounce 1.5s ease-in-out infinite;
}

.close-arrow-indicator svg {
    color: #ffffff;
    display: block;
}

@keyframes arrowBounce {

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

    50% {
        transform: translateX(8px);
        opacity: 0.6;
    }
}

@media (max-width: 768px) {
    .close-arrow-indicator {
        top: 1.25rem;
        right: 3.75rem;
    }

    .close-arrow-indicator svg {
        width: 24px;
        height: 24px;
    }
}

/* Embedded Calendar Container (Calendly) */
.embedded-calendar-container {
    width: 100%;
    height: 650px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0;
    overflow: hidden;
    margin-bottom: 1.5rem;
    position: relative;
}

.calendly-inline-widget {
    width: 100% !important;
    height: 100% !important;
    min-width: 100% !important;
}

/* Hide Calendly branding badge */
.calendly-badge-widget,
.calendly-inline-widget iframe[src*="calendly"]+div,
.embedded-calendar-container .calendly-badge-content {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
}

@media (max-width: 768px) {
    .embedded-calendar-container {
        height: 550px;
    }
}

.back-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: none;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.75rem 1.5rem;
    color: var(--text-gray);
    font-family: var(--font-main);
    font-size: 0.85rem;
    cursor: pointer;
    border-radius: 0;
    transition: all 0.3s ease;
    margin: 0 auto;
}

.back-btn:hover {
    border-color: rgba(255, 255, 255, 0.25);
    color: var(--text-main);
    transform: translateX(-4px);
}

.back-btn svg {
    transition: transform 0.3s var(--easing-standard);
}

.back-btn:hover svg {
    transform: translateX(-4px);
}

/* ===================== LOADING STATE ===================== */
.loading-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    gap: 1.5rem;
}

.loading-state p {
    color: var(--text-gray);
    font-size: 0.9rem;
    margin: 0;
}

.loader {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-top-color: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ===================== SUCCESS CONFIRMATION SCREEN ===================== */
.success-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2rem 1rem;
    gap: 1.5rem;
}

.success-icon {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: rgba(34, 197, 94, 0.1);
    border: 2px solid rgba(34, 197, 94, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgb(34, 197, 94);
    animation: successPop 0.6s var(--easing-standard);
}

@keyframes successPop {
    0% {
        transform: scale(0);
        opacity: 0;
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.success-details {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 1rem;
}

.success-message {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0;
    padding: 1.5rem;
    text-align: left;
}

.success-message p {
    color: var(--text-main);
    margin: 0 0 1rem 0;
    font-size: 0.95rem;
}

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

.success-message li {
    color: var(--text-gray);
    font-size: 0.9rem;
    padding-left: 1.5rem;
    position: relative;
}

.success-message li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: rgb(34, 197, 94);
    font-weight: bold;
}

.success-cta {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0;
    padding: 1.5rem;
}

.success-cta p {
    color: var(--text-gray);
    margin: 0 0 1rem 0;
    font-size: 0.9rem;
}

.instagram-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-main);
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 0;
    transition: all 0.3s var(--easing-standard);
    font-weight: 500;
    font-size: 0.9rem;
}

.instagram-link:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.close-success-btn {
    margin-top: 1rem;
    padding: 1rem 2.5rem;
    background: rgba(255, 255, 255, 0.95);
    color: #000;
    border: none;
    border-radius: 0;
    font-family: var(--font-main);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s var(--easing-standard);
}

.close-success-btn:hover {
    background: rgba(255, 255, 255, 1);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(255, 255, 255, 0.2);
}

/* ===================== CUSTOM SUCCESS POPUP ===================== */
.custom-popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1.5rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.custom-popup-overlay.popup-active {
    opacity: 1;
    pointer-events: auto;
}

.custom-popup-container {
    position: relative;
    width: 100%;
    max-width: 480px;
    max-height: 90vh;
    overflow-y: auto;
    background: linear-gradient(135deg, rgba(15, 15, 15, 0.98) 0%, rgba(10, 10, 10, 0.95) 100%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 0;
    padding: 2.5rem 2rem;
    box-shadow:
        0 40px 100px rgba(0, 0, 0, 0.9),
        0 0 0 1px rgba(255, 255, 255, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    transform: scale(0.85) translateY(40px);
    opacity: 0;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.popup-active .custom-popup-container {
    transform: scale(1) translateY(0);
    opacity: 1;
}

@media (max-width: 768px) {
    .custom-popup-container {
        padding: 2rem 1.5rem;
        max-width: 92vw;
        max-height: 85vh;
    }

    .success-checkmark {
        margin-bottom: 0;
    }

    .checkmark-svg {
        width: 60px;
        height: 60px;
    }

    .custom-popup-content {
        gap: 1rem;
    }

    .popup-details-box {
        padding: 1rem;
        gap: 0.75rem;
    }

    .popup-detail-item {
        font-size: 0.82rem;
    }

    .popup-cta-section {
        margin-top: 0.25rem;
    }

    .popup-close-btn {
        margin-top: 0.5rem;
        padding: 0.85rem 2rem;
    }
}

.custom-popup-close {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-gray);
    font-size: 1.75rem;
    line-height: 1;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 10;
}

.custom-popup-close:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    color: var(--text-main);
    transform: rotate(90deg);
}

.custom-popup-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.5rem;
}

/* Animated Checkmark */
.success-checkmark {
    margin-bottom: 0.5rem;
}

.checkmark-svg {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: block;
    stroke-width: 2;
    stroke: #fff;
    stroke-miterlimit: 10;
    filter: drop-shadow(0 4px 20px rgba(255, 255, 255, 0.15));
}

.checkmark-circle {
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    stroke-width: 2;
    stroke: rgba(255, 255, 255, 0.2);
    fill: none;
    animation: stroke-circle 0.8s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.checkmark-check {
    transform-origin: 50% 50%;
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    stroke-width: 3;
    stroke: #ffffff;
    animation: stroke-check 0.5s cubic-bezier(0.65, 0, 0.45, 1) 0.6s forwards;
}

@keyframes stroke-circle {
    100% {
        stroke-dashoffset: 0;
        stroke: rgba(255, 255, 255, 0.4);
    }
}

@keyframes stroke-check {
    100% {
        stroke-dashoffset: 0;
    }
}

.popup-title {
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    font-weight: 600;
    letter-spacing: -0.03em;
    color: var(--text-main);
    margin: 0;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.6);
}

.popup-message {
    font-size: 1rem;
    color: var(--text-gray);
    line-height: 1.6;
    max-width: 380px;
    margin: 0;
}

/* Details Box */
.popup-details-box {
    width: 100%;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 0;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 0.5rem;
}

.popup-detail-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    text-align: left;
    color: var(--text-gray);
    font-size: 0.9rem;
    line-height: 1.5;
}

.popup-detail-item svg {
    flex-shrink: 0;
    margin-top: 0.1rem;
    opacity: 0.7;
}

/* CTA Section */
.popup-cta-section {
    width: 100%;
    margin-top: 0.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.popup-cta-text {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 0;
}

.popup-instagram-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.8rem 1.75rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 0;
    color: var(--text-main);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.popup-instagram-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.popup-close-btn {
    margin-top: 1rem;
    padding: 1rem 2.5rem;
    background: rgba(255, 255, 255, 0.95);
    color: #000;
    border: none;
    border-radius: 0;
    font-family: var(--font-main);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.15);
}

.popup-close-btn:hover {
    background: rgba(255, 255, 255, 1);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(255, 255, 255, 0.25);
}

.popup-close-btn:active {
    transform: translateY(0);
}

/* ===================== UTILITY CLASSES ===================== */
.z-10 {
    z-index: 10;
}

.relative {
    position: relative;
}

.w-full {
    width: 100%;
}

.h-full {
    height: 100%;
}

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

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

.mt-12 {
    margin-top: 3rem;
}

.mb-0 {
    margin-bottom: 0;
}

.mb-2 {
    margin-bottom: 0.5rem;
}

.mb-4 {
    margin-bottom: 1rem;
}

.mb-8 {
    margin-bottom: 2rem;
}

.mb-12 {
    margin-bottom: 3rem;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

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

.text-sm {
    font-size: 0.875rem;
}

.text-gray-300 {
    color: #cccccc;
}

.text-gray-400 {
    color: #999999;
}

/* ===================== CO-FOUNDERS CONTACT (SLIDE 7) ===================== */
.founders-contact {
    position: absolute;
    bottom: 2rem;
    /* Lifted slightly to avoid iOS safe area blocking */
    left: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    z-index: 20;
    pointer-events: none;
}


.founders-contact * {
    pointer-events: auto;
}

.founders-heading {
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 0.75rem;
}

.founders-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

.founder-divider {
    color: rgba(255, 255, 255, 0.2);
    font-size: 0.8rem;
}

.founder-link {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.85rem;
    text-decoration: none;
    letter-spacing: 0.05em;
    position: relative;
    padding: 0.25rem 0;
    transition: all 0.4s ease;
}

/* Minimal Underline Sweep on Hover */
.founder-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: var(--text-main);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.founder-link:hover {
    color: var(--text-main);
}

.founder-link:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.italic {
    font-style: italic;
}

.font-bold {
    font-weight: 700;
}

.flex {
    display: flex;
}

.flex-col {
    flex-direction: column;
}

.justify-center {
    justify-content: center;
}

/* ===================== ENHANCED MODAL STYLING ===================== */

/* Enhanced Modal Overlay with subtle grain texture */
.modal-overlay {
    background: radial-gradient(circle at 30% 50%, rgba(20, 20, 20, 0.95) 0%, rgba(5, 5, 5, 0.98) 100%);
}

.modal-overlay::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.02) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.015) 0%, transparent 50%);
    pointer-events: none;
}

/* Enhanced Modal Container with refined borders */
.modal-container {
    background: linear-gradient(135deg, rgba(18, 18, 18, 0.85) 0%, rgba(12, 12, 12, 0.9) 100%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    position: relative;
}

/* Subtle corner accents */
.modal-container::before,
.modal-container::after {
    content: '';
    position: absolute;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    pointer-events: none;
}

.modal-container::before {
    top: 0;
    left: 0;
    border-right: none;
    border-bottom: none;
}

.modal-container::after {
    bottom: 0;
    right: 0;
    border-left: none;
    border-top: none;
}

/* Enhanced Modal Title */
.modal-title {
    font-weight: 400;
    letter-spacing: -0.03em;
    background: linear-gradient(180deg, #ffffff 0%, #e5e5e5 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Enhanced Form Inputs with better focus states */
.form-input {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
}

.form-input:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.15);
}

.form-input:focus {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.05);
}

/* Enhanced Submit Button with shimmer effect */
.form-submit-btn {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.92) 100%);
    box-shadow:
        0 2px 12px rgba(255, 255, 255, 0.15),
        0 8px 24px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.form-submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.form-submit-btn:hover::before {
    left: 100%;
}

.form-submit-btn:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.95) 100%);
    transform: translateY(-3px);
    box-shadow:
        0 4px 16px rgba(255, 255, 255, 0.2),
        0 12px 32px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.form-submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

/* Enhanced Close Button */
.modal-close {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.02);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    font-size: 1.5rem;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

/* Enhanced Form Labels */
.form-label {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 500;
}

/* Enhanced Date Cards */
.date-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
}

.date-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.date-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.date-card.selected {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.35);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.15),
        0 4px 12px rgba(255, 255, 255, 0.1);
}

/* Enhanced Time Slots */
.time-slot {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.75rem 1rem;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--text-main);
}

.time-slot:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateX(4px);
}

.time-slot.selected {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.35);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.15),
        0 2px 8px rgba(255, 255, 255, 0.1);
}

/* Enhanced Booking Summary */
.booking-summary {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 1.25rem;
    margin-top: 1rem;
}

/* Enhanced Success States */
.success-icon svg {
    filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.3));
}

/* Scrollbar Styling for Modal */
.modal-container::-webkit-scrollbar {
    width: 6px;
}

.modal-container::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.02);
}

.modal-container::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 3px;
}

.modal-container::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.25);
}

/* Textarea specific styling */
textarea.form-input {
    resize: vertical;
    min-height: 120px;
    font-family: var(--font-main);
    line-height: 1.6;
}

/* Back Button Enhancement */
.back-btn {
    margin-top: 1.5rem;
    padding: 0.75rem 1.5rem;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--text-gray);
    font-family: var(--font-main);
    font-size: 0.85rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.back-btn:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.25);
    color: var(--text-main);
    transform: translateX(-4px);
}

/* Confirm Booking Button */
.confirm-booking-btn {
    margin-top: 1.5rem;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.92) 100%);
    color: #000;
    border: none;
    font-family: var(--font-main);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow:
        0 2px 12px rgba(255, 255, 255, 0.15),
        0 8px 24px rgba(0, 0, 0, 0.4);
}

.confirm-booking-btn:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.95) 100%);
    transform: translateY(-3px);
    box-shadow:
        0 4px 16px rgba(255, 255, 255, 0.2),
        0 12px 32px rgba(0, 0, 0, 0.5);
}

/* Success Checkmark Animation */
.success-checkmark {
    display: inline-block;
}

.checkmark-svg {
    filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.3));
}

.checkmark-circle {
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    animation: strokeCircle 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.2s forwards;
}

.checkmark-check {
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    animation: strokeCheck 0.3s cubic-bezier(0.16, 1, 0.3, 1) 0.8s forwards;
}

@keyframes strokeCircle {
    to {
        stroke-dashoffset: 0;
    }
}

@keyframes strokeCheck {
    to {
        stroke-dashoffset: 0;
    }
}

/* Email Success Step Animation */
#email-success-step:not(.modal-step-hidden) {
    animation: fadeInUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

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

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