:root {
    --font-primary: 'Urbanist', sans-serif;
    --color-purple-dark: #4A0D66;
    --color-purple-medium: #611F69;
    --color-purple-light: #8253C2;
    --color-orange: #F45346;
    --color-text-dark: #1D1D1F;
    --color-text-medium: #4A4A4A;
    --color-text-light: #6E6E73;
    --color-bg-main: #F8F6FE;
    --color-bg-white: #FFFFFF;
    --color-bg-light-gray: #F5F5F7;
    --color-border: #EAEAEA;
    --color-green-stat: #22C55E;

    --gradient-text-primary: linear-gradient(87deg, var(--color-purple-light) 18.3%, var(--color-orange) 80.97%);
    --gradient-text-secondary: linear-gradient(87deg, var(--color-purple-medium) 18.3%, var(--color-orange) 80.97%);
    --gradient-bg-hero: linear-gradient(105deg, #F5E7F7 0%, #E9E6FF 100%);
    --gradient-bg-cta: linear-gradient(95deg, #F3F1FF 0%, #FEF6F8 100%);

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 999px;
    --shadow-sm: 0 4px 15px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 8px 25px rgba(0, 0, 0, 0.08);
}

/* =================================================================
   ANIMATIONS
   ================================================================= */
@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0px);
    }
}


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

body {
    font-family: var(--font-primary);
    background-color: var(--color-bg-main);
    color: var(--color-text-medium);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.psycho-container {
    max-width: 1300px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.psycho-section {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.psycho-section-white-bg {
    background-color: var(--color-bg-white);
}

.psycho-heading-primary,
.psycho-heading-secondary,
.psycho-heading-section-title,
.psycho-cta-heading {
    font-weight: 600;
    line-height: 1.2;
    background: var(--gradient-text-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
}

.psycho-heading-primary {
    font-size: 3.5rem;
}

.psycho-heading-secondary,
.psycho-heading-section-title,
.psycho-cta-heading {
    font-size: 2.75rem;
    background-image: var(--gradient-text-secondary);
}

.psycho-heading-section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.psycho-paragraph {
    font-size: 1.125rem;
    color: var(--color-text-light);
    max-width: 550px;
    line-height: 1.7;
}

/* =================================================================
   BUTTONS
   ================================================================= */
.psycho-btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: var(--radius-full);
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
}

.psycho-btn-primary {
    background-color: var(--color-purple-dark);
    color: var(--color-bg-white);
    box-shadow: var(--shadow-sm);
}

.psycho-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 7px 20px rgba(88, 28, 135, 0.3);
}

.psycho-btn-secondary {
    background-color: var(--color-bg-white);
    color: var(--color-purple-dark);
    border-color: #DDD;
}

.psycho-btn-secondary:hover {
    transform: translateY(-3px);
    border-color: var(--color-purple-dark);
}

/* =================================================================
   HERO SECTION
   ================================================================= */
.psycho-hero-section {
    padding-top: 2rem;
    padding-bottom: 5rem;
}

.psycho-hero-box {
    background: var(--gradient-bg-hero);
    border-radius: var(--radius-xl);
    overflow: hidden;
    position: relative;
}

.psycho-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
}

.psycho-hero-content {
    padding: 2rem 4rem;
    position: relative;
    z-index: 2;
}

.psycho-hero-content .psycho-paragraph {
    margin-top: 1.5rem;
}

.psycho-buttons-group {
    margin-top: 2.5rem;
}

.psycho-hero-stats {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 2.5rem;
}

.psycho-hero-faces {
    display: flex;
}

.psycho-hero-faces img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 3px solid var(--color-bg-white);
    margin-left: -15px;
}

.psycho-hero-faces img:first-child {
    margin-left: 0;
}

.psycho-hero-stats p {
    font-weight: 500;
    color: var(--color-text-dark);
}

.psycho-hero-image-wrapper {
    height: 100%;
    position: relative;
}

.psycho-hero-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    position: relative;
    z-index: 1;
}

/* =================================================================
   BACKGROUND SHADE SVGs
   ================================================================= */
.bg-shade {
    position: absolute;
    z-index: 0;
    pointer-events: none;
}
.bg-shade img, .bg-shade svg {
    width: 100%;
    height: 100%;
}

.shade-hero {
    top: 50%;
    right: -20%;
    width: 120%;
    transform: translateY(-50%);
}

.shade-behavior {
    top: 50%;
    left: 50%;
    width: 150%;
    max-width: 700px;
    transform: translate(-50%, -50%);
}

.shade-what-is {
    position: absolute;
    bottom: -20%;
    right: -20%;
    width: 120%;
    z-index: 0;
    opacity: 0.7;
}

.psycho-image-wrapper {
    position: relative;
}
.psycho-section-image {
    position: relative;
    z-index: 1;
}


/* =================================================================
   BEHAVIOR SECTION
   ================================================================= */

.psycho-behavior-section{
    background: #F8F6FE;
}
.psycho-grid-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 4rem;
}

.psycho-behavior-grid {
    gap: 6rem;
}

.psycho-behavior-image-container {
    position: relative;
    max-width: 450px;
    margin: 0 auto;
}

.behavior-card {
    position: absolute;
    display: flex;
    align-items: center;
    background: var(--color-bg-white);
    padding: 0.75rem 1rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
    box-shadow: 0px 15px 30px 0px rgba(0, 0, 0, 0.10);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-text-dark);
    z-index: 2;
    animation: float 3s ease-in-out infinite;
    gap: 0.5rem;
}

.behavior-card p {
    margin: 0;
    line-height: 1.3;
}
.arrow-down { color: #FF4D4D; }
.arrow-up { color: var(--color-green-stat); }

.card-1 { top: 15%; left: -40%; animation-delay: 0s; }
.card-2 { top: 20%; right: -45%; animation-delay: 0.5s; }
.card-3 { top: 47%; left: -45%; transform: translateY(-50%); animation-delay: 1s; }
.card-4 { bottom: 15%; left: -25%; animation-delay: 1.5s; }
.card-5 { top: 45%; right: -40%; animation-delay: 2s; }
.card-6 { top: 70%; right: -35%; animation-delay: 2.5s; }
.card-7 { bottom: -5%; right: 20%; animation-delay: 0.2s; }

.psycho-content-block .psycho-heading-secondary {
    margin-bottom: 1.5rem;
}

/* =================================================================
   WHAT ARE... SECTION
   ================================================================= */
.psycho-list {
    list-style: none;
    padding: 0;
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.psycho-list-item {
    display: flex;
    align-items: flex-start;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-text-dark);
    gap: 0.75rem;
}

.psycho-list-item img {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.psycho-bottom-bar {
    background: #EFE9F0;
    border-radius: var(--radius-lg);
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 4rem;
}
.psycho-bottom-bar p {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-purple-medium);
}
.psycho-bottom-bar div {
    display: flex;
    gap: 1rem;
}

.tests-taken-card {
    position: absolute;
    top: 20%;
    left: -10%;
    animation: float 3.5s ease-in-out infinite;
}

.tests-taken-pencil {
    width: 180px;
    height: 180px;
    z-index: 1;
}

/* =================================================================
   TYPES OF TESTS SECTION
   ================================================================= */

.psycho-type-cards-section{
    background: #F7F2FF;
}   

.psycho-types-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.psycho-type-card {
    background-color: var(--color-bg-white);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.1), 0px 2px 6px 2px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

.psycho-type-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
}

.psycho-type-icon {
    position: relative;
    width: 64px;
    height: 64px;
    margin-bottom: 1.5rem;
}

.psycho-type-icon .background-card {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    z-index: 1;
}

.psycho-type-icon img:not(.background-card) {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    width: 32px;
    height: 32px;
}

.psycho-type-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--color-text-dark);
}

.psycho-type-card-text {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--color-text-light);
}

/* =================================================================
   POPULAR MODULES SECTION
   ================================================================= */
.psycho-modules-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

.psycho-module-item {
    background-color: #FBF9FF;
    border: 1px solid #E9DFFF;
    border-radius: var(--radius-md);
    padding: 1rem 1.5rem;
    text-align: center;
    font-weight: 600;
    color: var(--color-text-dark);
    transition: all 0.3s;
}

.psycho-module-item:hover {
    border-color: var(--color-purple-medium);
    background-color: #F8F4FF;
    cursor: pointer;
}

/* =================================================================
   WHY USE SECTION
   ================================================================= */
.psycho-why-use-section {
    background: #833AAF;
    position: relative;
    overflow: hidden;
}

.psycho-why-use-section .psycho-container {
    position: relative;
    z-index: 1;
}

.psycho-why-use-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
    margin-bottom: 3rem;
}

.psycho-why-use-content .psycho-heading-secondary,
.psycho-why-use-content .psycho-paragraph {
    color: var(--color-bg-white);
    background-image: none;
    -webkit-text-fill-color: initial;
}
.psycho-why-use-content .psycho-paragraph {
    opacity: 0.9;
}

.psycho-stats-block {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    background-color: var(--color-bg-white);
    padding: 1rem;
    border-radius: var(--radius-lg);
    box-shadow: 0 15px 40px -10px rgba(0,0,0,0.1);
}

.psycho-stat-card {
    text-align: center;
    position: relative;
    padding: 1rem;
}

.psycho-stat-card:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 15%;
    right: 0;
    height: 70%;
    width: 1px;
    background-color: var(--color-border);
}

.psycho-stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--color-green-stat);
    line-height: 1;
}

.psycho-stat-label {
    font-size: 1.1rem;
    color: var(--color-text-light);
    margin-top: 0.75rem;
    font-weight: 600;
}

/* =================================================================
   CTA SECTION
   ================================================================= */
.psycho-cta-box {
    background: linear-gradient(35deg, rgba(225, 244, 255, 0.60) 12%, rgba(249, 225, 255, 0.80) 27%, rgba(255, 230, 233, 0.60) 100%);
    border-radius: var(--radius-xl);
    padding: 5rem 2rem;
    text-align: center;
}

.psycho-cta-heading {
    font-size: 2.75rem;
    max-width: 900px;
    margin: 0 auto;
    background: var(--Text-gradient-1, linear-gradient(87deg, #8253C2 18.3%, #F45346 80.97%));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.psycho-cta-subheading {
    font-size: 1.25rem;
    color: var(--color-text-light);
    margin: 1.5rem auto 2.5rem auto;
}


/* =================================================================
   RESPONSIVE STYLES
   ================================================================= */

/* Tablets and smaller desktops */
@media (max-width: 1024px) {
    .psycho-heading-primary { font-size: 3rem; }
    .psycho-heading-secondary, .psycho-heading-section-title, .psycho-cta-heading { font-size: 2.25rem; }
    .psycho-grid-2col { gap: 2rem; }
    .psycho-behavior-grid { grid-template-columns: 1fr; gap: 2rem; }
    .psycho-content-block { text-align: center; }
    .psycho-content-block .psycho-paragraph { margin: 1.5rem auto 0 auto; }
    .psycho-behavior-image-container { margin-top: 4rem; order: -1; }
    .psycho-types-grid { grid-template-columns: repeat(2, 1fr); }
    .psycho-modules-grid { grid-template-columns: repeat(2, 1fr); }
    .psycho-why-use-content { grid-template-columns: 1fr; text-align: center; }
}

/* Mobile devices */
@media (max-width: 767px) {
    .psycho-section { padding-top: 3rem; padding-bottom: 3rem; }
    .psycho-container { padding-left: 1rem; padding-right: 1rem; }
    
    .psycho-heading-primary { font-size: 2.25rem; line-height: 1.3; }
    .psycho-heading-secondary, .psycho-heading-section-title, .psycho-cta-heading { font-size: 2rem; }
    .psycho-heading-section-title { margin-bottom: 2rem; }
    .psycho-paragraph { font-size: 1rem; }

    .psycho-hero-grid { grid-template-columns: 1fr; }
    .psycho-hero-content { 
        padding: 2rem 1rem 1rem; 
        text-align: center; 
        order: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .psycho-hero-stats { 
        flex-direction: column; 
        align-items: center; 
        gap: 0.5rem; 
        margin-top: 1.5rem;
    }
    .psycho-hero-stats p { margin-top: 0.5rem; }
    .psycho-hero-image-wrapper { margin-top: 1rem; order: 2;}

    .psycho-grid-2col { grid-template-columns: 1fr; }

    .psycho-behavior-grid .psycho-content-block { order: 1; }
    .psycho-behavior-image-container {order: 2; max-width: 250px; margin: 4rem auto 0; }
    .behavior-card {
        padding: 0.5rem 0.75rem;
        font-size: 0.7rem;
    }
    .behavior-card .behavior-card-svg {
        width: 18px;
        height: 18px;
    }
    .card-1 { top: 10%; left: -25%; }
    .card-2 { top: 15%; right: -20%; }
    .card-3 { top: 47%; left: -30%; }
    .card-4 { bottom: 10%; left: -10%; }
    .card-5 { top: 45%; right: -25%; }
    .card-6 { top: 70%; right: -20%; }
    .card-7 { bottom: -10%; right: 5%; }
    
    .what-is-grid .psycho-content-block { order: 1; }
    .what-is-grid .psycho-image-wrapper { order: 2; margin-top: 2rem; }
    
    .psycho-list { align-items: flex-start; margin: 1.5rem 0 0; }
    
    .psycho-bottom-bar { 
        flex-direction: column; 
        gap: 1.5rem; 
        text-align: center; 
        padding: 1.5rem 1rem; 
    }
    .psycho-bottom-bar p { font-size: 1.1rem; }
    .psycho-bottom-bar div {
        flex-direction: column;
        width: 100%;
    }
    .psycho-btn {
        width: 100%;
    }

    .psycho-types-grid { grid-template-columns: 1fr; justify-items: center;}
    .psycho-type-card { text-align: center; max-width: 400px; width: 100%;}
    .psycho-type-icon { margin-left: auto; margin-right: auto; }
    
    .psycho-modules-grid { grid-template-columns: 1fr; }
    .psycho-stats-block { grid-template-columns: 1fr; gap: 0; padding: 1.5rem; }
    .psycho-stat-card { padding: 1.5rem 0; }
    .psycho-stat-card:not(:last-child) { border-bottom: 1px solid var(--color-border); }
    .psycho-stat-card:not(:last-child)::after { display: none; }
    .psycho-why-use-content { grid-template-columns: 1fr; }
}
