@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: #030303;
    color: #eee;
    font-family: 'Roboto', sans-serif;
    overflow-x: hidden;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(rgba(180, 70, 255, .025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(180, 70, 255, .025) 1px, transparent 1px);
    background-size: 45px 45px;
    mask-image: linear-gradient(
        to bottom,
        rgba(0, 0, 0, .9),
        transparent 85%
    );
    z-index: -1;
}

.enneagram-page {
    width: 100%;
    min-height: 100vh;
}

.hero-type4 {
    position: relative;
    min-height: 760px;
    padding: 90px 8%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    overflow: hidden;
    border-bottom: 1px solid rgba(180, 70, 255, .25);
}

.hero-background {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(
            circle at 15% 20%,
            rgba(180, 70, 255, .11),
            transparent 35%
        ),
        radial-gradient(
            circle at 85% 80%,
            rgba(125, 40, 220, .10),
            transparent 35%
        );
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 650px;
}

.type-tag {
    display: inline-block;
    font-size: .72rem;
    letter-spacing: 3px;
    color: #d99bff;
    border-left: 2px solid #b84cff;
    padding-left: 14px;
    margin-bottom: 28px;
    text-transform: uppercase;
}

.hero-content h1 {
    font-size: clamp(6rem, 13vw, 11rem);
    font-weight: 800;
    line-height: .8;
    letter-spacing: -10px;
    color: #fff;
    text-shadow:
        0 0 10px rgba(180, 70, 255, .6),
        0 0 35px rgba(145, 40, 255, .4);
}

.hero-content h2 {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 500;
    color: #c75cff;
    letter-spacing: 8px;
    margin-top: 28px;
    text-transform: uppercase;
}

.hero-description {
    margin-top: 18px;
    color: #8e8e8e;
    font-size: .95rem;
    letter-spacing: 1px;
    max-width: 500px;
    line-height: 1.8;
}

.hero-line {
    width: 100px;
    height: 1px;
    margin: 30px 0 18px;
    background: linear-gradient(
        90deg,
        #b84cff,
        transparent
    );
    box-shadow: 0 0 10px rgba(180, 70, 255, .8);
}

.hero-small {
    font-size: .65rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #686868;
}

.hero-symbol {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 500px;
}

.symbol-glow {
    position: absolute;
    width: 350px;
    height: 350px;
    border-radius: 50%;
    background: radial-gradient(
        circle,
        rgba(180, 70, 255, .15),
        transparent 68%
    );
    filter: blur(12px);
}

.four-circle {
    position: relative;
    width: min(360px, 65vw);
    height: min(360px, 65vw);
    border: 1px solid rgba(180, 70, 255, .30);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow:
        0 0 25px rgba(180, 70, 255, .10),
        inset 0 0 40px rgba(180, 70, 255, .07);
    animation: floatFour 4s ease-in-out infinite;
}

.four-circle::before {
    content: "";
    position: absolute;
    inset: 25px;
    border: 1px solid rgba(180, 70, 255, .18);
    border-radius: 50%;
}

.four-circle::after {
    content: "";
    position: absolute;
    inset: 55px;
    border: 1px solid rgba(145, 50, 230, .14);
    border-radius: 50%;
}

.four-circle span {
    font-size: clamp(8rem, 15vw, 13rem);
    font-weight: 800;
    color: #f3d8ff;
    text-shadow:
        0 0 10px #b84cff,
        0 0 30px rgba(180, 70, 255, .8),
        0 0 70px rgba(125, 40, 220, .3);
}

.orbit {
    position: absolute;
    border: 1px solid rgba(180, 70, 255, .18);
    border-radius: 50%;
    animation: orbitRotate linear infinite;
}

.orbit-one {
    width: 430px;
    height: 180px;
    animation-duration: 11s;
}

.orbit-two {
    width: 200px;
    height: 430px;
    animation-duration: 8s;
}

.orbit-three {
    width: 410px;
    height: 410px;
    border-color: rgba(145, 50, 230, .12);
    animation-duration: 15s;
}

.intro-section {
    width: min(1100px, 84%);
    margin: 0 auto;
    padding: 100px 0 90px;
}

.intro-header {
    max-width: 900px;
    margin-left: auto;
}

.intro-header > span {
    display: inline-block;
    font-size: .62rem;
    letter-spacing: 3px;
    color: #c56aff;
    margin-bottom: 15px;
}

.intro-header h2 {
    font-size: clamp(2rem, 4vw, 3.4rem);
    font-weight: 500;
    color: #f5f5f5;
    margin-bottom: 30px;
}

.intro-header h2 em {
    color: #c75cff;
    font-style: normal;
}

.intro-header p {
    max-width: 850px;
    color: #909090;
    font-size: .95rem;
    line-height: 2;
}

.intro-header strong {
    color: #ead1ff;
}

.subtype-section {
    position: relative;
    width: min(1100px, 84%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 45px;
    padding: 85px 0;
    border-top: 1px solid rgba(180, 70, 255, .14);
}

.subtype-section::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 1px;
    height: 100%;
    background: linear-gradient(
        to bottom,
        transparent,
        rgba(180, 70, 255, .55),
        transparent
    );
}

.subtype-section::after {
    content: "";
    position: absolute;
    left: -2px;
    top: 85px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #b84cff;
    box-shadow:
        0 0 10px #b84cff,
        0 0 25px rgba(180, 70, 255, .7);
}

.subtype-number {
    font-size: 2.8rem;
    font-weight: 700;
    color: rgba(180, 70, 255, .38);
    padding-left: 25px;
    text-shadow: 0 0 15px rgba(180, 70, 255, .25);
}

.subtype-content {
    max-width: 850px;
}

.subtype-tag {
    display: inline-block;
    font-size: .63rem;
    letter-spacing: 3px;
    color: #c963ff;
    margin-bottom: 13px;
    text-shadow: 0 0 12px rgba(180, 70, 255, .4);
}

.subtype-content h2 {
    font-size: clamp(3.5rem, 7vw, 6rem);
    font-weight: 800;
    line-height: .9;
    color: #f8edff;
    text-shadow: 0 0 15px rgba(180, 70, 255, .18);
    margin-bottom: 5px;
}

.subtype-content h3 {
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-weight: 400;
    color: #c75cff;
    margin-bottom: 40px;
}

.subtype-content p {
    font-size: .94rem;
    line-height: 2.05;
    color: #909090;
    margin-bottom: 27px;
    max-width: 830px;
}

.subtype-content p:first-of-type {
    color: #c4c4c4;
}

.subtype-content p:last-child {
    margin-bottom: 0;
}

.subtype-content strong {
    color: #ead5ff;
}

.subtype-4w3 {
    background: linear-gradient(
        90deg,
        rgba(180, 70, 255, .04),
        transparent 60%
    );
}

.subtype-4w5 {
    background: linear-gradient(
        90deg,
        rgba(140, 45, 220, .03),
        transparent 60%
    );
}

.comparison-section {
    width: min(1100px, 84%);
    margin: 0 auto;
    padding: 120px 0 140px;
}

.comparison-tag {
    display: inline-block;
    font-size: .63rem;
    letter-spacing: 3px;
    color: #c963ff;
    margin-bottom: 12px;
}

.comparison-section h2 {
    max-width: 700px;
    font-size: clamp(2rem, 4vw, 3.3rem);
    font-weight: 500;
    color: #f5f5f5;
    margin-bottom: 60px;
}

.comparison-section h2 em {
    font-style: normal;
    color: #c75cff;
}

.comparison-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.comparison-card {
    position: relative;
    padding: 35px;
    border: 1px solid rgba(180, 70, 255, .18);
    background: linear-gradient(
        145deg,
        rgba(180, 70, 255, .04),
        rgba(5, 5, 5, .8)
    );
    transition: .35s ease;
}

.comparison-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(
        90deg,
        transparent,
        #b84cff,
        transparent
    );
}

.comparison-card:hover {
    transform: translateY(-5px);
    border-color: rgba(180, 70, 255, .5);
    box-shadow: 0 0 30px rgba(145, 50, 230, .09);
}

.comparison-card > span {
    font-size: 3rem;
    font-weight: 800;
    color: #c75cff;
    text-shadow: 0 0 15px rgba(180, 70, 255, .45);
}

.comparison-card h3 {
    font-size: 1.25rem;
    font-weight: 500;
    color: #f5f5f5;
    margin: 10px 0 20px;
}

.comparison-card p {
    color: #888;
    font-size: .88rem;
    line-height: 1.9;
}

.comparison-line {
    width: 100%;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(180, 70, 255, .55),
        transparent
    );
    margin: 60px 0 35px;
}

.comparison-text {
    max-width: 780px;
    margin: 0 auto;
    text-align: center;
    color: #777;
    font-size: .88rem;
    line-height: 2;
}

.comparison-text strong {
    color: #c963ff;
}

.comparison-text em {
    color: #ead5ff;
}

.closing-section {
    position: relative;
    padding: 140px 8%;
    text-align: center;
    border-top: 1px solid rgba(180, 70, 255, .15);
    overflow: hidden;
}

.closing-section::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 600px;
    height: 300px;
    transform: translate(-50%, -50%);
    background: radial-gradient(
        ellipse,
        rgba(180, 70, 255, .09),
        transparent 70%
    );
    pointer-events: none;
}

.closing-symbol {
    position: relative;
    font-size: 1rem;
    letter-spacing: 7px;
    color: #c963ff;
    text-shadow: 0 0 15px rgba(180, 70, 255, .55);
    margin-bottom: 30px;
}

.closing-section .section-tag {
    position: relative;
    display: inline-block;
    font-size: .65rem;
    letter-spacing: 4px;
    color: #c56aff;
    margin-bottom: 20px;
}

.closing-section h2 {
    position: relative;
    max-width: 850px;
    margin: 0 auto 30px;
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 500;
    line-height: 1.1;
    color: #f4f4f4;
}

.closing-section h2 em {
    color: #c75cff;
    font-style: normal;
}

.closing-section p {
    position: relative;
    max-width: 700px;
    margin: 0 auto;
    color: #7b7b7b;
    font-size: .9rem;
    line-height: 2;
}

@keyframes floatFour {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes orbitRotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@media (max-width: 1000px) {
    .hero-type4 {
        grid-template-columns: 1fr;
        min-height: auto;
        padding-top: 110px;
        padding-bottom: 70px;
    }

    .hero-content {
        text-align: center;
        margin: 0 auto;
    }

    .type-tag {
        border-left: none;
        border-bottom: 1px solid #b84cff;
        padding: 0 0 8px;
    }

    .hero-line {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-symbol {
        min-height: 470px;
        margin-top: 20px;
    }

    .subtype-section {
        width: 88%;
        grid-template-columns: 65px 1fr;
        gap: 25px;
    }

    .subtype-number {
        font-size: 2rem;
        padding-left: 15px;
    }
}

@media (max-width: 700px) {
    .hero-type4 {
        padding-left: 5%;
        padding-right: 5%;
    }

    .hero-content h1 {
        font-size: 6rem;
        letter-spacing: -6px;
    }

    .hero-content h2 {
        font-size: 1.25rem;
        letter-spacing: 4px;
    }

    .hero-description {
        font-size: .8rem;
    }

    .hero-symbol {
        min-height: 380px;
    }

    .four-circle {
        width: 280px;
        height: 280px;
    }

    .four-circle span {
        font-size: 8rem;
    }

    .orbit-one {
        width: 320px;
        height: 140px;
    }

    .orbit-two {
        width: 150px;
        height: 320px;
    }

    .orbit-three {
        width: 300px;
        height: 300px;
    }

    .intro-section,
    .comparison-section {
        width: 90%;
    }

    .intro-section {
        padding-top: 75px;
    }

    .subtype-section {
        width: 90%;
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 65px 0 70px 15px;
    }

    .subtype-number {
        padding-left: 0;
    }

    .subtype-content h2 {
        font-size: 4rem;
    }

    .subtype-content h3 {
        font-size: 1.25rem;
        margin-bottom: 28px;
    }

    .subtype-content p {
        font-size: .84rem;
        line-height: 1.9;
        margin-bottom: 22px;
    }

    .subtype-section::after {
        top: 65px;
    }

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

    .comparison-card {
        padding: 28px;
    }

    .closing-section {
        padding: 110px 6%;
    }

    .closing-section h2 {
        font-size: 2rem;
    }
}

@media (max-width: 430px) {
    .hero-content h1 {
        font-size: 5.5rem;
    }

    .hero-content h2 {
        font-size: 1rem;
        letter-spacing: 3px;
    }

    .hero-symbol {
        min-height: 320px;
    }

    .four-circle {
        width: 230px;
        height: 230px;
    }

    .four-circle span {
        font-size: 6.5rem;
    }

    .orbit-one {
        width: 270px;
        height: 120px;
    }

    .orbit-two {
        width: 120px;
        height: 270px;
    }

    .orbit-three {
        width: 255px;
        height: 255px;
    }

    .subtype-content h2 {
        font-size: 3.5rem;
    }

    .subtype-content p {
        font-size: .78rem;
    }

    .comparison-section {
        padding-top: 90px;
        padding-bottom: 100px;
    }

    .closing-section {
        padding: 90px 5%;
    }

    .closing-section p {
        font-size: .78rem;
    }
}