/* Create AR Section Styles - Refined for Centered Vertical Layout */
.create-ar-section {
    padding: 80px 0;
    background: radial-gradient(circle at 50% 50%, #ffffff 0%, #fff8f0 100%);
    font-family: 'Montserrat', sans-serif;
    overflow: hidden;
    text-align: center;
}

/* Step Header: Arrows and Numbers */
.step-header-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    margin-bottom: 30px;
}

.nav-arrow {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 1px solid #10B981;
    background: transparent;
    color: #10B981;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.nav-arrow:hover {
    background: #10B981;
    color: #fff;
}

.step-numbers {
    display: flex;
    align-items: baseline;
    gap: 10px;
}

.step-num {
    font-family: 'Inter', sans-serif;
    font-size: 6rem;
    font-weight: 800;
    line-height: 1;
}

.step-num.active {
    color: #10B981;
}

.step-num.muted {
    color: #D1FAE5;
    /* Faded green color for inactive number */
}

/* Description */
.step-desc {
    font-size: 1.2rem;
    color: #4a4a4a;
    max-width: 600px;
    margin: 0 auto 50px;
    line-height: 1.5;
}

.step-desc b {
    font-weight: 700;
    color: #333;
}

/* Composition Container */
.mockup-composition.centered-comp {
    position: relative;
    width: 100%;
    max-width: 1000px;
    height: 600px;
    /* Adjust based on content */
    margin: 0 auto;
    /* border: 1px solid red; Debug */
}

/* Laptop Styling */
.laptop-container {
    position: absolute;
    right: 0;
    top: 50px;
    width: 75%;
    /* Large portion of the right side */
    z-index: 2;
}

.laptop-img {
    width: 100%;
    display: block;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.15));
}

/* Badges on Laptop */
.upload-badge {
    position: absolute;
    background: #333;
    color: #fff;
    padding: 8px 12px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    z-index: 5;
}

.upload-badge.video-badge {
    top: 40%;
    left: 25%;
    transform: rotate(-5deg);
}

.upload-badge.image-badge {
    top: 45%;
    left: 45%;
    transform: rotate(3deg);
}

.badge-icon {
    color: #10B981;
}

/* File Manager Window (Dark Mode) */
.comp-window.file-manager {
    position: absolute;
    left: 5%;
    bottom: 50px;
    /* Lower left */
    width: 450px;
    background: #1a1a1a;
    border-radius: 10px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.25);
    z-index: 10;
    overflow: hidden;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: #fff;
}

.window-header-dark {
    padding: 12px 16px;
    background: #2a2a2a;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.win-controls {
    display: flex;
    gap: 8px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.red {
    background: #FF5F56;
}

.yellow {
    background: #FFBD2E;
}

.green {
    background: #27C93F;
}

.win-title {
    font-size: 0.9rem;
    color: #ccc;
    font-weight: 500;
}

.win-actions {
    color: #666;
    display: flex;
    gap: 15px;
    font-size: 0.8rem;
}

.window-body-dark {
    display: flex;
    height: 250px;
}

.sidebar-dark {
    width: 120px;
    background: #1f1f1f;
    padding: 15px 0 0 15px;
    font-size: 0.85rem;
    color: #aaa;
    border-right: 1px solid #333;
}

.sidebar-item {
    margin-bottom: 8px;
    cursor: default;
}

.sidebar-item.active {
    color: #fff;
    font-weight: 500;
}

.files-grid {
    flex: 1;
    padding: 20px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    background: #1a1a1a;
}

.file-item {
    text-align: center;
    width: 80px;
}

.file-preview {
    width: 100%;
    aspect-ratio: 16/10;
    background: #333;
    border-radius: 4px;
    margin-bottom: 6px;
    position: relative;
    overflow: hidden;
    display: flex;
    /* Center placeholder img */
    align-items: center;
    justify-content: center;
}

.file-preview img {
    object-fit: cover;
}

.file-name {
    font-size: 0.8rem;
    color: #ddd;
}

/* Dashed Arrow Connector */
.dashed-curve-arrow {
    position: absolute;
    left: 32%;
    bottom: 200px;
    width: 250px;
    height: 150px;
    z-index: 15;
    pointer-events: none;
    transform: rotate(0deg);
}

/* Step 2 Specifics */
.qr-card-floating {
    position: absolute;
    left: 5%;
    bottom: 50px;
    /* Position bottom-left */
    width: 280px;
    z-index: 5;
    background: #fff;
    padding: 25px;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    text-align: center;
}

.qr-code-img img {
    width: 140px;
    height: 140px;
    display: block;
}

.qr-action-btn {
    border: 1px solid #333;
    border-radius: 30px;
    padding: 8px 25px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #333;
    width: 100%;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
}

.qr-link-mockup {
    background: #f5f5f5;
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 0.75rem;
    color: #888;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.phone-scanning-img {
    width: 100%;
    height: auto;
    display: block;
    filter: drop-shadow(0 20px 50px rgba(0, 0, 0, 0.2));
}

/* Step Content Transitions */
.step-content {
    display: none;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.step-content.active {
    display: block;
    opacity: 1;
    animation: fadeInUp 0.6s ease forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive - Mobile & Tablet */
@media (max-width: 900px) {
    .create-ar-section {
        padding: 80px 0 50px 0;
    }

    .step-header-row {
        gap: 20px;
        margin-top: 30px;
    }

    .step-num {
        font-size: 4rem;
    }

    .nav-arrow {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .mockup-composition.centered-comp {
        height: auto;
        min-height: 400px;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }

    .laptop-container {
        position: relative;
        top: 0;
        right: 0;
        width: 100%;
        order: 1;
    }

    .comp-window.file-manager {
        position: relative;
        left: 0;
        bottom: 0;
        width: 90%;
        height: 200px;
        order: 2;
        margin-top: 20px;
        /* Breathing space */
    }

    .window-body-dark {
        height: auto;
    }

    .sidebar-dark {
        display: none;
    }

    /* Simplify on mobile */

    .dashed-curve-arrow {
        display: block;
        width: 150px;
        height: 140px;
        /* Taller to bridge gap */
        left: 20px;
        /* Move to left side */
        right: auto;
        bottom: 210px;
        /* Adjust height to bridge gap */
        top: auto;
        transform: rotate(-10deg);
        /* Slight adjustment */
        z-index: 20;
    }

    /* Step 2 Arrow Adjustments */
    .dashed-curve-arrow.step2-arrow {
        left: 30px;
        bottom: 280px;
        transform: rotate(-10deg);
        width: 140px;
        height: 100px;
    }

    .phone-scanning-container {
        position: relative !important;
        right: auto !important;
        top: auto !important;
        width: 100% !important;
        max-width: 320px;
        transform: rotate(0deg) !important;
        /* Remove rotation for clean vertical stack */
        margin-bottom: 10px;
        align-self: center;
    }

    .qr-card-floating {
        position: relative;
        left: 30px;
        top: 0;
        bottom: auto;
        transform: none;
        width: 100%;
        max-width: 280px;
        z-index: 2;
        margin-top: 10px;
        align-self: flex-start;
    }

    .qr-card-floating img {
        width: 100px;
        height: 100px;
    }

    /* Smaller QR on mobile */

    /* Step 2 Arrow - Mobile: Match Step 1's absolute positioning */
    .dashed-curve-arrow.step2-arrow {
        position: absolute;
        width: 150px;
        height: 140px;
        left: 20px;
        right: auto;
        bottom: 210px;
        top: auto;
        transform: rotate(-10deg);
        z-index: 20;
        margin: 0;
    }
}

/* Desktop Phone Container (Step 2) */
/* Desktop Phone Container (Step 2) */
/* Desktop Phone Container (Step 2) */
.phone-scanning-container {
    position: absolute;
    right: 15%;
    top: 50px;
    width: 350px;
    height: auto;
    transform: rotate(5deg);
    z-index: 15;
}