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

:root {
    /* Enhanced Patina Brand Colors - Refined for App Icon Integration */
    --patina-off-white: #F7F4F0;
    --patina-cream: #EDE9E4;
    --patina-sand: #DED4C8;
    --patina-golden: #BF8A52;
    --patina-golden-light: #D4A574;
    --patina-clay-beige: #A3927C;
    --patina-mocha-brown: #655B52;
    --patina-charcoal: #2A2622;
    --patina-rich-black: #1A1815;
    --patina-accent: #E8B68D;
    
    /* Glass Effects - Enhanced */
    --glass-bg: rgba(247, 244, 240, 0.02);
    --glass-border: rgba(191, 138, 82, 0.15);
    --glass-shadow: rgba(26, 24, 21, 0.4);
    --glass-glow: rgba(191, 138, 82, 0.08);
    
    /* Gradients - Dialed down */
    --gradient-warm: linear-gradient(135deg, #BF8A52 0%, #A3927C 100%);
    --gradient-dark: linear-gradient(180deg, #2A2622 0%, #1A1815 100%);
    --gradient-light: linear-gradient(135deg, #F7F4F0 0%, #EDE9E4 100%);
    
    /* Typography */
    --font-display: 'Fraunces', 'Playfair Display', Georgia, serif;
    --font-body: 'Work Sans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    
    /* Animations */
    --ease-out-expo: cubic-bezier(0.19, 1, 0.22, 1);
    --ease-in-out-quart: cubic-bezier(0.76, 0, 0.24, 1);
}

body {
    font-family: var(--font-body);
    background: var(--gradient-dark);
    color: var(--patina-off-white);
    overflow: hidden;
    height: 100vh;
    position: relative;
    font-weight: 400;
    letter-spacing: 0.01em;
}

.hero-container {
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: var(--gradient-dark);
    animation: backgroundFade 8s var(--ease-out-expo) forwards;
}

@keyframes backgroundFade {
    0% {
        background: var(--gradient-dark);
    }
    100% {
        background: radial-gradient(ellipse at 50% 30%, 
            rgba(191, 138, 82, 0.04) 0%, 
            rgba(163, 146, 124, 0.02) 30%,
            rgba(101, 91, 82, 0.01) 60%,
            transparent 100%),
            var(--gradient-dark);
    }
}

/* Simplified texture - removed heavy animations */
.hero-container::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0.02;
    background: linear-gradient(45deg, transparent 48%, rgba(191,138,82,.01) 49%, rgba(191,138,82,.01) 51%, transparent 52%);
    mix-blend-mode: overlay;
    pointer-events: none;
    z-index: 1;
}

/* Removed noiseShift animation */

/* Simplified ambient glow - removed heavy blur and complex animations */
.hero-container::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100vw;
    height: 100vh;
    background: radial-gradient(circle at 50% 45%, rgba(191, 138, 82, 0.03) 0%, transparent 50%);
    pointer-events: none;
    opacity: 0.5;
    mix-blend-mode: screen;
}

/* Removed complex glow animations */

/* SVG Room Sketch Animation */
.room-sketch {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    opacity: 1;
    pointer-events: none;
    z-index: 0;
}

.sketch-line {
    fill: none;
    stroke: var(--patina-golden-light);
    stroke-width: 1.2;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 1;
    stroke-dashoffset: 1;
    opacity: 0;
    filter: drop-shadow(0 0 8px rgba(191, 138, 82, 0.3));
    transition: opacity 0.2s ease;
}

.sketch-line:hover {
    opacity: 0.5;
    stroke-width: 1.5;
    filter: 
        drop-shadow(0 0 12px rgba(191, 138, 82, 0.8))
        drop-shadow(0 0 30px rgba(191, 138, 82, 0.4))
        drop-shadow(0 0 60px rgba(191, 138, 82, 0.2));
}

/* Restored line drawing animation */
.sketch-line {
    animation: drawBackgroundLine 3s ease-out forwards;
}

/* Staggered line animation delays */
.sketch-line:nth-child(1) { animation-delay: 0.5s; }
.sketch-line:nth-child(2) { animation-delay: 0.7s; }
.sketch-line:nth-child(3) { animation-delay: 0.9s; }
.sketch-line:nth-child(4) { animation-delay: 1.1s; }
.sketch-line:nth-child(5) { animation-delay: 1.3s; }
.sketch-line:nth-child(6) { animation-delay: 1.5s; }
.sketch-line:nth-child(7) { animation-delay: 1.7s; }
.sketch-line:nth-child(8) { animation-delay: 1.9s; }
.sketch-line:nth-child(9) { animation-delay: 2.1s; }
.sketch-line:nth-child(10) { animation-delay: 2.3s; }
.sketch-line:nth-child(11) { animation-delay: 2.5s; }

.window { animation-delay: 2.8s; }
.window-detail { animation-delay: 3s; opacity: 0.2; }
.door { animation-delay: 3.2s; }
.door-handle { animation-delay: 3.4s; }
.furniture { animation-delay: 3.6s; opacity: 0.25; }
.furniture-detail { animation-delay: 3.8s; opacity: 0.15; }
.light-ray { 
    animation-delay: 4s; 
    opacity: 0.05;
    stroke: var(--patina-golden);
    fill: var(--patina-golden);
}

@keyframes drawBackgroundLine {
    0% {
        stroke-dashoffset: 1;
        opacity: 0;
        filter: blur(2px) drop-shadow(0 0 8px rgba(191, 138, 82, 0.3));
    }
    50% {
        opacity: 0.8;
    }
    100% {
        stroke-dashoffset: 0;
        opacity: 0.35;
        filter: blur(0) drop-shadow(0 0 8px rgba(191, 138, 82, 0.3));
    }
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

/* Phone Container */
.phone-container {
    position: relative;
    z-index: 100;
    opacity: 0;
    animation: phoneAppear 1s ease-out 1s forwards;
    cursor: pointer;
    transition: filter 0.2s ease;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
    -webkit-user-select: none;
    pointer-events: auto;
}

.phone-container.interactive {
    /* Keep the phone visible */
    opacity: 1;
    /* Remove all movement animations */
    pointer-events: auto !important;
}

/* Allow events to bubble up from child elements */
.phone-container .phone-mockup {
    pointer-events: auto;
}

.phone-container:hover {
    /* Remove hover movement */
}

.phone-container.interactive:hover {
    filter: brightness(1.05);
}

.phone-container.interactive:hover .phone-mockup {
    box-shadow: 
        0 100px 160px -40px rgba(0, 0, 0, 0.8),
        0 60px 100px -20px rgba(191, 138, 82, 0.2),
        0 30px 60px -10px rgba(0, 0, 0, 0.6),
        0 0 0 1px rgba(191, 138, 82, 0.4),
        inset 0 0 80px rgba(191, 138, 82, 0.05),
        inset 0 0 0 1px rgba(247, 244, 240, 0.1),
        inset 0 -2px 30px rgba(0, 0, 0, 0.5);
}

/* Touch feedback for mobile */
.phone-container:active {
    /* Remove active transform */
}

/* Floating animation for phone - REMOVED */

/* Click Hint */
.click-hint {
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, 
        rgba(191, 138, 82, 0.1) 0%, 
        rgba(163, 146, 124, 0.05) 100%);
    backdrop-filter: blur(10px);
    color: var(--patina-golden-light);
    padding: 10px 24px;
    border-radius: 24px;
    border: 1px solid rgba(191, 138, 82, 0.2);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    opacity: 0;
    pointer-events: none;
    box-shadow: 
        0 4px 12px rgba(26, 24, 21, 0.2),
        0 2px 4px rgba(191, 138, 82, 0.1);
    transition: opacity 0.3s ease;
    box-shadow: 0 4px 12px rgba(191, 138, 82, 0.3);
    font-family: var(--font-body);
    letter-spacing: 0.02em;
}

.phone-container.interactive .click-hint {
    animation: hintAppear 0.6s ease-out forwards, hintBounce 2s ease-in-out 1s infinite;
}

.phone-container:hover .click-hint {
    opacity: 1;
}

@keyframes hintBounce {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(-5px);
    }
}

@keyframes hintAppear {
    to {
        opacity: 0.9;
    }
}

@keyframes phonePulse {
    0%, 100% {
        box-shadow: 
            0 50px 100px -20px rgba(0, 0, 0, 0.5),
            0 30px 60px -30px rgba(0, 0, 0, 0.3),
            0 0 0 0 rgba(163, 146, 124, 0);
    }
    50% {
        box-shadow: 
            0 50px 100px -20px rgba(0, 0, 0, 0.5),
            0 30px 60px -30px rgba(0, 0, 0, 0.3),
            0 0 30px 10px rgba(163, 146, 124, 0.3);
    }
}

@keyframes phoneAppear {
    to {
        opacity: 1;
    }
}

@keyframes phoneShake {
    0%, 100% {
        transform: translateX(0);
    }
    25% {
        transform: translateX(-5px);
    }
    75% {
        transform: translateX(5px);
    }
}

/* Phone Mockup with black border */
.phone-mockup {
    width: 320px;
    height: 640px;
    background: #000000;
    border-radius: 48px;
    padding: 10px;
    position: relative;
    overflow: hidden;
    border: 2px solid #000000;
}

/* Simplified shadows for better performance */
.phone-container .phone-mockup {
    box-shadow: 
        0 20px 40px -10px rgba(0, 0, 0, 0.4),
        0 8px 16px -4px rgba(0, 0, 0, 0.2);
    transition: box-shadow 0.2s ease;
}

/* Removed glass reflection for cleaner look */

.phone-mockup::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40%;
    height: 30px;
    background: #000000;
    border-radius: 0 0 20px 20px;
    z-index: 10;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: var(--gradient-light);
    border-radius: 38px;
    overflow: hidden;
    position: relative;
}

/* Status Bar */
.status-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 24px 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--patina-charcoal);
}

.status-icons {
    display: flex;
    gap: 6px;
    align-items: center;
}

/* App Content */
.app-content {
    padding: 20px;
    height: calc(100% - 40px);
    display: flex;
    flex-direction: column;
}

.app-header {
    text-align: center;
    margin-bottom: 30px;
    opacity: 1;
    position: relative;
}

/* App Icon Container */
.app-icon-container {
    margin-bottom: 24px;
    opacity: 1;
    display: flex;
    justify-content: center;
}

.app-icon {
    width: 72px;
    height: 72px;
    border-radius: 18px;
    display: block;
    box-shadow: 
        0 10px 20px rgba(26, 24, 21, 0.2),
        0 4px 8px rgba(191, 138, 82, 0.08);
    transition: all 0.4s var(--ease-out-expo);
}

.app-icon:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 
        0 12px 24px rgba(26, 24, 21, 0.25),
        0 6px 12px rgba(191, 138, 82, 0.1);
}

/* Removed iconReveal animation */

.app-title {
    font-family: var(--font-display);
    font-size: 42px;
    font-weight: 900;
    letter-spacing: -0.03em;
    margin-bottom: 8px;
    color: var(--patina-charcoal);
    text-shadow: 0 1px 2px rgba(191, 138, 82, 0.1);
}

.app-subtitle {
    font-size: 14px;
    color: var(--patina-clay-beige);
    font-weight: 400;
    letter-spacing: 0.02em;
}

/* App Preview */
.app-preview {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
    opacity: 1;
}

.room-scan-preview {
    height: 200px;
    background: 
        linear-gradient(135deg, 
            rgba(191, 138, 82, 0.02) 0%, 
            rgba(247, 244, 240, 0.95) 100%);
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 4px 12px rgba(191, 138, 82, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(191, 138, 82, 0.08);
}

/* Removed old scan corner styles - replaced with line drawing animation */


/* Scan Drawing Animation */
.scan-drawing {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.scan-line {
    fill: none;
    stroke: var(--patina-golden-light);
    stroke-width: 1;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 1;
    stroke-dashoffset: 1;
    opacity: 0;
}

/* Room outline appears first as user starts panning */
.scan-line.wall {
    animation: scanDraw 1.5s ease-out forwards;
}

.scan-line.floor {
    animation: scanDraw 1.5s ease-out 0.3s forwards;
}

/* Furniture appears as user continues scanning */
.scan-line.furniture {
    animation: scanDraw 1.2s ease-out 1.8s forwards;
    opacity: 0;
}

.scan-line.detail {
    animation: scanDraw 1s ease-out 2.5s forwards;
    opacity: 0;
}

/* Stagger wall drawing animations */
.scan-line.wall:nth-child(1) { animation-delay: 0s; }
.scan-line.wall:nth-child(2) { animation-delay: 0.1s; }
.scan-line.wall:nth-child(3) { animation-delay: 0.2s; }
.scan-line.wall:nth-child(4) { animation-delay: 0.4s; }
.scan-line.wall:nth-child(5) { animation-delay: 0.6s; }
.scan-line.wall:nth-child(6) { animation-delay: 0.7s; }
.scan-line.wall:nth-child(7) { animation-delay: 0.8s; }
.scan-line.wall:nth-child(8) { animation-delay: 1s; }
.scan-line.wall:nth-child(9) { animation-delay: 1.1s; }
.scan-line.wall:nth-child(10) { animation-delay: 1.2s; }

/* Stagger furniture drawing */
.scan-line.furniture:nth-child(1) { animation-delay: 1.8s; }
.scan-line.furniture:nth-child(2) { animation-delay: 2.2s; }
.scan-line.furniture:nth-child(3) { animation-delay: 2.6s; }

@keyframes scanDraw {
    0% {
        stroke-dashoffset: 1;
        opacity: 0;
    }
    50% {
        opacity: 0.8;
    }
    100% {
        stroke-dashoffset: 0;
        opacity: 0.6;
    }
}

/* User scanning indicator animation */
.scan-indicator {
    animation: scanMove 4s ease-in-out infinite;
}

@keyframes scanMove {
    0%, 100% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(280px);
    }
}

/* Scanning rays animation */
.scan-rays {
    animation: raysPulse 2s ease-in-out infinite;
}

@keyframes raysPulse {
    0%, 100% {
        opacity: 0.3;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.1);
    }
}

.scan-text {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 12px;
    color: var(--patina-mocha-brown);
    font-weight: 500;
    letter-spacing: 0.5px;
    animation: blink 1.5s ease-in-out infinite;
}

@keyframes blink {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

/* Furniture Suggestions */
.furniture-suggestions {
    display: flex;
    gap: 12px;
}

.suggestion-card {
    flex: 1;
    background: 
        linear-gradient(135deg, 
            rgba(255, 255, 255, 0.98) 0%, 
            rgba(247, 244, 240, 0.95) 100%);
    border-radius: 16px;
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    opacity: 1;
    box-shadow: 
        0 8px 24px rgba(191, 138, 82, 0.08),
        0 2px 8px rgba(0, 0, 0, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(191, 138, 82, 0.08);
    transition: all 0.3s var(--ease-out-expo);
}

.suggestion-card:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 
        0 12px 32px rgba(191, 138, 82, 0.12),
        0 4px 12px rgba(0, 0, 0, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

/* Removed animation delays - cards are visible immediately */

/* Removed cardSlideIn animation */

.suggestion-image {
    height: 80px;
    background: linear-gradient(135deg, #DED4C8 0%, #A3927C 100%);
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    box-shadow: 
        inset 0 1px 2px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
}

.suggestion-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent 0%, rgba(245,230,211,0.1) 50%, transparent 100%);
    transform: translateX(-100%);
    animation: shimmer 2s ease-in-out infinite;
}

@keyframes shimmer {
    to {
        transform: translateX(100%);
    }
}

.suggestion-details h3 {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 2px;
    color: var(--patina-charcoal);
}

.suggestion-details p {
    font-size: 12px;
    color: var(--patina-mocha-brown);
    font-style: italic;
    margin-bottom: 8px;
}

/* Suggestion Price */
.suggestion-price {
    font-size: 16px;
    font-weight: 700;
    color: var(--patina-golden);
    letter-spacing: -0.01em;
}

/* Suggestion Badge */
.suggestion-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    padding: 4px 10px;
    background: var(--gradient-warm);
    color: var(--patina-off-white);
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(191, 138, 82, 0.3);
}

/* Removed contentFadeIn animation */

/* Tagline */
.tagline-container {
    position: absolute;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    z-index: 10;
    pointer-events: none;
}

/* Tagline Subtitle */
.tagline-subtitle {
    font-family: var(--font-body);
    font-size: clamp(14px, 2vw, 18px);
    font-weight: 400;
    color: var(--patina-sand);
    opacity: 0;
    margin-top: 16px;
    letter-spacing: 0.02em;
    animation: subtitleFade 1s ease-out 1s forwards;
}

@keyframes subtitleFade {
    0% {
        opacity: 0;
        transform: translateY(10px);
        filter: blur(5px);
    }
    100% {
        opacity: 0.8;
        transform: translateY(0);
        filter: blur(0);
    }
}

.tagline {
    font-family: var(--font-display);
    font-size: clamp(36px, 5.5vw, 64px);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.1;
    opacity: 0;
    animation: taglineReveal 1s ease-out 0.5s forwards;
    color: var(--patina-off-white);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

@keyframes taglineReveal {
    0% { 
        opacity: 0;
        transform: translateY(20px);
        filter: blur(10px);
    }
    100% { 
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}


.tagline .word {
    display: inline-block;
}

/* Individual word animations removed for simpler fade-in effect */

@keyframes simpleFadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .phone-mockup {
        transform: scale(0.8);
    }
    
    .tagline-container {
        bottom: 40px;
    }
    
    .tagline {
        font-size: clamp(24px, 6vw, 36px);
    }
    
    /* Walkthrough responsive */
    .scene {
        flex-direction: column;
        gap: 40px;
    }
    
    .phone-frame {
        flex: 0 0 auto;
        height: 400px;
    }
    
    .phone-screen-walkthrough {
        transform: scale(0.6);
    }
    
    .scene-content {
        text-align: center;
        padding: 0 20px;
    }
    
    .scene-content h2 {
        font-size: 32px;
    }
    
    .scene-content p {
        font-size: 16px;
    }
    
    .progress-ribbon {
        gap: 20px;
    }
    
    .progress-dot .label {
        display: none;
    }
}

@media (max-width: 480px) {
    .phone-mockup {
        transform: scale(0.7);
    }
    
    .tagline {
        font-size: 24px;
    }
    
    .phone-screen-walkthrough {
        transform: scale(0.5);
    }
    
    .scene-content h2 {
        font-size: 24px;
    }
    
    .close-walkthrough {
        top: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
    }
}

/* Premium scroll behavior */
html {
    scroll-behavior: smooth;
}

/* Loading optimization */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Walkthrough Overlay */
.walkthrough-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(135deg, 
            rgba(26, 24, 21, 0.96) 0%, 
            rgba(42, 38, 34, 0.94) 100%);
    backdrop-filter: blur(30px) saturate(150%);
    -webkit-backdrop-filter: blur(30px) saturate(150%);
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.8s var(--ease-out-expo);
}

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

.walkthrough-container {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px;
    position: relative;
}

/* Progress Ribbon */
.progress-ribbon {
    position: absolute;
    top: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 40px;
    z-index: 10;
}

.progress-dot {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.progress-dot.active {
    opacity: 1;
}

.progress-dot .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--patina-clay-beige);
    transition: transform 0.3s ease, background 0.3s ease;
}

.progress-dot.active .dot {
    transform: scale(1.5);
    background: var(--patina-golden);
    box-shadow: 0 0 12px rgba(191, 138, 82, 0.6);
}

.progress-dot .label {
    font-size: 12px;
    color: var(--patina-off-white);
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* Close Button */
.close-walkthrough {
    position: absolute;
    top: 40px;
    right: 40px;
    width: 48px;
    height: 48px;
    border: none;
    background: transparent;
    color: var(--patina-off-white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.3s ease;
}

.close-walkthrough:hover {
    background: rgba(237, 233, 228, 0.1);
}

/* Scene Container */
.scene-container {
    width: 100%;
    max-width: 1200px;
    height: 600px;
    position: relative;
}

.scene {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    gap: 80px;
    opacity: 0;
    transform: translateX(50px);
    pointer-events: none;
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.scene.active {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
}

/* Phone Frame for Walkthrough */
.phone-frame {
    flex: 0 0 380px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.phone-screen-walkthrough {
    width: 340px;
    height: 680px;
    background: var(--patina-off-white);
    border-radius: 40px;
    overflow: hidden;
    box-shadow: 
        0 50px 100px -20px rgba(0, 0, 0, 0.5),
        0 30px 60px -30px rgba(0, 0, 0, 0.3),
        0 0 0 12px var(--patina-mocha-brown);
    position: relative;
}

/* Scene Content */
.scene-content {
    flex: 1;
    color: var(--patina-off-white);
    padding-right: 60px;
}

.scene-content h2 {
    font-family: var(--font-display);
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 16px;
    line-height: 1.1;
    background: linear-gradient(90deg, 
        var(--patina-off-white) 0%, 
        var(--patina-golden) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.scene-content p {
    font-size: 20px;
    line-height: 1.6;
    margin-bottom: 32px;
    opacity: 0.9;
}

.scene-button {
    padding: 18px 48px;
    background: var(--patina-golden);
    color: var(--patina-off-white);
    border: none;
    border-radius: 60px;
    font-size: 16px;
    font-weight: 600;
    font-family: var(--font-body);
    letter-spacing: 0.02em;
    cursor: pointer;
    transition: all 0.4s var(--ease-out-expo);
    box-shadow: 
        0 4px 12px rgba(191, 138, 82, 0.2),
        0 2px 4px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
}

.scene-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.6s var(--ease-out-expo);
    border-radius: 60px;
}

.scene-button:hover::before {
    transform: translate(-50%, -50%) scale(2);
}

.scene-button:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 
        0 12px 32px rgba(191, 138, 82, 0.4),
        0 4px 12px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.scene-button.primary {
    background: var(--patina-off-white);
    color: var(--patina-charcoal);
}

/* AR View Styles */
.ar-view {
    width: 100%;
    height: 100%;
    position: relative;
    background: var(--patina-charcoal);
    display: flex;
    align-items: center;
    justify-content: center;
}

.ar-view.dimmed {
    opacity: 0.3;
}

.room-sketch-ar {
    width: 90%;
    height: 90%;
}

.ar-line {
    stroke: var(--patina-off-white);
    stroke-width: 2;
    fill: none;
    stroke-dasharray: 5 5;
    opacity: 0.4;
    animation: arLineDraw 2s ease-out forwards;
}

.ar-line.filled {
    stroke-dasharray: none;
    opacity: 0.6;
}

@keyframes arLineDraw {
    from {
        stroke-dashoffset: 10;
    }
    to {
        stroke-dashoffset: 0;
    }
}

.ar-marker {
    fill: none;
    stroke: var(--patina-clay-beige);
    stroke-width: 3;
    stroke-dasharray: 5 5;
    animation: rotate 10s linear infinite;
}

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

.ar-path {
    stroke: var(--patina-clay-beige);
    stroke-width: 2;
    fill: none;
    stroke-dasharray: 100;
    stroke-dashoffset: 100;
    animation: pathDraw 3s ease-out infinite;
}

@keyframes pathDraw {
    to {
        stroke-dashoffset: -100;
    }
}

/* AR Prompt */
.ar-prompt {
    position: absolute;
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: var(--patina-off-white);
}

.ar-prompt h3 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 4px;
}

.ar-prompt p {
    font-size: 14px;
    opacity: 0.8;
}

/* Scan Progress */
.scan-progress {
    position: absolute;
    top: 40px;
    right: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.progress-ring {
    position: absolute;
}

.progress-ring-fill {
    transition: stroke-dashoffset 0.5s ease;
}

.progress-text {
    font-size: 18px;
    font-weight: 600;
    color: var(--patina-off-white);
}

/* Style Card */
.style-card {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    padding: 40px 30px;
    border-radius: 30px 30px 0 0;
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.1);
    transform: translateY(100%);
    animation: slideUp 0.6s ease-out forwards;
}

@keyframes slideUp {
    to {
        transform: translateY(0);
    }
}

.style-card h3 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 24px;
    font-weight: 700;
    color: var(--patina-charcoal);
    margin-bottom: 24px;
    text-align: center;
}

.style-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.style-option {
    padding: 20px;
    border: 2px solid var(--patina-clay-beige);
    border-radius: 16px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.style-option:hover {
    background: linear-gradient(135deg, 
        rgba(191, 138, 82, 0.1) 0%, 
        rgba(247, 244, 240, 0.8) 100%);
    transform: translateY(-2px) scale(1.02);
    border-color: var(--patina-golden);
    box-shadow: 0 4px 12px rgba(191, 138, 82, 0.2);
}

.style-option.selected {
    background: var(--gradient-warm);
    color: white;
    box-shadow: 
        0 4px 16px rgba(191, 138, 82, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.style-icon {
    font-size: 32px;
    margin-bottom: 8px;
}

.style-option span {
    font-size: 14px;
    font-weight: 500;
    color: var(--patina-charcoal);
}

/* Budget Card */
.budget-card {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    padding: 40px 30px;
    border-radius: 30px 30px 0 0;
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.1);
}

.budget-card h3 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 24px;
    font-weight: 700;
    color: var(--patina-charcoal);
    margin-bottom: 32px;
    text-align: center;
}

.budget-slider-container {
    margin-bottom: 24px;
}

.budget-slider {
    width: 100%;
    height: 6px;
    background: var(--patina-off-white);
    border-radius: 3px;
    outline: none;
    -webkit-appearance: none;
}

.budget-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 24px;
    height: 24px;
    background: var(--patina-clay-beige);
    border-radius: 50%;
    cursor: pointer;
}

.budget-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 16px;
    font-size: 14px;
    color: var(--patina-mocha-brown);
}

.budget-value {
    font-weight: 700;
    color: var(--patina-charcoal);
}

.budget-toggle {
    display: flex;
    gap: 24px;
    justify-content: center;
}

.budget-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: rgba(191, 138, 82, 0.05);
    border-radius: 24px;
    cursor: pointer;
    transition: all 0.3s var(--ease-out-expo);
    border: 1px solid transparent;
}

.budget-option:hover {
    background: rgba(191, 138, 82, 0.1);
    border-color: var(--patina-golden);
}

.budget-toggle label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.budget-toggle input[type="radio"] {
    width: 20px;
    height: 20px;
}

/* Results Screen */
.results-header {
    padding: 30px;
    text-align: center;
    border-bottom: 1px solid var(--patina-off-white);
}

.results-header h3 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 24px;
    font-weight: 700;
    color: var(--patina-charcoal);
    margin-bottom: 4px;
}

.results-header p {
    font-size: 14px;
    color: var(--patina-mocha-brown);
}

.results-grid {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    height: calc(100% - 120px);
    overflow-y: auto;
}

.result-card {
    background: white;
    border-radius: 16px;
    padding: 16px;
    display: flex;
    gap: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.result-card:hover {
    transform: translateX(-4px);
}

.result-image {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--patina-clay-beige), var(--patina-mocha-brown));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.result-details {
    flex: 1;
}

/* Furniture Sketch Styles */
.furniture-sketch {
    width: 90%;
    height: 90%;
    opacity: 0;
    animation: sketchDraw 2s ease-out 0.5s forwards;
    position: relative;
    z-index: 2;
}

@keyframes sketchDraw {
    0% {
        opacity: 0;
        transform: scale(0.8) rotate(-2deg);
    }
    50% {
        opacity: 0.6;
        transform: scale(1.05) rotate(1deg);
    }
    100% {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
}

.furniture-sketch path,
.furniture-sketch line,
.furniture-sketch rect,
.furniture-sketch circle {
    stroke-dasharray: 200;
    stroke-dashoffset: 200;
    animation: drawLine 1.5s ease-out forwards;
    animation-delay: inherit;
}

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

/* Stagger the drawing animation for different elements */
.furniture-sketch path:nth-child(1) { animation-delay: 0.1s; }
.furniture-sketch path:nth-child(2) { animation-delay: 0.2s; }
.furniture-sketch path:nth-child(3) { animation-delay: 0.3s; }
.furniture-sketch line:nth-child(1) { animation-delay: 0.4s; }
.furniture-sketch line:nth-child(2) { animation-delay: 0.5s; }
.furniture-sketch rect:nth-child(1) { animation-delay: 0.6s; }

/* Hover effect for furniture sketches */
.suggestion-card:hover .furniture-sketch,
.result-card:hover .furniture-sketch {
    transform: scale(1.05);
    transition: transform 0.3s ease;
}

/* Ensure badges stay on top */
.suggestion-badge {
    position: relative;
    z-index: 3;
}

.result-details h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--patina-charcoal);
    margin-bottom: 4px;
}

.result-story {
    font-size: 13px;
    font-style: italic;
    color: var(--patina-mocha-brown);
    margin-bottom: 8px;
}

.result-price {
    font-size: 18px;
    font-weight: 700;
    color: var(--patina-charcoal);
}

.result-match {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--gradient-warm);
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(191, 138, 82, 0.3);
}