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

body {
    font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #f8f9fa;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: white;
    padding: 20px 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: bold;
    color: #2c3e50;
}

.logo-icon {
    font-size: 28px;
}

.logo-icon-svg {
    width: 28px;
    height: 28px;
}

.icon-svg {
    width: 48px;
    height: 48px;
    display: block;
    margin: 0 auto;
}

.bellcurve-svg {
    width: 100%;
    height: 100%;
    max-width: 517px;
    max-height: 296px;
}

.header-buttons {
    display: flex;
    gap: 10px;
}

/* Buttons */
.btn {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 500;
}

.btn-primary {
    background: #0D766E;
    color: white;
}

.btn-primary:hover {
    background: #0a5d57;
}

.btn-outline {
    background: #0D766E;
    color: white;
    opacity: 0.8;
}

.btn-outline:hover {
    background: #0a5d57;
    opacity: 1;
}

.btn-large {
    padding: 15px 30px;
    font-size: 18px;
}

.btn-disabled {
    background: #ccc;
    color: #666;
    cursor: not-allowed;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #e3f2fd 0%, #ffffff 100%);
    padding: 60px 0;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    margin-bottom: 40px;
}

.hero-title {
    font-size: 48px;
    font-weight: bold;
    color: #1a5490;
    margin-bottom: 20px;
    line-height: 1.2;
}

.highlight {
    color: #3498db;
}

.hero-subtitle {
    font-size: 18px;
    color: #555;
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

.social-proof {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.user-avatars {
    display: flex;
    gap: -10px;
    margin-bottom: 10px;
}

.avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: 2px solid white;
    margin-left: -10px;
    overflow: hidden;
    position: relative;
}

.avatar:first-child {
    margin-left: 0;
}

.avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.reviews {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #555;
}

.stars {
    color: #f39c12;
    font-size: 18px;
}

.stats {
    font-size: 14px;
    color: #555;
    font-weight: 500;
}

.iq-chart {
    background: transparent;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
}

/* Scrolling Brands Banner */
.brands-banner-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 20px 0;
    margin-top: 40px;
}

.brands-banner-results {
    margin-top: 20px;
    margin-bottom: 0;
}

@media (min-width: 769px) {
    .brands-banner-results {
        margin-top: 10px;
        padding: 15px 0;
    }
}

.brands-banner-wrapper {
    width: 100%;
    overflow-x: hidden;
    margin: 0 auto;
    max-width: 90vw;
    mask-image: linear-gradient(to right, transparent 0, #000 300px, #000 calc(100% - 300px), transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0, #000 300px, #000 calc(100% - 300px), transparent 100%);
}

.brands-banner-content {
    display: flex;
    width: max-content;
    align-items: stretch;
    gap: 40px;
    animation: scrolling-banner 40s linear infinite;
}

.brands-banner-content:hover {
    animation-play-state: paused;
}

.brand-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #638FB1;
    opacity: 0.6;
    transition: opacity 0.3s;
}

.brand-logo:hover {
    opacity: 1;
}

.brand-logo svg {
    height: 20px;
    width: auto;
}

@keyframes scrolling-banner {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.hover-pause:hover {
    animation-play-state: paused;
}

/* How It Works Section */
.how-it-works {
    padding: 80px 0;
    background: white;
}

.section-title {
    text-align: center;
    font-size: 42px;
    font-weight: bold;
    color: #1a5490;
    margin-bottom: 20px;
}

.section-subtitle {
    text-align: center;
    font-size: 16px;
    color: #555;
    margin-bottom: 40px;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.card {
    background: white;
    padding: 40px 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s;
}

.card:hover {
    transform: translateY(-5px);
}

.card-icon {
    font-size: 48px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-icon .icon-svg {
    width: 64px;
    height: 64px;
}

.card-title {
    font-size: 22px;
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 10px;
}

.card-description {
    color: #666;
    font-size: 14px;
}

/* Available Tests Section */
.available-tests {
    padding: 80px 0;
    background: #f8f9fa;
}

.test-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-top: 50px;
}

.test-card {
    background: white;
    padding: 30px 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s;
}

.test-card:hover {
    transform: translateY(-5px);
}

.test-icon {
    font-size: 48px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.test-icon .icon-svg {
    width: 64px;
    height: 64px;
}

.test-title {
    font-size: 20px;
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 15px;
}

.test-details {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
    font-size: 14px;
    color: #666;
}

.detail-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

/* Boost Abilities Section */
.boost-abilities {
    padding: 80px 0;
    background: white;
}

.training-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.training-card {
    background: white;
    padding: 40px 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: relative;
    transition: transform 0.3s;
}

.training-card:hover {
    transform: translateY(-5px);
}

.card-number {
    position: absolute;
    top: -20px;
    left: 30px;
    width: 50px;
    height: 50px;
    background: #3498db;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
}

.training-title {
    font-size: 22px;
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 20px;
    margin-top: 20px;
}

.features-list {
    list-style: none;
    text-align: left;
}

.features-list li {
    padding: 8px 0;
    color: #555;
    font-size: 14px;
}

.features-list li:before {
    content: "✓ ";
    color: #0D766E;
    font-weight: bold;
    margin-right: 8px;
}

/* Test Page Styles */
.timer {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 18px;
    font-weight: 600;
    color: #2c3e50;
}

.timer-icon {
    font-size: 20px;
}

.test-progress-container {
    background: white;
    padding: 15px 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    border-bottom: 1px solid #e0e0e0;
}

.test-progress-bar {
    width: 100%;
    height: 8px;
    background: #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 8px;
}

.test-progress-fill {
    height: 100%;
    background: #0D766E;
    border-radius: 4px;
    transition: width 0.3s ease;
    width: 0%;
}

.test-progress-text {
    text-align: center;
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

.test-section {
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 0;
    background: #f8f9fa;
}

.test-container {
    max-width: 700px;
    width: 100%;
    background: white;
    padding: 60px 40px;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.question-text {
    font-size: 32px;
    font-weight: 600;
    color: #2c3e50;
    text-align: center;
    margin-bottom: 50px;
    line-height: 1.4;
}

.answer-options {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 50px;
}

.answer-btn {
    padding: 20px 30px;
    border: 2px solid transparent;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
}

.answer-strongly-agree {
    background: #D9EDE0;
    color: #2c3e50;
}

.answer-strongly-agree:hover {
    background: #c5e0d0;
    transform: translateY(-2px);
}

.answer-agree {
    background: #E8F5EC;
    color: #2c3e50;
}

.answer-agree:hover {
    background: #d4eadb;
    transform: translateY(-2px);
}

.answer-neutral {
    background: #FDF5D8;
    color: #2c3e50;
}

.answer-neutral:hover {
    background: #f9ecc0;
    transform: translateY(-2px);
}

.answer-disagree {
    background: #F9EBEB;
    color: #2c3e50;
}

.answer-disagree:hover {
    background: #f0d6d6;
    transform: translateY(-2px);
}

.answer-strongly-disagree {
    background: #F5D6D6;
    color: #2c3e50;
}

.answer-strongly-disagree:hover {
    background: #e8c0c0;
    transform: translateY(-2px);
}

.answer-btn.selected {
    border: 3px solid #0D766E;
    box-shadow: 0 4px 12px rgba(13, 118, 110, 0.3);
    transform: scale(1.02);
}

.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.pagination-btn {
    padding: 10px 20px;
    border: 2px solid #ddd;
    background: white;
    border-radius: 8px;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s;
    color: #2c3e50;
}

.pagination-btn:hover:not(:disabled) {
    background: #f0f0f0;
    border-color: #0D766E;
}

.pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.pagination-numbers {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
}

.pagination-number {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #ddd;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 500;
    color: #2c3e50;
    background: white;
}

.pagination-number:hover {
    background: #f0f0f0;
    border-color: #0D766E;
}

.pagination-number.active {
    background: #0D766E;
    color: white;
    border-color: #0D766E;
}

.pagination-ellipsis {
    padding: 0 5px;
    color: #999;
}

/* Results Page Styles */
.results-section {
    min-height: calc(100vh - 80px);
    padding: 60px 0;
    background: linear-gradient(135deg, #e3f2fd 0%, #ffffff 100%);
}

.results-title {
    text-align: center;
    font-size: 42px;
    font-weight: bold;
    color: #1a5490;
    margin-bottom: 30px;
}

.iq-score-display {
    text-align: center;
    margin-bottom: 30px;
}

.iq-number {
    font-size: 72px;
    font-weight: bold;
    color: #0D766E;
    display: inline-block;
}

.results-description {
    text-align: center;
    font-size: 20px;
    color: #555;
    margin-bottom: 50px;
}

.curve-graph-container {
    max-width: 600px;
    margin: 0 auto 50px;
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.relative {
    position: relative;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.flex {
    display: flex;
}

.aspect-\[517\/296\] {
    aspect-ratio: 517/296;
}

.h-full {
    height: 100%;
}

.w-full {
    width: 100%;
}

.max-w-\[517px\] {
    max-width: 517px;
}

.items-center {
    align-items: center;
}

.justify-center {
    justify-content: center;
}

.results-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* New Results Page Styles */
.notification-bar {
    background: #f5f5f5;
    padding: 10px 20px;
    text-align: center;
    font-size: 14px;
    color: #333;
    border-bottom: 1px solid #e0e0e0;
}

.results-section-new {
    min-height: calc(100vh - 80px);
    padding: 40px 20px 60px;
    background: white;
}

.offer-section {
    text-align: center;
    margin-bottom: 30px;
}

.offer-text {
    font-size: 18px;
    color: #3498db;
    margin-bottom: 10px;
    font-weight: 500;
}

.timer-display {
    font-size: 48px;
    font-weight: 700;
    color: #000;
   
}

.iq-comparison-section {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    max-width: 600px;
    margin: 0 auto 40px;
}

.comparison-card {
    background: white;
    border-radius: 12px;
    padding: 20px 15px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 280px;
}

.comparison-card-coco {
    min-height: 300px;
}

.comparison-card-you {
    background: #3498db;
    min-height: 320px;
    transform: scale(1.05);
    z-index: 1;
}

.comparison-card-steve {
    min-height: 350px;
}

.iq-score-label {
    font-size: 24px;
    font-weight: 700;
    color: #3498db;
    margin-bottom: 10px;
}

.comparison-card-you .iq-score-label {
    color: white;
}

.person-name {
    font-size: 18px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 15px;
}

.person-name-you {
    color: white;
}

.person-image {
    width: 100%;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: auto;
    overflow: hidden;
    border-radius: 8px;
}

.person-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.person-placeholder {
    font-size: 80px;
    opacity: 0.3;
}

.person-image-you {
    background: transparent;
}

.person-silhouette {
    width: 120px;
    height: 150px;
    background: white;
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    position: relative;
    margin: 0 auto;
}

#userGenderImage {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.person-silhouette::before {
    content: '';
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 60px;
    background: white;
    border-radius: 50%;
}

.person-silhouette::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 80px;
    background: white;
    border-radius: 50% 50% 0 0;
}

.cta-section {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.cta-title {
    font-size: 32px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 10px;
}

.cta-subtitle {
    font-size: 28px;
    font-weight: 700;
    color: #3498db;
    margin-bottom: 30px;
}

.cta-email-input {
    width: 100%;
    max-width: 400px;
    padding: 16px 18px;
    font-size: 18px;
    font-weight: 500;
    border-radius: 12px;
    border: 2px solid #e0e0e0;
    background: #fff;
    color: #2c3e50;
    margin: 0 auto 15px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.cta-email-input::placeholder {
    color: #9aa1a7;
}

.cta-email-input:focus {
    outline: none;
    border-color: #0D766E;
    box-shadow: 0 0 0 4px rgba(13, 118, 110, 0.15);
}

.btn-certificate {
    width: 100%;
    max-width: 400px;
    padding: 18px 30px;
    font-size: 20px;
    font-weight: 600;
    animation: pulse-input 2s linear infinite;
}

@keyframes pulse-input {
    0% {
        box-shadow: 0 0 0 0 rgba(13, 118, 110, 0.7), 0 0 0 0 rgba(13, 118, 110, 0.7);
    }
    40% {
        box-shadow: 0 0 0 50px rgba(13, 118, 110, 0), 0 0 0 0 rgba(13, 118, 110, 0.7);
    }
    80% {
        box-shadow: 0 0 0 50px rgba(13, 118, 110, 0), 0 0 0 30px rgba(13, 118, 110, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(13, 118, 110, 0), 0 0 0 30px rgba(13, 118, 110, 0);
    }
}

/* Calculating Page Styles */
.calculating-section {
    min-height: calc(100vh - 80px);
    padding: 60px 0;
    background: #f8f9fa;
}

.calculating-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    transition: opacity 0.3s ease;
}

.calculating-title {
    font-size: 32px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 20px;
    line-height: 1.2;
}

.highlight-blue {
    color: #3498db;
}

.calculating-subtitle {
    font-size: 18px;
    color: #666;
    margin-bottom: 40px;
}

.progress-container {
    margin: 40px 0;
}

.progress-bar {
    width: 100%;
    height: 50px;
    background: #e0e0e0;
    border-radius: 25px;
    overflow: hidden;
    position: relative;
}

.progress-fill {
    height: 100%;
    background: #3498db;
    border-radius: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 16px;
    transition: width 0.3s ease;
    width: 0%;
}

.measures-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin: 40px 0;
    text-align: left;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.measure-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: all 0.3s;
}

.measure-item.checked {
    background: #e8f5e9;
}

.measure-icon {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #3498db;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 18px;
    flex-shrink: 0;
}

.measure-item:not(.checked) .measure-icon {
    background: transparent;
    border: 2px solid #e0e0e0;
    color: transparent;
}

.measure-name {
    font-size: 18px;
    font-weight: 500;
    color: #2c3e50;
}

.reviews-section {
    margin-top: 60px;
}

.overall-rating {
    margin-bottom: 30px;
}

.rating-text {
    font-size: 24px;
    font-weight: 600;
    color: #2c3e50;
    margin-right: 10px;
}

.rating-stars {
    color: #f39c12;
    font-size: 24px;
    margin-right: 10px;
}

.rating-details {
    margin-top: 10px;
    color: #666;
    font-size: 16px;
}

.testimonial-card {
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    max-width: 500px;
    margin: 0 auto;
    text-align: left;
}

.testimonial-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.testimonial-name {
    font-size: 18px;
    font-weight: 600;
    color: #2c3e50;
}

.testimonial-stars {
    color: #f39c12;
    font-size: 18px;
}

.testimonial-verified {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 15px;
}

.verified-text {
    color: #0D766E;
    font-size: 14px;
    font-weight: 500;
}

.testimonial-quote {
    font-size: 16px;
    color: #555;
    font-style: italic;
    margin-bottom: 10px;
    line-height: 1.5;
}

.testimonial-location {
    font-size: 14px;
    color: #999;
    text-align: right;
}

/* Warning Popup */
.warning-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 20px;
}

.warning-popup-content {
    background: white;
    border-radius: 20px;
    padding: 40px;
    max-width: 500px;
    width: 100%;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    text-align: center;
}

.warning-title {
    font-size: 28px;
    font-weight: 700;
    color: #3498db;
    margin-bottom: 20px;
}

.warning-text {
    font-size: 16px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 25px;
}

.confidential-box {
    background: #f5f5f5;
    border-radius: 10px;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 30px;
    text-align: left;
}

.lock-icon {
    width: 24px;
    height: 24px;
    color: #0D766E;
    flex-shrink: 0;
}

.confidential-text {
    font-size: 14px;
    color: #2c3e50;
    font-weight: 500;
}

/* Motivator Pages Styles */
.motivator-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    background: white;
}

.motivator-content {
    max-width: 600px;
    width: 100%;
    text-align: center;
}

.motivator-illustration {
    margin-bottom: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.motivator-svg {
    max-width: 100%;
    height: auto;
    max-height: 300px;
}

.motivator-title {
    font-size: 32px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 20px;
    line-height: 1.3;
}

.motivator-description {
    font-size: 18px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 40px;
}

/* Motivator Modal Styles */
.motivator-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 20px;
}

.motivator-modal-content {
    background: white;
    border-radius: 20px;
    padding: 40px;
    max-width: 600px;
    width: 100%;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    max-height: 90vh;
    overflow-y: auto;
}

.motivator-modal .motivator-illustration {
    margin-bottom: 30px;
}

.motivator-modal .motivator-title {
    font-size: 28px;
    margin-bottom: 20px;
}

.motivator-modal .motivator-description {
    font-size: 16px;
    margin-bottom: 30px;
}

.test-progress-text {
    text-align: center;
    font-size: 14px;
    color: #666;
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* Responsive Design */
@media (max-width: 968px) {
    .hero-content {
        display: flex;
        flex-direction: column;
    }
    
    .hero-left {
        order: 2;
    }
    
    .hero-right {
        order: 1;
    }
    
    .cards-grid,
    .training-cards-grid {
        grid-template-columns: 1fr;
    }
    
    .test-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .question-text {
        font-size: 26px;
    }
    
    .test-container {
        padding: 40px 20px;
    }
}

@media (max-width: 640px) {
    .test-cards-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .header-buttons {
        flex-direction: column;
        gap: 5px;
    }
    
    .question-text {
        font-size: 22px;
    }
    
    .answer-btn {
        padding: 15px 20px;
        font-size: 16px;
    }
    
    .iq-number {
        font-size: 56px;
    }
    
    .results-actions {
        flex-direction: column;
    }
    
    .results-actions .btn {
        width: 100%;
    }
    
    /* New Results Page Responsive */
    .iq-comparison-section {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
        max-width: 100%;
 
    }
    
    .comparison-card {
        padding: 15px 10px;
        min-height: 250px;
    }
    
    .comparison-card-you {
        transform: scale(1.02);
        min-height: 270px;
    }
    
    .iq-score-label {
        font-size: 20px;
    }
    
    .person-name {
        font-size: 16px;
        margin-bottom: 10px;
    }
    
    .person-image {
        min-height: 120px;
    }
    
    .person-photo {
        max-width: 100%;
        max-height: 120px;
        object-fit: contain;
    }
    
    #userGenderImage {
        max-width: 100%;
        max-height: 120px;
        object-fit: contain;
    }
    
    .person-silhouette {
        width: 80px;
        height: 100px;
    }
    
    .timer-display {
        font-size: 36px;
    }
    
    .cta-title {
        font-size: 24px;
    }
    
    .cta-subtitle {
        font-size: 20px;
    }
    
    .person-silhouette {
        width: 100px;
        height: 120px;
    }
}

