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

body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    overflow-x: hidden;
    background: #fff;
    color: #000;
    padding-bottom: 100vh;
    /* Space for CTA section to be revealed */
}

/* Hero Container */
.hero-container {
    min-height: calc(100vh + 1000px);
    /* 100vh (masonry height) + 1000px (phases scroll distance) */
    position: relative;
    background: #fff;
    z-index: 4;
    /* Above masonry and content */
}

/* Masonry Wrapper - Full width background */
.masonry-wrapper {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 200vh;
    overflow: hidden;
    z-index: 1;
    /* Below content */
}

/* Masonry Container - Centered with 2D rotation */
.masonry-container {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 120%;
    transform: translate(-50%, -50%) rotate(-10deg);
    /* -10deg rotation on Z axis - will animate to 0deg on scroll */
    display: flex;
    gap: 16px;
    height: 120%;
    transition: transform 0.1s linear;
    will-change: transform;
    transform-style: preserve-3d;
}

/* Gradient Overlay - Fades masonry to white */
.masonry-gradient-overlay {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0) 25%,
            rgba(255, 255, 255, 0.5) 40%,
            rgba(255, 255, 255, 0.9) 50%,
            rgba(255, 255, 255, 1) 60%,
            rgba(255, 255, 255, 1) 100%);
    opacity: 1;
    pointer-events: none;
    z-index: 2;
}









/* Individual Masonry Columns */
.masonry-column {
    display: flex;
    flex-direction: column;
    flex: 1;
    animation-duration: 60s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
    will-change: transform;
    backface-visibility: hidden;
}

/* Alternate animation directions */
.masonry-column[data-direction="up"] {
    animation-name: scrollUp;
}

.masonry-column[data-direction="down"] {
    animation-name: scrollDown;
}

/* Images in columns */
.masonry-column img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    object-fit: cover;
    display: block;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    margin-bottom: 16px;
}

/* Scroll animations */
@keyframes scrollUp {
    from {
        transform: translate3d(0, -33.33333333%, 0);
    }

    to {
        transform: translate3d(0, -66.66666667%, 0);
    }
}

@keyframes scrollDown {
    from {
        transform: translate3d(0, -66.66666667%, 0);
    }

    to {
        transform: translate3d(0, -33.33333333%, 0);
    }
}

/* Content Wrapper - Overlay on top of masonry */
.content-wrapper {
    position: fixed;
    right: 0;
    top: 0;
    width: 35%;
    height: 100vh;
    z-index: 2;
    background: #fff;
    transition: none;
    will-change: width, opacity;
    overflow: hidden;
}

/* Content - Fixed to viewport, clipped by JavaScript */
.content {
    position: fixed;
    left: calc(65% + 50px);
    /* 65% is where container starts (100% - 35%), then 50px from that edge */
    bottom: 50px;
    width: calc(35% - 100px);
    /* Fluid width to prevent overflowing window on smaller desktops */
    z-index: 3;
    /* Above the container */
    transition: opacity 0.4s ease;
}

.content.content-faded {
    opacity: 0 !important;
    pointer-events: none;
}

/* Cinematic Transitions - Controlled EXCLUSIVELY by active classes */
.content-wrapper.portal-transitioning {
    transition: width 0.8s cubic-bezier(0.85, 0, 0.15, 1), background-color 0.8s cubic-bezier(0.85, 0, 0.15, 1) !important;
    opacity: 1 !important;
    pointer-events: auto !important;
}

.content-wrapper.portal-expanded {
    width: 100% !important;
    background-color: #0d0d0d !important;
    opacity: 1 !important;
    pointer-events: auto !important;
}

/* Logo in top right corner */
.logo {
    position: fixed;
    top: clamp(20px, 2.5vw, 32px);
    right: clamp(20px, 2.5vw, 32px);
    z-index: 9999;
    /* Always visible above all content */
    color: #000;
}

.logo img,
.portal-logo img {
    height: clamp(32px, 3.5vw, 48px);
    width: auto;
    display: block;
}

.headline {
    font-size: clamp(40px, 4.5vw, 72px);
    font-weight: 400;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -0.01em;
    color: #000;
}

.description {
    font-size: 18px;
    line-height: 1.5;
    color: rgba(0, 0, 0, 0.6);
    margin-bottom: 28px;
    font-weight: 400;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 700;
    color: #000;
    background: transparent;
    border: 1.5px solid #000;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background: #000;
    color: #fff;
    transform: translateY(-1px);
}

.cta-button:hover svg path {
    stroke: #fff;
}

.scroll-down {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 32px;
    color: rgba(0, 0, 0, 0.4);
    font-size: 16px;
    font-weight: 400;
}

.scroll-down svg {
    display: block;
}

/* Section 2: How it Works */
.how-it-works {
    position: relative;
    padding: 120px 0;
    padding-top: 160px;
    /* Extra top padding for logo clearance */
    background: #fff;
    z-index: 50;
    /* Above hero and masonry, below logo */
}

.section-container {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    padding: 0 40px;
    text-align: center;
}

.section-title {
    font-size: 40px;
    font-weight: 500;
    margin-bottom: 48px;
    letter-spacing: -0.01em;
}

/* ===== PROBLEM STATEMENT SECTION ===== */
.problem-statement {
    padding: 240px 80px 120px;
    background: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 50;
    min-height: 100vh;
}

.problem-statement p {
    max-width: 1400px;
    width: 100%;
    margin-bottom: 120px;
    text-align: left;
}

.problem-text {
    font-size: 64px;
    line-height: 1.3;
    color: #666;
    font-weight: 400;
    letter-spacing: -0.02em;
}

.emphasis-black {
    font-size: 72px;
    line-height: 1.25;
    color: #000;
    font-weight: 400;
    letter-spacing: -0.03em;
}

.emphasis-gray {
    font-size: 72px;
    line-height: 1.25;
    color: #666;
    font-weight: 400;
    letter-spacing: -0.03em;
}

/* ===== HOW IT WORKS SECTION ===== */
.video-placeholder {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #F5F5F5;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 60px;
    cursor: pointer;
    transition: transform 0.3s ease;
    border: none;
}

.video-placeholder:hover {
    transform: scale(1.01);
}

.play-button svg {
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.video-placeholder:hover .play-button svg {
    opacity: 0.8;
}

/* New Testimonials Layout */
.testimonials-grid {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
    margin-bottom: 80px;
    align-items: center;
}

/* Left side: 3 small images stacked */
.testimonials-images {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.testimonial-image {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 12px;
    object-fit: cover;
}

/* Right side: Large testimonial card */
.testimonial-card {
    padding: 48px;
    background: #FAFAFA;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 320px;
    position: relative;
}

.quote {
    font-size: 22px;
    line-height: 1.5;
    color: #000;
    margin-bottom: 32px;
    font-style: normal;
    font-weight: 400;
}

.user-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.name {
    font-weight: 600;
    font-size: 16px;
    color: #000;
}

.role {
    font-size: 14px;
    color: rgba(0, 0, 0, 0.5);
    font-weight: 400;
}

/* Navigation arrows */
.testimonial-nav {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.nav-arrow {
    width: 40px;
    height: 40px;
    border: 1.5px solid #000;
    border-radius: 8px;
    background: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.nav-arrow:hover {
    background: #000;
}

.nav-arrow:hover svg path {
    stroke: #fff;
}

.final-cta {
    margin-top: 40px;
}

.final-cta-heading {
    font-size: 40px;
    font-weight: 500;
    margin-bottom: 28px;
    letter-spacing: -0.01em;
    line-height: 1.2;
}

/* ===== FIXED BACKGROUND CONTAINER (CTA ONLY) ===== */
.fixed-background {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    /* Only CTA section */
    z-index: 0;
    /* Behind everything */
}


/* ===== CTA SECTION ===== */
.cta-section {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    background: rgba(255, 255, 255, 0.95);
    /* Semi-transparent white background */
}

/* CTA Masonry Wrapper - Full screen background */
.cta-masonry-wrapper {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

/* CTA Masonry Container - No rotation, completely vertical */
.cta-masonry-container {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 100%;
    transform: translate(-50%, -50%);
    /* No rotation - completely vertical */
    display: flex;
    gap: 16px;
    height: 120%;
}

/* CTA Masonry Columns */
.cta-masonry-column {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 200px;
    animation-duration: 40s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}

/* Alternate animation directions */
.cta-masonry-column[data-direction="up"] {
    animation-name: scrollUp;
}

.cta-masonry-column[data-direction="down"] {
    animation-name: scrollDown;
}

/* CTA Masonry Images - 10% opacity */
.cta-masonry-column img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    object-fit: cover;
    display: block;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    opacity: 0.1;
    margin-bottom: 16px;
}

/* CTA Content - Centered */
.cta-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 1100px;
    /* Increased from 900px */
    padding: 0 40px;
}

/* CTA Headline - Same size as main hero headline */
.cta-headline {
    font-size: clamp(40px, 5vw, 72px);
    font-weight: 400;
    line-height: 1.1;
    margin-bottom: 40px;
    letter-spacing: -0.01em;
    color: #000;
}

/* CTA Button - White background */
.cta-content .cta-button {
    background: #FFF;
    white-space: nowrap;
    /* Ensure label is always one line */
}

/* CTA Button Hover - Same as hero button */
.cta-content .cta-button:hover {
    background: #000;
    color: #fff;
    transform: translateY(-1px);
}

.cta-content .cta-button:hover svg path {
    stroke: #fff;
}

/* CTA Footer Text - Copyright and Disclaimer at bottom */
.cta-footer-text {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    max-width: 800px;
    padding: 0 40px;
    z-index: 3;
}

.cta-copyright {
    font-size: 12px;
    font-weight: 600;
    color: rgba(0, 0, 0, 0.6);
    margin-bottom: 8px;
}

.cta-disclaimer {
    font-size: 12px;
    line-height: 1.5;
    color: rgba(0, 0, 0, 0.4);
    margin: 0;
}

/* Footer Section - In normal document flow */
.footer {
    position: relative;
    width: 100%;
    background: #fff;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    padding: 80px 0;
    z-index: 5;
    /* Above fixed background */
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

/* Large Viiibe! text logo on left */
.footer-logo-text {
    font-size: 120px;
    font-weight: 300;
    color: #F0F0F0;
    line-height: 1;
    letter-spacing: -0.02em;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
    text-align: left;
}

.footer-copyright {
    font-size: 14px;
    font-weight: 600;
    color: #000;
    letter-spacing: 0.02em;
}

.footer-disclaimer {
    font-size: 11px;
    line-height: 1.6;
    color: rgba(0, 0, 0, 0.5);
    font-weight: 400;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .testimonials-images {
        flex-direction: row;
        gap: 12px;
    }

    .testimonial-image {
        width: calc(33.333% - 8px);
    }

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

    .footer-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-logo-text {
        font-size: 80px;
        text-align: center;
    }

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

@media (max-width: 768px) {
    body {
        padding-bottom: 0;
    }

    .hero-container {
        height: 100dvh;
        min-height: 0 !important;
        display: flex;
        flex-direction: column;
        overflow: hidden;
    }

    .masonry-wrapper {
        position: relative;
        height: 55dvh;
        width: 100%;
        flex-shrink: 0;
    }

    .masonry-gradient-overlay {
        background: linear-gradient(to bottom,
                rgba(255, 255, 255, 0) 0%,
                rgba(255, 255, 255, 0) 40%,
                rgba(255, 255, 255, 0.7) 70%,
                rgba(255, 255, 255, 1) 90%);
    }

    .masonry-container {
        width: 130%;
        gap: 8px;
        transform: translate(-50%, -50%) rotate(0deg) !important;
    }

    .masonry-column {
        min-width: 80px;
        gap: 8px;
    }

    .content-wrapper {
        position: relative;
        width: 100%;
        height: auto;
        flex: 1;
        padding: 24px;
        background: #fff;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .content {
        position: relative;
        left: 0;
        bottom: 0;
        width: 100%;
        text-align: center;
    }

    .headline {
        font-size: 32px;
        line-height: 1.1;
        margin-bottom: 12px;
        font-weight: 500;
        letter-spacing: -0.02em;
    }

    .description {
        font-size: 16px;
        line-height: 1.4;
        margin-bottom: 24px;
        color: rgba(0, 0, 0, 0.7);
    }

    /* SVG rule removed as logos are now <img> tags managed by clamp */

    .problem-statement {
        padding: 80px 24px 60px;
        min-height: auto;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }

    .problem-statement p {
        margin-bottom: 60px;
        /* Reduced from 120px for mobile */
        max-width: 100%;
    }

    .problem-text {
        font-size: 22px;
        line-height: 1.3;
        color: rgba(0, 0, 0, 0.6);
    }

    .emphasis-black {
        font-size: 24px;
        line-height: 1.25;
        color: #000;
        font-weight: 500;
        margin-bottom: 60px;
    }

    .emphasis-gray {
        font-size: 24px;
        line-height: 1.25;
        color: rgba(0, 0, 0, 0.4);
        font-weight: 500;
        margin-bottom: 60px;
    }



    .how-it-works {
        padding: 40px 0;
        overflow: hidden;
    }

    .carousel-item-caption {
        font-size: 14px;
        padding: 0 20px;
    }

    .fixed-background {
        position: relative;
        height: auto;
    }

    .cta-section {
        position: relative;
        width: 100%;
        height: auto;
        padding: 100px 24px;
        min-height: 100vh;
        /* Ensure enough height to see everything */
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        overflow: hidden;
        /* Prevent masonry overflow */
    }

    .cta-headline {
        font-size: 36px;
        margin-bottom: 32px;
    }

    .cta-footer-text {
        position: relative;
        bottom: auto;
        left: auto;
        transform: none;
        margin: 80px auto 40px;
        /* Space above and bottom margin */
        width: 100%;
        max-width: 100%;
        padding: 0;
        text-align: center;
    }

    .footer-logo-text {
        font-size: 48px;
    }

    .scroll-down {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 8px;
        margin-top: auto;
        padding-top: 24px;
        font-size: 12px;
        color: rgba(0, 0, 0, 0.4);
    }

    .cta-masonry-container {
        width: 130%;
        height: 100%;
        gap: 8px;
    }

    .cta-masonry-column {
        min-width: 80px;
        gap: 8px;
    }

    .cta-masonry-column img {
        margin-bottom: 8px;
    }
}

/* ===== IDENTITY PORTAL LIGHTBOX ===== */
.portal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    z-index: 2000;
    display: none;
    /* Controlled via JS */
    opacity: 0;
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    color: #fff;
    overflow-y: auto;
}

.portal-overlay.active {
    display: flex;
    opacity: 1;
}

.portal-header {
    position: fixed;
    top: 40px;
    left: 80px;
    right: 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 2100;
}

.portal-close {
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    transition: transform 0.3s ease;
}

.portal-close:hover {
    transform: rotate(90deg);
}





.portal-container {
    max-width: 1400px;
    width: 100%;
    margin: 160px auto 80px;
    padding: 0 80px;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 80px;
}

.portal-title {
    font-size: clamp(40px, 4vw, 64px);
    font-weight: 400;
    letter-spacing: -0.03em;
    margin-bottom: 60px;
    color: #fff;
}

/* Form Styles */
.portal-form {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.form-group label {
    font-size: clamp(12px, 0.8vw, 14px);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.5);
}

.form-group input {
    background: none;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding: 16px 0;
    color: #fff;
    font-size: clamp(16px, 1.2vw, 20px);
    outline: none;
    transition: border-color 0.3s ease;
}

.form-group input:focus {
    border-color: #fff;
}

.file-upload-wrapper {
    border: 1px dashed rgba(255, 255, 255, 0.2);
    padding: 40px;
    position: relative;
    text-align: center;
    cursor: pointer;
    transition: background 0.3s ease;
}

.file-upload-wrapper:hover {
    background: rgba(255, 255, 255, 0.05);
}

.file-upload-wrapper input {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.file-upload-label {
    font-size: clamp(14px, 1vw, 16px);
    color: rgba(0,0,0,0.4);
    transition: all 0.3s ease;
    pointer-events: none;
    display: block;
}

/* File List Styles */
.file-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.file-item {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 12px 16px;
    border-radius: 8px;
    animation: slideInFile 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

.file-icon {
    width: 20px;
    height: 20px;
    margin-right: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    font-size: 8px;
    font-weight: bold;
    color: rgba(255, 255, 255, 0.6);
}

.file-info {
    flex: 1;
    overflow: hidden;
}

.file-name {
    font-size: clamp(12px, 0.8vw, 14px);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
}

.file-delete {
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    margin-left: 8px;
    opacity: 0.4;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.file-delete:hover {
    opacity: 1;
    color: #ff4d4d;
}

.upload-more-btn {
    background: none;
    border: 1px dashed rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.5);
    padding: 14px;
    border-radius: 8px;
    width: 100%;
    font-size: clamp(11px, 0.8vw, 13px);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
}

.upload-more-btn:hover {
    border-color: #fff;
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
}

/* Scheduler Styles */
.scheduler-controls {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 24px;
    margin-bottom: 40px;
}

.week-nav {
    background: none;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.week-nav:hover {
    background: #fff;
    color: #000;
}

.week-range {
    font-size: clamp(16px, 1.1vw, 18px);
    font-weight: 500;
}

.calendar-grid {
    display: flex;
    flex-direction: column;
    gap: 32px;
    margin-bottom: 32px;
}

/* Day Cards Row */
.days-row {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 8px;
    scrollbar-width: none;
    /* Firefox */
}

.days-row::-webkit-scrollbar {
    display: none;
    /* Chrome/Safari */
}

.day-card {
    flex: 1;
    min-width: 100px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 10px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.day-card:hover:not(.disabled) {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.3);
}

.day-card.active {
    background: #fff;
    border-color: #fff;
    color: #000;
}

.day-card.disabled {
    opacity: 0.2;
    cursor: not-allowed;
    filter: grayscale(1);
}

.day-name {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
    opacity: 0.6;
}

.day-card.active .day-name {
    opacity: 0.8;
}

.day-number {
    font-size: clamp(18px, 1.5vw, 24px);
    font-weight: 500;
}

/* Time Selection Area */
.time-slots-container {
    animation: slideUp 0.4s ease-out;
}

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

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

.time-slots-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.time-slot {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
    padding: 12px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: clamp(12px, 0.8vw, 14px);
}

.time-slot:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.4);
}

.time-slot.active {
    background: #fff;
    color: #000;
    border-color: #fff;
}

.time-slot.disabled {
    opacity: 0.3;
    pointer-events: none;
    text-decoration: line-through;
}

.timezone-indicator {
    margin-top: 32px;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 0.05em;
    text-align: center;
}

.portal-submit-wrapper {
    margin-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 40px;
}

.portal-submit-btn {
    background: #fff;
    color: #000;
    border: none;
    padding: 24px 48px;
    font-size: clamp(12px, 0.8vw, 14px);
    font-weight: 600;
    letter-spacing: 0.2em;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: all 0.3s ease;
    margin-left: auto;
}

.portal-submit-btn:hover {
    padding-right: 56px;
    background: rgba(255, 255, 255, 0.9);
}

/* Mobile Adjustments for Portal */
@media (max-width: 1024px) {
    .portal-container {
        grid-template-columns: 1fr;
        padding: 0 40px;
        gap: 60px;
    }

    .portal-header {
        left: 40px;
        right: 40px;
    }
}

@media (max-width: 768px) {
    .portal-title {
        margin-bottom: 40px;
    }

    .portal-header {
        top: 20px;
        left: 20px;
        right: 20px;
    }

    .portal-container {
        margin-top: 100px;
        padding: 0 24px;
    }

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

    .day-card {
        min-width: 80px;
        padding: 15px 5px;
    }

    .day-card {
        min-width: 80px;
        padding: 15px 5px;
    }
}

/* Success Section Styles */
.portal-success-section {
    grid-column: 1 / -1;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 400px;
    text-align: center;
    animation: fadeIn 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.success-content {
    max-width: 600px;
    width: 100%;
}

.success-icon {
    margin-bottom: 32px;
}

.success-icon svg {
    stroke-dasharray: 100;
    stroke-dashoffset: 100;
    animation: dash 1.5s ease-in-out forwards;
}

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

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

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

.success-title {
    font-size: clamp(32px, 3.5vw, 56px);
    font-weight: 400;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
    color: #fff;
}

.success-message {
    font-size: clamp(16px, 1.2vw, 20px);
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 40px;
}

.booking-details-box {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 32px;
    border-radius: 12px;
    margin-bottom: 48px;
    text-align: left;
}

.booking-details-box p {
    margin: 12px 0;
    font-size: clamp(14px, 1vw, 16px);
    color: rgba(255, 255, 255, 0.8);
}

.booking-details-box strong {
    color: #fff;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0.1em;
    margin-right: 12px;
}

.portal-close-btn {
    background: #fff;
    color: #000;
    border: none;
    padding: 20px 40px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.2em;
    cursor: pointer;
    transition: all 0.3s ease;
}

.portal-close-btn:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: scale(1.05);
}