/* IP Design Page Styles */

/* Lazy Load Styles */
[data-lazy-load] {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    will-change: opacity, transform;
}

[data-lazy-load].loaded {
    opacity: 1;
    transform: translateY(0);
}

/* Featured Visual Section */
.featured-visual {
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
}

.featured-visual .container {
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}

.featured-visual .featured-visual-wrap {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    padding-bottom: 0 !important;
    line-height: 0 !important;
    min-height: 0 !important;
    height: auto !important;
    overflow: visible !important;
    background: none !important;
}

.featured-visual .featured-visual-wrap img {
    width: 100% !important;
    height: auto !important;
    object-fit: cover !important;
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Hero Section */
.ip-hero {
    background: linear-gradient(220deg, #eef1ff 0%, #6290e3 100%);
    color: white;
    padding: 120px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.ip-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/patterns/grid.svg') repeat;
    opacity: 0.1;
    z-index: 1;
}

.ip-hero .container {
    position: relative;
    z-index: 2;
}

.ip-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, #fff, #f0f8ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.ip-subtitle {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.ip-description {
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto 2.5rem;
    opacity: 0.85;
}

.ip-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Process Section */
.ip-process {
    padding: 80px 0;
    background: #f8fafc;
}

.ip-process h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #1a202c;
}

.process-intro {
    text-align: center;
    font-size: 1.2rem;
    color: #4a5568;
    max-width: 600px;
    margin: 0 auto 3rem;
}

.process-steps {
    display: grid;
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.process-step {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.process-step:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.step-number {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    flex-shrink: 0;
}

.step-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #1a202c;
}

.step-content p {
    color: #4a5568;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.step-deliverables {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.step-deliverables li {
    background: #e2e8f0;
    color: #2d3748;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.9rem;
}

/* Services Section */
.ip-services {
    padding: 80px 0;
}

.ip-services h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #1a202c;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    border: 2px solid #e2e8f0;
    transition: all 0.3s ease;
    text-align: center;
}

.service-card:hover {
    border-color: #667eea;
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(102, 126, 234, 0.15);
}

.service-icon {
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    background: rgba(102, 126, 234, 0.05);
    border-radius: 20px;
    border: 2px solid rgba(102, 126, 234, 0.15);
    padding: 12px;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    background: rgba(102, 126, 234, 0.08);
    border-color: rgba(102, 126, 234, 0.3);
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.1);
}

.service-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.1));
}

.service-card:hover .service-icon img {
    transform: scale(1.05) rotate(3deg);
}

.service-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #1a202c;
}

.service-description {
    color: #4a5568;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.service-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.feature-tag {
    background: #edf2f7;
    color: #2d3748;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
}

/* Main Character Introduction */
.main-character-intro {
    padding: 80px 0;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    color: white;
}

.main-character-intro h2 {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 3rem;
    background: linear-gradient(45deg, #ff6b35, #f7931e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.main-character-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.character-image {
    text-align: center;
}

.character-image img {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.character-description h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #ff6b35;
}

.character-description p {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.character-features {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

/* Character Expressions */
.character-expressions {
    padding: 80px 0;
    background: #0a0a0a;
    color: white;
}

.character-expressions h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #ff6b35;
    letter-spacing: 2px;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 3rem;
    opacity: 0.8;
}

.expressions-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto 4rem;
    justify-content: center;
}

.expression-item {
    background: #1a1a1a;
    border-radius: 16px;
    padding: 1.5rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid transparent;
    width: 220px;
    flex-shrink: 0;
}

.expression-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(255, 107, 53, 0.2);
    border-color: #ff6b35;
}

.expression-item img {
    width: 100%;
    max-width: 150px;
    height: auto;
    margin-bottom: 1rem;
    border-radius: 12px;
}

.expression-item h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #ff6b35;
}

.expression-item p {
    font-size: 0.9rem;
    opacity: 0.7;
}

.expression-sheet {
    text-align: center;
    margin-top: 4rem;
}

.expression-sheet h3 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #ff6b35;
}

.expression-sheet img {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

/* Design Emotions */
.design-emotions {
    padding: 80px 0;
    background: linear-gradient(135deg, #2d1b69 0%, #11998e 100%);
    color: white;
}

.design-emotions h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.emotions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.emotion-item {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    transition: transform 0.3s ease, background 0.3s ease;
    backdrop-filter: blur(10px);
}

.emotion-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

.emotion-item img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 12px;
    flex-shrink: 0;
}

.emotion-info h4 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: #fff;
}

.emotion-info p {
    font-size: 1rem;
    opacity: 0.8;
}

/* Action Poses */
.action-poses {
    padding: 80px 0;
    background: #1a1a1a;
    color: white;
}

.action-poses h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #ff6b35;
    letter-spacing: 2px;
}

.poses-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 1400px;
    margin: 0 auto 3rem;
}

.pose-item.large {
    background: #2a2a2a;
    border-radius: 20px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.pose-item.large:hover {
    transform: scale(1.02);
}

.pose-item.large img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.pose-info {
    padding: 2rem;
}

.pose-info h4 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #ff6b35;
}

.pose-info p {
    font-size: 1.1rem;
    opacity: 0.8;
}

.poses-secondary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.poses-secondary .pose-item {
    background: #2a2a2a;
    border-radius: 16px;
    padding: 1.5rem;
    text-align: center;
    transition: transform 0.3s ease;
}

.poses-secondary .pose-item:hover {
    transform: translateY(-5px);
}

.poses-secondary .pose-item img {
    width: 100%;
    max-width: 200px;
    height: auto;
    border-radius: 12px;
    margin-bottom: 1rem;
}

.poses-secondary .pose-item h5 {
    font-size: 1.1rem;
    color: #ff6b35;
}

/* Development & Applications */
.development-applications {
    padding: 80px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.development-applications h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.development-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto 4rem;
}

.dev-item {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    overflow: hidden;
    transition: transform 0.3s ease;
    backdrop-filter: blur(10px);
}

.dev-item:hover {
    transform: translateY(-8px);
}

.dev-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.dev-info {
    padding: 2rem;
}

.dev-info h4 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.dev-info p {
    opacity: 0.9;
}

.applications-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

.app-item {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    overflow: hidden;
    transition: transform 0.3s ease;
    backdrop-filter: blur(10px);
}

.app-item:hover {
    transform: translateY(-8px);
}

.app-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.app-info {
    padding: 2rem;
}

.app-info h4 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.app-info p {
    opacity: 0.9;
}

/* Feature Tags */
.feature-tag {
    background: rgba(255, 107, 53, 0.2);
    color: #ff6b35;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid rgba(255, 107, 53, 0.3);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .main-character-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .poses-grid {
        grid-template-columns: 1fr;
    }

    .development-grid,
    .applications-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .main-character-intro h2 {
        font-size: 2rem;
    }

    .character-expressions h2,
    .design-emotions h2,
    .action-poses h2,
    .development-applications h2 {
        font-size: 2rem;
    }

    .expression-item {
        width: 180px;
    }

    .emotions-grid {
        grid-template-columns: 1fr;
    }

    .emotion-item {
        flex-direction: column;
        text-align: center;
    }

    .emotion-item img {
        width: 100px;
        height: 100px;
    }

    .poses-secondary {
        grid-template-columns: 1fr;
    }

    .pose-item.large img {
        height: 250px;
    }
}

@media (max-width: 480px) {
    .main-character-intro,
    .character-expressions,
    .design-emotions,
    .action-poses,
    .development-applications {
        padding: 60px 0;
    }

    .main-character-intro h2 {
        font-size: 1.8rem;
    }

    .character-description h3 {
        font-size: 1.5rem;
    }

    .character-description p {
        font-size: 1rem;
    }

    .expressions-grid {
        gap: 1rem;
    }

    .expression-item {
        padding: 1rem;
        width: 150px;
    }

    .expression-item img {
        max-width: 100px;
    }

    .emotion-item {
        padding: 1.5rem;
    }

    .pose-info,
    .dev-info,
    .app-info {
        padding: 1.5rem;
    }
}

/* Benefits Section */
.ip-benefits {
    padding: 80px 0;
    background: white;
}

.ip-benefits h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #1a202c;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.benefit-item {
    text-align: center;
    padding: 2rem;
}

.benefit-item:nth-child(4) {
    grid-column: 2;
}

.benefit-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100px;
    width: 100px;
    margin-left: auto;
    margin-right: auto;
    background: rgba(102, 126, 234, 0.05);
    border-radius: 20px;
    border: 2px solid rgba(102, 126, 234, 0.15);
    padding: 12px;
    transition: all 0.3s ease;
}

.benefit-item:hover .benefit-icon {
    background: rgba(102, 126, 234, 0.08);
    border-color: rgba(102, 126, 234, 0.3);
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.1);
}

.benefit-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.1));
}

.benefit-item:hover .benefit-icon img {
    transform: scale(1.05) rotate(3deg);
}

.benefit-item h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #1a202c;
}

.benefit-item p {
    color: #4a5568;
    line-height: 1.6;
}

/* CTA Section */
.ip-cta {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    /* Featured Visual - Mobile: 200% zoom and center */
    .featured-visual .featured-visual-wrap {
        overflow: hidden !important;
        height: auto !important;
    }

    .featured-visual .featured-visual-wrap img {
        width: 200% !important;
        height: auto !important;
        transform: translateX(-25%) !important;
        object-fit: cover !important;
        display: block !important;
    }

    .ip-title {
        font-size: 2.5rem;
    }

    .ip-subtitle {
        font-size: 1.2rem;
    }

    .process-step {
        flex-direction: column;
        text-align: left;
    }

    /* Ensure step content is readable on mobile */
    .step-content h3 {
        color: #1a202c !important;
    }

    .step-content p {
        color: #4a5568 !important;
    }

    /* Ensure step deliverables are readable on mobile */
    .step-deliverables li {
        background: #e2e8f0 !important;
        color: #2d3748 !important;
    }

    .ip-work-card.featured {
        grid-column: span 1;
    }

    .ip-actions,
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .services-grid,
    .benefits-grid {
        grid-template-columns: 1fr;
    }
}
