/* ── RESET ──────────────────────────────────────────── */
html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: 'FreightNeo Pro', 'freight-neo-pro', serif;
    font-weight: bold;
}

body {
    position: relative;
    min-height: 100vh;
    background: radial-gradient(ellipse at 30% 20%, #0e1a2e 0%, #080e1c 50%, #040810 100%);
    color: #fff;
}

/* ── QUADRANT OVERLAY ───────────────────────────────── */
.quadrant-overlay {
    position: fixed;
    inset: 0;
    display: grid;
    grid-template-columns: 45% 55%;
    grid-template-rows: 30% 70%;
    pointer-events: none;
    z-index: 1;
    padding: 10px;
    gap: 10px;
    box-sizing: border-box;
}

.quadrant {
    position: relative;
    border-radius: 18px;
    background: rgba(10, 16, 35, 0.82);
    border: 1px solid rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(20px);
}

.q1 { box-shadow: 0 0 30px rgba(0, 212, 255, 0.08), inset 0 1px 0 rgba(255,255,255,0.06); }
.q2 { box-shadow: 0 0 30px rgba(0, 255, 136, 0.08), inset 0 1px 0 rgba(255,255,255,0.06); }
.q3 { box-shadow: 0 0 30px rgba(168, 85, 247, 0.1), inset 0 1px 0 rgba(255,255,255,0.06); }
.q4 { box-shadow: 0 0 30px rgba(0, 229, 200, 0.08), inset 0 1px 0 rgba(255,255,255,0.06); }

/* ── Q1 ─────────────────────────────────────────────── */
.quadrant-one {
    position: fixed;
    left: 10px;
    top: 10px;
    width: calc(45% - 15px);
    height: calc(30% - 15px);
    display: grid;
    place-items: center;
    z-index: 10;
    pointer-events: none;
}


.q1-card {
    width: calc(100% - 40px);
    height: calc(100% - 40px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(40px) saturate(200%) brightness(1.1);
    -webkit-backdrop-filter: blur(40px) saturate(200%) brightness(1.1);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 16px;
    gap: 0.4rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3),
                inset 0 1px 0 rgba(255, 255, 255, 0.25),
                inset 0 -1px 0 rgba(255, 255, 255, 0.05);
}

.ad1-logo {
    font-size: clamp(2.4rem, 8.4vw, 7.8rem);
    font-weight: 800;
    line-height: 1;
    display: inline-block;
    background: linear-gradient(135deg, #00d4ff 0%, #a855f7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 20px rgba(0, 212, 255, 0.35));
    letter-spacing: -0.02em;
    transform: skewX(-18deg);
}

.q1-subtitle {
    font-size: clamp(0.7rem, 1.8vw, 1.4rem);
    font-weight: 500;
    color: rgba(255, 255, 255, 0.55);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transform: skewX(-18deg);
    display: inline-block;
}

/* ── Q2 ─────────────────────────────────────────────── */
.quadrant-two {
    position: fixed;
    left: calc(45% + 5px);
    top: 10px;
    width: calc(55% - 15px);
    height: calc(30% - 15px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    pointer-events: none;
}

.q2-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    width: 90%;
    max-width: 90%;
}

.q2-title {
    font-size: clamp(0.7rem, 3.5vw, 3.2rem);
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.01em;
    line-height: 1.2;
    transform: skewX(-18deg);
    display: block;
    text-align: center;
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.q2-subtitle {
    font-family: 'FreightNeo Pro', 'freight-neo-pro', serif;
    font-size: clamp(0.7rem, 3vw, 2.8rem);
    font-weight: 600;
    color: rgba(255, 255, 255, 0.75);
    transform: skewX(-18deg);
    display: block;
    text-align: center;
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    letter-spacing: 0.02em;
}

.q2-neon-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5em;
    padding: 0.36em 1.44em;
    border-radius: 999px;
    border: 1px solid rgba(0, 255, 136, 0.45);
    background: rgba(0, 255, 136, 0.07);
    color: rgba(0, 255, 136, 0.9);
    font-family: 'FreightNeo Pro', 'freight-neo-pro', serif;
    font-size: clamp(0.54rem, 1.2vw, 0.984rem);
    font-weight: 700;
    letter-spacing: 0.06em;
    white-space: nowrap;
    box-shadow: 0 0 14px rgba(0, 255, 136, 0.2), inset 0 0 8px rgba(0, 255, 136, 0.05);
    text-shadow: 0 0 8px rgba(0, 255, 136, 0.6);
    margin-top: 0.4rem;
}
.q2-neon-badge::before {
    content: '';
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #00ff88;
    box-shadow: 0 0 6px #00ff88;
    flex-shrink: 0;
    animation: neon-badge-blink 2s ease infinite;
}
.q1-phone-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5em;
    padding: 0.15em 1.2em;
    border-radius: 999px;
    border: 1px solid rgba(0, 212, 255, 0.45);
    background: rgba(0, 212, 255, 0.07);
    color: #fff;
    font-family: 'FreightNeo Pro', 'freight-neo-pro', serif;
    font-size: clamp(0.972rem, 2.16vw, 1.772rem);
    font-weight: 700;
    letter-spacing: 0.06em;
    white-space: nowrap;
    box-shadow: 0 0 14px rgba(0, 212, 255, 0.2), inset 0 0 8px rgba(0, 212, 255, 0.05);
    text-shadow: 0 0 8px rgba(0, 212, 255, 0.4);
}
@keyframes neon-badge-blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.q2-phone {
    font-size: clamp(1rem, 3vw, 2.8rem);
    font-weight: 600;
    color: #00d4ff;
    margin-top: 0.4rem;
    filter: drop-shadow(0 0 10px rgba(0, 212, 255, 0.45));
    letter-spacing: 0.02em;
    transform: skewX(-18deg);
    display: inline-block;
}

/* ── Q3 ─────────────────────────────────────────────── */
.quadrant-three {
    position: fixed;
    left: 10px;
    top: calc(30% + 5px);
    width: calc(45% - 15px);
    height: calc(70% - 15px);
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    z-index: 5;
    overflow: hidden;
    border-radius: 18px;
}

@property --a {
    syntax: '<angle>';
    initial-value: 0deg;
    inherits: false;
}

.q3-content-box {
    position: relative;
    width: 95%;
    aspect-ratio: 16 / 9;
    max-height: 95%;
    flex-shrink: 0;
    border-radius: 14px;
    overflow: hidden;
}

.q3-video-wrapper {
    position: absolute;
    inset: 0;
    border-radius: 14px;
    overflow: hidden;
    transition: opacity 0.8s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.q3-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
    will-change: transform;
    transform: translateZ(0);
}


.bullet-list-outer {
    position: absolute;
    inset: 0;
    border-radius: 18px;
    padding: 3px;
    background: rgb(10,16,35);
    transition: opacity 0.6s ease;
}

.spin-ring {
    position: absolute;
    inset: 0;
    border-radius: 18px;
    z-index: 0;
    background: conic-gradient(
        from var(--a),
        transparent 0deg,
        transparent 160deg,
        #a855f7 210deg,
        #00d4ff 255deg,
        #00ff88 295deg,
        #00e5c8 330deg,
        #00d4ff 355deg,
        transparent 360deg
    );
    opacity: 0;
}
.spin-ring.active {
    animation: spinTwiceFade 3s linear forwards;
}
@keyframes spinTwiceFade {
    0%   { --a: 0deg;   opacity: 1; }
    80%  { --a: 576deg; opacity: 1; }
    100% { --a: 720deg; opacity: 0; }
}

.bullet-list {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    padding: 0.75rem;
    border-radius: 16px;
    background: rgb(10, 16, 35);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    overflow: hidden;
}

.inf-header {
    font-size: clamp(0.4rem, 0.9vw, 0.7rem);
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: #fff;
    text-align: center;
    flex-shrink: 0;
}

.inf-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(0.25rem, 0.6vw, 0.5rem);
    flex: 1;
    min-height: 0;
}

.inf-tile {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.07);
    border-top: 2px solid var(--c);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.2rem;
    padding: 0.4rem 0.25rem;
    opacity: 0;
    animation: tileReveal 0.4s ease-out forwards;
}

.inf-logo {
    width: clamp(1.72rem, 3.45vw, 3.12rem);
    height: clamp(1.72rem, 3.45vw, 3.12rem);
    object-fit: contain;
    flex-shrink: 0;
}

.inf-name {
    font-size: clamp(0.78rem, 1.72vw, 1.47rem);
    font-weight: 700;
    color: var(--c);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-align: center;
    line-height: 1.1;
}

.inf-tag {
    font-size: clamp(0.6rem, 1.2vw, 1rem);
    font-weight: 500;
    color: rgba(255,255,255,0.32);
    text-transform: uppercase;
    letter-spacing: 0.07em;
    text-align: center;
    line-height: 1.1;
}

.inf-tile:nth-child(1) { animation-delay: 0.15s; }
.inf-tile:nth-child(2) { animation-delay: 0.28s; }
.inf-tile:nth-child(3) { animation-delay: 0.41s; }
.inf-tile:nth-child(4) { animation-delay: 0.54s; }
.inf-tile:nth-child(5) { animation-delay: 0.67s; }
.inf-tile:nth-child(6) { animation-delay: 0.80s; }

@keyframes tileReveal {
    from { opacity: 0; transform: scale(0.82) translateY(10px); }
    to   { opacity: 1; transform: scale(1) translateY(0); }
}

/* ── HOW IT WORKS SLIDE (Q3) ────────────────────────── */
@keyframes hiwUp   { from { opacity:0; transform:translateY(10px); } to { opacity:1; transform:translateY(0); } }
@keyframes hiwFade { from { opacity:0; } to { opacity:1; } }
@keyframes hiwDraw { from { stroke-dashoffset:151; } to { stroke-dashoffset:0; } }

.hiw-outer {
    position: absolute;
    inset: 0;
    border-radius: 18px;
    padding: 3px;
    background: rgb(10,16,35);
    opacity: 0;
    transition: opacity 0.6s ease;
}
.hiw-inner {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    border-radius: 16px;
    background: rgb(10,16,35);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 0.3rem 0.75rem 0.4rem;
    overflow: hidden;
}

.hiw-heading {
    font-size: clamp(0.4rem, 0.9vw, 0.7rem);
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    text-align: center;
    flex-shrink: 0;
    opacity: 0;
}

.hiw-steps {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 0.5rem;
    width: 100%;
    flex: 1;
    min-height: 0;
    align-self: stretch;
}

.hiw-connector { display: none; }

.hiw-step {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.07);
    border-left: 3px solid var(--c);
    border-radius: 8px;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 1rem;
    opacity: 0;
}

.hiw-ring {
    position: relative;
    flex-shrink: 0;
    width: clamp(64px, 7.2vw, 104px);
    height: clamp(64px, 7.2vw, 104px);
}

.hiw-num {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(1.44rem, 3vw, 2.4rem);
    font-weight: 900;
    color: var(--c);
}

.hiw-arc { stroke-dashoffset: 151; }

.hiw-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }

.hiw-step-label {
    font-size: clamp(0.88rem, 1.84vw, 1.52rem);
    font-weight: 700;
    color: var(--c);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    line-height: 1.2;
}

.hiw-step-detail {
    font-size: clamp(0.68rem, 1.28vw, 1.04rem);
    color: rgba(255,255,255,0.35);
    line-height: 1.3;
}

.hiw-outer.playing .hiw-heading          { animation: hiwUp   0.5s 0.10s ease-out forwards; }
.hiw-outer.playing .hiw-s1               { animation: hiwUp   0.5s 0.25s ease-out forwards; }
.hiw-outer.playing .hiw-s1 .hiw-arc     { animation: hiwDraw 0.9s 0.25s ease-out forwards; }
.hiw-outer.playing .hiw-s2               { animation: hiwUp   0.5s 0.50s ease-out forwards; }
.hiw-outer.playing .hiw-s2 .hiw-arc     { animation: hiwDraw 0.9s 0.50s ease-out forwards; }
.hiw-outer.playing .hiw-s3               { animation: hiwUp   0.5s 0.75s ease-out forwards; }
.hiw-outer.playing .hiw-s3 .hiw-arc     { animation: hiwDraw 0.9s 0.75s ease-out forwards; }
.hiw-outer.playing .hiw-s4               { animation: hiwUp   0.5s 1.00s ease-out forwards; }
.hiw-outer.playing .hiw-s4 .hiw-arc     { animation: hiwDraw 0.9s 1.00s ease-out forwards; }

/* ── Q4 ─────────────────────────────────────────────── */
.quadrant-four {
    position: fixed;
    left: calc(45% + 5px);
    top: calc(30% + 5px);
    width: calc(55% - 15px);
    height: calc(70% - 15px);
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    z-index: 5;
}

.video-wrapper {
    width: 82%;
    aspect-ratio: 16 / 9;
    max-height: 82%;
    border-radius: 14px;
    overflow: hidden;
    pointer-events: auto;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 50px rgba(0, 229, 200, 0.15),
                0 20px 60px rgba(0, 0, 0, 0.5),
                inset 0 1px 0 rgba(255,255,255,0.08);
}

.video-wrapper video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* hide mobile-only elements on desktop */
.q1-mob-services,
.q1-col-right { display: none; }

.q1-col-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
}

.q1-mob-phone {
    font-family: 'FreightNeo Pro', 'freight-neo-pro', serif;
    font-size: clamp(1rem, 4vw, 3.84rem);
    font-weight: 600;
    color: #fff;
    transform: skewX(-18deg);
    display: inline-block;
}

/* ── MOBILE (< 768px) ───────────────────────────────── */
@media (max-aspect-ratio: 3/4) {
    html, body {
        height: 100dvh;
        overflow: hidden;
        visibility: hidden;
    }

    body {
        display: flex;
        flex-direction: column;
        gap: 10px;
        padding: 10px;
        box-sizing: border-box;
    }

    .quadrant-overlay,
    .quadrant-two,
    .quadrant-four { display: none; }

    .quadrant-one {
        position: relative;
        left: auto; top: auto;
        width: 100%;
        flex: 0 0 34%;
        box-sizing: border-box;
        border-radius: 18px;
        display: grid;
        place-items: center;
    }

    .q1-card {
        width: 100%;
        height: 100%;
        display: flex;
        flex-direction: row;
        gap: 0;
        padding: 0;
        overflow: hidden;
    }

    .q1-col-left {
        flex: 0 0 50%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 0.3rem;
        background: rgba(0, 212, 255, 0.04);
        border-right: 2px solid rgba(255, 255, 255, 0.15);
        border-radius: 16px 0 0 16px;
    }

    .q1-col-right {
        flex: 0 0 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0.75rem;
        background: rgba(168, 85, 247, 0.04);
        border-radius: 0 16px 16px 0;
        box-sizing: border-box;
    }

    .q1-subtitle { display: none; }

    .q1-mob-phone {
        display: inline-block;
        font-size: clamp(0.8rem, 3vw, 1.4rem);
        font-weight: 600;
        color: #00d4ff;
        filter: drop-shadow(0 0 8px rgba(0,212,255,0.45));
        transform: skewX(-18deg);
    }

    .q1-mob-services {
        display: inline-block;
        font-size: clamp(0.6rem, 2.2vw, 0.95rem);
        font-weight: 700;
        color: rgba(255,255,255,0.85);
        text-align: center;
        transform: skewX(-18deg);
        line-height: 1.5;
    }

    .quadrant-three {
        position: relative;
        left: auto; top: auto;
        width: 100%;
        flex: 1;
        height: auto;
        border-radius: 18px;
        background: rgba(8, 14, 32, 0.78);
        border: 1px solid rgba(255,255,255,0.07);
        backdrop-filter: blur(16px);
        box-shadow: 0 0 30px rgba(168,85,247,0.1), inset 0 1px 0 rgba(255,255,255,0.06);
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .bullet-list-outer,
    .q3-video-wrapper,
    .hiw-outer {
        inset: 0;
        width: 100%;
        height: 100%;
    }

    .q3-video {
        width: 100%;
        height: 100%;
    }

    .q1-mob-services {
        display: inline-block;
        font-size: clamp(0.6rem, 2.5vw, 0.95rem);
        font-weight: 700;
        color: rgba(255,255,255,0.8);
        text-align: center;
        transform: skewX(-18deg);
        padding: 0 0.5rem;
    }

    .q1-mob-phone {
        display: inline-block;
        font-size: clamp(0.9rem, 3.5vw, 1.6rem);
        font-weight: 600;
        color: #00d4ff;
        filter: drop-shadow(0 0 8px rgba(0,212,255,0.45));
        transform: skewX(-18deg);
    }
}

/* ── TABLET ─────────────────────────────────────────── */
@media (min-aspect-ratio: 4/3) and (max-width: 1023px) {
    .quadrant { border-width: 1px; }
}
