/* Comic Book 2.0 - Pop Art / Neo-Brutalism Style */

:root {
    --comic-border: 4px solid #000;
    --comic-shadow: 8px 8px 0px #000;
    --comic-shadow-hover: 12px 12px 0px #000;
    --comic-radius: 16px;

    /* Scene Colors */
    --bg-chaos: #fff0f0;
    --bg-hero: #f3f0ff;
    --bg-grid: #fff;
    --bg-ai: #f8f9fa;
    --bg-victory: #fff9db;
}

body,
html {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    background-color: #fff;
    font-family: 'Inter', sans-serif;
}

/* STANDALONE NAV */
.comic-nav {
    position: absolute;
    top: 2rem;
    left: 2rem;
    right: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
}

.mini-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    background: #fff;
    padding: 0.5rem 1rem;
    border: 3px solid #000;
    border-radius: 50px;
    box-shadow: 4px 4px 0 #000;
    transition: transform 0.2s;
}

.mini-logo:hover {
    transform: translateY(-2px);
}

.mini-logo img {
    width: 32px;
    height: 32px;
}

.mini-logo span {
    font-weight: 900;
    font-size: 1.2rem;
    color: #000;
    text-transform: uppercase;
}

.nav-cta {
    background: #000;
    color: #fff;
    font-weight: 800;
    padding: 0.8rem 1.5rem;
    text-decoration: none;
    border-radius: 8px;
    text-transform: uppercase;
    transition: all 0.2s;
    border: 2px solid #000;
}

.nav-cta:hover {
    background: #fff;
    color: #000;
    box-shadow: 4px 4px 0 #000;
}

/* SCENE BASE STYLES */
.comic-scene {
    min-height: 100vh;
    /* Enforces full screen */
    width: 100%;
    display: flex;
    /* Flexbox for centering */
    align-items: center;
    justify-content: center;
    position: relative;
    border-bottom: var(--comic-border);
    box-sizing: border-box;
    /* Includes padding in height */
    padding: 2rem;
}

.scene-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1300px;
    /* Slightly wider for standalone */
    width: 100%;
    align-items: center;
}

.scene-content.reverse {
    direction: rtl;
}

.scene-content.reverse>* {
    direction: ltr;
}

/* NARRATIVE BOX */
.narrative-box {
    padding: 3rem;
    /* More breathing room */
    background: #fff;
    border: var(--comic-border);
    box-shadow: var(--comic-shadow);
    border-radius: var(--comic-radius);
    z-index: 10;
}

.scene-label {
    background: #000;
    color: #fff;
    padding: 0.5rem 1rem;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    display: inline-block;
    margin-bottom: 1.5rem;
    transform: rotate(-2deg);
}

.scene-label-hero {
    background: #6366f1;
}

.scene-label-ai {
    background: #10b981;
}

.narrative-box h1 {
    font-size: 4rem;
    /* Larger titles */
    font-weight: 900;
    line-height: 1;
    margin-bottom: 1.5rem;
    color: #000;
    text-transform: uppercase;
}

.narrative-box p {
    font-size: 1.3rem;
    /* Larger text */
    line-height: 1.6;
    color: #333;
    font-weight: 500;
}

/* ILLUSTRATION BOX */
.illustration-box {
    position: relative;
    border: var(--comic-border);
    border-radius: var(--comic-radius);
    overflow: hidden;
    background: #fff;
    box-shadow: var(--comic-shadow);
    width: 100%;
}

.scene-svg {
    width: 100%;
    height: auto;
    display: block;
}

/* SCENE 1: CHAOS */
.scene-chaos {
    background-color: var(--bg-chaos);
    padding-top: 6rem;
    /* Space for Nav */
}

.pop-bubble {
    position: absolute;
    background: #fff;
    border: 3px solid #000;
    padding: 1.5rem;
    border-radius: 50%;
    font-weight: 800;
    font-size: 1.1rem;
    box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.2);
    z-index: 20;
    white-space: nowrap;
}

.float-1 {
    top: 15%;
    left: 5%;
    transform: rotate(-5deg);
}

.float-2 {
    top: 25%;
    right: 10%;
    transform: rotate(5deg);
    background: #ffe3e3;
}

.float-3 {
    bottom: 20%;
    left: 15%;
    transform: rotate(-3deg);
}

/* SCENE 2: HERO */
.scene-hero {
    background-color: var(--bg-hero);
}

.comic-btn {
    display: inline-block;
    background: #6366f1;
    color: #fff;
    font-weight: 900;
    font-size: 1.2rem;
    padding: 1.2rem 3rem;
    border: 3px solid #000;
    box-shadow: 6px 6px 0 #000;
    text-decoration: none;
    text-transform: uppercase;
    margin-top: 2rem;
    transition: all 0.2s;
    border-radius: 8px;
}

.comic-btn:hover {
    transform: translate(-3px, -3px);
    box-shadow: 9px 9px 0 #000;
}

/* SCENE 3: GRID (ARSENAL) */
.scene-grid {
    background-color: var(--bg-grid);
    flex-direction: column;
}

.scene-title {
    font-size: 3.5rem;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 4rem;
    text-align: center;
    border-bottom: 6px solid #6366f1;
    display: inline-block;
    line-height: 1;
}

.comic-grid-layout {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    max-width: 1300px;
    width: 100%;
}

.comic-card {
    background: #fff;
    border: var(--comic-border);
    border-radius: var(--comic-radius);
    padding: 2.5rem;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.comic-card:hover {
    transform: translateY(-12px) rotate(1deg);
    box-shadow: var(--comic-shadow-hover);
    z-index: 5;
    background: #fdfdfd;
}

.card-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    background: #f0f0f0;
    padding: 0.5rem;
    border-radius: 12px;
    border: 2px solid #000;
    box-shadow: 3px 3px 0 #000;
}

.comic-card h3 {
    font-weight: 800;
    font-size: 1.8rem;
    margin-bottom: 0.8rem;
    margin-top: 0;
}

.comic-card p {
    font-size: 1.1rem;
    line-height: 1.5;
    color: #555;
    margin: 0;
}

/* SCENE 4: AI */
.scene-ai {
    background-color: var(--bg-ai);
}

.phone-frame {
    border: 5px solid #000;
    border-radius: 36px;
    background: #fff;
    padding: 1rem;
    box-shadow: var(--comic-shadow);
    max-width: 400px;
    /* Larger phone */
    margin: 0 auto;
}

.phone-screen {
    background: #f0f2f5;
    border: 3px solid #000;
    border-radius: 24px;
    overflow: hidden;
    height: 600px;
    /* Taller */
    display: flex;
    flex-direction: column;
    position: relative;
}

.chat-header {
    background: #6366f1;
    padding: 1.5rem;
    color: #fff;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 1rem;
    border-bottom: 3px solid #000;
    font-size: 1.2rem;
}

.chat-body {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.msg {
    padding: 1rem 1.2rem;
    border-radius: 16px;
    border: 3px solid #000;
    max-width: 85%;
    font-size: 1rem;
    font-weight: 600;
    box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.1);
}

.msg-ai {
    background: #fff;
    align-self: flex-start;
    border-bottom-left-radius: 0;
}

.msg-user {
    background: #a5b4fc;
    align-self: flex-end;
    border-bottom-right-radius: 0;
}

.sticker-pow {
    position: absolute;
    right: -30px;
    bottom: 120px;
    background: #ffec99;
    border: 4px solid #000;
    padding: 1.5rem;
    font-size: 2rem;
    font-weight: 900;
    transform: rotate(15deg);
    clip-path: polygon(20% 0%, 100% 0%, 100% 100%, 0% 100%, 10% 50%);
    box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.2);
    z-index: 20;
}

/* SCENE 5: VICTORY CTA */
.scene-victory {
    background-color: var(--bg-victory);
    text-align: center;
}

.victory-container {
    max-width: 900px;
    z-index: 2;
}

.victory-title {
    font-size: 5rem;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    color: #000;
    text-shadow: 6px 6px 0 #fff;
    line-height: 0.9;
}

.victory-subtitle {
    font-size: 1.8rem;
    font-weight: 600;
}

.mega-btn {
    display: inline-block;
    background: #10b981;
    color: #000;
    font-size: 2rem;
    font-weight: 900;
    padding: 2rem 5rem;
    border: 5px solid #000;
    text-decoration: none;
    margin-top: 4rem;
    position: relative;
    transition: transform 0.1s;
    text-transform: uppercase;
    box-shadow: 10px 10px 0 #000;
    border-radius: 12px;
}

.mega-btn:hover {
    transform: translate(-5px, -5px);
    box-shadow: 15px 15px 0 #000;
}

.trust-badges {
    margin-top: 5rem;
    display: flex;
    justify-content: center;
    gap: 3rem;
    font-weight: 700;
    font-size: 1.1rem;
    text-transform: uppercase;
}

.trust-badges span {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .narrative-box h1 {
        font-size: 3rem;
    }

    .comic-grid-layout {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .comic-scene {
        padding: 4rem 1.5rem;
        height: auto;
        /* Allow scrolling on mobile if content is tall */
        min-height: 100vh;
    }

    .scene-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .scene-content.reverse {
        direction: ltr;
    }

    .illustration-box {
        order: -1;
    }

    .comic-grid-layout {
        grid-template-columns: 1fr;
    }

    .victory-title {
        font-size: 3rem;
    }

    .pop-bubble {
        font-size: 0.9rem;
        padding: 1rem;
    }

    .narrative-box {
        padding: 2rem;
    }

    .mega-btn {
        padding: 1.5rem 2rem;
        font-size: 1.5rem;
        width: 100%;
        box-sizing: border-box;
    }

    .trust-badges {
        flex-direction: column;
        gap: 1rem;
    }

    /* Adjust spacing for mobile readability */
    .scene-chaos {
        padding-top: 8rem;
    }

    .comic-nav {
        top: 1.5rem;
        left: 1rem;
        right: 1rem;
    }
}

/* Head Zoom Animation */
.julius-head-zoom {
    transform-box: fill-box;
    transform-origin: center;
    animation: headPulse 3s infinite ease-in-out;
    cursor: pointer;
}

@keyframes headPulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

.julius-head-zoom:hover {
    animation: none;
    transform: scale(1.2);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}