﻿/* Premium magic pass inspired by the AI Wiz Kid poster */
.aiwk-home {
    --aiwk-gold: #facc15;
    --aiwk-deep: #05081a;
    --aiwk-ink: #080b20;
}

.aiwk-section::before,
.aiwk-section::after {
    content: "";
    position: absolute;
    pointer-events: none;
}

.aiwk-section::before {
    inset: 0;
    z-index: 0;
    background:
        radial-gradient(circle at 20% 10%, rgba(34, 211, 238, 0.08), transparent 19rem),
        radial-gradient(circle at 80% 75%, rgba(139, 92, 246, 0.1), transparent 22rem);
}

.aiwk-section::after {
    inset: auto 8% 2rem auto;
    width: 8rem;
    height: 8rem;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(34, 211, 238, 0.22), transparent 68%);
    filter: blur(24px);
    opacity: 0.5;
}

.aiwk-eyebrow::before {
    content: "";
    width: 0.45rem;
    height: 0.45rem;
    border-radius: 999px;
    background: var(--aiwk-cyan);
    box-shadow: 0 0 18px rgba(34, 211, 238, 0.9), 0 0 34px rgba(139, 92, 246, 0.7);
}

.aiwk-button {
    position: relative;
    overflow: hidden;
}

.aiwk-button::after {
    content: "";
    position: absolute;
    inset: -45% auto -45% -35%;
    width: 35%;
    transform: rotate(18deg);
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.42), transparent);
    transition: left 520ms ease;
}

.aiwk-button:hover::after,
.aiwk-button:focus::after {
    left: 105%;
}

.aiwk-button-primary {
    border: 1px solid rgba(165, 243, 252, 0.42);
    background:
        linear-gradient(100deg, rgba(47, 124, 255, 0.98), rgba(34, 211, 238, 0.94)),
        radial-gradient(circle at 15% 20%, rgba(255, 255, 255, 0.55), transparent 28%);
    box-shadow: 0 18px 55px rgba(47, 124, 255, 0.36), 0 0 26px rgba(34, 211, 238, 0.2);
}

.aiwk-button-secondary {
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 14px 35px rgba(0, 0, 0, 0.26);
}

.aiwk-media-frame,
.aiwk-card,
.aiwk-photo-card,
.aiwk-product-panel,
.aiwk-talk-list article,
.aiwk-about-card,
.aiwk-cta-card,
.aiwk-feature-band {
    position: relative;
}

.aiwk-media-frame::after,
.aiwk-photo-card::after,
.aiwk-product-panel::after,
.aiwk-about-card::after,
.aiwk-cta-card::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.16), transparent 34%, rgba(34, 211, 238, 0.08));
    mix-blend-mode: screen;
}

.aiwk-spark-field {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

.aiwk-spark-field span {
    position: absolute;
    width: 0.42rem;
    height: 0.42rem;
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 0 18px #fff, 0 0 32px rgba(34, 211, 238, 0.85), 0 0 46px rgba(139, 92, 246, 0.75);
    animation: aiwk-twinkle 4.5s ease-in-out infinite;
}

.aiwk-spark-field span:nth-child(1) {
    top: 17%;
    left: 12%;
}

.aiwk-spark-field span:nth-child(2) {
    top: 26%;
    right: 16%;
    animation-delay: 900ms;
}

.aiwk-spark-field span:nth-child(3) {
    right: 9%;
    bottom: 24%;
    animation-delay: 1.6s;
}

.aiwk-spark-field span:nth-child(4) {
    left: 18%;
    bottom: 14%;
    animation-delay: 2.3s;
}

.aiwk-hero-premium {
    background:
        radial-gradient(circle at 72% 36%, rgba(34, 211, 238, 0.2), transparent 26rem),
        radial-gradient(circle at 18% 22%, rgba(139, 92, 246, 0.24), transparent 24rem),
        linear-gradient(140deg, rgba(2, 6, 23, 0.92), rgba(8, 11, 32, 0.98));
}

.aiwk-hero-copy h1 {
    text-shadow: 0 0 38px rgba(34, 211, 238, 0.12);
}

.aiwk-spell-strip span,
.aiwk-rune-row span,
.aiwk-cta-metrics span {
    position: relative;
    border-color: rgba(34, 211, 238, 0.28);
    background:
        linear-gradient(135deg, rgba(34, 211, 238, 0.1), rgba(139, 92, 246, 0.08)),
        rgba(2, 6, 23, 0.54);
}

.aiwk-spell-strip span::before,
.aiwk-rune-row span::before,
.aiwk-cta-metrics span::before {
    content: "";
    display: inline-block;
    width: 0.35rem;
    height: 0.35rem;
    margin-right: 0.45rem;
    border-radius: 999px;
    background: var(--aiwk-cyan);
    box-shadow: 0 0 12px rgba(34, 211, 238, 0.95);
    vertical-align: middle;
}

.aiwk-hero-photo {
    border-radius: 2.15rem;
    transform: rotate(1.5deg);
    box-shadow:
        0 35px 100px rgba(0, 0, 0, 0.48),
        0 0 0 1px rgba(34, 211, 238, 0.18),
        0 0 58px rgba(139, 92, 246, 0.24);
}

.aiwk-wand-orbit {
    position: absolute;
    inset: -1rem;
    z-index: 0;
    border-radius: 999px;
    background:
        conic-gradient(from 125deg, transparent 0 62%, rgba(34, 211, 238, 0.86), rgba(250, 204, 21, 0.84), transparent 76% 100%);
    filter: blur(0.5px);
    opacity: 0.55;
    animation: aiwk-orbit 12s linear infinite;
    mask-image: radial-gradient(circle, transparent 54%, black 56%, black 60%, transparent 62%);
}

/* Section 1: cinematic AI magic hero */
.aiwk-hero-premium {
    overflow: hidden;
}

.aiwk-hero-premium .aiwk-container {
    z-index: 3;
}

.aiwk-hero-aurora {
    position: absolute;
    inset: -18% -16% auto;
    z-index: 0;
    height: 62%;
    background:
        linear-gradient(100deg, transparent 8%, rgba(47, 124, 255, 0.16), rgba(217, 70, 239, 0.18), transparent 92%),
        radial-gradient(ellipse at 50% 0%, rgba(34, 211, 238, 0.18), transparent 56%);
    filter: blur(22px);
    opacity: 0.9;
    transform: rotate(-2deg);
    animation: aiwk-aurora-drift 11s ease-in-out infinite alternate;
}

.aiwk-magic-path {
    position: absolute;
    inset: 9% 3% auto auto;
    z-index: 1;
    width: min(58vw, 44rem);
    height: min(38vw, 25rem);
    border-top: 1px solid rgba(103, 232, 249, 0.42);
    border-right: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 100% 0 100% 0;
    opacity: 0.7;
    transform: rotate(-9deg);
    mask-image: linear-gradient(90deg, transparent, black 24%, black 78%, transparent);
}

.aiwk-magic-path::before,
.aiwk-magic-path::after {
    content: "";
    position: absolute;
    border-radius: 999px;
}

.aiwk-magic-path::before {
    top: -0.28rem;
    left: 16%;
    width: 0.56rem;
    height: 0.56rem;
    background: #fff;
    box-shadow: 0 0 20px #fff, 0 0 42px rgba(34, 211, 238, 0.95);
    animation: aiwk-comet 5.8s ease-in-out infinite;
}

.aiwk-magic-path::after {
    right: 3.5rem;
    bottom: 3.4rem;
    width: 4.6rem;
    height: 4.6rem;
    border: 1px solid rgba(250, 204, 21, 0.4);
    background: radial-gradient(circle, rgba(250, 204, 21, 0.28), transparent 68%);
    filter: blur(0.2px);
}

.aiwk-constellation-mark {
    position: absolute;
    top: clamp(5rem, 12vw, 8rem);
    left: min(5vw, 4rem);
    z-index: 1;
    width: 9rem;
    height: 9rem;
    opacity: 0.78;
}

.aiwk-constellation-mark::before,
.aiwk-constellation-mark::after {
    content: "";
    position: absolute;
    inset: 22% 14%;
    border-top: 1px solid rgba(103, 232, 249, 0.42);
    transform: rotate(26deg);
}

.aiwk-constellation-mark::after {
    inset: 40% 22%;
    border-color: rgba(192, 132, 252, 0.44);
    transform: rotate(-31deg);
}

.aiwk-constellation-mark span {
    position: absolute;
    width: 0.42rem;
    height: 0.42rem;
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 0 18px rgba(255, 255, 255, 0.92), 0 0 34px rgba(34, 211, 238, 0.75);
    animation: aiwk-twinkle 4.2s ease-in-out infinite;
}

.aiwk-constellation-mark span:nth-child(1) {
    top: 18%;
    left: 16%;
}

.aiwk-constellation-mark span:nth-child(2) {
    top: 32%;
    right: 12%;
    animation-delay: 700ms;
}

.aiwk-constellation-mark span:nth-child(3) {
    right: 34%;
    bottom: 16%;
    animation-delay: 1.4s;
}

.aiwk-constellation-mark span:nth-child(4) {
    left: 26%;
    bottom: 34%;
    animation-delay: 2.1s;
}

.aiwk-hero-premium .aiwk-grid-bg {
    background-image:
        linear-gradient(rgba(34, 211, 238, 0.09) 1px, transparent 1px),
        linear-gradient(90deg, rgba(34, 211, 238, 0.09) 1px, transparent 1px),
        radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.16) 0 1px, transparent 1.5px);
    background-position: 0 0, 0 0, 12px 12px;
    background-size: 46px 46px, 46px 46px, 92px 92px;
    animation: aiwk-grid-float 18s linear infinite;
}

.aiwk-hero-copy {
    animation: aiwk-rise-in 760ms ease both;
}

.aiwk-hero-eyebrow {
    border-color: rgba(250, 204, 21, 0.24);
    background:
        linear-gradient(90deg, rgba(34, 211, 238, 0.12), rgba(139, 92, 246, 0.16)),
        rgba(2, 6, 23, 0.72);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 14px 34px rgba(34, 211, 238, 0.12);
}

.aiwk-hero-copy h1 {
    max-width: 11ch;
    letter-spacing: -0.075em;
}

.aiwk-hero-copy h1 span {
    position: relative;
    width: fit-content;
    background:
        linear-gradient(100deg, #fff 0%, #9beafe 24%, #2f7cff 48%, #c084fc 74%, #facc15 100%);
    -webkit-background-clip: text;
    background-clip: text;
    background-size: 180% auto;
    color: transparent;
    animation: aiwk-title-shimmer 7s ease-in-out infinite;
}

.aiwk-hero-copy h1 span::after {
    content: "";
    position: absolute;
    right: 0.07em;
    bottom: -0.08em;
    left: 0.04em;
    height: 0.08em;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(34, 211, 238, 0.1), rgba(34, 211, 238, 0.95), rgba(250, 204, 21, 0.88));
    box-shadow: 0 0 22px rgba(34, 211, 238, 0.38);
}

.aiwk-hero-lede {
    max-width: 39rem;
    margin-bottom: 0;
    color: #f3fbff;
    text-wrap: balance;
}

.aiwk-hero-support {
    max-width: 38rem;
}

.aiwk-hero-copy .aiwk-button-row {
    margin-top: 2.1rem;
}

.aiwk-hero-promise {
    margin: 1.15rem 0 0;
    max-width: 38rem;
    color: rgba(203, 213, 225, 0.72);
    font-size: 0.9rem;
    font-weight: 650;
    letter-spacing: 0.02em;
    line-height: 1.55;
}

.aiwk-hero-visual {
    display: grid;
    align-items: center;
    isolation: isolate;
    animation: aiwk-rise-in 840ms 120ms ease both;
}

.aiwk-photo-halo {
    position: absolute;
    inset: 1.5rem 6% auto;
    z-index: 0;
    height: 82%;
    border-radius: 999px;
    background:
        conic-gradient(from 180deg, rgba(34, 211, 238, 0.04), rgba(34, 211, 238, 0.36), rgba(139, 92, 246, 0.35), rgba(250, 204, 21, 0.24), rgba(34, 211, 238, 0.04));
    filter: blur(18px);
    opacity: 0.8;
    animation: aiwk-pulse-glow 4.8s ease-in-out infinite;
}

.aiwk-hero-photo {
    z-index: 2;
    border: 1px solid rgba(165, 243, 252, 0.28);
    background:
        linear-gradient(145deg, rgba(34, 211, 238, 0.24), rgba(139, 92, 246, 0.18)),
        rgba(2, 6, 23, 0.82);
}

.aiwk-hero-photo::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background:
        linear-gradient(180deg, transparent 0 64%, rgba(2, 6, 23, 0.42) 100%),
        repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.045) 0 1px, transparent 1px 12px);
    opacity: 0.7;
}

.aiwk-hero-photo .aiwk-cover-img {
    object-position: center 18%;
    transform: scale(1.015);
    filter: saturate(1.08) contrast(1.04);
}

.aiwk-wiz-badge {
    position: absolute;
    top: 1.4rem;
    right: clamp(0.25rem, 3vw, 2.2rem);
    z-index: 4;
    display: grid;
    width: 4.7rem;
    height: 4.7rem;
    place-items: center;
    border: 1px solid rgba(250, 204, 21, 0.34);
    border-radius: 1.35rem;
    background:
        radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.34), transparent 24%),
        linear-gradient(145deg, rgba(47, 124, 255, 0.94), rgba(139, 92, 246, 0.9));
    box-shadow: 0 18px 42px rgba(47, 124, 255, 0.32), 0 0 36px rgba(250, 204, 21, 0.18);
    transform: rotate(7deg);
}

.aiwk-wiz-badge span {
    color: #fff;
    font-size: 1rem;
    font-weight: 950;
    letter-spacing: -0.03em;
}

.aiwk-wiz-badge::before,
.aiwk-wiz-badge::after {
    content: "";
    position: absolute;
    background: #fff;
    box-shadow: 0 0 16px #fff, 0 0 28px rgba(250, 204, 21, 0.72);
}

.aiwk-wiz-badge::before {
    top: 0.72rem;
    right: 0.82rem;
    width: 0.38rem;
    height: 0.38rem;
    border-radius: 999px;
}

.aiwk-wiz-badge::after {
    bottom: 0.82rem;
    left: 0.82rem;
    width: 0.56rem;
    height: 0.56rem;
    clip-path: polygon(50% 0, 64% 36%, 100% 50%, 64% 64%, 50% 100%, 36% 64%, 0 50%, 36% 36%);
}

.aiwk-spark-field span:nth-child(5) {
    top: 9%;
    left: 47%;
    animation-delay: 3s;
}

.aiwk-spark-field span:nth-child(6) {
    right: 34%;
    bottom: 10%;
    animation-delay: 3.6s;
}

@media (min-width: 1024px) {
    .aiwk-hero-premium {
        min-height: calc(100vh - 2rem);
        padding-bottom: 6.8rem;
    }

    .aiwk-hero-grid {
        gap: 4rem;
    }

    .aiwk-hero-visual {
        min-height: 43rem;
    }

    .aiwk-hero-photo {
        max-width: 32rem;
        margin-left: auto;
    }
}

@media (max-width: 767px) {
    .aiwk-hero-premium {
        padding-top: 1.6rem;
    }

    .aiwk-magic-path,
    .aiwk-constellation-mark {
        opacity: 0.38;
    }

    .aiwk-hero-copy h1 {
        max-width: 9ch;
    }

    .aiwk-hero-grid {
        gap: 1.15rem;
    }

    .aiwk-hero-copy {
        order: 2;
    }

    .aiwk-hero-visual {
        order: 1;
        min-height: 20rem;
        margin-top: 0;
    }

    .aiwk-photo-halo {
        inset: 0.2rem 10% auto;
        height: 92%;
    }

    .aiwk-hero-photo {
        max-width: min(68vw, 18rem);
        border-radius: 1.45rem;
        transform: none;
    }

    .aiwk-hero-photo .aiwk-cover-img {
        object-position: center 14%;
    }

    .aiwk-wiz-badge {
        top: 0;
        right: calc(50% - min(34vw, 9rem) - 0.75rem);
        width: 2.9rem;
        height: 2.9rem;
        border-radius: 0.9rem;
    }

    .aiwk-wiz-badge span {
        font-size: 0.78rem;
    }

}
