/* Reset ve Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8fafc;
    padding-top: 80px; /* Fixed header için padding */
}

/* Mobile body padding fix */
@media (max-width: 768px) {
    body {
        padding-top: 120px;
    }
}

@media (max-width: 640px) {
    body {
        padding-top: 160px;
    }
}

@media (max-width: 480px) {
    body {
        padding-top: 180px;
    }
}

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

/* Header Styles */
.header {
    padding: 1rem 0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    transform: translateY(0);
}

/* Navbar scroll efektleri */
.header.hidden {
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
}

.header.scrolled {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(10px);
    padding: 0.75rem 0; /* Scroll edildiğinde biraz daha kompakt */
}

/* Smooth transition for all header states */
.header {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), 
                box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                padding 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                pointer-events 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Index page specific header styles */
body.index-page .header {
    background: rgba(255, 255, 255, 0.95);
    color: #1e293b;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

body.index-page .header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

body.index-page .header .logo h1 {
    color: #1e293b;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

body.index-page .header .logo span {
    color: #64748b;
}

/* Dashboard and other pages header styles */
body.dashboard-page .header,
body.exrapor-page .header,
body.extavsiyeler-page .header,
body.exsiralamalar-page .header,
body.exforum-page .header,
body.exmasalar-page .header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

body.dashboard-page .header .logo h1,
body.exrapor-page .header .logo h1,
body.extavsiyeler-page .header .logo h1,
body.exsiralamalar-page .header .logo h1,
body.exforum-page .header .logo h1,
body.exmasalar-page .header .logo h1 {
    color: white;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

body.dashboard-page .header .logo span,
body.exrapor-page .header .logo span,
body.extavsiyeler-page .header .logo span,
body.exsiralamalar-page .header .logo span,
body.exforum-page .header .logo span,
body.exmasalar-page .header .logo span {
    color: rgba(255, 255, 255, 0.8);
}

body.dashboard-page .header .nav-link,
body.exrapor-page .header .nav-link,
body.extavsiyeler-page .header .nav-link,
body.exsiralamalar-page .header .nav-link,
body.exforum-page .header .nav-link,
body.exmasalar-page .header .nav-link {
    color: white;
}

body.dashboard-page .header .nav-link:hover,
body.exrapor-page .header .nav-link:hover,
body.extavsiyeler-page .header .nav-link:hover,
body.exsiralamalar-page .header .nav-link:hover,
body.exforum-page .header .nav-link:hover,
body.exmasalar-page .header .nav-link:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    transform: translateY(-2px);
}

body.dashboard-page .header .nav-link.active,
body.exrapor-page .header .nav-link.active,
body.extavsiyeler-page .header .nav-link.active,
body.exsiralamalar-page .header .nav-link.active,
body.exforum-page .header .nav-link.active,
body.exmasalar-page .header .nav-link.active {
    background: #3b82f6;
    color: white;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.header .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

/* Mobile Header Layout - Stack vertically */
@media (max-width: 768px) {
    .header .container {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        padding: 1rem;
    }
    
    .logo {
        order: 1;
        text-align: center;
        align-items: center;
        width: 100%;
    }
    
    .free-badge {
        position: static;
        transform: none;
        order: 2;
        width: 100%;
        display: flex;
        justify-content: center;
    }
    
    .auth-buttons {
        order: 3;
        width: 100%;
        display: flex;
        justify-content: center;
        gap: 0.75rem;
    }
}

@media (max-width: 480px) {
    .header .container {
        padding: 0.75rem 0.5rem;
        gap: 0.75rem;
    }
    
    .auth-buttons {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .auth-buttons .btn {
        width: 100%;
    }
}

.logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin: 0;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .logo {
        align-items: center;
        width: 100%;
    }
}

.logo h1 {
    font-size: 1.75rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.2;
}

@media (max-width: 768px) {
    .logo h1 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .logo h1 {
        font-size: 1.3rem;
    }
}

.logo span {
    font-size: 0.75rem;
    font-weight: 400;
    margin-top: 0.25rem;
    line-height: 1;
}

@media (max-width: 768px) {
    .logo span {
        font-size: 0.7rem;
    }
}

@media (max-width: 480px) {
    .logo span {
        font-size: 0.65rem;
    }
}

/* Free Badge Styles */
.free-badge {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

/* Mobile Free Badge - Full width and static positioning */
@media (max-width: 768px) {
    .free-badge {
        position: static;
        transform: none;
        width: 100%;
        max-width: 100%;
    }
}

.free-content {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0.9) 100%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 12px 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
    backdrop-filter: blur(10px);
    animation: freeFloat 3s ease-in-out infinite;
    position: relative;
    overflow: hidden;
}

/* Mobile Free Content */
@media (max-width: 768px) {
    .free-content {
        width: 100%;
        padding: 10px 20px;
        border-radius: 12px;
        animation: none;
    }
}

@media (max-width: 480px) {
    .free-content {
        padding: 8px 16px;
        border-radius: 10px;
    }
}

.free-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
    animation: shimmer 3s infinite;
}

.free-text {
    display: block;
    color: #1e293b;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 2px;
    text-shadow: none;
    animation: none;
}

@media (max-width: 768px) {
    .free-text {
        font-size: 0.85rem;
        letter-spacing: 0.5px;
    }
}

@media (max-width: 480px) {
    .free-text {
        font-size: 0.75rem;
        letter-spacing: 0.3px;
    }
}

.free-subtitle {
    display: block;
    color: #64748b;
    font-size: 0.7rem;
    font-weight: 500;
    font-style: italic;
    line-height: 1.2;
    text-shadow: none;
    animation: none;
}

@media (max-width: 768px) {
    .free-subtitle {
        font-size: 0.65rem;
    }
}

@media (max-width: 480px) {
    .free-subtitle {
        font-size: 0.6rem;
        line-height: 1.3;
    }
}

@keyframes freeFloat {
    0%, 100% {
        transform: translateY(0px);
        box-shadow: 0 12px 35px rgba(102, 126, 234, 0.3), 
                    0 4px 15px rgba(118, 75, 162, 0.2);
    }
    50% {
        transform: translateY(-8px);
        box-shadow: 0 20px 45px rgba(102, 126, 234, 0.4), 
                    0 8px 25px rgba(118, 75, 162, 0.3);
    }
}

@keyframes gradientShift {
    0%, 100% {
        background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    }
    25% {
        background: linear-gradient(135deg, #f093fb 0%, #667eea 50%, #764ba2 100%);
    }
    50% {
        background: linear-gradient(135deg, #764ba2 0%, #f093fb 50%, #667eea 100%);
    }
    75% {
        background: linear-gradient(135deg, #667eea 0%, #f093fb 50%, #764ba2 100%);
    }
}

@keyframes textGlow {
    0% {
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    }
    100% {
        text-shadow: 0 2px 8px rgba(255, 255, 255, 0.4), 
                     0 4px 12px rgba(102, 126, 234, 0.3);
    }
}

@keyframes subtitlePulse {
    0%, 100% {
        opacity: 0.9;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.02);
    }
}

@keyframes shimmer {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

.nav {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 1rem;
    position: relative;
}

.nav-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    max-width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 0.5rem;
    transition: background-color 0.3s ease;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background-color: currentColor;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

.nav-toggle:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.nav-link {
    text-decoration: none;
    padding: 0.5rem 0.75rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    white-space: nowrap;
}

.profile-menu {
    flex-shrink: 0;
    position: relative;
}

.profile-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 0.5rem;
    transition: background-color 0.3s ease;
}

.profile-info:hover {
    background-color: #f1f5f9;
}

.profile-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #2563eb;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 1rem;
    border: 2px solid #e2e8f0;
}

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

.profile-name {
    font-weight: 500;
    color: #374151;
}

.profile-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border-radius: 0.5rem;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    min-width: 200px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.profile-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    text-decoration: none;
    color: #374151;
    transition: background-color 0.3s ease;
}

.dropdown-item:hover {
    background-color: #f8fafc;
}

.dropdown-item.text-danger {
    color: #dc2626;
}

.dropdown-item.text-danger:hover {
    background-color: #fef2f2;
}

.profile-dropdown hr {
    border: none;
    border-top: 1px solid #e5e7eb;
    margin: 0.5rem 0;
}

.auth-buttons {
    display: flex;
    gap: 1rem;
    align-items: center;
}

@media (max-width: 768px) {
    .auth-buttons {
        width: 100%;
        justify-content: center;
        gap: 0.75rem;
    }
}

@media (max-width: 480px) {
    .auth-buttons {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .auth-buttons .btn {
        width: 100%;
    }
}

/* Modern Auth Buttons Design - Şık Versiyon */
body.index-page .auth-buttons .btn {
    padding: 0.9rem 2rem;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: none;
    letter-spacing: 0.3px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 768px) {
    body.index-page .auth-buttons .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    body.index-page .auth-buttons .btn {
        padding: 0.7rem 1.25rem;
        font-size: 0.8rem;
        width: 100%;
    }
}

body.index-page .auth-buttons .btn::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;
}

body.index-page .auth-buttons .btn:hover::before {
    left: 100%;
}

body.index-page .auth-buttons .btn-secondary {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0.9) 100%);
    color: #1e293b;
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-shadow: none;
}

body.index-page .auth-buttons .btn-secondary:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 1) 0%, rgba(248, 250, 252, 0.95) 100%);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
    border-color: rgba(255, 255, 255, 0.3);
}

body.index-page .auth-buttons .btn-primary {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    border: 1px solid rgba(59, 130, 246, 0.2);
    color: white;
    text-shadow: none;
}

body.index-page .auth-buttons .btn-primary:hover {
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 30px rgba(59, 130, 246, 0.25);
    border-color: rgba(59, 130, 246, 0.3);
}

body.index-page .auth-buttons .btn:active {
    transform: translateY(0) scale(1.02);
}

/* Button Styles */
.btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 0.5rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background-color: #2563eb;
    color: white;
}

.btn-primary:hover {
    background-color: #1d4ed8;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: #f1f5f9;
    color: #475569;
}

.btn-secondary:hover {
    background-color: #e2e8f0;
}

.btn-outline {
    background-color: transparent;
    color: #2563eb;
    border: 2px solid #2563eb;
}

.btn-outline:hover {
    background-color: #2563eb;
    color: white;
}

.btn-danger {
    background-color: #ef4444;
    border-color: #ef4444;
    color: white;
}

.btn-danger:hover {
    background-color: #dc2626;
    border-color: #dc2626;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.btn-full {
    width: 100%;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

/* Hero Section */
.hero {
    padding: 6rem 0 4rem 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    margin-top: 2rem;
}

.hero .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 500px;
    gap: 2rem;
}

.hero-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    gap: 2rem;
}

.hero-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    flex: 1;
}

.hero-logo {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    flex-shrink: 0;
}

.hero-logo .main-logo {
    margin-left: auto;
    margin-right: 0;
}

.main-logo {
    width: 250px;
    height: 250px;
    object-fit: cover;
    border-radius: 50%;
    box-shadow: 0 15px 35px rgba(0,0,0,0.3);
    background: rgba(255,255,255,0.1);
    padding: 0;
    backdrop-filter: blur(10px);
    border: 4px solid rgba(255,255,255,0.2);
}

.hero-text h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-align: left;
}

.hero-text p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    text-align: left;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: nowrap;
    align-items: center;
    margin-top: 2rem;
}

/* Modern Hero Button Styles */
.hero-buttons .btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    color: white;
    padding: 1.2rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-buttons .btn-primary::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;
}

.hero-buttons .btn-primary:hover::before {
    left: 100%;
}

.hero-buttons .btn-primary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 35px rgba(102, 126, 234, 0.4);
    background: linear-gradient(135deg, #5a67d8 0%, #6b46c1 100%);
}

.hero-buttons .btn-primary:active {
    transform: translateY(-1px) scale(1.02);
}

.hero-buttons .btn-primary:focus {
    outline: none;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.3);
}

.hero-buttons .btn-outline {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 1.2rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-buttons .btn-outline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.1));
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-buttons .btn-outline:hover::before {
    width: 100%;
}

.hero-buttons .btn-outline:hover {
    transform: translateY(-3px) scale(1.05);
    border-color: rgba(255, 255, 255, 0.6);
    box-shadow: 0 15px 35px rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.15);
}

.hero-buttons .btn-outline:active {
    transform: translateY(-1px) scale(1.02);
}

.hero-buttons .btn-outline:focus {
    outline: none;
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.3);
}

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

.features h3 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #1e293b;
}

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

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 200px;
}

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

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

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

.feature-card p {
    color: #64748b;
    line-height: 1.6;
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: white;
    margin: 2% auto;
    padding: 2rem;
    border-radius: 1rem;
    width: 90%;
    max-width: 400px;
    position: relative;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    max-height: 90vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
}

/* Mobile Modal Styles */
@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        max-width: 95%;
        margin: 1% auto;
        padding: 1.5rem;
        max-height: 95vh;
        overflow-y: auto;
    }
    
    .modal-content h3 {
        font-size: 1.3rem;
        margin-bottom: 1rem;
    }
    
    .close {
        font-size: 24px;
        right: 0.75rem;
        top: 0.75rem;
    }
}

@media (max-width: 480px) {
    .modal-content {
        width: 98%;
        max-width: 98%;
        margin: 0.5% auto;
        padding: 1rem;
        max-height: 98vh;
        border-radius: 0.75rem;
    }
    
    .modal-content h3 {
        font-size: 1.2rem;
        margin-bottom: 0.75rem;
        padding-right: 2rem;
    }
    
    .close {
        font-size: 22px;
        right: 0.5rem;
        top: 0.5rem;
    }
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    right: 1rem;
    top: 1rem;
}

.close:hover {
    color: #000;
}

.modal h3 {
    margin-bottom: 1.5rem;
    color: #1e293b;
    text-align: center;
}

/* Register Modal - Extra padding at bottom for mobile */
#registerModal .modal-content {
    padding-bottom: 3rem;
}

@media (max-width: 768px) {
    #registerModal .modal-content {
        padding-bottom: 4rem;
    }
}

@media (max-width: 480px) {
    #registerModal .modal-content {
        padding-bottom: 5rem;
    }
}

/* Register form button extra margin */
#registerForm .btn-full {
    margin-bottom: 2rem;
}

@media (max-width: 768px) {
    #registerForm .btn-full {
        margin-bottom: 2.5rem;
    }
}

@media (max-width: 480px) {
    #registerForm .btn-full {
        margin-bottom: 3rem;
    }
}

/* Form Styles */
.auth-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 500;
    color: #374151;
}

.form-group input {
    padding: 0.75rem;
    border: 2px solid #e5e7eb;
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #2563eb;
}

.form-group select {
    padding: 0.75rem;
    border: 2px solid #e5e7eb;
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    background-color: white;
    cursor: pointer;
}

.form-group select:focus {
    outline: none;
    border-color: #2563eb;
}

.form-group select:disabled {
    background-color: #f3f4f6;
    cursor: not-allowed;
    opacity: 0.6;
}

/* Modern Input Wrapper Styles */
.modern-input-wrapper {
    margin-bottom: 1.5rem;
}

.modern-input-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.modern-input-label i {
    color: #3b82f6;
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.modern-input-wrapper:focus-within .modern-input-label {
    color: #3b82f6;
}

.modern-input-wrapper:focus-within .modern-input-label i {
    transform: scale(1.1);
}

.input-container {
    position: relative;
    width: 100%;
}

.input-container input {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 1rem;
    background: #f8fafc;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.input-container input::placeholder {
    color: #94a3b8;
    font-size: 0.9rem;
}

.input-container input:focus {
    outline: none;
    border-color: #3b82f6;
    background: white;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
    transform: translateY(-2px);
}

.input-border {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #3b82f6, #2563eb);
    transition: width 0.4s ease;
    border-radius: 0 0 10px 10px;
    z-index: 2;
}

.input-container input:focus ~ .input-border {
    width: 100%;
}

/* Input validation states */
.input-container input:valid:not(:placeholder-shown) {
    border-color: #10b981;
}

.input-container input:invalid:not(:placeholder-shown):not(:focus) {
    border-color: #ef4444;
}

/* Floating label animation */
.input-container input:focus::placeholder {
    transform: translateY(-20px);
    opacity: 0;
}

/* Input icons animation on focus */
.modern-input-wrapper:focus-within .modern-input-label i {
    animation: iconBounce 0.5s ease;
}

@keyframes iconBounce {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

/* Modern Auth Modal Styles */
.modern-auth-modal {
    max-width: 440px !important;
    padding: 0 !important;
    overflow: hidden;
}

/* Modern Close Button for Auth Modals */
.modern-auth-modal .modern-close-btn {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    z-index: 1000;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.3);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.modern-auth-modal .modern-close-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: rotate(90deg) scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
}

.modern-auth-modal .modern-close-btn:active {
    transform: rotate(90deg) scale(0.95);
}

.modern-auth-modal .close-icon {
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: color 0.3s ease;
}

.modern-auth-modal .modern-close-btn:hover .close-icon {
    color: rgba(255, 255, 255, 1);
}

.modern-auth-modal .close-icon svg {
    width: 100%;
    height: 100%;
    stroke-width: 2.5;
}

/* Mobile adjustments for auth modal close button */
@media (max-width: 768px) {
    .modern-auth-modal .modern-close-btn {
        top: 1rem;
        right: 1rem;
        width: 36px;
        height: 36px;
    }
    
    .modern-auth-modal .close-icon {
        width: 16px;
        height: 16px;
    }
}

@media (max-width: 480px) {
    .modern-auth-modal .modern-close-btn {
        top: 0.875rem;
        right: 0.875rem;
        width: 34px;
        height: 34px;
    }
    
    .modern-auth-modal .close-icon {
        width: 15px;
        height: 15px;
    }
}

.auth-modal-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 2rem;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.auth-modal-header.forgot-header {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.auth-modal-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: headerGlow 3s ease-in-out infinite;
}

.auth-modal-header h3 {
    margin: 0;
    font-size: 1.75rem;
    font-weight: 700;
    color: white;
    position: relative;
    z-index: 1;
}

.header-subtitle {
    margin: 0.5rem 0 0 0;
    font-size: 0.9rem;
    opacity: 0.95;
    color: rgba(255, 255, 255, 0.95);
    position: relative;
    z-index: 1;
}

.modern-auth-form {
    padding: 2rem;
    background: white;
}

/* Modern Forgot Password Link */
.modern-forgot-link {
    text-align: center;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e2e8f0;
}

.forgot-password-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #667eea;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border: 2px solid #e2e8f0;
}

.forgot-password-btn i {
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

.forgot-password-btn:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-color: #667eea;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.forgot-password-btn:hover i {
    transform: rotate(15deg) scale(1.1);
}

/* Modern Resend Code Link */
.modern-resend-link {
    text-align: center;
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid #e2e8f0;
}

.resend-code-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #f59e0b;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
    border: 2px solid #fcd34d;
}

.resend-code-btn i {
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

.resend-code-btn:hover {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
    border-color: #d97706;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

.resend-code-btn:hover i {
    transform: rotate(360deg);
}

/* Modern Submit Button */
.modern-submit-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    padding: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    position: relative;
    overflow: hidden;
    margin-top: 1.5rem;
    border-radius: 10px;
}

.modern-submit-btn::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;
}

.modern-submit-btn:hover::before {
    left: 100%;
}

.modern-submit-btn:not(:disabled):hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.4);
}

.btn-text {
    position: relative;
    z-index: 1;
}

.btn-icon {
    font-size: 1rem;
    transition: transform 0.3s ease;
    position: relative;
    z-index: 1;
}

.modern-submit-btn:hover .btn-icon {
    transform: translateX(5px);
}

.modern-submit-btn:disabled {
    background: #cbd5e1;
    cursor: not-allowed;
    opacity: 0.7;
}

.modern-submit-btn:disabled:hover {
    transform: none;
    box-shadow: none;
}

.modern-submit-btn:disabled .btn-icon {
    transform: none;
}

/* Back to Login Button */
.modern-back-to-login {
    text-align: center;
    margin-top: 1rem;
}

.back-to-login-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #64748b;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    transition: all 0.3s ease;
    background: transparent;
    border: 2px solid #e2e8f0;
}

.back-to-login-btn i {
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

.back-to-login-btn:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-color: #667eea;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.back-to-login-btn:hover i {
    transform: translateX(-5px);
}

/* Footer */
.footer {
    background: #1e293b;
    color: white;
    text-align: center;
    padding: 2rem 0;
    margin-top: 4rem;
}

.footer p {
    margin: 0.5rem 0;
    font-size: 0.9rem;
    color: #94a3b8;
}

.footer-contact {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 0.5rem !important;
}

.footer-contact i {
    color: #60a5fa;
    font-size: 0.8rem;
}

.footer-contact a {
    color: #60a5fa;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.footer-contact a:hover {
    color: #93c5fd;
    text-decoration: underline;
}

/* Hamburger Menu Styles */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10001;
}

.nav-toggle:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

.hamburger-line {
    width: 20px;
    height: 2px;
    background: white;
    margin: 2px 0;
    transition: all 0.3s ease;
    border-radius: 1px;
}

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

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

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

/* Responsive Design */
@media (max-width: 768px) {
    .header .container {
        flex-direction: row;
        gap: 0.25rem;
        padding: 0.25rem 1rem;
        align-items: center;
        justify-content: space-between;
    }
    
    .free-badge {
        position: static;
        transform: none;
        order: 2;
        margin: 0.5rem 0;
    }
    
    .free-content {
        padding: 10px 20px;
    }
    
    .free-text {
        font-size: 0.85rem;
        letter-spacing: 1.5px;
    }
    
    .free-subtitle {
        font-size: 0.7rem;
    }
    
    .logo {
        order: 1;
        flex-shrink: 0;
    }
    
    .nav-toggle {
        order: 2;
        display: flex;
        margin-left: auto;
    }
    
    .nav {
        order: 3;
        margin: 0;
        flex: 1;
        display: flex;
        justify-content: center;
    }
    
    .nav ul {
        gap: 0.25rem;
        justify-content: center;
        flex-wrap: wrap;
        display: flex;
    }
    
    .nav-link {
        font-size: 0.65rem;
        padding: 0.2rem 0.3rem;
        white-space: nowrap;
    }
    
    .logo h1 {
        font-size: 1.25rem;
    }
    
    .logo span {
        font-size: 0.6rem;
    }
    
    /* Profile menu responsive */
    .profile-menu {
        order: 3;
        align-self: center;
        flex-shrink: 0;
    }
    
    .profile-info {
        padding: 0.15rem;
    }
    
    .profile-name {
        display: none;
    }
    
    /* Duyurular butonu mobilde görünür */
    .announce-nav-btn {
        display: flex !important;
        align-items: center;
        gap: 0.15rem;
        position: relative;
        padding: 0.2rem 0.3rem !important;
        font-size: 0.65rem !important;
        visibility: visible !important;
        opacity: 1 !important;
        width: auto !important;
        height: auto !important;
        min-width: 44px !important;
        min-height: 44px !important;
        cursor: pointer !important;
        pointer-events: auto !important;
        z-index: 10002 !important;
        touch-action: manipulation !important;
        -webkit-touch-callout: none !important;
        -webkit-user-select: none !important;
        user-select: none !important;
        -webkit-tap-highlight-color: transparent !important;
    }
    
    .announce-badge {
        position: absolute;
        top: -5px;
        right: -5px;
        background: #ef4444;
        color: white;
        border-radius: 50%;
        width: 14px;
        height: 14px;
        font-size: 0.5rem;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    /* Duyurular butonu için ekstra güvenlik */
    #announceBtn {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    /* Navbar içindeki li elementini de kontrol et */
    .nav-menu li:has(.announce-nav-btn) {
        display: list-item !important;
        visibility: visible !important;
    }
    
    /* Mobilde navbar daha kompakt */
    .header {
        padding: 0.2rem 0;
    }
    
    .header.scrolled {
        padding: 0.15rem 0;
    }
    
    .hero .container {
        flex-direction: column;
        text-align: center;
        min-height: auto;
        gap: 2rem;
    }
    
    .hero-content {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }
    
    .hero-text h2 {
        font-size: 2.5rem;
        text-align: center;
    }
    
    .hero-text p {
        text-align: center;
    }
    
    .hero-buttons {
        justify-content: center;
        gap: 1.2rem;
        margin-top: 1.8rem;
    }
    
    .hero-buttons .btn-primary,
    .hero-buttons .btn-outline {
        padding: 1.1rem 2.2rem;
        font-size: 1.05rem;
    }
    
    .main-logo {
        width: 220px;
        height: 220px;
    }
    
    /* Tablet Hero Spacing Fix */
    .hero {
        padding: 7rem 0 3rem 0;
        margin-top: 2rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .auth-buttons {
        flex-direction: column;
        width: 100%;
        gap: 0.8rem;
    }
    
    .btn {
        width: 100%;
    }
    
    /* Index page responsive - Modern Mobile Design */
    body.index-page .auth-buttons .btn {
        width: 100%;
        text-align: center;
        padding: 1rem 2rem;
        font-size: 0.95rem;
        border-radius: 30px;
        font-weight: 700;
        letter-spacing: 0.8px;
    }
    
    body.index-page .auth-buttons .btn-secondary {
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.85) 100%);
        border: 2px solid rgba(255, 255, 255, 0.4);
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    }
    
    body.index-page .auth-buttons .btn-primary {
        background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
        box-shadow: 0 6px 20px rgba(59, 130, 246, 0.3);
    }
}

/* Gerçek mobil cihazlar için özel kurallar */
@media (max-width: 768px) and (hover: none) and (pointer: coarse) {
    .announce-nav-btn {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        width: auto !important;
        height: auto !important;
        min-width: 32px !important;
        min-height: 32px !important;
    }
    
    #announceBtn {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    .nav-menu li:has(.announce-nav-btn) {
        display: list-item !important;
        visibility: visible !important;
    }
}

/* Touch cihazlar için ekstra güvenlik */
@media (max-width: 768px) and (max-device-width: 768px) {
    .announce-nav-btn {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    #announceBtn {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
}

@media (max-width: 480px) {
    .header .container {
        padding: 0.2rem 0.75rem;
        gap: 0.15rem;
    }
    
    .nav-menu {
        gap: 0.1rem;
    }
    
    .nav-link {
        font-size: 0.6rem;
        padding: 0.15rem 0.25rem;
    }
    
    .logo h1 {
        font-size: 1rem;
    }
    
    .logo span {
        font-size: 0.5rem;
    }
    
    /* Duyurular butonu 480px altında da görünür */
    .announce-nav-btn {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        padding: 0.15rem 0.25rem !important;
        font-size: 0.6rem !important;
        min-width: 44px !important;
        min-height: 44px !important;
        cursor: pointer !important;
        pointer-events: auto !important;
        z-index: 10002 !important;
        touch-action: manipulation !important;
        -webkit-touch-callout: none !important;
        -webkit-user-select: none !important;
        user-select: none !important;
        -webkit-tap-highlight-color: transparent !important;
    }
    
    #announceBtn {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        min-width: 44px !important;
        min-height: 44px !important;
        cursor: pointer !important;
        pointer-events: auto !important;
    }
    
    .nav-menu li:has(.announce-nav-btn) {
        display: list-item !important;
        visibility: visible !important;
    }
    
    /* Mobile Auth Buttons - Extra Small */
    body.index-page .auth-buttons .btn {
        padding: 0.9rem 1.5rem;
        font-size: 0.9rem;
        border-radius: 25px;
        font-weight: 700;
        letter-spacing: 0.6px;
    }
    
    body.index-page .auth-buttons .btn-secondary {
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.9) 100%);
        border: 2px solid rgba(255, 255, 255, 0.5);
        box-shadow: 0 5px 18px rgba(0, 0, 0, 0.2);
    }
    
    body.index-page .auth-buttons .btn-primary {
        background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
        box-shadow: 0 5px 18px rgba(59, 130, 246, 0.4);
    }
    
    /* Profile menu responsive */
    .profile-avatar {
        width: 35px;
        height: 35px;
        font-size: 0.875rem;
    }
}

/* Responsive Navbar */
@media (max-width: 1024px) {
    .nav-menu {
        gap: 0.4rem;
    }
    
    .nav-link {
        font-size: 0.8rem;
        padding: 0.4rem 0.6rem;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        gap: 0.3rem;
    }
    
    .nav-link {
        font-size: 0.75rem;
        padding: 0.35rem 0.5rem;
    }
}

@media (max-width: 640px) {
    .nav {
        margin: 0 0.5rem;
    }
    
    .nav-menu {
        gap: 0.25rem;
    }
    
    .nav-link {
        font-size: 0.7rem;
        padding: 0.3rem 0.4rem;
    }
    
    .feature-item {
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0.2) 100%) !important;
        color: #ffffff !important;
        border: 2px solid rgba(255, 255, 255, 0.5) !important;
        padding: 16px 24px !important;
        border-radius: 28px !important;
        box-shadow: 0 10px 35px rgba(0, 0, 0, 0.25) !important;
        backdrop-filter: blur(20px) !important;
    }
    
    .feature-item i {
        color: #ffffff !important;
        font-size: 1.4rem !important;
        text-shadow: 0 3px 6px rgba(0, 0, 0, 0.6) !important;
    }
    
    .feature-item span {
        color: #ffffff !important;
        font-weight: 700 !important;
        font-size: 0.9rem !important;
        text-shadow: 0 3px 6px rgba(0, 0, 0, 0.6) !important;
        letter-spacing: 0.7px !important;
    }
    
    .platform-features .feature-item {
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0.2) 100%) !important;
        color: #ffffff !important;
        border: 2px solid rgba(255, 255, 255, 0.5) !important;
    }
    
    .platform-features .feature-item i {
        color: #ffffff !important;
        text-shadow: 0 3px 6px rgba(0, 0, 0, 0.6) !important;
    }
    
    .platform-features .feature-item span {
        color: #ffffff !important;
        text-shadow: 0 3px 6px rgba(0, 0, 0, 0.6) !important;
    }
    
    /* Mobile Hero Spacing Fix */
    .hero {
        padding: 9rem 0 2rem 0;
        margin-top: 2rem;
    }
}

@media (max-width: 480px) {
    .nav {
        margin: 0 0.25rem;
    }
    
    .nav-menu {
        gap: 0.2rem;
    }
    
    .nav-link {
        font-size: 0.65rem;
        padding: 0.25rem 0.35rem;
    }
    
    .feature-item {
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.35) 0%, rgba(255, 255, 255, 0.25) 100%) !important;
        color: #ffffff !important;
        padding: 14px 20px !important;
        border: 2px solid rgba(255, 255, 255, 0.6) !important;
        border-radius: 25px !important;
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3) !important;
        backdrop-filter: blur(20px) !important;
    }
    
    .feature-item i {
        color: #ffffff !important;
        font-size: 1.3rem !important;
        text-shadow: 0 3px 8px rgba(0, 0, 0, 0.7) !important;
    }
    
    .feature-item span {
        color: #ffffff !important;
        font-weight: 700 !important;
        font-size: 0.85rem !important;
        text-shadow: 0 3px 8px rgba(0, 0, 0, 0.7) !important;
        letter-spacing: 0.6px !important;
    }
    
    .platform-features .feature-item {
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.35) 0%, rgba(255, 255, 255, 0.25) 100%) !important;
        color: #ffffff !important;
        border: 2px solid rgba(255, 255, 255, 0.6) !important;
    }
    
    .platform-features .feature-item i {
        color: #ffffff !important;
        text-shadow: 0 3px 8px rgba(0, 0, 0, 0.7) !important;
    }
    
    .platform-features .feature-item span {
        color: #ffffff !important;
        text-shadow: 0 3px 8px rgba(0, 0, 0, 0.7) !important;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-menu {
        display: none;
        position: fixed;
        top: 0;
        left: -100%;
        width: 280px;
        height: 100vh;
        background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
        flex-direction: column;
        padding: 2rem 0;
        box-shadow: 2px 0 20px rgba(0, 0, 0, 0.3);
        z-index: 10000;
        transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        overflow-y: auto;
    }
    
    .nav-menu.show {
        display: flex;
        left: 0;
    }
    
    .nav-menu li {
        width: 100%;
        margin: 0;
    }
    
    .nav-link {
        width: 100%;
        justify-content: flex-start;
        padding: 1rem 2rem;
        border-radius: 0;
        margin: 0;
        color: white;
        font-size: 1rem;
        font-weight: 500;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        transition: all 0.3s ease;
    }
    
    .nav-link:hover {
        background: rgba(255, 255, 255, 0.1);
        color: white;
        transform: translateX(10px);
    }
    
    .nav-link i {
        margin-right: 0.75rem;
        font-size: 1.1rem;
        width: 20px;
        text-align: center;
    }
    
    /* Mobile overlay */
    .mobile-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 9999;
        opacity: 0;
        transition: opacity 0.3s ease;
    }
    
    .mobile-overlay.show {
        display: block;
        opacity: 1;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 10rem 0 2rem 0;
        margin-top: 2.5rem;
    }
    
    .hero .container {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .hero-text h2 {
        font-size: 1.75rem;
        text-align: center;
    }
    
    .hero-text p {
        text-align: center;
    }
    
    .hero-buttons {
        justify-content: center;
        flex-direction: column;
        gap: 1rem;
        margin-top: 1.5rem;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }
    
    .hero-buttons .btn-primary,
    .hero-buttons .btn-outline {
        padding: 1rem 2rem;
        font-size: 1rem;
        border-radius: 40px;
    }
    
    .main-logo {
        width: 200px;
        height: 200px;
    }
    
    .modal-content {
        margin: 1% auto;
        width: 95%;
        padding: 1.5rem;
        max-height: 95vh;
        overflow-y: auto;
    }
    
    .modal {
        padding: 10px;
    }
    
    .auth-form {
        gap: 0.8rem;
    }
    
    .form-group {
        margin-bottom: 0.8rem;
    }
    
    .form-group label {
        font-size: 0.9rem;
        margin-bottom: 0.3rem;
    }
    
    .form-group input,
    .form-group select {
        padding: 0.8rem;
        font-size: 1rem;
    }
    
    .btn {
        padding: 0.8rem 1rem;
        font-size: 1rem;
    }
}

/* Extra small devices */
@media (max-width: 480px) {
    .modal-content {
        margin: 0.5% auto;
        width: 98%;
        padding: 1rem;
        max-height: 98vh;
    }
    
    .modal h3 {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }
    
    .form-group input,
    .form-group select {
        padding: 0.7rem;
        font-size: 0.9rem;
    }
    
    .btn {
        padding: 0.7rem 0.8rem;
        font-size: 0.9rem;
    }
}

/* How It Works Modal Styles */
.how-it-works-modal .modal-content {
    max-width: 900px;
    width: 95%;
    max-height: 90vh;
    overflow-y: auto;
    padding: 0;
    border-radius: 20px;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}

/* Modern Close Button for How It Works Modal */
.how-it-works-modal .modern-close-btn {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    z-index: 1000;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid rgba(255, 255, 255, 0.3);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.how-it-works-modal .modern-close-btn:hover {
    background: #ffffff;
    transform: rotate(90deg) scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
    border-color: rgba(102, 126, 234, 0.3);
}

.how-it-works-modal .modern-close-btn:active {
    transform: rotate(90deg) scale(0.95);
}

.how-it-works-modal .close-icon {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #667eea;
    transition: color 0.3s ease;
}

.how-it-works-modal .modern-close-btn:hover .close-icon {
    color: #5a6fd8;
}

.how-it-works-modal .close-icon svg {
    width: 100%;
    height: 100%;
    stroke-width: 2.5;
}

/* Mobile adjustments for close button */
@media (max-width: 768px) {
    .how-it-works-modal .modern-close-btn {
        top: 1rem;
        right: 1rem;
        width: 38px;
        height: 38px;
    }
    
    .how-it-works-modal .close-icon {
        width: 18px;
        height: 18px;
    }
}

@media (max-width: 480px) {
    .how-it-works-modal .modern-close-btn {
        top: 0.75rem;
        right: 0.75rem;
        width: 36px;
        height: 36px;
    }
    
    .how-it-works-modal .close-icon {
        width: 16px;
        height: 16px;
    }
}

.how-it-works-content {
    padding: 0 !important;
    background: transparent;
}

.how-it-works-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 3rem 2rem;
    text-align: center;
    border-radius: 20px 20px 0 0;
    position: relative;
    overflow: hidden;
}

.how-it-works-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="white" opacity="0.1"/><circle cx="10" cy="60" r="0.5" fill="white" opacity="0.1"/><circle cx="90" cy="40" r="0.5" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.how-it-works-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
    background: linear-gradient(135deg, #fff 0%, #f0f9ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.how-it-works-header p {
    font-size: 1.2rem;
    opacity: 0.9;
    position: relative;
    z-index: 1;
    margin: 0;
}

.how-it-works-steps {
    padding: 3rem 2rem;
    background: white;
}

.step-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    padding: 1.5rem;
    background: #f8fafc;
    border-radius: 15px;
    border-left: 4px solid #667eea;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.step-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.step-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-left-color: #5a6fd8;
}

.step-item:hover::before {
    opacity: 1;
}

.step-number {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    position: relative;
    z-index: 1;
}

.step-content {
    flex: 1;
    position: relative;
    z-index: 1;
}

.step-content h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.step-content p {
    color: #64748b;
    line-height: 1.6;
    margin: 0;
    font-size: 1rem;
}

.how-it-works-features {
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    padding: 3rem 2rem;
    border-top: 1px solid #e2e8f0;
}

.how-it-works-features h3 {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 2rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.feature-highlight {
    background: white;
    padding: 1.5rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
}

.feature-highlight:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-color: #667eea;
}

.feature-highlight .feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}

.feature-highlight h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.feature-highlight p {
    color: #64748b;
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

.how-it-works-cta {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 3rem 2rem;
    text-align: center;
    border-radius: 0 0 20px 20px;
    position: relative;
    overflow: hidden;
}

.how-it-works-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="white" opacity="0.1"/><circle cx="10" cy="60" r="0.5" fill="white" opacity="0.1"/><circle cx="90" cy="40" r="0.5" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.how-it-works-cta h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.how-it-works-cta p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.cta-buttons .btn {
    min-width: 180px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.cta-buttons .btn-primary {
    background: white;
    color: #667eea;
    border: 2px solid white;
}

.cta-buttons .btn-primary:hover {
    background: #f8fafc;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.cta-buttons .btn-outline {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.cta-buttons .btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
    transform: translateY(-2px);
}

/* Responsive Design for How It Works Modal */
@media (max-width: 768px) {
    .how-it-works-modal .modal-content {
        width: 98%;
        max-height: 95vh;
    }
    
    .how-it-works-header {
        padding: 2rem 1.5rem;
    }
    
    .how-it-works-header h2 {
        font-size: 2rem;
    }
    
    .how-it-works-header p {
        font-size: 1rem;
    }
    
    .how-it-works-steps {
        padding: 2rem 1.5rem;
    }
    
    .step-item {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
        padding: 1.5rem;
    }
    
    .step-number {
        align-self: center;
    }
    
    .how-it-works-features {
        padding: 2rem 1.5rem;
    }
    
    .how-it-works-features h3 {
        font-size: 1.5rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .how-it-works-cta {
        padding: 2rem 1.5rem;
    }
    
    .how-it-works-cta h3 {
        font-size: 1.5rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .how-it-works-header {
        padding: 1.5rem 1rem;
    }
    
    .how-it-works-header h2 {
        font-size: 1.8rem;
    }
    
    .how-it-works-steps {
        padding: 1.5rem 1rem;
    }
    
    .step-item {
        padding: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .step-number {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .step-content h3 {
        font-size: 1.1rem;
    }
    
    .step-content p {
        font-size: 0.9rem;
    }
    
    .how-it-works-features {
        padding: 1.5rem 1rem;
    }
    
    .how-it-works-cta {
        padding: 1.5rem 1rem;
    }
    
    .how-it-works-cta h3 {
        font-size: 1.3rem;
    }
    
    .how-it-works-cta p {
        font-size: 1rem;
    }
}

/* Checkbox Styles */
.checkbox-group {
    margin: 1rem 0;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    font-size: 0.9rem;
    line-height: 1.4;
    color: #374151;
}

.checkbox-label input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 18px;
    height: 18px;
    border: 2px solid #d1d5db;
    border-radius: 3px;
    margin-right: 10px;
    margin-top: 2px;
    flex-shrink: 0;
    position: relative;
    transition: all 0.2s ease;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
    background-color: #3b82f6;
    border-color: #3b82f6;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 2px;
    width: 4px;
    height: 8px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.checkbox-label .link {
    color: #3b82f6;
    text-decoration: underline;
    margin: 0 2px;
}

.checkbox-label .link:hover {
    color: #1d4ed8;
    text-decoration: none;
}

/* Modern Consent Checkbox Styles */
.modern-consent-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 1.5rem 0;
}

.modern-consent-card {
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 1rem 1.25rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.modern-consent-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.05), transparent);
    transition: left 0.6s ease;
}

.modern-consent-card:hover {
    border-color: #3b82f6;
    box-shadow: 0 4px 16px rgba(59, 130, 246, 0.12);
    transform: translateY(-2px);
}

.modern-consent-card:hover::before {
    left: 100%;
}

.modern-consent-label {
    display: flex;
    align-items: flex-start;
    gap: 0.875rem;
    cursor: pointer;
    position: relative;
}

.modern-consent-label input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    width: 0;
    height: 0;
}

.modern-checkbox-box {
    flex-shrink: 0;
    width: 26px;
    height: 26px;
    background: white;
    border: 2.5px solid #cbd5e1;
    border-radius: 7px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    margin-top: 1px;
}

.checkbox-check {
    width: 16px;
    height: 16px;
    color: white;
    opacity: 0;
    transform: scale(0) rotate(-45deg);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.modern-consent-label input[type="checkbox"]:checked ~ .modern-checkbox-box {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    border-color: #2563eb;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.35);
    transform: scale(1.08);
}

.modern-consent-label input[type="checkbox"]:checked ~ .modern-checkbox-box .checkbox-check {
    opacity: 1;
    transform: scale(1) rotate(0deg);
}

.modern-consent-label:hover .modern-checkbox-box {
    border-color: #3b82f6;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.15);
    transform: scale(1.05);
}

.consent-content {
    flex: 1;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    line-height: 1.6;
}

.consent-icon {
    font-size: 1.1rem;
    color: #3b82f6;
    margin-top: 2px;
    flex-shrink: 0;
}

.consent-text-content {
    font-size: 0.9rem;
    color: #334155;
}

.modern-consent-link {
    color: #3b82f6;
    font-weight: 600;
    text-decoration: none;
    position: relative;
    transition: color 0.2s ease;
    display: inline;
}

.modern-consent-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #3b82f6, #2563eb);
    transition: width 0.3s ease;
}

.modern-consent-link:hover {
    color: #2563eb;
}

.modern-consent-link:hover::after {
    width: 100%;
}

/* Modern Select Cards (Exam Type & Area Selection) */
.modern-select-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
}

.modern-select-label i {
    color: #3b82f6;
    font-size: 1rem;
}

.modern-select-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.select-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border: 2.5px solid #e2e8f0;
    border-radius: 12px;
    padding: 1rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 90px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.select-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05) 0%, rgba(37, 99, 235, 0.02) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
}

.select-card:hover {
    border-color: #3b82f6;
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.15);
}

.select-card:hover::before {
    opacity: 1;
}

.select-card.selected {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    border-color: #2563eb;
    color: white;
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.35);
    transform: translateY(-2px) scale(1.02);
}

.select-card.selected::before {
    display: none;
}

.select-card-icon {
    font-size: 2rem;
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
}

.select-card:hover .select-card-icon {
    transform: scale(1.15) rotate(5deg);
}

.select-card.selected .select-card-icon {
    transform: scale(1.1);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.select-card-title {
    font-weight: 600;
    font-size: 0.95rem;
    position: relative;
    z-index: 1;
    color: #1e293b;
    transition: color 0.3s ease;
}

.select-card.selected .select-card-title {
    color: white;
}

.select-card-subtitle {
    font-size: 0.75rem;
    color: #64748b;
    position: relative;
    z-index: 1;
    transition: color 0.3s ease;
}

.select-card.selected .select-card-subtitle {
    color: rgba(255, 255, 255, 0.9);
}

.select-card-check {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 24px;
    height: 24px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(0);
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: 1;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.select-card.selected .select-card-check {
    opacity: 1;
    transform: scale(1);
}

.select-card-check svg {
    width: 14px;
    height: 14px;
    color: #3b82f6;
    stroke-width: 3;
}

.select-hint {
    text-align: center;
    color: #64748b;
    font-size: 0.875rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border: 2px dashed #cbd5e1;
    border-radius: 12px;
    font-style: italic;
    grid-column: 1 / -1;
}

.select-hint i {
    margin-right: 0.5rem;
}

/* Loading animation */
@keyframes pulse-select {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.select-card.loading {
    animation: pulse-select 1.5s ease-in-out infinite;
    pointer-events: none;
}

/* Responsive */
@media (max-width: 640px) {
    .modern-select-cards {
        grid-template-columns: 1fr;
    }
    
    .select-card {
        min-height: 70px;
    }
    
    .select-card-icon {
        font-size: 1.5rem;
    }
}

/* Disabled button style */
.btn:disabled {
    background-color: #9ca3af;
    cursor: not-allowed;
    opacity: 0.6;
}

.btn:disabled:hover {
    background-color: #9ca3af;
    transform: none;
}


/* Şifremi Unuttum Stilleri */
.forgot-password-link {
    text-align: center;
    margin-top: 15px;
}

.forgot-password-link a {
    color: #667eea;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.forgot-password-link a:hover {
    color: #5a6fd8;
    text-decoration: underline;
}

.resend-code-link {
    text-align: center;
    margin-top: 15px;
}

.resend-code-link a {
    color: #667eea;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.resend-code-link a:hover {
    color: #5a6fd8;
    text-decoration: underline;
}

#forgotPasswordStep2 {
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

#resetCode {
    text-align: center;
    font-size: 18px;
    letter-spacing: 2px;
    font-family: 'Courier New', monospace;
}

#resetCode:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.password-strength {
    margin-top: 5px;
    font-size: 12px;
}

.password-strength.weak { color: #e74c3c; }
.password-strength.medium { color: #f39c12; }
.password-strength.strong { color: #27ae60; }

/* Social Media Follow Section */
.social-media-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 80px 0;
    color: white;
    position: relative;
    overflow: hidden;
}

.social-media-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="white" opacity="0.1"/><circle cx="10" cy="60" r="0.5" fill="white" opacity="0.1"/><circle cx="90" cy="40" r="0.5" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.social-media-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

/* Platform Styles */
.social-platform {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 40px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.social-platform:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.platform-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
    height: 100%;
}

.platform-text h3 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #fff 0%, #f0f9ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.platform-text p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.9;
    line-height: 1.6;
}

.platform-features {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

/* Modern Feature Item Design */
.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.1) 100%);
    padding: 16px 24px;
    border-radius: 25px;
    backdrop-filter: blur(20px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    color: #ffffff;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.feature-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.feature-item:hover::before {
    left: 100%;
}

.feature-item:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0.2) 100%);
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
}

.feature-item i {
    font-size: 1.3rem;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.feature-item:hover i {
    transform: scale(1.1);
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.5));
}

.feature-item span {
    font-size: 0.9rem;
    font-weight: 600;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.feature-item:hover span {
    text-shadow: 0 2px 8px rgba(255, 255, 255, 0.3);
}

/* Platform features specific styling - Modern Design */
.platform-features .feature-item {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.1) 100%) !important;
    color: #ffffff !important;
    border: 2px solid rgba(255, 255, 255, 0.3) !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1) !important;
}

.platform-features .feature-item i {
    color: #ffffff !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3) !important;
}

.platform-features .feature-item span {
    color: #ffffff !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3) !important;
    font-weight: 600 !important;
}

/* Social media section specific overrides - Modern Design */
.social-media-section .feature-item {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.25) 0%, rgba(255, 255, 255, 0.15) 100%) !important;
    color: #ffffff !important;
    border: 2px solid rgba(255, 255, 255, 0.4) !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15) !important;
    backdrop-filter: blur(20px) !important;
}

.social-media-section .feature-item i {
    color: #ffffff !important;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4) !important;
    font-size: 1.4rem !important;
}

.social-media-section .feature-item span {
    color: #ffffff !important;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4) !important;
    font-weight: 700 !important;
    font-size: 0.95rem !important;
    letter-spacing: 0.8px !important;
}

/* Instagram platform specific - Enhanced */
.instagram-platform .feature-item {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0.2) 100%) !important;
    color: #ffffff !important;
    border: 2px solid rgba(255, 255, 255, 0.5) !important;
    box-shadow: 0 12px 45px rgba(0, 0, 0, 0.2) !important;
}

.instagram-platform .feature-item i {
    color: #ffffff !important;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5) !important;
}

.instagram-platform .feature-item span {
    color: #ffffff !important;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5) !important;
}

/* YouTube platform specific - Enhanced */
.youtube-platform .feature-item {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0.2) 100%) !important;
    color: #ffffff !important;
    border: 2px solid rgba(255, 255, 255, 0.5) !important;
    box-shadow: 0 12px 45px rgba(0, 0, 0, 0.2) !important;
}

.youtube-platform .feature-item i {
    color: #ffffff !important;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5) !important;
}

.youtube-platform .feature-item span {
    color: #ffffff !important;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5) !important;
}

/* Instagram Button */
.btn-instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: white;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(188, 24, 136, 0.3);
    align-self: flex-start;
}

.btn-instagram:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(188, 24, 136, 0.4);
    color: white;
    text-decoration: none;
}

.btn-instagram i {
    font-size: 1.3rem;
}

/* YouTube Button */
.btn-youtube {
    background: linear-gradient(45deg, #ff0000 0%, #cc0000 100%);
    color: white;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 0, 0, 0.3);
    align-self: flex-start;
}

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

.btn-youtube i {
    font-size: 1.3rem;
}

/* Platform Visual Styles */
.platform-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 1;
}

/* Phone Mockup for Instagram */
.phone-mockup {
    position: relative;
    width: 250px;
    height: 450px;
    margin: 0 auto;
    background: #1a1a1a;
    border-radius: 30px;
    padding: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transform: perspective(1000px) rotateY(-15deg) rotateX(5deg);
    transition: transform 0.3s ease;
}

.phone-mockup:hover {
    transform: perspective(1000px) rotateY(-10deg) rotateX(2deg);
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
}

.instagram-preview {
    padding: 20px;
    height: 100%;
    overflow-y: auto;
}

.instagram-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.profile-pic {
    width: 45px;
    height: 45px;
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    border-radius: 50%;
    margin-right: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 16px;
}

.profile-pic::before {
    content: 'EX';
}

.profile-info h4 {
    margin: 0;
    font-size: 14px;
    color: #333;
}

.profile-info p {
    margin: 0;
    font-size: 11px;
    color: #666;
}

.instagram-posts {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.post-item {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 12px;
    border: 1px solid #eee;
}

.post-image {
    width: 100%;
    height: 70px;
    background: linear-gradient(45deg, #667eea, #764ba2);
    border-radius: 6px;
    margin-bottom: 8px;
    position: relative;
    overflow: hidden;
}

.post-image::before {
    content: '📚';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 20px;
}

.post-item:nth-child(2) .post-image::before {
    content: '🎯';
}

.post-content p {
    margin: 0;
    font-size: 11px;
    color: #555;
    font-weight: 500;
}

/* YouTube Mockup */
.youtube-mockup {
    position: relative;
    width: 280px;
    height: 200px;
    margin: 0 auto;
    background: #1a1a1a;
    border-radius: 15px;
    padding: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transform: perspective(1000px) rotateY(15deg) rotateX(5deg);
    transition: transform 0.3s ease;
}

.youtube-mockup:hover {
    transform: perspective(1000px) rotateY(10deg) rotateX(2deg);
}

.youtube-screen {
    width: 100%;
    height: 100%;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.youtube-preview {
    padding: 15px;
    height: 100%;
    overflow-y: auto;
}

.youtube-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.channel-avatar {
    width: 40px;
    height: 40px;
    background: linear-gradient(45deg, #ff0000, #cc0000);
    border-radius: 50%;
    margin-right: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 14px;
}

.channel-avatar::before {
    content: 'EX';
}

.channel-info h4 {
    margin: 0;
    font-size: 13px;
    color: #333;
}

.channel-info p {
    margin: 0;
    font-size: 10px;
    color: #666;
}

.subscriber-count {
    font-size: 9px;
    color: #888;
    font-weight: 500;
}

.youtube-videos {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.video-item {
    display: flex;
    gap: 10px;
    background: #f8f9fa;
    border-radius: 8px;
    padding: 10px;
    border: 1px solid #eee;
}

.video-thumbnail {
    width: 60px;
    height: 40px;
    background: linear-gradient(45deg, #ff0000, #cc0000);
    border-radius: 6px;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ff0000;
    font-size: 10px;
}

.video-content h5 {
    margin: 0 0 5px 0;
    font-size: 11px;
    color: #333;
    font-weight: 600;
    line-height: 1.3;
}

.video-content p {
    margin: 0;
    font-size: 9px;
    color: #666;
}

/* Responsive Design */
@media (max-width: 768px) {
    .social-media-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .social-platform {
        padding: 30px;
    }
    
    .platform-text h3 {
        font-size: 1.8rem;
        text-align: center;
    }
    
    .platform-text p {
        text-align: center;
    }
    
    .platform-features {
        justify-content: center;
        gap: 15px;
    }
    
    .phone-mockup {
        width: 220px;
        height: 400px;
        transform: none;
    }
    
    .phone-mockup:hover {
        transform: none;
    }
    
    .youtube-mockup {
        width: 250px;
        height: 180px;
        transform: none;
    }
    
    .youtube-mockup:hover {
        transform: none;
    }
    
    .btn-instagram,
    .btn-youtube {
        align-self: center;
    }
}

@media (max-width: 480px) {
    .social-media-section {
        padding: 60px 0;
    }
    
    .social-platform {
        padding: 25px;
    }
    
    .platform-text h3 {
        font-size: 1.6rem;
    }
    
    .platform-features {
        flex-direction: column;
        gap: 12px;
        align-items: center;
    }
    
    .feature-item {
        width: 100%;
        max-width: 280px;
        justify-content: center;
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.25) 0%, rgba(255, 255, 255, 0.15) 100%) !important;
        color: #ffffff !important;
        border: 2px solid rgba(255, 255, 255, 0.4) !important;
        padding: 18px 28px !important;
        border-radius: 30px !important;
        box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2) !important;
        backdrop-filter: blur(20px) !important;
    }
    
    .feature-item i {
        color: #ffffff !important;
        font-size: 1.5rem !important;
        text-shadow: 0 3px 6px rgba(0, 0, 0, 0.5) !important;
    }
    
    .feature-item span {
        color: #ffffff !important;
        font-weight: 700 !important;
        font-size: 0.95rem !important;
        text-shadow: 0 3px 6px rgba(0, 0, 0, 0.5) !important;
        letter-spacing: 0.8px !important;
    }
    
    .platform-features .feature-item {
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.25) 0%, rgba(255, 255, 255, 0.15) 100%) !important;
        color: #ffffff !important;
        border: 2px solid rgba(255, 255, 255, 0.4) !important;
    }
    
    .platform-features .feature-item i {
        color: #ffffff !important;
        text-shadow: 0 3px 6px rgba(0, 0, 0, 0.5) !important;
    }
    
    .platform-features .feature-item span {
        color: #ffffff !important;
        text-shadow: 0 3px 6px rgba(0, 0, 0, 0.5) !important;
    }
    
    .phone-mockup {
        width: 200px;
        height: 360px;
    }
    
    .youtube-mockup {
        width: 220px;
        height: 160px;
    }
    
    .btn-instagram,
    .btn-youtube {
        width: 100%;
        justify-content: center;
    }
}

/* Toast Notification Styles */
.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.toast {
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    padding: 16px 20px;
    min-width: 300px;
    max-width: 400px;
    display: flex;
    align-items: center;
    gap: 12px;
    transform: translateX(100%);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-left: 4px solid;
    position: relative;
    overflow: hidden;
}

.toast.show {
    transform: translateX(0);
    opacity: 1;
}

.toast.success {
    border-left-color: #10b981;
    background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%);
}

.toast.error {
    border-left-color: #ef4444;
    background: linear-gradient(135deg, #fef2f2 0%, #fef7f7 100%);
}

.toast.warning {
    border-left-color: #f59e0b;
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
}

.toast.info {
    border-left-color: #3b82f6;
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
}

.toast-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: bold;
    flex-shrink: 0;
}

.toast.success .toast-icon {
    background: #10b981;
    color: white;
}

.toast.error .toast-icon {
    background: #ef4444;
    color: white;
}

.toast.warning .toast-icon {
    background: #f59e0b;
    color: white;
}

.toast.info .toast-icon {
    background: #3b82f6;
    color: white;
}

.toast-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.toast-title {
    font-weight: 600;
    font-size: 14px;
    color: #1f2937;
    margin: 0;
}

.toast-message {
    font-size: 13px;
    color: #6b7280;
    margin: 0;
    line-height: 1.4;
}

.toast-close {
    background: none;
    border: none;
    color: #9ca3af;
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    transition: all 0.2s;
    font-size: 16px;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.toast-close:hover {
    background: rgba(0, 0, 0, 0.05);
    color: #6b7280;
}

.toast-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 0 0 12px 12px;
    animation: toastProgress 5s linear forwards;
}

.toast.success .toast-progress {
    background: #10b981;
}

.toast.error .toast-progress {
    background: #ef4444;
}

.toast.warning .toast-progress {
    background: #f59e0b;
}

.toast.info .toast-progress {
    background: #3b82f6;
}

@keyframes toastProgress {
    from { width: 100%; }
    to { width: 0%; }
}

/* Responsive Toast */
@media (max-width: 480px) {
    .toast-container {
        top: 10px;
        right: 10px;
        left: 10px;
    }
    
    .toast {
        min-width: auto;
        max-width: none;
        width: 100%;
    }
}

/* Loading Screen Styles */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s ease-in-out;
    pointer-events: none;
}

.loading-screen.show {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
}

.loading-content {
    text-align: center;
    color: white;
    width: 100%;
    max-width: 900px;
    padding: 20px;
    box-sizing: border-box;
}

.loading-animation {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.book-animation {
    display: flex;
    gap: 30px;
    align-items: center;
}

/* Book Animation */
.book {
    position: relative;
    width: 80px;
    height: 100px;
    perspective: 1000px;
    animation: bookFloat 3s ease-in-out infinite;
}

.book-cover {
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #8B4513, #A0522D);
    border-radius: 8px 4px 4px 8px;
    position: relative;
    transform-style: preserve-3d;
    animation: bookOpen 2s ease-in-out infinite;
}

.book-spine {
    position: absolute;
    left: 0;
    top: 0;
    width: 8px;
    height: 100%;
    background: linear-gradient(45deg, #654321, #8B4513);
    border-radius: 4px 0 0 4px;
}

.book-pages {
    position: absolute;
    top: 0;
    left: 8px;
    width: 72px;
    height: 100%;
    transform-style: preserve-3d;
}

.book-pages .page {
    position: absolute;
    width: 100%;
    height: 100%;
    background: #f8f9fa;
    border-radius: 0 4px 4px 0;
    box-shadow: 0 0 5px rgba(0,0,0,0.1);
    animation: pageFlip 2s ease-in-out infinite;
}

.book-pages .page:nth-child(1) {
    animation-delay: 0s;
    z-index: 3;
}

.book-pages .page:nth-child(2) {
    animation-delay: 0.3s;
    z-index: 2;
}

.book-pages .page:nth-child(3) {
    animation-delay: 0.6s;
    z-index: 1;
}

/* Notebook Animation */
.notebook {
    position: relative;
    width: 80px;
    height: 100px;
    animation: notebookFloat 3s ease-in-out infinite 1.5s;
}

.notebook-cover {
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #2c3e50, #34495e);
    border-radius: 8px;
    position: relative;
    animation: notebookOpen 2s ease-in-out infinite 1s;
}

.notebook-spiral {
    position: absolute;
    left: 8px;
    top: 0;
    width: 4px;
    height: 100%;
    background: repeating-linear-gradient(
        to bottom,
        #ecf0f1 0px,
        #ecf0f1 8px,
        #bdc3c7 8px,
        #bdc3c7 12px
    );
    border-radius: 2px;
}

.notebook-pages {
    position: absolute;
    top: 0;
    left: 12px;
    width: 68px;
    height: 100%;
    background: #ffffff;
    border-radius: 0 8px 8px 0;
    overflow: hidden;
}

.page-line {
    height: 2px;
    background: #e8e8e8;
    margin: 8px 12px;
    animation: lineWrite 1.5s ease-in-out infinite;
}

.page-line:nth-child(1) { animation-delay: 0s; }
.page-line:nth-child(2) { animation-delay: 0.3s; }
.page-line:nth-child(3) { animation-delay: 0.6s; }
.page-line:nth-child(4) { animation-delay: 0.9s; }

/* Loading Text */
.loading-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    position: relative;
    z-index: 10;
}

.exaline-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: #ffffff !important;
    text-shadow: 0 4px 8px rgba(0,0,0,0.8), 0 0 20px rgba(255,255,255,0.5);
    animation: titleGlow 2s ease-in-out infinite;
    margin: 0;
    letter-spacing: 2px;
    display: block !important;
    line-height: 1.2;
    width: 100%;
    text-align: center;
    position: relative;
    z-index: 20;
}

.loading-messages {
    position: relative;
    height: 50px;
    overflow: visible;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 800px;
    margin: 20px auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.loading-message {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    font-size: 1.2rem;
    font-weight: 600;
    color: #ffffff !important;
    text-shadow: 0 2px 4px rgba(0,0,0,0.8);
    opacity: 0;
    transition: all 0.5s ease-in-out;
    white-space: nowrap;
    display: block;
    width: auto;
    min-width: 100%;
    max-width: none;
    text-align: center;
    z-index: 15;
    padding: 0 20px;
    box-sizing: border-box;
}

.loading-message.active {
    opacity: 1;
    animation: messageSlide 0.5s ease-in-out;
}

.loading-spinner {
    margin-top: 20px;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top: 4px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes bookFloat {
    0%, 100% { transform: translateY(0px) rotateY(0deg); }
    50% { transform: translateY(-10px) rotateY(5deg); }
}

@keyframes notebookFloat {
    0%, 100% { transform: translateY(0px) rotateY(0deg); }
    50% { transform: translateY(-10px) rotateY(-5deg); }
}

@keyframes bookOpen {
    0%, 100% { transform: rotateY(0deg); }
    50% { transform: rotateY(-15deg); }
}

@keyframes notebookOpen {
    0%, 100% { transform: rotateY(0deg); }
    50% { transform: rotateY(10deg); }
}

@keyframes pageFlip {
    0%, 100% { transform: rotateY(0deg); }
    50% { transform: rotateY(-10deg); }
}

@keyframes lineWrite {
    0% { width: 0; }
    100% { width: calc(100% - 24px); }
}

@keyframes titleGlow {
    0%, 100% { 
        text-shadow: 0 4px 8px rgba(0,0,0,0.5), 0 0 20px rgba(255,255,255,0.3);
        transform: scale(1);
    }
    50% { 
        text-shadow: 0 6px 12px rgba(0,0,0,0.7), 0 0 30px rgba(255,255,255,0.6);
        transform: scale(1.05);
    }
}

@keyframes messageSlide {
    0% { 
        opacity: 0;
        transform: translateX(-50%) translateY(20px);
    }
    100% { 
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive Loading Screen */
@media (max-width: 768px) {
    .exaline-title {
        font-size: 2.5rem;
        letter-spacing: 1px;
    }
    
    .loading-message {
        font-size: 1rem;
        text-shadow: 0 2px 4px rgba(0,0,0,0.7);
        padding: 0 15px;
        width: auto;
        min-width: 100%;
    }
    
    .loading-messages {
        max-width: 100%;
        padding: 0 15px;
    }
    
    .loading-content {
        max-width: 100%;
        padding: 15px;
    }
    
    .book-animation {
        gap: 20px;
    }
    
    .book, .notebook {
        width: 60px;
        height: 80px;
    }
    
    .book-pages {
        left: 6px;
        width: 54px;
    }
    
    .notebook-pages {
        left: 9px;
        width: 51px;
    }
}

@media (max-width: 480px) {
    .exaline-title {
        font-size: 2rem;
        letter-spacing: 1px;
    }
    
    .loading-message {
        font-size: 0.9rem;
        text-shadow: 0 2px 4px rgba(0,0,0,0.8);
        padding: 0 10px;
        width: auto;
        min-width: 100%;
    }
    
    .loading-messages {
        max-width: 100%;
        padding: 0 10px;
    }
    
    .loading-content {
        max-width: 100%;
        padding: 10px;
    }
    
    .book-animation {
        gap: 15px;
    }
    
    .book, .notebook {
        width: 50px;
        height: 70px;
    }
    
    .book-pages {
        left: 5px;
        width: 45px;
    }
    
    .notebook-pages {
        left: 7px;
        width: 43px;
    }
}
