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

:root {
    --background: #FBF9F6;
    --text: #321F1B;
    --text-secondary: #5A575B;
    --brand: #A26841;
    --brand-hover: #8A5536;
    --brand-dark: #684736;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: #000;
    color: var(--text);
    overflow: hidden;
    cursor: none;
}

/* Animated Cursor */
.animated-cursor {
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.animated-cursor.visible {
    opacity: 1;
}

.cursor-dot {
    width: 8px;
    height: 8px;
    background: var(--brand);
    border-radius: 50%;
    position: absolute;
    transform: translate(-50%, -50%);
    transition: transform 0.15s ease, background 0.2s ease;
}

.cursor-ring {
    width: 32px;
    height: 32px;
    border: 2px solid var(--brand);
    border-radius: 50%;
    position: absolute;
    transform: translate(-50%, -50%);
    transition: width 0.2s ease, height 0.2s ease, border-color 0.2s ease;
}

.animated-cursor.clicking .cursor-dot {
    transform: translate(-50%, -50%) scale(1.5);
    background: var(--brand-hover);
}

.animated-cursor.clicking .cursor-ring {
    width: 40px;
    height: 40px;
    border-color: var(--brand-hover);
}

.cursor-click-effect {
    position: absolute;
    width: 40px;
    height: 40px;
    border: 2px solid var(--brand);
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    opacity: 0;
    pointer-events: none;
}

.animated-cursor.clicking .cursor-click-effect {
    animation: clickRipple 0.6s ease-out;
}

@keyframes clickRipple {
    0% {
        transform: translate(-50%, -50%) scale(0.5);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) scale(2);
        opacity: 0;
    }
}

/* Presentation Controls */
.presentation-controls {
    position: fixed;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 16px;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 9999;
    opacity: 0;
    animation: fadeIn 0.5s ease 1s forwards;
}

.control-btn {
    background: transparent;
    border: none;
    color: #fff;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.control-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.1);
}

.control-btn:active {
    transform: scale(0.95);
}

.progress-bar {
    width: 200px;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    overflow: hidden;
    margin-left: 12px;
}

.progress-fill {
    height: 100%;
    background: var(--brand);
    border-radius: 2px;
    width: 0%;
    transition: width 0.3s ease;
}

/* Cinematic Container */
.cinematic-container {
    width: 100vw;
    height: 100vh;
    position: relative;
    overflow: hidden;
}

/* Scenes */
.scene {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s ease, visibility 0s 1s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.scene.active {
    opacity: 1;
    visibility: visible;
    transition: opacity 1s ease;
}

/* Scene 1: Opening */
.scene-opening {
    background: linear-gradient(135deg, #1a1a1a 0%, #000 100%);
}

.opening-content {
    text-align: center;
    animation: scaleIn 1.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.logo-reveal {
    margin-bottom: 32px;
    animation: logoFloat 3s ease-in-out infinite;
}

.opening-logo {
    width: 160px;
    height: 160px;
    filter: drop-shadow(0 20px 60px rgba(162, 104, 65, 0.4));
}

.opening-title {
    font-size: 96px;
    font-weight: 900;
    color: #fff;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #fff 0%, var(--brand) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: titleReveal 1s ease 0.5s backwards;
}

.opening-tagline {
    font-size: 24px;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
    animation: fadeInUp 1s ease 0.8s backwards;
}

@keyframes scaleIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

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

@keyframes titleReveal {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* Scene 2: Homepage */
.scene-homepage {
    background: #000;
}

.scene-frame {
    width: 90%;
    max-width: 1400px;
    height: 85%;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 40px 120px rgba(0, 0, 0, 0.8);
    position: relative;
    animation: frameZoomIn 1.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.homepage-iframe,
.chat-iframe {
    width: 100%;
    height: 100%;
    border: none;
    background: var(--background);
}

.scene-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    background: linear-gradient(135deg, 
        rgba(162, 104, 65, 0.1) 0%, 
        transparent 30%, 
        transparent 70%, 
        rgba(162, 104, 65, 0.1) 100%);
}

@keyframes frameZoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* Scene 3: AI Models */
.scene-models {
    background: radial-gradient(circle at center, #1a1a1a 0%, #000 100%);
}

.models-showcase-content {
    text-align: center;
    width: 90%;
    max-width: 1200px;
}

.scene-title {
    font-size: 64px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 80px;
    animation: fadeInUp 0.8s ease;
}

.models-grid-animated {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 32px;
    margin-bottom: 80px;
}

.model-card-animated {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 40px 24px;
    text-align: center;
    opacity: 0;
    animation: cardSlideIn 0.6s ease forwards;
    transition: all 0.3s ease;
}

.model-card-animated:nth-child(1) { animation-delay: 0.1s; }
.model-card-animated:nth-child(2) { animation-delay: 0.2s; }
.model-card-animated:nth-child(3) { animation-delay: 0.3s; }
.model-card-animated:nth-child(4) { animation-delay: 0.4s; }
.model-card-animated:nth-child(5) { animation-delay: 0.5s; }
.model-card-animated:nth-child(6) { animation-delay: 0.6s; }
.model-card-animated:nth-child(7) { animation-delay: 0.7s; }

.model-card-animated:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--brand);
    box-shadow: 0 20px 60px rgba(162, 104, 65, 0.3);
}

.model-card-animated img {
    width: 64px;
    height: 64px;
    margin-bottom: 20px;
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.3));
}

.model-card-animated h3 {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
}

.model-card-animated p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

@keyframes cardSlideIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.models-cta {
    animation: fadeInUp 0.8s ease 1s backwards;
}

.price-highlight {
    display: inline-flex;
    align-items: baseline;
    gap: 8px;
    padding: 20px 48px;
    background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(162, 104, 65, 0.4);
}

.from-text {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

.price-large {
    font-size: 72px;
    font-weight: 900;
    color: #fff;
    line-height: 1;
}

.per-month {
    font-size: 24px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
}

/* Scene 4: Chat Interface */
.scene-chat {
    background: #000;
}

.feature-callout {
    position: absolute;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(20px);
    border: 2px solid var(--brand);
    border-radius: 16px;
    padding: 20px 24px;
    opacity: 0;
    transform: scale(0.9);
    box-shadow: 0 20px 60px rgba(162, 104, 65, 0.4);
}

.feature-callout.visible {
    animation: calloutPop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.callout-sidebar {
    top: 10%;
    left: 5%;
}

.callout-models {
    bottom: 15%;
    right: 8%;
}

.callout-content h3 {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
}

.callout-content p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    max-width: 280px;
}

@keyframes calloutPop {
    from {
        opacity: 0;
        transform: scale(0.8) translateY(20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* Scene 5: Pricing */
.scene-pricing {
    background: radial-gradient(circle at center, #1a1a1a 0%, #000 100%);
}

.pricing-showcase {
    text-align: center;
    width: 90%;
    max-width: 1200px;
}

.pricing-cards-animated {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.pricing-card-animated {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 48px 32px;
    text-align: center;
    opacity: 0;
    transform: translateY(30px);
    position: relative;
    transition: all 0.3s ease;
}

.scene-pricing.active .pricing-card-animated {
    animation: priceCardSlide 0.8s ease forwards;
}

.pricing-card-animated:nth-child(1) { animation-delay: 0.2s; }
.pricing-card-animated:nth-child(2) { animation-delay: 0.4s; }
.pricing-card-animated:nth-child(3) { animation-delay: 0.6s; }

.pricing-card-animated.featured {
    background: rgba(162, 104, 65, 0.1);
    border-color: var(--brand);
    transform: scale(1.05) translateY(30px);
}

.scene-pricing.active .pricing-card-animated.featured {
    animation: priceCardSlideFeatured 0.8s ease 0.4s forwards;
}

.featured-badge {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--brand);
    color: #fff;
    padding: 6px 20px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pricing-card-animated:hover {
    transform: translateY(-8px);
    border-color: var(--brand);
    box-shadow: 0 30px 80px rgba(162, 104, 65, 0.3);
}

.pricing-card-animated.featured:hover {
    transform: scale(1.08) translateY(-8px);
}

.pricing-card-animated h3 {
    font-size: 32px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 16px;
}

.pricing-card-animated .price {
    font-size: 56px;
    font-weight: 900;
    color: #fff;
    margin-bottom: 32px;
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
}

.pricing-card-animated .price span {
    font-size: 20px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
}

.pricing-card-animated ul {
    list-style: none;
    text-align: left;
}

.pricing-card-animated li {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 16px;
    padding-left: 28px;
    position: relative;
    font-size: 15px;
}

.pricing-card-animated li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--brand);
    font-weight: 700;
    font-size: 18px;
}

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

@keyframes priceCardSlideFeatured {
    to {
        opacity: 1;
        transform: scale(1.05) translateY(0);
    }
}

/* Scene 6: Closing */
.scene-closing {
    background: linear-gradient(135deg, #000 0%, #1a1a1a 100%);
}

.closing-content {
    text-align: center;
    animation: fadeInScale 1.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.closing-logo {
    width: 120px;
    height: 120px;
    margin-bottom: 40px;
    filter: drop-shadow(0 20px 60px rgba(162, 104, 65, 0.5));
    animation: logoFloat 3s ease-in-out infinite;
}

.closing-title {
    font-size: 64px;
    font-weight: 900;
    color: #fff;
    margin-bottom: 24px;
    background: linear-gradient(135deg, #fff 0%, var(--brand) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.closing-subtitle {
    font-size: 28px;
    color: var(--brand);
    margin-bottom: 48px;
    font-weight: 700;
}

.closing-cta {
    display: inline-block;
    padding: 20px 60px;
    background: var(--brand);
    color: #fff;
    text-decoration: none;
    border-radius: 16px;
    font-size: 20px;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 20px 60px rgba(162, 104, 65, 0.4);
}

.closing-cta:hover {
    background: var(--brand-hover);
    transform: translateY(-4px);
    box-shadow: 0 30px 80px rgba(162, 104, 65, 0.6);
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

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

/* Mobile Responsive */
@media (max-width: 768px) {
    .opening-title {
        font-size: 48px;
    }
    
    .scene-title {
        font-size: 36px;
        margin-bottom: 40px;
    }
    
    .models-grid-animated {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 20px;
    }
    
    .price-large {
        font-size: 48px;
    }
    
    .pricing-cards-animated {
        grid-template-columns: 1fr;
    }
    
    .closing-title {
        font-size: 36px;
    }
    
    .feature-callout {
        max-width: 250px;
        padding: 16px 20px;
    }
    
    body {
        cursor: auto;
    }
    
    .animated-cursor {
        display: none;
    }
}
