/*
Theme Name: IQ Test Pro
Description: Kurumsal IQ testi sitesi için özel tasarlanmış profesyonel WordPress teması
Version: 1.0
Author: IQ Test Pro Team
*/

/* Reset ve Temel Stiller */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #1a1a1a;
    background: 
        linear-gradient(135deg, #ffffff 0%, #f8fafc 100%),
        radial-gradient(circle at 10% 20%, rgba(255, 140, 0, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 90% 80%, rgba(102, 126, 234, 0.03) 0%, transparent 50%);
    background-attachment: fixed;
    background-size: 100% 100%, 300% 300%, 250% 250%;
    font-weight: 400;
    position: relative;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

/* Prevent body scroll when mobile menu is open */
body.menu-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cdefs%3E%3Cpattern id='dots' patternUnits='userSpaceOnUse' width='20' height='20'%3E%3Ccircle cx='10' cy='10' r='1' fill='%23ff8c00' opacity='0.05'/%3E%3C/pattern%3E%3C/defs%3E%3Crect width='100' height='100' fill='url(%23dots)'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: -1;
    animation: dots-drift 25s linear infinite;
}

body::after {
    content: '';
    position: fixed;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 140, 0, 0.02) 0%, transparent 70%);
    pointer-events: none;
    z-index: -1;
    animation: orb-float 30s ease-in-out infinite;
}

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

/* Modern Navbar Stilleri */
.site-header {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0.95) 100%);
    background-image: 
        /* Küp deseni için SVG pattern - daha büyük ve saydam turuncu çizgiler */
        url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%23ff8c00' stroke-width='1' stroke-opacity='0.15'%3E%3Cpath d='M30 30L0 15l30-15 30 15-30 15z'/%3E%3Cpath d='M30 30v30l-30-15V15l30 15z'/%3E%3Cpath d='M30 30v30l30-15V15L30 30z'/%3E%3Cpath d='M0 15v30l30 15'/%3E%3Cpath d='M60 15v30l-30 15'/%3E%3Cpath d='M30 0v30'/%3E%3Cpath d='M0 15l30-15'/%3E%3Cpath d='M60 15L30 0'/%3E%3Cpath d='M0 45l30-15'/%3E%3C/g%3E%3C/svg%3E");
    background-size: 60px 60px;
    background-position: 0 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 140, 0, 0.2);
    animation: header-pattern-flow 30s linear infinite;
}

.navbar {
    padding: 0;
}

.navbar-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.3rem 0;
    min-height: 60px;
    gap: 2rem;
}

/* Logo Stilleri */
.navbar-brand {
    flex-shrink: 0;
}

.brand-link {
    display: inline-block;
    transition: transform 0.3s ease;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.1));
}

.brand-link:hover {
    transform: scale(1.05);
}

.brand-logo {
    height: 60px;
    width: auto;
    display: block;
}

/* Left Navigation Menu */
.navbar-menu-left {
    display: flex;
    align-items: center;
    flex: 1;
    justify-content: flex-start;
    margin-left: 2rem;
}

/* Center CTA Button */
.navbar-center {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* Right Language Section */
.navbar-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-shrink: 0;
}

/* Mobile Navigation Menu - Hidden on desktop */
.navbar-menu-mobile {
    display: none;
}

/* Hide mobile menu header on desktop */
.mobile-menu-header {
    display: none;
}

.navbar-nav {
    display: flex;
    list-style: none;
    gap: 3rem;
    margin: 0;
    padding: 0;
}

.nav-item {
    position: relative;
}

.nav-link {
    color: #4a5568;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.5rem 0;
    position: relative;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.nav-link:hover {
    color: #2d3748;
}

.nav-link.active {
    color: #667eea;
    font-weight: 600;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* CTA Buttons - Mobile only */
.navbar-actions {
    flex-shrink: 0;
    display: flex;
    gap: 1.5rem;
    align-items: center;
    flex-direction: column;
    width: 100%;
}

.btn-primary {
    background: #ff8c00;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    display: inline-block;
    box-shadow: 0 4px 12px rgba(255, 140, 0, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 140, 0, 0.4);
    background: #e67e00;
}

.btn-secondary {
    background: white;
    color: #ff8c00;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    border: 2px solid #ff8c00;
    cursor: pointer;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.btn-secondary:hover {
    transform: translateY(-2px);
    background: #ff8c00;
    color: white;
    box-shadow: 0 6px 20px rgba(255, 140, 0, 0.3);
}

/* Language Dropdown */
.language-dropdown {
    position: relative;
}

.navbar-right .language-dropdown {
    margin-left: 0.5rem;
}

.btn-language {
    background: white;
    color: #4a5568;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    border: 2px solid #e2e8f0;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.btn-language:hover {
    border-color: #ff8c00;
    background: rgba(255, 140, 0, 0.05);
    color: #ff8c00;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 140, 0, 0.15);
}

.world-icon {
    font-size: 1rem;
    color: #4a5568;
}

.btn-language:hover .world-icon {
    color: #ff8c00;
}

.dropdown-arrow {
    font-size: 0.7rem;
    transition: transform 0.3s ease;
}

.language-dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.language-menu {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    min-width: 150px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.language-dropdown:hover .language-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.language-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    color: #4a5568;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.flag-small {
    width: 16px;
    height: 12px;
    border-radius: 2px;
    object-fit: cover;
}

.language-option:last-child {
    border-bottom: none;
    border-radius: 0 0 8px 8px;
}

.language-option:first-child {
    border-radius: 8px 8px 0 0;
}

.language-option:hover {
    background: rgba(102, 126, 234, 0.1);
    color: #667eea;
}

.language-option.active {
    background: rgba(102, 126, 234, 0.1);
    color: #667eea;
    font-weight: 600;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
    margin-left: 1rem;
}

.hamburger-line {
    width: 24px;
    height: 3px;
    background: #4a5568;
    margin: 2px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Main Content */
.main-content {
    min-height: calc(100vh - 80px);
    background: #ffffff;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .navbar-nav {
        gap: 2rem;
    }
    
    .container {
        max-width: 1200px;
    }
}

@media (max-width: 1024px) {
    .navbar-content {
        padding: 0.7rem 0;
        min-height: 65px;
    }
    
    .navbar-nav {
        gap: 1.5rem;
    }
    
    .navbar-actions {
        gap: 1.25rem;
    }
    
    .btn-primary,
    .btn-secondary {
        padding: 0.6rem 1.2rem;
        font-size: 0.8rem;
    }
    
    .btn-language {
        padding: 0.5rem 0.8rem;
        font-size: 0.85rem;
    }
    
    .brand-logo {
        height: 55px;
    }
}

@media (max-width: 768px) {
    /* Mobil navbar sabit ve #F2F2F2 arka planlı */
    .site-header {
        background: #F2F2F2 !important;
        background-image: none !important;
        position: fixed !important;
        width: 100% !important;
        top: 0 !important;
        z-index: 1000 !important;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1) !important;
        backdrop-filter: none !important;
    }
    
    /* Body'ye padding-top ekle ki içerik navbar'ın altından başlasın */
    body {
        padding-top: 75px;
    }
    
    .navbar-content {
        padding: 0.8rem 0;
        min-height: 75px;
        gap: 1rem;
    }
    
    /* Hide desktop navigation elements */
    .navbar-menu-left,
    .navbar-center,
    .navbar-right {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .navbar-menu-mobile {
        position: fixed;
        top: 0;
        right: 0;
        width: 100%;
        height: 100vh;
        background: #024065;
        color: white;
        box-shadow: -5px 0 25px rgba(0, 0, 0, 0.3);
        transform: translateX(100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        flex-direction: column;
        justify-content: flex-start;
        margin-right: 0;
        z-index: 9999;
        overflow-y: auto;
        padding-top: 0;
    }
    
    .navbar-menu-mobile.active {
        transform: translateX(0);
        opacity: 1;
        visibility: visible;
    }
    
    /* Mobile Menu Header */
    .mobile-menu-header {
        background: #F2F2F2;
        padding: 0.75rem 1.5rem;
        display: flex !important;
        justify-content: space-between;
        align-items: center;
        min-height: 75px;
        position: relative;
        border-bottom: 1px solid rgba(2, 64, 101, 0.1);
    }
    
    .mobile-menu-logo {
        display: flex;
        align-items: center;
    }
    
    .mobile-logo {
        height: 45px;
        width: auto;
        object-fit: contain;
    }
    
    /* Mobile Menu Close Button */
    .mobile-menu-close {
        position: relative;
        top: auto;
        right: auto;
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: rgba(2, 64, 101, 0.1);
        border-radius: 50%;
        cursor: pointer;
        transition: all 0.3s ease;
        z-index: 10000;
    }
    
    .mobile-menu-close:hover {
        background: rgba(2, 64, 101, 0.2);
        transform: rotate(90deg);
    }
    
    .mobile-menu-close span {
        color: #024065;
        font-size: 24px;
        font-weight: 300;
        line-height: 1;
    }
    
    .navbar-nav {
        flex-direction: column;
        gap: 0;
        padding: 1rem 0 0 0;
        margin: 0;
    }
    
    .nav-item {
        width: 100%;
    }
    
    .nav-link {
        display: block;
        padding: 1.25rem 2rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        color: white;
        text-decoration: none;
        font-weight: 500;
        font-size: 1rem;
        transition: all 0.3s ease;
    }
    
    .nav-link:hover {
        background: rgba(255, 255, 255, 0.1);
        color: #ff8c00;
    }
    
    .nav-link.active {
        background: rgba(255, 140, 0, 0.2);
        color: #ff8c00;
    }
    
    .nav-link::after {
        display: none;
    }
    
    .navbar-actions {
        padding: 2rem;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        flex-direction: column;
        gap: 1rem;
        margin-left: 0;
        margin-top: auto;
    }
    
    .btn-primary,
    .btn-secondary {
        width: 100%;
        text-align: center;
        padding: 1rem;
        font-size: 0.9rem;
        border-radius: 8px;
        font-weight: 600;
        transition: all 0.3s ease;
    }
    
    .btn-primary {
        background: #ff8c00;
        border: 2px solid #ff8c00;
    }
    
    .btn-primary:hover {
        background: #e67e00;
        border-color: #e67e00;
    }
    
    .btn-secondary {
        background: transparent;
        color: white;
        border: 2px solid white;
    }
    
    .btn-secondary:hover {
        background: white;
        color: #024065;
    }
    
    .language-dropdown {
        width: 100%;
        margin-left: 0;
    }
    
    .btn-language {
        width: 100%;
        justify-content: center;
        padding: 1rem;
        font-size: 0.85rem;
        background: rgba(255, 255, 255, 0.1);
        border: 1px solid rgba(255, 255, 255, 0.2);
        color: white;
        border-radius: 6px;
    }
    
    .btn-language:hover {
        background: rgba(255, 255, 255, 0.2);
    }
    
    .language-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        margin-top: 0.5rem;
        display: none;
    }
    
    .language-dropdown.active .language-menu {
        display: block;
    }
    
    .brand-logo {
        height: 55px;
    }
}

@media (max-width: 480px) {
    /* Küçük mobil cihazlar için navbar düzenlemeleri */
    .site-header {
        background: #F2F2F2 !important;
        background-image: none !important;
        position: fixed !important;
        width: 100% !important;
        top: 0 !important;
        z-index: 1000 !important;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1) !important;
        backdrop-filter: none !important;
    }
    
    /* Body'ye padding-top ekle ki içerik navbar'ın altından başlasın */
    body {
        padding-top: 70px;
    }
    
    .container {
        padding: 0 0.5rem;
    }
    
    .navbar-content {
        padding: 0.7rem 0;
        min-height: 70px;
    }
    
    .brand-logo {
        height: 50px;
    }
    
    .btn-primary,
    .btn-secondary,
    .btn-language {
        font-size: 0.8rem;
        padding: 0.75rem 1rem;
    }
    
    .mobile-menu-toggle {
        padding: 0.25rem;
    }
    
    .hamburger-line {
        width: 20px;
        height: 2px;
    }
    
    .navbar-menu-mobile {
        position: fixed;
        top: 0;
        right: 0;
        width: 100%;
        height: 100vh;
        background: #024065;
        color: white;
        box-shadow: -5px 0 25px rgba(0, 0, 0, 0.3);
        transform: translateX(100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        flex-direction: column;
        justify-content: flex-start;
        z-index: 9999;
        overflow-y: auto;
        padding-top: 0;
    }
    
    .navbar-menu-mobile.active {
        transform: translateX(0);
        opacity: 1;
        visibility: visible;
    }
    
    /* Mobile Menu Header */
    .mobile-menu-header {
        width: 100%;
        background: #F2F2F2;
        padding: 0.7rem 1.25rem;
        display: flex !important;
        justify-content: space-between;
        align-items: center;
        min-height: 70px;
        position: relative;
        border-bottom: 1px solid rgba(2, 64, 101, 0.1);
    }
    
    .mobile-menu-logo {
        display: flex;
        align-items: center;
    }
    
    .mobile-logo {
        height: 50px;
        width: auto;
        object-fit: contain;
        position: relative;
        left: 0;
        top: 0; 
    }
    
    /* Mobile Menu Close Button */
    .mobile-menu-close {
        position: relative;
        top: auto;
        right: auto;
        width: 35px;
        height: 35px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: rgba(2, 64, 101, 0.1);
        border-radius: 50%;
        cursor: pointer;
        transition: all 0.3s ease;
        z-index: 10000;
    }
    
    .mobile-menu-close:hover {
        background: rgba(2, 64, 101, 0.2);
        transform: rotate(90deg);
    }
    
    .mobile-menu-close span {
        color: #024065;
        font-size: 20px;
        font-weight: 300;
        line-height: 1;
    }
    
    .nav-link {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .navbar-actions {
        padding: 0.75rem 1.5rem;
        gap: 0.75rem;
        margin-left: 0;
    }
    
    .btn-primary,
    .btn-secondary {
        padding: 0.75rem;
        font-size: 0.8rem;
    }
    
    .btn-language {
        padding: 0.75rem;
        font-size: 0.8rem;
    }
    
    /* Hero Section Mobile */
    .hero-section {
        padding: 2rem 0;
    }
    
    .hero-content-wrapper {
        gap: 2rem;
    }
    
    .hero-title {
        font-size: 1.8rem;
        line-height: 1.3;
    }
    
    .iq-highlight {
        display: block;
        margin-top: 0.5rem;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }
    
    .btn-hero-primary {
        padding: 0.875rem 1.5rem;
        font-size: 0.9rem;
        margin-bottom: 0.75rem;
        width: 100%;
        max-width: 280px;
    }
    
    .hero-stats {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
        margin-bottom: 1.5rem;
        padding: 0.65rem 0.85rem;
        background: rgba(255, 255, 255, 0.95);
        border-radius: 8px;
        box-shadow: 0 3px 12px rgba(0, 0, 0, 0.1);
        border: 1px solid rgba(255, 140, 0, 0.2);
        width: fit-content;
        max-width: 95%;
        margin-left: auto;
        margin-right: auto;
    }
    
    .flag-icon {
        width: 20px;
        height: 15px;
        flex-shrink: 0;
    }
    
    .daily-stats {
        font-size: 0.8rem;
        font-weight: 500;
        color: #4a5568;
        text-align: center;
        flex: 1;
        min-width: 0;
        word-wrap: break-word;
        line-height: 1.3;
    }
    
    .feature-text-desktop {
        display: none;
    }
    
    .feature-text-mobile {
        display: inline;
    }
    
    .hero-features {
        gap: 0.2rem;
        margin-bottom: 0;
    }
    
    .feature-item {
        font-size: 0.8rem;
        line-height: 1.3;
    }
    
    .feature-bullet {
        font-size: 1rem;
        width: 0.8rem;
    }
    
    .feature-text::after {
        content: "IQ TEST Ekibi Tarafından";
        display: block;
    }
    
    .feature-text {
        display: none;
    }
    
    .hero-image-container {
        max-width: 280px;
        padding: 1rem;
    }
    
    /* Country IQ Section Mobile */
    .country-iq-section {
        padding: 40px 0;
    }
    
    .section-header {
        margin-bottom: 25px;
    }
    
    .country-iq-section .section-title {
        font-size: 1.5rem;
        line-height: 1.3;
    }
    
    .section-subtitle {
        font-size: 0.85rem;
        line-height: 1.4;
    }
    
    .iq-column {
        padding: 1rem;
        width: 100%;
        max-width: 100%;
        margin: 0;
        min-height: 280px;
    }
    
    .iq-rank-item {
        padding: 0.75rem 0;
        margin-bottom: 0.25rem;
    }
    
    .rank {
        font-size: 0.75rem;
        min-width: 22px;
        height: 22px;
        line-height: 22px;
        margin-right: 10px;
    }
    
    .country-flag {
        width: 18px;
        height: 13px;
        margin-right: 10px;
    }
    
    .country-name {
        font-size: 0.8rem;
        margin-right: 10px;
    }
    
    .iq-score {
        font-size: 0.8rem;
    }
    
    .btn-full-list {
        padding: 0.75rem 1.25rem;
        font-size: 0.85rem;
        margin-top: 1rem;
    }
    
    /* Worldwide IQ Section Mobile */
    .worldwide-iq-section {
        padding: 60px 0;
    }
    
    .worldwide-title {
        font-size: 1.8rem;
        line-height: 1.3;
    }
    
    .worldwide-description {
        font-size: 0.9rem;
        line-height: 1.5;
    }
    
    .worldwide-steps {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .step-item {
        padding: 1.5rem;
    }
    
    .step-number {
        font-size: 1.5rem;
        width: 45px;
        height: 45px;
        line-height: 45px;
    }
    
    .step-title {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }
    
    .step-description {
        font-size: 0.85rem;
    }
    
    /* Why Test Section Mobile */
    .why-test-section {
        padding: 60px 0;
    }
    
    .why-test-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .why-test-left {
        order: 2;
    }
    
    .why-test-right {
        order: 1;
    }
    
    .why-test-title {
        font-size: 1.5rem;
        line-height: 1.3;
    }
    
    .why-test-subtitle {
        font-size: 0.85rem;
    }
    
    .why-test-description p {
        font-size: 0.9rem;
        line-height: 1.5;
    }
    
    .why-test-image {
        max-width: 280px;
        margin: 0 auto;
    }
    
    .btn-start-test {
        padding: 0.875rem 1.5rem;
        font-size: 0.9rem;
        width: 100%;
        max-width: 280px;
    }
}

/* =================================================================
   IQ Test Styles
   ================================================================= */

.test-section {
    min-height: 100vh;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 50%, #f1f5f9 100%);
    padding: 2rem 0;
}

/* Test Header */
.test-header {
    background: #1e4a5f;
    color: white;
    border-radius: 12px;
    padding: 1rem 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 15px rgba(30, 74, 95, 0.3);
}

.test-progress {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.question-counter {
    font-size: 1.1rem;
    font-weight: 600;
}

.timer {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.2rem;
    font-weight: 700;
}

.timer-icon {
    font-size: 1.3rem;
}

/* Test Content */
.test-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

/* Question Panel */
.question-panel {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.question-panel h2 {
    color: #1e4a5f;
    margin-bottom: 2rem;
    font-size: 1.5rem;
    text-align: center;
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 1rem;
}

/* Pattern Grid */
.pattern-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    width: 300px;
    height: 300px;
    margin: 0 auto;
}

.pattern-circle {
    width: 80px;
    height: 80px;
    border: 2px solid #1e4a5f;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    position: relative;
    overflow: hidden;
}

.pattern-circle.missing-pattern {
    background: #ff8c00;
    color: white;
}

.question-mark {
    font-size: 2rem;
    font-weight: bold;
}

/* Circle Patterns */
.circle-pattern {
    width: 100%;
    height: 100%;
    position: relative;
    background: #1e4a5f;
}

.circle-pattern.quarter-top-left {
    clip-path: polygon(0 0, 50% 0, 50% 50%, 0 50%);
}

.circle-pattern.quarter-top-right {
    clip-path: polygon(50% 0, 100% 0, 100% 50%, 50% 50%);
}

.circle-pattern.quarter-bottom-left {
    clip-path: polygon(0 50%, 50% 50%, 50% 100%, 0 100%);
}

.circle-pattern.quarter-bottom-right {
    clip-path: polygon(50% 50%, 100% 50%, 100% 100%, 50% 100%);
}

.circle-pattern.half-top {
    clip-path: polygon(0 0, 100% 0, 100% 50%, 0 50%);
}

.circle-pattern.half-bottom {
    clip-path: polygon(0 50%, 100% 50%, 100% 100%, 0 100%);
}

.circle-pattern.half-left {
    clip-path: polygon(0 0, 50% 0, 50% 100%, 0 100%);
}

.circle-pattern.half-right {
    clip-path: polygon(50% 0, 100% 0, 100% 100%, 50% 100%);
}

.circle-pattern.three-quarter {
    clip-path: polygon(0 0, 100% 0, 100% 50%, 50% 50%, 50% 100%, 0 100%);
}

.circle-pattern.full-circle {
    clip-path: circle(50%);
}

/* Image Grid - Görsel tabanlı sorular için */
.image-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 300px;
    margin: 0 auto;
}

.question-image {
    width: 300px;
    height: 300px;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Option Images */
.option-image {
    width: 60px;
    height: 60px;
    object-fit: contain;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.answer-option:hover .option-image {
    transform: scale(1.1);
}

.answer-option.selected .option-image {
    transform: scale(1.15);
    box-shadow: 0 4px 15px rgba(30, 74, 95, 0.3);
}

/* Answer Panel */
.answer-panel {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.answer-panel h3 {
    color: #1e4a5f;
    margin-bottom: 2rem;
    font-size: 1.3rem;
    text-align: center;
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 1rem;
}

/* Answer Options */
.answer-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.answer-option {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: white;
}

.answer-option:hover {
    border-color: #ff8c00;
    background: rgba(255, 140, 0, 0.05);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 140, 0, 0.2);
}

.answer-option.selected {
    border-color: #ff8c00;
    background: rgba(255, 140, 0, 0.1);
    box-shadow: 0 4px 15px rgba(255, 140, 0, 0.3);
}

.option-label {
    font-size: 1.2rem;
    font-weight: bold;
    color: #1e4a5f;
    min-width: 30px;
}

.option-circle {
    width: 50px;
    height: 50px;
    border: 2px solid #1e4a5f;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: white;
}

/* Test Navigation */
.test-navigation {
    text-align: center;
    margin-bottom: 2rem;
}

.btn-next {
    background: #ff8c00;
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-next:hover {
    background: #e67e00;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 140, 0, 0.4);
}

/* Progress Numbers */
.question-progress {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.progress-numbers {
    display: grid;
    grid-template-columns: repeat(10, 1fr);
    gap: 0.5rem;
    justify-content: center;
    max-width: 500px;
    margin: 0 auto;
}

.progress-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #e2e8f0;
    color: #4a5568;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.progress-number:hover {
    background: #cbd5e0;
    transform: scale(1.05);
}

.progress-number.current {
    background: #ff8c00;
    color: white;
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(255, 140, 0, 0.4);
}

.progress-number.completed {
    background: #1e4a5f;
    color: white;
}

/* Responsive Design */
@media (max-width: 768px) {
    .test-section {
        padding: 1rem 0;
        min-height: auto;
    }

    .test-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-bottom: 2rem;
    }

    .test-header {
        padding: 0.8rem 1rem;
        margin-bottom: 1.5rem;
    }

    .test-progress {
        flex-direction: row;
        gap: 0.5rem;
        font-size: 0.9rem;
    }

    .question-panel {
        padding: 1.5rem;
    }

    .question-panel h2 {
        font-size: 1.2rem;
        margin-bottom: 1.5rem;
    }

    .pattern-grid {
        width: 220px;
        height: 220px;
        gap: 0.4rem;
    }

    .pattern-circle {
        width: 60px;
        height: 60px;
        border-width: 1.5px;
    }

    .question-mark {
        font-size: 1.5rem;
    }

    .answer-panel {
        padding: 1.5rem;
    }

    .answer-panel h3 {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
    }

    .answer-options {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
    }

    .answer-option {
        padding: 0.8rem;
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }

    .option-label {
        font-size: 0.9rem;
        font-weight: 600;
    }

    .option-circle {
        width: 45px;
        height: 45px;
    }

    /* Mobile için görsel tabanlı sorular */
    .image-grid {
        width: 220px;
        height: 220px;
    }

    .question-image {
        width: 220px;
        height: 220px;
        object-fit: contain;
    }

    .option-image {
        width: 45px;
        height: 45px;
    }

    .test-navigation {
        margin-bottom: 2rem;
    }

    .btn-next {
        padding: 0.8rem 2rem;
        font-size: 0.9rem;
    }

    .progress-numbers {
        grid-template-columns: repeat(10, 1fr);
        gap: 0.25rem;
        max-width: 320px;
    }

    .progress-number {
        width: 25px;
        height: 25px;
        font-size: 0.7rem;
    }
}

@media (max-width: 480px) {
    .test-section {
        padding: 0.5rem 0;
    }

    .container {
        padding: 0 1rem;
    }

    .test-header {
        padding: 0.6rem 1rem;
        margin-bottom: 1rem;
    }

    .test-progress {
        font-size: 0.8rem;
    }

    .timer {
        font-size: 1rem;
    }

    .test-content {
        gap: 1rem;
        margin-bottom: 1.5rem;
    }

    .question-panel,
    .answer-panel {
        padding: 1rem;
    }

    .question-panel h2 {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }

    .answer-panel h3 {
        font-size: 1rem;
        margin-bottom: 1rem;
    }

    .pattern-grid {
        width: 180px;
        height: 180px;
        gap: 0.3rem;
    }

    .pattern-circle {
        width: 50px;
        height: 50px;
        border-width: 1px;
    }

    .question-mark {
        font-size: 1.2rem;
    }

    .answer-options {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.5rem;
    }

    .answer-option {
        padding: 0.6rem 0.4rem;
        gap: 0.3rem;
        border-radius: 8px;
    }

    .option-label {
        font-size: 0.8rem;
    }

    .option-circle {
        width: 35px;
        height: 35px;
    }

    /* Çok küçük mobil için görsel tabanlı sorular */
    .image-grid {
        width: 180px;
        height: 180px;
    }

    .question-image {
        width: 180px;
        height: 180px;
        object-fit: contain;
    }

    .option-image {
        width: 30px;
        height: 30px;
    }

    .btn-next {
        padding: 0.7rem 1.5rem;
        font-size: 0.8rem;
    }

    .progress-numbers {
        grid-template-columns: repeat(10, 1fr);
        gap: 0.2rem;
        max-width: 280px;
    }

    .progress-number {
        width: 22px;
        height: 22px;
        font-size: 0.65rem;
    }
}

/* =================================================================
   IQ Report Styles
   ================================================================= */

.iq-report-section {
    min-height: 100vh;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 50%, #f1f5f9 100%);
    padding: 2rem 0;
}

.report-header {
    text-align: center;
    margin-bottom: 2rem;
}

.report-title {
    color: #1e4a5f;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    letter-spacing: 2px;
}

.report-subtitle {
    color: #4a5568;
    font-size: 1.1rem;
    margin-bottom: 0;
}

/* A4 Yatay Boyut */
.a4-report-container {
    width: 297mm; /* A4 yatay genişlik */
    min-height: 210mm; /* A4 yatay yükseklik */
    max-width: 100%;
    margin: 0 auto;
    background: white;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    border-radius: 8px;
    overflow: hidden;
}

.report-content {
    padding: 30mm 25mm;
    font-family: 'Arial', sans-serif;
}

/* Rapor Bilgileri */
.report-info {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid #e2e8f0;
}

.info-left h2 {
    color: #1e4a5f;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.info-item {
    display: flex;
    margin-bottom: 0.8rem;
    font-size: 1rem;
}

.info-item .label {
    font-weight: 600;
    color: #4a5568;
    min-width: 120px;
}

.info-item .value {
    color: #1e4a5f;
    font-weight: 500;
}

/* IQ Puanı Dairesi */
.iq-score-circle {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff8c00 0%, #ff6b35 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    margin: 0 auto;
    box-shadow: 0 8px 25px rgba(255, 140, 0, 0.3);
}

.score-value {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1;
}

.score-label {
    font-size: 1rem;
    font-weight: 600;
    margin-top: 0.5rem;
}

/* Ana Sonuç */
.main-result {
    margin-bottom: 2rem;
}

.main-result h3 {
    color: #1e4a5f;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.result-box {
    background: linear-gradient(135deg, #e6fffa 0%, #f0fff4 100%);
    border: 2px solid #38d9a9;
    border-radius: 8px;
    padding: 1.5rem;
}

.result-text {
    font-size: 1.1rem;
    color: #1e4a5f;
    line-height: 1.6;
}

/* Detaylı Analiz */
.detailed-analysis {
    margin-bottom: 2rem;
}

.detailed-analysis h3 {
    color: #1e4a5f;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.analysis-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.analysis-item {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 1.5rem;
    text-align: center;
}

.analysis-title {
    font-size: 0.9rem;
    color: #4a5568;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.analysis-value {
    font-size: 1.8rem;
    color: #1e4a5f;
    font-weight: 700;
    margin-bottom: 0.3rem;
}

.analysis-percentage {
    font-size: 1.1rem;
    color: #ff8c00;
    font-weight: 600;
}

/* IQ Dağılımı - Basit Tablo Tasarımı */
.iq-distribution {
    margin-bottom: 2rem;
}

.iq-distribution h3 {
    color: #1e4a5f;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-weight: 700;
    text-align: center;
}

.distribution-chart {
    background: white;
    border-radius: 8px;
    padding: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

/* IQ Performance Table */
.iq-performance-table {
    width: 100%;
    border-collapse: collapse;
}

.iq-performance-table thead {
    background: linear-gradient(135deg, #2c5282 0%, #1e4a5f 100%);
    color: white;
}

.iq-performance-table thead th {
    padding: 12px 15px;
    font-weight: 600;
    font-size: 13px;
    text-align: center;
}

.iq-performance-table thead th:first-child {
    text-align: left;
}

.iq-performance-table tbody tr {
    border-bottom: 1px solid #e2e8f0;
}

.iq-performance-table tbody tr:last-child {
    border-bottom: none;
}

.iq-performance-table tbody tr.user-level {
    background: #fff7ed;
    border-left: 4px solid #ff8c00;
    font-weight: 600;
}

.iq-performance-table tbody td {
    padding: 12px 15px;
    font-size: 13px;
}

.iq-performance-table tbody td:first-child {
    font-weight: 600;
    color: #2d3748;
}

.iq-performance-table tbody td:nth-child(2) {
    color: #4a5568;
}

.iq-performance-table tbody td:last-child {
    text-align: center;
    font-weight: 600;
    color: #1e4a5f;
}

/* Rapor Footer */
.report-footer {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 2px solid #e2e8f0;
    font-size: 0.9rem;
}

.footer-left p,
.footer-right p {
    margin-bottom: 0.5rem;
    color: #4a5568;
}

.footer-right {
    text-align: right;
}

/* Rapor Butonları */
.report-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.btn-print,
.btn-download,
.btn-home,
.btn-diploma {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-print {
    background: #1e4a5f;
    color: white;
}

.btn-print:hover {
    background: #164357;
    transform: translateY(-2px);
}

.btn-download {
    background: #ff8c00;
    color: white;
}

.btn-download:hover {
    background: #e67e00;
    transform: translateY(-2px);
}

.btn-home {
    background: #4ade80;
    color: white;
}

.btn-home:hover {
    background: #22c55e;
    transform: translateY(-2px);
}

.btn-diploma {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.btn-diploma:hover {
    background: linear-gradient(135deg, #5a67d8 0%, #6b46c1 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.btn-diploma-download {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 0.95rem;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
    margin: 0 0.5rem;
}

.btn-diploma-download:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
    color: white;
}

.btn-diploma-download:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.diploma-icon,
.download-icon {
    font-size: 1.1rem;
}

/* Print Styles */
@media print {
    .iq-report-section {
        background: white;
        padding: 0;
    }
    
    .report-header,
    .report-actions {
        display: none;
    }
    
    .a4-report-container {
        width: 100%;
        box-shadow: none;
        border-radius: 0;
        margin: 0;
    }
    
    .report-content {
        padding: 15mm;
    }
    
    body {
        -webkit-print-color-adjust: exact;
        color-adjust: exact;
    }
}

/* Responsive Design */
@media (max-width: 1200px) {
    .a4-report-container {
        width: 95%;
        min-height: auto;
    }
    
    .report-content {
        padding: 2rem;
    }
}

@media (max-width: 768px) {
    .report-title {
        font-size: 1.8rem;
    }
    
    .report-info {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .iq-score-circle {
        width: 120px;
        height: 120px;
    }
    
    .score-value {
        font-size: 2.5rem;
    }
    
    .analysis-grid {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }
    
    .iq-performance-table thead th {
        padding: 10px 8px;
        font-size: 11px;
    }
    
    .iq-performance-table tbody td {
        padding: 10px 8px;
        font-size: 12px;
    }
    
    .report-footer {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .report-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-print,
    .btn-download,
    .btn-home,
    .btn-diploma,
    .btn-diploma-download {
        width: 100%;
        max-width: 250px;
    }
}

/* =================================================================
   Simple Footer
   ================================================================= */

.simple-footer {
    background: linear-gradient(135deg, #1a365d 0%, #2c5282 50%, #2a4365 100%);
    color: #ffffff;
    padding: 5rem 0 3rem;
    margin-top: 0;
    position: relative;
    overflow: hidden;
}

.simple-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.footer-content {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 5rem;
    align-items: start;
    margin-bottom: 4rem;
    position: relative;
    z-index: 1;
}

/* Logo Section */
.footer-logo-section {
    display: flex;
    align-items: center;
}

.footer-brand-logo {
    height: 80px;
    width: auto;
    max-width: 180px;
    filter: brightness(1.1) contrast(1.05);
    transition: all 0.3s ease;
}

.footer-brand-logo:hover {
    filter: brightness(1.2) contrast(1.1);
    transform: scale(1.02);
}

/* Footer Links Grid */
.footer-links-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 4rem;
}

.footer-column {
    
}

.footer-heading {
    font-size: 1.1rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: linear-gradient(90deg, #60a5fa 0%, #3b82f6 100%);
    border-radius: 1px;
}

.footer-subtext {
    font-size: 0.9rem;
    color: #cbd5e0;
    margin-bottom: 1.5rem;
    line-height: 1.5;
    font-weight: 500;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: #e2e8f0;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: block;
    padding: 0.5rem 0;
    position: relative;
    font-weight: 500;
}

.footer-links a::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 1px;
    background: linear-gradient(90deg, #60a5fa 0%, #3b82f6 100%);
    transition: width 0.3s ease;
}

.footer-links a:hover {
    color: #ffffff;
    padding-left: 0.75rem;
}

.footer-links a:hover::before {
    width: 25px;
}

/* Footer Bottom */
.footer-bottom {
    position: relative;
    z-index: 1;
}

.footer-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.3) 50%, transparent 100%);
    margin-bottom: 2.5rem;
    position: relative;
}

.footer-divider::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #60a5fa 0%, #3b82f6 100%);
    border-radius: 2px;
}

.footer-copyright {
    text-align: center;
    font-size: 0.9rem;
    color: #e2e8f0;
    margin: 0;
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.9);
    color: #2c5282;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top:hover {
    background: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.3);
}

.scroll-to-top:active {
    transform: translateY(-1px);
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.2);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 4rem;
        text-align: center;
    }
    
    .footer-links-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
    }
    
    .footer-brand-logo {
        height: 70px;
        margin: 0 auto;
    }
    
    .footer-logo-section {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .simple-footer {
        padding: 4rem 0 2.5rem;
    }
    
    .footer-content {
        gap: 3rem;
    }
    
    .footer-links-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .footer-brand-logo {
        height: 60px;
    }
    
    .scroll-to-top {
        width: 45px;
        height: 45px;
        bottom: 20px;
        right: 20px;
    }
}

@media (max-width: 480px) {
    .simple-footer {
        padding: 3rem 0 2rem;
    }
    
    .footer-content {
        gap: 2.5rem;
    }
    
    .footer-links-grid {
        gap: 2rem;
    }
    
    .footer-brand-logo {
        height: 50px;
    }
    
    .footer-heading {
        font-size: 1rem;
        margin-bottom: 1rem;
    }
    
    .footer-links-grid {
        gap: 1.5rem;
    }
}

/* Smooth Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hero Background Animations */
@keyframes float-pattern {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
        opacity: 0.6;
    }
    25% {
        transform: translateY(-10px) rotate(0.5deg);
        opacity: 0.8;
    }
    50% {
        transform: translateY(0px) rotate(1deg);
        opacity: 0.6;
    }
    75% {
        transform: translateY(5px) rotate(0.5deg);
        opacity: 0.4;
    }
}

@keyframes glow-pulse {
    0%, 100% {
        opacity: 0.8;
        transform: scale(1) rotate(0deg);
        filter: blur(2px) hue-rotate(0deg);
    }
    33% {
        opacity: 1;
        transform: scale(1.02) rotate(0.5deg);
        filter: blur(1.5px) hue-rotate(5deg);
    }
    66% {
        opacity: 0.9;
        transform: scale(0.98) rotate(-0.5deg);
        filter: blur(2.5px) hue-rotate(-5deg);
    }
}

@keyframes breath {
    0%, 100% {
        transform: scale(1);
        opacity: 0.8;
        filter: blur(0px);
    }
    50% {
        transform: scale(1.02);
        opacity: 1;
        filter: blur(0.5px);
    }
}

@keyframes drift {
    0%, 100% {
        transform: translateX(0px) translateY(0px);
    }
    25% {
        transform: translateX(5px) translateY(-5px);
    }
    50% {
        transform: translateX(-3px) translateY(3px);
    }
    75% {
        transform: translateX(2px) translateY(-2px);
    }
}

@keyframes gradient-shift {
    0%, 100% {
        background-position: 0% 0%, 0% 0%, 100% 100%, 0% 100%;
    }
    25% {
        background-position: 0% 0%, 25% 25%, 75% 75%, 25% 75%;
    }
    50% {
        background-position: 0% 0%, 50% 50%, 50% 50%, 50% 50%;
    }
    75% {
        background-position: 0% 0%, 75% 75%, 25% 25%, 75% 25%;
    }
}

/* Global Background Animations */
@keyframes dots-drift {
    0% {
        transform: translateX(0) translateY(0);
    }
    100% {
        transform: translateX(-20px) translateY(-20px);
    }
}

@keyframes orb-float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.3;
    }
    25% {
        transform: translate(-100px, -50px) scale(1.1);
        opacity: 0.5;
    }
    50% {
        transform: translate(50px, -100px) scale(0.9);
        opacity: 0.2;
    }
    75% {
        transform: translate(100px, 50px) scale(1.05);
        opacity: 0.4;
    }
}

@keyframes particle-flow {
    0% {
        transform: translateY(100vh) translateX(-50px);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100px) translateX(50px);
        opacity: 0;
    }
}

@keyframes header-pattern-flow {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 60px 60px;
    }
}

@keyframes gentle-float {
    0%, 100% { 
        transform: translate(0, 0) scale(1);
        opacity: 0.6;
    }
    33% { 
        transform: translate(2%, -1%) scale(1.02);
        opacity: 0.8;
    }
    66% { 
        transform: translate(-1%, 2%) scale(0.98);
        opacity: 0.4;
    }
}

@keyframes cube-drift {
    0% { 
        background-position: 0 0;
    }
    100% { 
        background-position: 50px 50px;
    }
}





.navbar-menu-mobile.active {
    animation: fadeIn 0.3s ease;
}

/* Hero Section */
.hero-section {
    padding: 0 0 6rem;
    background: 
        linear-gradient(135deg, #ffffff 0%, #f8fafc 30%, #ffffff 70%, #f1f5f9 100%),
        radial-gradient(circle at 90% 20%, rgba(255, 140, 0, 0.08) 0%, transparent 60%),
        radial-gradient(circle at 85% 60%, rgba(255, 165, 0, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 15% 85%, rgba(102, 126, 234, 0.04) 0%, transparent 50%);
    background-size: 100% 100%, 200% 200%, 150% 150%, 180% 180%;
    background-position: 0% 0%, 0% 0%, 100% 100%, 0% 100%;
    position: relative;
    overflow: hidden;
    animation: gradient-shift 15s ease-in-out infinite;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%23ff8c00' stroke-width='1' stroke-opacity='0.06'%3E%3Cpath d='M40 40L10 25l30-15 30 15-30 15z'/%3E%3Cpath d='M40 40v30l-30-15V25l30 15z'/%3E%3Cpath d='M40 40v30l30-15V25L40 40z'/%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 0;
    animation: float-pattern 20s ease-in-out infinite;
}

.hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    right: -10%;
    width: 60%;
    height: 100%;
    background: 
        radial-gradient(ellipse 80% 60% at 80% 40%, rgba(255, 140, 0, 0.12) 0%, rgba(255, 140, 0, 0.06) 30%, transparent 60%),
        radial-gradient(ellipse 60% 40% at 90% 20%, rgba(255, 165, 0, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse 70% 50% at 85% 70%, rgba(255, 140, 0, 0.04) 0%, transparent 40%);
    z-index: 0;
    filter: blur(2px);
    animation: glow-pulse 8s ease-in-out infinite;
}

.hero-content-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

/* Hero Left Content */
.hero-left {
    padding-right: 2rem;
    position: relative;
}

.hero-left::before {
    content: '';
    position: absolute;
    top: -3rem;
    left: -3rem;
    right: -2rem;
    bottom: -3rem;
    background: 
        radial-gradient(circle at 20% 30%, rgba(255, 140, 0, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(102, 126, 234, 0.06) 0%, transparent 50%),
        linear-gradient(135deg, rgba(255, 140, 0, 0.03) 0%, rgba(255, 255, 255, 0.02) 50%, rgba(102, 126, 234, 0.03) 100%);
    border-radius: 30px;
    z-index: -1;
    border: 1px solid rgba(255, 140, 0, 0.08);
    animation: breath 6s ease-in-out infinite;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 0.5rem 0 1.5rem 0;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 140, 0, 0.15);
    width: fit-content;
}

.flag-icon {
    width: 24px;
    height: 18px;
    border-radius: 3px;
    object-fit: cover;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.daily-stats {
    font-size: 0.85rem;
    font-weight: 500;
    color: #4a5568;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    color: #1a202c;
    margin-bottom: 1rem;
}

.iq-highlight {
    color: #ff8c00;
    font-weight: 800;
}

.hero-subtitle {
    font-size: 1.1rem;
    line-height: 1.5;
    color: #4a5568;
    margin-bottom: 2rem;
    font-weight: 400;
}

.hero-cta {
    margin-bottom: 1rem;
}

.btn-hero-primary {
    background: linear-gradient(135deg, #ff8c00 0%, #e67e00 100%);
    color: white;
    padding: 1.25rem 2.5rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    display: inline-block;
    box-shadow: 0 8px 25px rgba(255, 140, 0, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: none;
    cursor: pointer;
}

.btn-hero-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(255, 140, 0, 0.4);
    background: linear-gradient(135deg, #e67e00 0%, #cc7700 100%);
}

.hero-features {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.1rem 0;
    font-weight: 500;
    color: #2d3748;
    font-size: 0.8rem;
}

.feature-bullet {
    color: #ff8c00;
    font-weight: 700;
    font-size: 1rem;
    width: 0.8rem;
    text-align: center;
    flex-shrink: 0;
}

/* Desktop/Tablet - uzun metin */
.feature-text-desktop {
    display: inline;
}

/* Mobile - kısa metin */
.feature-text-mobile {
    display: none;
}

/* Hero Right - Image */
.hero-right {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 750px;
}

.hero-image-container {
    position: relative;
    width: 170%;
    height: 170%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: -25%;
}

.hero-main-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.hero-main-image:hover {
    transform: scale(1.02);
}

/* Hero Responsive Design */
@media (max-width: 1024px) {
    .hero-content-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .hero-left {
        padding-right: 0;
        order: 2;
    }
    
    .hero-left::before {
        top: -2rem;
        left: -2rem;
        right: -2rem;
        bottom: -2rem;
        border-radius: 20px;
    }
    
    .hero-right {
        order: 1;
        height: 650px;
    }
    
    .hero-image-container {
        width: 150%;
        height: 150%;
        margin-left: -15%;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 3rem 0;
    }
    
    .hero-content-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .hero-left {
        order: 1;
        padding-right: 0;
    }
    
    .hero-left::before {
        top: -1.5rem;
        left: -1.5rem;
        right: -1.5rem;
        bottom: -1.5rem;
        border-radius: 15px;
    }
    
    .hero-right {
        order: 2;
        height: auto;
        margin-top: 0;
    }
    
    .hero-title {
        font-size: 2.2rem;
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .btn-hero-primary {
        padding: 1rem 2rem;
        font-size: 1rem;
        margin-bottom: 1rem;
        width: auto;
        display: inline-block;
    }
    
    .hero-features {
        justify-content: center;
        margin-bottom: 0;
        gap: 0.1rem;
    }
    
    .feature-item {
        font-size: 0.85rem;
        line-height: 1.3;
        padding: 0.2rem 0;
    }
    
    .feature-bullet {
        font-size: 1rem;
        width: 0.9rem;
    }
    
    .hero-stats {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
        margin-bottom: 2rem;
        padding: 0.75rem 1rem;
        background: rgba(255, 255, 255, 0.95);
        border-radius: 8px;
        box-shadow: 0 3px 12px rgba(0, 0, 0, 0.1);
        border: 1px solid rgba(255, 140, 0, 0.2);
        width: fit-content;
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }
    
    .daily-stats {
        font-size: 0.85rem;
        font-weight: 500;
        color: #4a5568;
        text-align: center;
        flex: 1;
        min-width: 0;
        word-wrap: break-word;
    }
    
    .feature-text-desktop {
        display: none;
    }
    
    .feature-text-mobile {
        display: inline;
    }
    
    .hero-image-container {
        width: 100%;
        height: auto;
        margin: 0 auto;
        max-width: 350px;
        padding: 1.5rem;
    }
    
    .hero-main-image {
        width: 100%;
        height: auto;
        max-width: 100%;
    }
}

/* Features Section */
.features-section {
    padding: 5rem 0;
    background: white;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #333;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

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

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #667eea;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #333;
}

.feature-card p {
    color: #666;
    line-height: 1.6;
}

/* Stats Section */
.stats-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 4rem 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat-item h3 {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.stat-item p {
    font-size: 1.1rem;
    opacity: 0.9;
} 

/* =================================================================
   Country IQ Rankings Section
   ================================================================= */

.country-iq-section {
    padding: 80px 0;
    background: 
        linear-gradient(135deg, #f8fafc 0%, #ffffff 50%, #f1f5f9 100%);
    position: relative;
    overflow: hidden;
}

.country-iq-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(255, 140, 0, 0.06) 0%, transparent 40%),
        radial-gradient(circle at 80% 80%, rgba(255, 140, 0, 0.04) 0%, transparent 40%);
    z-index: 1;
}

.country-iq-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cdefs%3E%3Cpattern id='dots' width='20' height='20' patternUnits='userSpaceOnUse'%3E%3Ccircle cx='10' cy='10' r='1' fill='%23ff8c00' opacity='0.03'/%3E%3C/pattern%3E%3C/defs%3E%3Crect width='60' height='60' fill='url(%23dots)'/%3E%3C/svg%3E");
    z-index: 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    z-index: 2;
}

.country-iq-section .section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #2c3e50;
    margin-bottom: 16px;
    position: relative;
}

.country-iq-section .section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #ff8c00, #ffa500);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #6c757d;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.iq-rankings-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 60px;
    position: relative;
    z-index: 2;
    align-items: stretch;
}



.iq-column {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    position: relative;
    transition: all 0.2s ease;
    border: 1px solid #e2e8f0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.iq-column:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
    border-color: rgba(255, 140, 0, 0.3);
}

.iq-column::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #ff8c00, #ffa500);
    border-radius: 12px 12px 0 0;
}

.iq-rank-item {
    display: flex;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #f1f3f4;
    position: relative;
    transition: all 0.2s ease;
    flex: 1;
    min-height: 50px;
}

.iq-rank-item:last-child {
    border-bottom: none;
}

.iq-rank-item:hover {
    background: rgba(255, 140, 0, 0.05);
    border-radius: 6px;
}

.rank {
    width: 30px;
    height: 30px;
    background: linear-gradient(135deg, #ff8c00, #ffa500);
    color: white;
    font-weight: 700;
    font-size: 0.9rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    flex-shrink: 0;
}

.country-flag {
    width: 32px;
    height: 24px;
    border-radius: 4px;
    margin-right: 15px;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.country-name {
    flex: 1;
    font-weight: 600;
    color: #2c3e50;
    font-size: 0.95rem;
    margin-right: 15px;
}

.iq-score {
    font-weight: 800;
    font-size: 1.1rem;
    color: #ff8c00;
    min-width: 40px;
    text-align: right;
}

.full-list-cta {
    text-align: center;
    position: relative;
    z-index: 2;
}

.btn-full-list {
    display: inline-block;
    padding: 16px 40px;
    background: linear-gradient(135deg, #ff8c00, #ffa500);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(255, 140, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-full-list::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn-full-list:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(255, 140, 0, 0.4);
    color: white;
    text-decoration: none;
}

.btn-full-list:hover::before {
    left: 100%;
}

/* Top 3 Special Styling */
.iq-column:nth-child(1) .iq-rank-item:nth-child(1) .rank,
.iq-column:nth-child(1) .iq-rank-item:nth-child(2) .rank,
.iq-column:nth-child(1) .iq-rank-item:nth-child(3) .rank {
    background: linear-gradient(135deg, #ffd700, #ffed4a);
    color: #2c3e50;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.4);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .iq-rankings-grid {
        gap: 30px;
    }
    
    .iq-column {
        padding: 25px;
    }
    
    .country-iq-section .section-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .country-iq-section {
        padding: 50px 0;
    }
    
    .iq-rankings-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .section-header {
        margin-bottom: 30px;
    }
    
    .country-iq-section .section-title {
        font-size: 1.8rem;
        line-height: 1.3;
    }
    
    .section-subtitle {
        font-size: 0.95rem;
        line-height: 1.5;
    }
    
    .iq-column {
        padding: 1.25rem;
        border-radius: 12px;
        width: 100%;
        max-width: 100%;
        margin: 0;
        min-height: 300px;
    }
    
    .iq-column:hover {
        transform: none;
    }
    
    .iq-rank-item {
        padding: 0.875rem 0;
        margin-bottom: 0.5rem;
    }
    
    .rank {
        font-size: 0.8rem;
        min-width: 25px;
        height: 25px;
        line-height: 25px;
        margin-right: 12px;
    }
    
    .country-flag {
        width: 20px;
        height: 15px;
        margin-right: 12px;
    }
    
    .country-name {
        font-size: 0.85rem;
        margin-right: 12px;
    }
    
    .iq-score {
        font-size: 0.85rem;
        font-weight: 700;
    }
    
    .btn-full-list {
        padding: 0.875rem 1.5rem;
        font-size: 0.9rem;
        margin-top: 1.5rem;
    }
}

/* =================================================================
   IQ TEST Section
   ================================================================= */

.worldwide-iq-section {
    padding: 100px 0;
    background: 
        linear-gradient(135deg, #f8fafc 0%, #ffffff 30%, #f1f5f9 70%, #e2e8f0 100%),
        radial-gradient(circle at 20% 20%, rgba(255, 140, 0, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 140, 0, 0.03) 0%, transparent 50%);
    position: relative;
    overflow: hidden;
}

.worldwide-iq-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cdefs%3E%3Cpattern id='cube-pattern' width='50' height='50' patternUnits='userSpaceOnUse'%3E%3Cg fill='none' stroke='%23ff8c00' stroke-width='0.8' opacity='0.04'%3E%3Cpath d='M25 25L12.5 12.5l12.5-12.5 12.5 12.5-12.5 12.5z'/%3E%3Cpath d='M25 25v25l-12.5-12.5V12.5l12.5 12.5z'/%3E%3Cpath d='M25 25v25l12.5-12.5V12.5L25 25z'/%3E%3C/g%3E%3C/pattern%3E%3C/defs%3E%3Crect width='100' height='100' fill='url(%23cube-pattern)'/%3E%3C/svg%3E");
    z-index: 0;
    opacity: 0.3;
    animation: cube-drift 30s linear infinite;
}

.worldwide-iq-section::after {
    content: '';
    position: absolute;
    top: -20%;
    left: -20%;
    right: -20%;
    bottom: -20%;
    background: 
        radial-gradient(ellipse 60% 40% at 30% 70%, rgba(255, 140, 0, 0.08) 0%, transparent 60%),
        radial-gradient(ellipse 50% 30% at 70% 30%, rgba(255, 165, 0, 0.06) 0%, transparent 50%);
    z-index: 0;
    animation: gentle-float 20s ease-in-out infinite;
}

.worldwide-content {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
}

.worldwide-header {
    margin-bottom: 60px;
}

.worldwide-title {
    font-size: 3rem;
    font-weight: 800;
    color: #2c3e50;
    margin-bottom: 30px;
    position: relative;
}

.worldwide-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, #ff8c00, #ffa500);
    border-radius: 2px;
}

.worldwide-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #5a6c7d;
    margin-bottom: 20px;
    text-align: center;
}

.worldwide-image {
    margin: 80px 0;
    display: flex;
    justify-content: center;
    background: transparent;
}

.worldwide-illustration {
    max-width: 100%;
    height: auto;
    background: none;
    background-color: transparent;
    border: none;
    outline: none;
    object-fit: contain;
    object-position: center;
}

.worldwide-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 80px;
}

.step-item {
    background: white;
    padding: 40px 30px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
    position: relative;
    transition: all 0.3s ease;
}

.step-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    border-color: rgba(255, 140, 0, 0.3);
}

.step-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #ff8c00, #ffa500);
    border-radius: 16px 16px 0 0;
}

.step-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: #ff8c00;
    margin-bottom: 20px;
    line-height: 1;
}

.step-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 15px;
    line-height: 1.3;
}

.step-description {
    font-size: 1rem;
    line-height: 1.6;
    color: #6c757d;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .worldwide-steps {
        gap: 30px;
    }
    
    .step-item {
        padding: 30px 25px;
    }
    
    .worldwide-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .worldwide-iq-section {
        padding: 80px 0;
    }
    
    .worldwide-steps {
        grid-template-columns: 1fr;
        gap: 25px;
        margin-top: 60px;
    }
    
    .worldwide-title {
        font-size: 1.9rem;
        line-height: 1.2;
        word-break: break-word;
        hyphens: auto;
        overflow-wrap: break-word;
        word-wrap: break-word;
    }
    
    .worldwide-description {
        font-size: 1rem;
        text-align: center;
    }
    
    .worldwide-image {
        margin: 60px 0;
    }
    
    .step-number {
        font-size: 2rem;
    }
    
    .step-title {
        font-size: 1.1rem;
        line-height: 1.3;
        word-break: break-word;
        overflow-wrap: break-word;
        word-wrap: break-word;
    }
}

@media (max-width: 480px) {
    .worldwide-title {
        font-size: 1.4rem;
        line-height: 1.1;
        word-break: break-word;
        hyphens: auto;
        overflow-wrap: break-word;
        word-wrap: break-word;
    }
    
    .worldwide-description {
        font-size: 0.95rem;
        text-align: center;
        padding: 0 10px;
    }
    
    .step-title {
        font-size: 1rem;
        line-height: 1.2;
        word-break: break-word;
        overflow-wrap: break-word;
        word-wrap: break-word;
    }
    
    .step-item {
        padding: 25px 20px;
    }
    
    .step-number {
        font-size: 1.8rem;
    }
}

/* =================================================================
   Why This IQ Test Section
   ================================================================= */

.why-test-section {
    padding: 120px 0;
    background: 
        linear-gradient(135deg, #ffffff 0%, #f8fafc 50%, #ffffff 100%),
        radial-gradient(circle at 15% 25%, rgba(255, 140, 0, 0.04) 0%, transparent 50%),
        radial-gradient(circle at 85% 75%, rgba(102, 126, 234, 0.03) 0%, transparent 50%);
    position: relative;
    overflow: hidden;
}

.why-test-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cdefs%3E%3Cpattern id='question-pattern' width='30' height='30' patternUnits='userSpaceOnUse'%3E%3Ccircle cx='15' cy='15' r='1.5' fill='%23ff8c00' opacity='0.08'/%3E%3Cpath d='M15,8 Q18,5 21,8 Q18,11 15,8' fill='none' stroke='%23ff8c00' stroke-width='0.8' opacity='0.06'/%3E%3C/pattern%3E%3C/defs%3E%3Crect width='60' height='60' fill='url(%23question-pattern)'/%3E%3C/svg%3E");
    z-index: 0;
    opacity: 0.7;
}

.why-test-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
}

.why-test-left {
    display: flex;
    justify-content: center;
    align-items: center;
}

.why-test-image {
    max-width: 120%;
    height: auto;
    border-radius: 0;
    box-shadow: none;
    transition: all 0.3s ease;
    background: transparent;
}

.why-test-image:hover {
    transform: scale(1.05);
    box-shadow: none;
}

.why-test-right {
    padding-left: 2rem;
}

.why-test-header {
    margin-bottom: 2rem;
}

.why-test-title {
    font-size: 2.8rem;
    font-weight: 800;
    color: #2c3e50;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.why-test-subtitle {
    font-size: 0.9rem;
    font-weight: 600;
    color: #ff8c00;
    margin: 0 0 0.5rem 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.why-test-description {
    margin-bottom: 3rem;
}

.why-test-description p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #4a5568;
    margin-bottom: 1.5rem;
    font-weight: 400;
}

.why-test-description p:last-child {
    margin-bottom: 0;
}

.why-test-cta {
    margin-top: 2.5rem;
}

.btn-start-test {
    background: linear-gradient(135deg, #ff8c00 0%, #e67e00 100%);
    color: white;
    padding: 1.25rem 3rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    display: inline-block;
    box-shadow: 0 8px 25px rgba(255, 140, 0, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn-start-test::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn-start-test:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(255, 140, 0, 0.4);
    background: linear-gradient(135deg, #e67e00 0%, #cc7700 100%);
}

.btn-start-test:hover::before {
    left: 100%;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .why-test-content {
        gap: 4rem;
    }
    
    .why-test-right {
        padding-left: 1rem;
    }
    
    .why-test-title {
        font-size: 2.4rem;
    }
    
    .why-test-subtitle {
        font-size: 0.8rem;
    }
}

@media (max-width: 768px) {
    .why-test-section {
        padding: 80px 0;
    }
    
    .why-test-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .why-test-right {
        padding-left: 0;
    }
    
    .why-test-title {
        font-size: 2rem;
    }
    
    .why-test-subtitle {
        font-size: 0.8rem;
    }
    
    .why-test-description p {
        font-size: 1rem;
        text-align: left;
    }
    
    .btn-start-test {
        padding: 1rem 2.5rem;
        font-size: 1rem;
    }
}

/* =================================================================
   Full Country IQ Rankings Styles
   ================================================================= */

.full-country-iq-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.full-country-iq-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(255, 140, 0, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(102, 126, 234, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.full-iq-rankings-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

/* Country Explanation Styles */
.country-explanation {
    margin-top: 4rem;
    padding: 3rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(248, 250, 252, 0.9) 100%);
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 140, 0, 0.1);
}

.explanation-content h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 1rem;
    text-align: center;
}

.explanation-content p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #4a5568;
    text-align: center;
    margin-bottom: 2rem;
}

.stats-highlight {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin: 2rem 0;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: #ff8c00;
    line-height: 1;
}

.stat-label {
    display: block;
    font-size: 0.9rem;
    color: #718096;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 0.5rem;
}

.test-cta {
    text-align: center;
    margin-top: 3rem;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(255, 140, 0, 0.05) 0%, rgba(102, 126, 234, 0.05) 100%);
    border-radius: 15px;
    border: 1px solid rgba(255, 140, 0, 0.1);
}

.test-cta h4 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 0.5rem;
}

.test-cta p {
    font-size: 1rem;
    color: #4a5568;
    margin-bottom: 1.5rem;
}

.btn-test-now {
    display: inline-block;
    background: linear-gradient(135deg, #ff8c00 0%, #ff7300 100%);
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 140, 0, 0.3);
}

.btn-test-now:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 140, 0, 0.4);
    background: linear-gradient(135deg, #ff7300 0%, #ff6000 100%);
}

/* Responsive Design for Full Rankings */
@media (max-width: 1200px) {
    .full-iq-rankings-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .full-country-iq-section {
        padding: 4rem 0;
    }
    
    .full-iq-rankings-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .country-explanation {
        margin-top: 3rem;
        padding: 2rem;
    }
    
    .explanation-content h3 {
        font-size: 1.5rem;
    }
    
    .stats-highlight {
        gap: 2rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .test-cta {
        padding: 1.5rem;
    }
    
    .test-cta h4 {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .full-iq-rankings-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-highlight {
        flex-direction: column;
        gap: 1rem;
    }
    
    .country-explanation {
        padding: 1.5rem;
    }
    
    .explanation-content p {
        font-size: 1rem;
    }
}

/* =================================================================
   Loading ve Error Mesajları
   ================================================================= */

.loading-message {
    text-align: center;
    padding: 60px 20px;
    color: #667eea;
    font-size: 18px;
    font-weight: 500;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    border: 2px dashed #667eea;
    border-radius: 12px;
    margin: 20px 0;
    position: relative;
    overflow: hidden;
}

.loading-message::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent 30%, rgba(102, 126, 234, 0.1) 50%, transparent 70%);
    animation: loading-sweep 2s linear infinite;
}

.loading-message::after {
    content: '⚡';
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 24px;
    animation: pulse 1.5s ease-in-out infinite;
}

.error-message {
    text-align: center;
    padding: 40px 20px;
    color: #d63638;
    background: linear-gradient(135deg, #ffebee 0%, #ffffff 100%);
    border: 2px solid #d63638;
    border-radius: 12px;
    margin: 20px 0;
    box-shadow: 0 4px 12px rgba(214, 54, 56, 0.1);
}

.error-message h3 {
    margin-bottom: 15px;
    font-size: 20px;
    font-weight: 600;
}

.error-message p {
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.5;
}

.btn-reload {
    background: #d63638 !important;
    color: white !important;
    border: none !important;
    padding: 12px 24px !important;
    border-radius: 6px !important;
    cursor: pointer !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    transition: all 0.3s ease !important;
}

.btn-reload:hover {
    background: #c12327 !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 12px rgba(214, 54, 56, 0.3) !important;
}

/* Animasyonlar */
@keyframes loading-sweep {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }
    100% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }
}

/* Responsive için loading/error mesajları */
@media (max-width: 768px) {
    .loading-message,
    .error-message {
        padding: 30px 15px;
        margin: 15px 0;
    }
    
    .loading-message {
        font-size: 16px;
    }
    
    .error-message h3 {
        font-size: 18px;
    }
    
    .error-message p {
        font-size: 14px;
    }
    
    .btn-reload {
        padding: 10px 20px !important;
        font-size: 13px !important;
    }
}

/* =================================================================
   Question Details Table Styles
   ================================================================= */

.question-details {
    margin-top: 30px;
    page-break-inside: avoid;
}

.question-details h3 {
    color: #2d3748;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    text-align: center;
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 10px;
}

.question-table-container {
    overflow-x: auto;
    margin: 0 -20px;
    padding: 0 20px;
}

.question-details-table {
    width: 100%;
    border-collapse: collapse;
    margin: 0;
    font-size: 13px;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.question-details-table thead {
    background: linear-gradient(135deg, #4a5568 0%, #2d3748 100%);
    color: white;
}

.question-details-table thead th {
    padding: 12px 8px;
    text-align: center;
    font-weight: 600;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.question-details-table thead th:last-child {
    border-right: none;
}

.question-details-table tbody tr {
    border-bottom: 1px solid #e2e8f0;
    transition: background-color 0.2s ease;
}

.question-details-table tbody tr:hover {
    background-color: #f7fafc;
}

.question-details-table tbody tr:last-child {
    border-bottom: none;
}

.question-details-table td {
    padding: 10px 8px;
    text-align: center;
    vertical-align: middle;
    border-right: 1px solid #e2e8f0;
}

.question-details-table td:last-child {
    border-right: none;
}

.question-number {
    font-weight: 600;
    color: #4a5568;
}

.question-category {
    font-size: 11px;
    color: #2d3748;
    line-height: 1.3;
    font-weight: 500;
}

.question-difficulty {
    font-size: 11px;
    font-weight: 500;
    color: #4a5568;
}

.correct-answer {
    background: #e6fffa;
    color: #065f46;
    font-weight: 700;
    font-size: 14px;
    border-radius: 4px;
    padding: 4px 0;
}

.user-answer {
    font-weight: 600;
    font-size: 14px;
    border-radius: 4px;
    padding: 4px 0;
}

.user-answer.correct {
    background: #dcfce7;
    color: #166534;
}

.user-answer.wrong {
    background: #fef2f2;
    color: #dc2626;
}

.user-answer.empty {
    background: #f3f4f6;
    color: #6b7280;
    font-style: italic;
    font-size: 12px;
}

.result-status {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    border-radius: 4px;
    padding: 4px 8px;
    font-weight: 600;
    font-size: 12px;
}

.result-status.correct {
    background: #dcfce7;
    color: #166534;
}

.result-status.wrong {
    background: #fef2f2;
    color: #dc2626;
}

.result-status.empty {
    background: #f3f4f6;
    color: #6b7280;
}

.result-icon {
    font-size: 14px;
}

.result-text {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.no-questions {
    text-align: center;
    padding: 40px;
    color: #6b7280;
    font-style: italic;
}

/* Row Styling Based on Result */
.question-row.correct {
    background: rgba(220, 252, 231, 0.3);
}

.question-row.wrong {
    background: rgba(254, 242, 242, 0.3);
}

.question-row.empty {
    background: rgba(243, 244, 246, 0.3);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .question-details h3 {
        font-size: 16px;
        margin-bottom: 15px;
    }
    
    .question-table-container {
        margin: 0 -15px;
        padding: 0 15px;
    }
    
    .question-details-table {
        font-size: 11px;
    }
    
    .question-details-table thead th {
        padding: 8px 4px;
        font-size: 10px;
    }
    
    .question-details-table td {
        padding: 8px 4px;
    }
    
    .question-category {
        font-size: 9px;
        line-height: 1.2;
    }
    
    .question-difficulty {
        font-size: 9px;
    }
    
    .correct-answer,
    .user-answer {
        font-size: 12px;
        padding: 2px 0;
    }
    
    .result-status {
        flex-direction: column;
        gap: 2px;
        padding: 2px 4px;
    }
    
    .result-icon {
        font-size: 12px;
    }
    
    .result-text {
        font-size: 9px;
    }
}

@media (max-width: 480px) {
    .question-details-table {
        font-size: 10px;
    }
    
    .question-details-table thead th {
        padding: 6px 2px;
        font-size: 9px;
    }
    
    .question-details-table td {
        padding: 6px 2px;
    }
    
    .question-category {
        font-size: 8px;
    }
    
    .question-difficulty {
        font-size: 8px;
    }
    
    .correct-answer,
    .user-answer {
        font-size: 11px;
    }
    
    .result-text {
        font-size: 8px;
    }
}