/* Cinematic Hero - Dual Page Horizontal Experience */

.toonz-cinematic-hero-wrapper {
    width: 100%;
    height: 100vh;
    overflow: hidden !important;
    position: relative;
    background: #050505;
    margin: 0 !important;
    padding: 0 !important;
}

.ch-track {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    width: 200vw !important;
    height: 100vh !important;
    will-change: transform;
    margin: 0 !important;
    padding: 0 !important;
}

.ch-page {
    width: 100vw;
    flex: 0 0 100vw;
    height: 100%;
    position: relative;
    overflow: hidden;
}

/* Background Effects */
.ch-bg-layer {
    position: absolute;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    z-index: 1;
    pointer-events: none;
}

.ch-bg-layer video,
.ch-bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    transform-origin: center center;
}

.ch-grain-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://www.transparenttextures.com/patterns/carbon-fibre.png');
    opacity: 0.05;
    pointer-events: none;
    z-index: 2;
}

.ch-gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.4) 50%, transparent 100%);
    z-index: 2;
}

/* Content Container */
.ch-content-container {
    position: relative;
    z-index: 10;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    padding: 0 80px;
}

.ch-hero-main {
    max-width: 700px;
    z-index: 15;
}

.ch-hero-visual-area {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.ch-hero-visual-area video,
.ch-hero-visual-area .ch-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.ch-hero-headline {
    font-size: clamp(48px, 6vw, 84px);
    font-family: 'Outfit', sans-serif;
    font-weight: 300;
    line-height: 1.1;
    color: #fff;
    margin-bottom: 30px;
}

.ch-hero-subtext {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-bottom: 50px;
    max-width: 550px;
}

/* Features Grid */
.ch-features-grid {
    display: flex;
    gap: 0;
    margin-bottom: 60px;
    align-items: flex-start;
}

.ch-feature-item {
    display: flex;
    flex-direction: column;
    /* Icon on top */
    align-items: center;
    /* Center align items */
    text-align: center;
    /* Center align text */
    gap: 15px;
    padding: 0 40px;
    position: relative;
}

.ch-feature-item:first-child {
    padding-left: 0;
}

.ch-feature-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
}

.ch-feature-icon {
    font-size: 24px;
    color: #E87722;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ch-feature-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.ch-feature-labels {
    display: flex;
    flex-direction: column;
    align-items: center;
    /* Center align internal labels */
}

.ch-f-top {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.4);
}

.ch-f-bot {
    font-size: 14px;
    color: #fff;
    font-weight: 500;
}

/* Buttons */
.ch-buttons {
    display: flex;
    align-items: center;
    gap: 25px;
}

.ch-btn {
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 2px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.ch-btn-primary {
    color: #fff;
    display: flex;
    align-items: center;
    gap: 12px;
}

.ch-play-icon {
    width: 48px;
    height: 48px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
}

.ch-btn-primary:hover .ch-play-icon {
    background: #E87722;
    border-color: #E87722;
    box-shadow: 0 0 20px rgba(232, 119, 34, 0.4);
}

.ch-btn-sep {
    width: 1px;
    height: 30px;
    background: rgba(255, 255, 255, 0.3);
    margin: 0 10px;
}

.ch-btn-outline {
    color: rgba(255, 255, 255, 0.6);
}

.ch-btn-outline:hover {
    color: #E87722;
}

/* --- PAGE 2: SHOWREEL --- */
.ch-reel-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.ch-reel-bg video,
.ch-reel-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ch-reel-overlay-top {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 30%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.9), transparent);
}

.ch-reel-overlay-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 30%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
}

.ch-reel-content {
    position: relative;
    z-index: 10;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
    padding: 0 40px;
}

.ch-reel-headline {
    font-size: clamp(40px, 5vw, 72px);
    font-weight: 300;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.ch-reel-head-line {
    width: 60px;
    height: 2px;
    background: #E87722;
    margin: 20px auto 40px;
}

.ch-reel-subtext {
    font-size: 18px;
    opacity: 0.7;
    max-width: 600px;
    line-height: 1.6;
    margin-bottom: 50px;
}

.ch-reel-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.ch-reel-play-fixed {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #E87722;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    position: relative;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.ch-reel-play-fixed:hover {
    transform: scale(1.1);
}

.ch-pulse-ring {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 2px solid #E87722;
    border-radius: 50%;
    animation: ch-pulse 2s infinite;
}

@keyframes ch-pulse {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }

    100% {
        transform: scale(1.8);
        opacity: 0;
    }
}

.ch-reel-cta-text {
    font-size: 12px;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-weight: 700;
    margin-top: 10px;
}

.ch-short-line {
    width: 40px;
    height: 2px;
    background: #E87722;
    margin-top: 10px;
}

/* Responsive Overrides */
@media (max-width: 991px) {
    .ch-features-grid {
        display: none;
        /* Simplify on mobile hero */
    }
}