* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { overflow-x: hidden; -webkit-text-size-adjust: 100%; }
.studio-landing { font-family: 'Inter', -apple-system, sans-serif; background: #0a0a0a; color: #e5e5e5; overflow-x: hidden; -webkit-font-smoothing: antialiased; min-height: 100vh; }
.studio-landing:not(.dark-mode) { background: #ffffff; color: #1a1a1a; }

.navbar { position: fixed; top: 0; left: 0; right: 0; height: 64px; background: rgba(255,255,255,0.95); backdrop-filter: blur(12px); border-bottom: 1px solid rgba(0,0,0,0.08); z-index: 1000; display: flex; align-items: center; justify-content: space-between; padding: 0 48px; }
.navbar-brand { font-size: 16px; font-weight: 600; color: #1a1a1a; text-decoration: none; }
.navbar-brand .short-text { display: none; }
.navbar-right { display: flex; align-items: center; gap: 20px; }
.icon-toggle { width: 36px; height: 36px; border-radius: 8px; background: #f5f5f5; border: 1px solid #e5e5e5; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: all 0.2s; position: relative; }
.icon-toggle:hover { background: #e5e5e5; border-color: #d4d4d4; }
.icon-toggle svg { position: absolute; transition: all 0.3s ease; }
.sun-icon { opacity: 1; transform: rotate(0deg) scale(1); }
.moon-icon { opacity: 0; transform: rotate(90deg) scale(0.5); }
.studio-landing.dark-mode .sun-icon { opacity: 0; transform: rotate(-90deg) scale(0.5); }
.studio-landing.dark-mode .moon-icon { opacity: 1; transform: rotate(0deg) scale(1); }
.navbar-cta { padding: 10px 24px; background: #1a1a1a; color: #ffffff; border: none; border-radius: 8px; font-size: 14px; font-weight: 600; cursor: pointer; transition: all 0.2s; text-decoration: none; display: inline-flex; align-items: center; }
.navbar-cta:hover { background: #333; transform: translateY(-1px); color: #ffffff; }

.main-content { padding-top: 64px; background: #ffffff; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 40px; }

.hero-section { padding: 100px 0 80px; text-align: center; background: linear-gradient(180deg, #f9f9f9 0%, #ffffff 100%); }
.hero-container { max-width: 1100px; margin: 0 auto; padding: 0 40px; }
.hero-eyebrow { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: #999; margin-bottom: 20px; }
.hero-title { font-size: 52px; font-weight: 700; line-height: 1.1; letter-spacing: -0.03em; margin-bottom: 24px; color: #1a1a1a; }
.hero-subtitle { font-size: 20px; line-height: 1.6; color: #666; margin-bottom: 40px; max-width: 900px; margin-left: auto; margin-right: auto; }
.hero-cta-row { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }
.hero-cta { padding: 16px 32px; background: #1a1a1a; color: #ffffff; border: none; border-radius: 12px; font-size: 16px; font-weight: 600; cursor: pointer; transition: all 0.2s; display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.hero-cta:hover { background: #333; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.15); color: #ffffff; }
.hero-cta-secondary { padding: 16px 32px; background: transparent; color: #1a1a1a; border: 2px solid #1a1a1a; border-radius: 12px; font-size: 16px; font-weight: 600; cursor: pointer; transition: all 0.2s; display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.hero-cta-secondary:hover { background: #1a1a1a; color: #fff; }
.hero-cta-secondary svg { fill: currentColor; }

.section-header { margin-bottom: 48px; }
.section-header-center { text-align: center; }
.section-title { font-size: 36px; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 12px; color: #1a1a1a; }
.section-subtitle { font-size: 18px; color: #666; line-height: 1.6; max-width: 800px; }
.section-header-center .section-subtitle { margin: 0 auto; }

/* Services Section */
.services-section { padding: 80px 0; background: #f9f9f9; }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card { position: relative; padding: 40px 32px; background: #ffffff; border: 1px solid #e5e5e5; border-radius: 20px; transition: all 0.3s; }
.service-card:hover { border-color: #d4d4d4; transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,0.1); }
.service-card-featured { border-color: #1a1a1a; border-width: 2px; }
.service-card-highlight { background: linear-gradient(135deg, #f9f9f9, #f0f0f0); border-color: #10b981; border-width: 2px; }
.service-badge { position: absolute; top: -12px; left: 32px; background: #1a1a1a; color: #fff; padding: 6px 16px; border-radius: 20px; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; }
.service-badge-scale { background: #10b981; }
.service-icon { width: 56px; height: 56px; background: #1a1a1a; border-radius: 14px; display: flex; align-items: center; justify-content: center; margin-bottom: 24px; }
.service-icon svg { width: 28px; height: 28px; color: #ffffff; }
.service-title { font-size: 22px; font-weight: 700; margin-bottom: 12px; color: #1a1a1a; }
.service-description { font-size: 15px; line-height: 1.6; color: #666; margin-bottom: 20px; }
.service-list { list-style: none; }
.service-list li { font-size: 14px; color: #444; padding: 8px 0; border-bottom: 1px solid #e5e5e5; display: flex; align-items: center; gap: 10px; }
.service-list li:last-child { border-bottom: none; }
.service-list li::before { content: ""; color: #1a1a1a; font-weight: bold; }

/* Process Section */
.process-section { padding: 80px 0; background: #ffffff; }
.process-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.process-card { padding: 32px; background: #f9f9f9; border: 1px solid #e5e5e5; border-radius: 16px; transition: all 0.3s; position: relative; }
.process-card:hover { background: #f5f5f5; border-color: #d4d4d4; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.08); }
.process-number { font-size: 48px; font-weight: 700; font-family: 'Playfair Display', serif; color: #e5e5e5; margin-bottom: 16px; line-height: 1; }
.process-title { font-size: 18px; font-weight: 600; margin-bottom: 12px; color: #1a1a1a; }
.process-description { font-size: 14px; line-height: 1.6; color: #666; }

/* Tech Section */
.tech-section { padding: 80px 0; background: #f9f9f9; }
.tech-content { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.tech-description { font-size: 18px; line-height: 1.7; color: #666; margin-bottom: 32px; }
.tech-models { display: flex; flex-wrap: wrap; gap: 12px; }
.tech-model { display: flex; align-items: center; gap: 8px; padding: 12px 20px; background: #ffffff; border: 1px solid #e5e5e5; border-radius: 12px; }
.tech-model-name { font-size: 16px; font-weight: 600; color: #1a1a1a; }
.tech-model-type { font-size: 12px; color: #999; text-transform: uppercase; letter-spacing: 0.05em; }
.tech-features { display: flex; flex-direction: column; gap: 24px; }
.tech-feature { display: flex; align-items: flex-start; gap: 20px; padding: 24px; background: #ffffff; border: 1px solid #e5e5e5; border-radius: 16px; transition: all 0.3s; }
.tech-feature:hover { border-color: #d4d4d4; box-shadow: 0 8px 24px rgba(0,0,0,0.08); }
.tech-feature-icon { width: 56px; height: 56px; background: #1a1a1a; border-radius: 14px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.tech-feature-icon svg { width: 28px; height: 28px; color: #ffffff; }
.tech-feature-content h4 { font-size: 20px; font-weight: 700; color: #1a1a1a; margin-bottom: 4px; }
.tech-feature-content p { font-size: 14px; color: #666; }

/* Portfolio Section */
.portfolio-section { padding: 80px 0; background: #ffffff; }
.portfolio-cta { display: flex; justify-content: center; margin-top: 32px; }
.portfolio-btn { display: inline-flex; align-items: center; gap: 16px; padding: 20px 40px; background: #1a1a1a; color: #ffffff; text-decoration: none; border-radius: 16px; font-size: 18px; font-weight: 600; transition: all 0.3s; }
.portfolio-btn:hover { background: #333; transform: translateY(-2px); box-shadow: 0 12px 32px rgba(0,0,0,0.2); color: #ffffff; }
.portfolio-btn svg { flex-shrink: 0; }

/* Video Gallery - Transform Carousel */
.video-gallery-wrapper { position: relative; overflow: hidden; }
.video-gallery-container { width: 100%; overflow: hidden; padding: 60px 0 40px; }
.video-gallery { position: relative; height: 480px; display: flex; justify-content: center; align-items: center; }
.video-card { position: absolute; width: 480px; background: #f9f9f9; border: 1px solid #e5e5e5; border-radius: 16px; overflow: hidden; cursor: pointer; transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1); box-shadow: 0 8px 24px rgba(0,0,0,0.1); }
/* Position states */
.video-card.active { transform: translateX(0) scale(1.25); opacity: 1; z-index: 5; box-shadow: 0 30px 80px rgba(0,0,0,0.3); }
.video-card.prev { transform: translateX(-380px) scale(0.75); opacity: 0.6; z-index: 3; }
.video-card.next { transform: translateX(380px) scale(0.75); opacity: 0.6; z-index: 3; }
.video-card.prev-2 { transform: translateX(-680px) scale(0.6); opacity: 0.3; z-index: 1; }
.video-card.next-2 { transform: translateX(680px) scale(0.6); opacity: 0.3; z-index: 1; }
.video-card.hidden { transform: translateX(0) scale(0.5); opacity: 0; z-index: 0; pointer-events: none; }
/* Hover states */
.video-card.prev:hover, .video-card.next:hover { opacity: 0.85; transform: translateX(-380px) scale(0.8); }
.video-card.next:hover { transform: translateX(380px) scale(0.8); }
.video-card.active:hover { box-shadow: 0 24px 70px rgba(0,0,0,0.3); }
/* Video Player */
.video-player { position: relative; width: 100%; aspect-ratio: 16/9; background: #000; }
.video-player iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; }
.video-placeholder { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 2; background-size: cover; background-position: center; background-repeat: no-repeat; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: opacity 0.3s; }
.video-placeholder::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.15); transition: background 0.3s; }
.video-card.active:hover .video-placeholder::before { background: rgba(0,0,0,0.3); }
.video-placeholder.hidden { opacity: 0; pointer-events: none; }
.video-play-btn { position: relative; z-index: 3; transition: transform 0.3s, opacity 0.3s; opacity: 0.6; transform: scale(0.8); }
.video-card.active .video-play-btn { transform: scale(1); opacity: 0.9; }
.video-card.active:hover .video-play-btn { transform: scale(1.1); opacity: 1; }
.video-info { padding: 20px; transition: opacity 0.3s; opacity: 0.6; }
.video-card.active .video-info { opacity: 1; }
.video-title { font-size: 16px; font-weight: 600; color: #1a1a1a; margin-bottom: 6px; }
.video-category { font-size: 13px; color: #999; text-transform: uppercase; letter-spacing: 0.05em; }
/* Gallery navigation dots */
.video-gallery-nav { display: flex; justify-content: center; gap: 10px; padding: 24px 0; }
.video-gallery-dot { width: 10px; height: 10px; border-radius: 50%; background: #ddd; border: none; cursor: pointer; transition: all 0.3s; padding: 0; }
.video-gallery-dot:hover { background: #bbb; }
.video-gallery-dot.active { background: #1a1a1a; transform: scale(1.2); }

/* CTA Section */
.cta-section { padding: 100px 0; background: linear-gradient(135deg, #f9f9f9, #f0f0f0); text-align: center; }
.cta-title { font-size: 42px; font-weight: 700; margin-bottom: 20px; color: #1a1a1a; }
.cta-subtitle { font-size: 18px; color: #666; margin-bottom: 40px; max-width: 600px; margin-left: auto; margin-right: auto; }
.cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.cta-secondary { padding: 16px 32px; background: transparent; color: #1a1a1a; border: 2px solid #1a1a1a; border-radius: 12px; font-size: 16px; font-weight: 600; cursor: pointer; transition: all 0.2s; text-decoration: none; }
.cta-secondary:hover { background: #1a1a1a; color: #fff; }

.fade-in { opacity: 0; transform: translateY(30px); transition: all 0.6s ease-out; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ===========================================
   RESPONSIVE STYLES - 3 Breakpoints
   Desktop: 1025px+ (default styles above)
   Tablet: 769px - 1024px
   Mobile: 768px and below
=========================================== */

/* ===========================================
   TABLET (769px - 1024px)
=========================================== */
@media (max-width: 1024px) {
    /* Hero */
    .hero-title { font-size: 42px; }
    .hero-subtitle { font-size: 18px; }

    /* Grids */
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .process-grid { grid-template-columns: repeat(2, 1fr); }
    .tech-content { grid-template-columns: 1fr; gap: 40px; }

    /* Cards */
    .service-card { padding: 32px 24px; }
    .process-card { padding: 28px; }
    .tech-feature { padding: 20px; }

    /* Video Gallery */
    .video-gallery { height: 400px; }
    .video-card { width: 400px; }
    .video-card.prev { transform: translateX(-320px) scale(0.75); }
    .video-card.next { transform: translateX(320px) scale(0.75); }
    .video-card.prev-2, .video-card.next-2 { opacity: 0; }
    .video-card.active { transform: scale(1.1); }

    /* CTA */
    .cta-title { font-size: 34px; }
}

/* ===========================================
   MOBILE (768px and below)
=========================================== */
@media (max-width: 768px) {
    /* Navbar */
    .navbar { padding: 0 16px; height: 56px; }
    .navbar-brand { font-size: 14px; max-width: 120px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .navbar-right { gap: 10px; }
    .navbar-cta { padding: 8px 16px; font-size: 13px; }
    .icon-toggle { display: none; }
    .navbar-brand .full-text { display: none; }
    .navbar-brand .short-text {
        display: inline;
        font-family: 'Playfair Display', serif;
        font-weight: 600;
    }

    /* Container */
    .container { padding: 0 20px; }

    /* Hero */
    .hero-section { padding: 70px 0 50px; }
    .hero-container { padding: 0 20px; }
    .hero-eyebrow { font-size: 11px; }
    .hero-title { font-size: 28px; line-height: 1.1; }
    .hero-subtitle { font-size: 15px; }
    .hero-cta-row { flex-direction: column; align-items: center; gap: 12px; }
    .hero-cta, .hero-cta-secondary {
        padding: 14px 28px;
        font-size: 15px;
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

    /* Section Headers */
    .section-title { font-size: 24px; }
    .section-subtitle { font-size: 15px; }
    .section-header { margin-bottom: 32px; }

    /* Sections Spacing */
    .services-section, .process-section, .tech-section, .portfolio-section { padding: 50px 0; }

    /* Services Grid */
    .services-grid { grid-template-columns: 1fr; gap: 20px; }
    .service-card { padding: 24px 20px; }
    .service-badge { top: -10px; left: 20px; padding: 5px 12px; font-size: 11px; }
    .service-icon { width: 48px; height: 48px; border-radius: 12px; margin-bottom: 20px; }
    .service-icon svg { width: 24px; height: 24px; }
    .service-title { font-size: 18px; }
    .service-description { font-size: 14px; }
    .service-list li { font-size: 13px; padding: 6px 0; }

    /* Process Grid */
    .process-grid { grid-template-columns: 1fr; gap: 16px; }
    .process-card { padding: 24px 20px; }
    .process-number { font-size: 36px; }
    .process-title { font-size: 16px; }
    .process-description { font-size: 13px; }

    /* Tech Section */
    .tech-content { grid-template-columns: 1fr; gap: 30px; }
    .tech-description { font-size: 16px; }
    .tech-models { gap: 8px; }
    .tech-model { padding: 10px 16px; }
    .tech-model-name { font-size: 14px; }
    .tech-model-type { font-size: 11px; }
    .tech-features { gap: 16px; }
    .tech-feature { padding: 20px; gap: 16px; }
    .tech-feature-icon { width: 48px; height: 48px; border-radius: 12px; }
    .tech-feature-icon svg { width: 24px; height: 24px; }
    .tech-feature-content h4 { font-size: 17px; }
    .tech-feature-content p { font-size: 13px; }

    /* Video Gallery */
    .video-gallery-container { padding: 30px 0 10px; }
    .video-gallery { height: 260px; }
    .video-card { width: 260px; }
    .video-card.active { transform: scale(1); box-shadow: 0 20px 50px rgba(0,0,0,0.25); }
    .video-card.prev { transform: translateX(-180px) scale(0.7); opacity: 0.5; }
    .video-card.next { transform: translateX(180px) scale(0.7); opacity: 0.5; }
    .video-card.prev-2, .video-card.next-2 { opacity: 0; pointer-events: none; }
    .video-card.prev:hover { transform: translateX(-180px) scale(0.75); }
    .video-card.next:hover { transform: translateX(180px) scale(0.75); }
    .video-info { padding: 14px; }
    .video-title { font-size: 14px; }
    .video-category { font-size: 11px; }
    .video-gallery-nav { padding: 14px 0; gap: 8px; }
    .video-gallery-dot { width: 8px; height: 8px; }

    /* Portfolio CTA */
    .portfolio-btn { padding: 16px 24px; font-size: 15px; gap: 12px; border-radius: 12px; }

    /* CTA Section */
    .cta-section { padding: 50px 20px; }
    .cta-title { font-size: 24px; }
    .cta-subtitle { font-size: 15px; margin-bottom: 30px; }
    .cta-buttons { flex-direction: column; align-items: center; gap: 12px; }
    .cta-secondary {
        padding: 14px 28px;
        font-size: 15px;
        width: 100%;
        max-width: 300px;
        text-align: center;
    }
}

/* Dark Mode */
.studio-landing.dark-mode { background: #0a0a0a; color: #e5e5e5; }
.studio-landing.dark-mode .navbar { background: rgba(10,10,10,0.95); border-bottom: 1px solid rgba(255,255,255,0.1); }
.studio-landing.dark-mode .navbar-brand, .studio-landing.dark-mode .hero-title, .studio-landing.dark-mode .section-title, .studio-landing.dark-mode .cta-title, .studio-landing.dark-mode .service-title, .studio-landing.dark-mode .process-title, .studio-landing.dark-mode .tech-feature-content h4, .studio-landing.dark-mode .tech-model-name { color: #e5e5e5; }
.studio-landing.dark-mode .main-content { background: #0a0a0a; }
.studio-landing.dark-mode .hero-section { background: linear-gradient(180deg, #111 0%, #0a0a0a 100%); }
.studio-landing.dark-mode .navbar-cta { background: #e5e5e5; color: #0a0a0a; }
.studio-landing.dark-mode .navbar-cta:hover { background: #fff; }
.studio-landing.dark-mode .hero-cta { background: #e5e5e5; color: #0a0a0a; }
.studio-landing.dark-mode .hero-cta:hover { background: #fff; }
.studio-landing.dark-mode .hero-cta-secondary { color: #e5e5e5; border-color: #e5e5e5; }
.studio-landing.dark-mode .hero-cta-secondary:hover { background: #e5e5e5; color: #0a0a0a; }
.studio-landing.dark-mode .services-section, .studio-landing.dark-mode .tech-section { background: #111; }
.studio-landing.dark-mode .process-section, .studio-landing.dark-mode .portfolio-section { background: #0a0a0a; }
.studio-landing.dark-mode .cta-section { background: linear-gradient(135deg, #111, #1a1a1a); }
.studio-landing.dark-mode .service-card, .studio-landing.dark-mode .process-card, .studio-landing.dark-mode .tech-feature, .studio-landing.dark-mode .tech-model { background: #1a1a1a; border-color: #333; }
.studio-landing.dark-mode .service-card:hover, .studio-landing.dark-mode .process-card:hover, .studio-landing.dark-mode .tech-feature:hover { background: #252525; border-color: #444; }
.studio-landing.dark-mode .service-card-featured { border-color: #e5e5e5; }
.studio-landing.dark-mode .service-card-highlight { background: linear-gradient(135deg, #1a1a1a, #252525); border-color: #10b981; }
.studio-landing.dark-mode .service-badge { background: #e5e5e5; color: #0a0a0a; }
.studio-landing.dark-mode .service-icon, .studio-landing.dark-mode .tech-feature-icon { background: #e5e5e5; }
.studio-landing.dark-mode .service-icon svg, .studio-landing.dark-mode .tech-feature-icon svg { color: #0a0a0a; }
.studio-landing.dark-mode .service-list li { border-bottom-color: #333; color: #ccc; }
.studio-landing.dark-mode .process-number { color: #333; }
.studio-landing.dark-mode .portfolio-btn { background: #e5e5e5; color: #0a0a0a; }
.studio-landing.dark-mode .portfolio-btn:hover { background: #fff; }
.studio-landing.dark-mode .portfolio-btn svg polygon { fill: #e5e5e5; }
.studio-landing.dark-mode .cta-secondary { color: #e5e5e5; border-color: #e5e5e5; }
.studio-landing.dark-mode .cta-secondary:hover { background: #e5e5e5; color: #0a0a0a; }
.studio-landing.dark-mode .section-subtitle, .studio-landing.dark-mode .hero-subtitle, .studio-landing.dark-mode .cta-subtitle, .studio-landing.dark-mode .hero-eyebrow, .studio-landing.dark-mode .service-description, .studio-landing.dark-mode .process-description, .studio-landing.dark-mode .tech-description, .studio-landing.dark-mode .tech-feature-content p, .studio-landing.dark-mode .tech-model-type { color: #999; }
.studio-landing.dark-mode .icon-toggle { background: #252525; border-color: #444; }
.studio-landing.dark-mode .icon-toggle:hover { background: #333; border-color: #555; }
.studio-landing.dark-mode .icon-toggle svg { color: #e5e5e5; }
.studio-landing.dark-mode .video-card { background: #1a1a1a; border-color: #333; }
.studio-landing.dark-mode .video-card.active { background: #1a1a1a; border-color: #444; box-shadow: 0 20px 60px rgba(0,0,0,0.5); }
.studio-landing.dark-mode .video-card.active:hover { box-shadow: 0 24px 70px rgba(0,0,0,0.6); }
.studio-landing.dark-mode .video-title { color: #e5e5e5; }
.studio-landing.dark-mode .video-category { color: #666; }
.studio-landing.dark-mode .video-gallery-dot { background: #444; }
.studio-landing.dark-mode .video-gallery-dot:hover { background: #555; }
.studio-landing.dark-mode .video-gallery-dot.active { background: #e5e5e5; }
