/* Toonz IP Hero - Master Design Styles */

.toonz-ip-hero-wrapper {
    position: relative;
    width: 100%;
    min-height: 100vh;
    background: #000;
    overflow: hidden;
    color: #fff;
    font-family: 'Outfit', sans-serif;
    display: flex;
    flex-direction: column;
}

/* Background & Overlays */
.iph-bg-container {
    position: absolute;
    inset: -20%;
    /* Increased negative inset for stronger parallax movement */
    width: 140%;
    height: 140%;
    z-index: 1;
    overflow: hidden;
}

.iph-bg-layer {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 1;
    /* Ken Burns Animation - now independent of parallax */
    animation: iphKenBurns 60s ease-in-out infinite alternate;
}

@keyframes iphKenBurns {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.15);
    }
}

.iph-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0.7) 100%);
    z-index: 2;
}

.iph-trails-canvas {
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;
    opacity: 0.4;
}

/* Container */
.iph-container {
    position: relative;
    z-index: 100;
    width: 100%;
    flex: 1;
    display: flex;
    align-items: center;
    padding: 0 3%;
}

.iph-main-content {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: flex-start;
}

/* Left Content */
.iph-content-left {
    padding-top: 50px;
    max-width: 900px;
}

.iph-title {
    font-size: 100px;
    font-weight: 200;
    line-height: 0.95;
    margin-bottom: 40px;
    letter-spacing: -2px;
}

.iph-title span.accent-text {
    font-weight: 700;
    color: #E87722;
}

.iph-description {
    font-size: 18px;
    line-height: 1.6;
    color: #fff;
    max-width: 540px;
    margin-bottom: 60px;
    font-weight: 400;
    opacity: 0.95;
}

/* Buttons */
.iph-buttons {
    display: flex !important;
    gap: 20px;
    position: relative;
    z-index: 200;
}

.iph-btn {
    display: inline-flex !important;
    align-items: center;
    gap: 15px;
    padding: 18px 40px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none !important;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    color: #fff !important;
    visibility: visible !important;
}

.iph-btn-primary {
    background: #E87722 !important;
    border: 1px solid #E87722 !important;
    box-shadow: 0 10px 30px rgba(232, 119, 34, 0.3);
}

.iph-btn-outline {
    border: 1px solid rgba(255, 255, 255, 0.6) !important;
    background: transparent !important;
}

.iph-btn:hover {
    transform: translateY(-8px);
}

.iph-btn-primary:hover {
    background: #FF8A3D !important;
    border-color: #FF8A3D !important;
    box-shadow: 0 15px 40px rgba(232, 119, 34, 0.5);
}

.iph-btn-outline:hover {
    border-color: #E87722 !important;
    background: rgba(232, 119, 34, 0.1) !important;
}

.btn-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.iph-btn:hover .btn-arrow {
    transform: translateX(8px);
}

/* Bottom Bar */
.iph-bottom-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 50px 0;
    z-index: 15;
}

.iph-bar-container {
    margin: 0 auto;
    display: flex;
    justify-content: center;
    padding: 0 5%;
}

.iph-icon-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    padding: 0 30px;
    border-right: 1px solid rgba(255, 255, 255, 0.15);
    flex: 1;
}

.iph-icon-item:last-child {
    border-right: none;
}

.iph-icon-asset {
    font-size: 28px;
    color: #fff;
}

.iph-icon-label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #fff;
    text-align: center;
}

/* Responsive */
@media (max-width: 1200px) {
    .iph-title {
        font-size: 70px;
    }

    .iph-bar-container {
        flex-wrap: wrap;
    }

    .iph-icon-item {
        width: 33%;
        border: none;
        padding: 20px;
    }
}

@media (max-width: 768px) {
    .iph-title {
        font-size: 50px;
    }

    .iph-buttons {
        flex-direction: column;
        width: 100%;
    }

    .iph-btn {
        width: 100%;
        justify-content: center;
    }
}