@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&family=Roboto+Mono:wght@400;500&display=swap');

:root {
    --primary-color: #5468ff;
    --secondary-color: #6c757d;
    --dark-gray: #343a40;
    --light-gray: #f8f9fa;
    --medium-gray: #e9ecef;
    --text-color: #495057;
    --white: #ffffff;
    --code-bg: #2d2d2d;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header Styles */
header {
    background-color: var(--white);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-size: 24px;
    font-weight: 700;
    color: var(--dark-gray);
}

.highlight {
    color: var(--primary-color);
}

/* Hamburger Buton */
.hamburger-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.hamburger-btn span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--dark-gray);
    transition: all 0.3s ease;
}

/* Navigasyon Menüsü */
#mobile-nav {
    transition: transform 0.3s ease;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu li {
    position: relative;
}

.nav-menu li a {
    display: block;
    padding: 10px 15px;
    color: var(--dark-gray);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.nav-menu li a:hover, 
.nav-menu li a.active {
    color: var(--primary-color);
}

/* Dropdown Menü */
.has-dropdown {
    position: relative;
}

.has-dropdown > a::after {
    content: '\f107';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    margin-left: 5px;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 200px;
    background-color: var(--white);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    list-style: none;
    padding: 10px 0;
    z-index: 100;
}

.has-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li a {
    padding: 10px 20px;
    font-size: 14px;
}

/* Hero Section */
.hero {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--light-gray) 0%, var(--white) 100%);
    overflow: hidden;
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.hero-content {
    flex: 1;
}

.hero-content h2 {
    font-size: 2.5rem;
    color: var(--dark-gray);
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: var(--secondary-color);
}

/* Hero Buttons Container */
.hero-buttons {
    display: flex;
    gap: 15px;
    align-items: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 16px;
    min-width: 130px;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: #4558e6;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(84, 104, 255, 0.2);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(84, 104, 255, 0.2);
}

.btn-secondary i {
    font-size: 14px;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

/* Lottie Animasyon Stillemesi */
.lottie-animation {
    width: 100%;
    max-width: 500px;
    height: 400px;
    margin: 0 auto;
}

/* Kod Penceresi stillerini kaldırıyoruz (eski stiller)
.code-window {
    width: 100%;
    max-width: 500px;
    background-color: var(--code-bg);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.code-header {
    background-color: #1e1e1e;
    padding: 10px 15px;
    display: flex;
    align-items: center;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-right: 6px;
}

.red { background-color: #ff5f56; }
.yellow { background-color: #ffbd2e; }
.green { background-color: #27c93f; }

.code-header .title {
    margin-left: 10px;
    font-family: 'Roboto Mono', monospace;
    color: #ddd;
    font-size: 14px;
}

.code-content {
    padding: 20px;
    overflow-x: auto;
}

.code-content pre {
    margin: 0;
}

.code-content code {
    font-family: 'Roboto Mono', monospace;
    color: #f8f8f2;
    line-height: 1.5;
    font-size: 14px;
}
*/

/* Features Section */
.features {
    padding: 40px 0; /* 60px'den 40px'e düşürüldü */
    background-color: var(--white);
    overflow: hidden;
    position: relative;
}

/* Başlık için özel stil */
.features .section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--dark-gray);
    margin-bottom: 40px; /* 60px'den 40px'e düşürüldü */
    position: relative;
    font-weight: 700;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, var(--dark-gray) 0%, var(--primary-color) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    border-inline-color: transparent;
}

.features .section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), #4558e6);
    margin: 20px auto 0;
    border-radius: 2px;
    box-shadow: 0 4px 15px rgba(84, 104, 255, 0.3);
}

.features .section-title::before {
    content: '✨';
    position: absolute;
    left: 50%;
    top: -15px;
    transform: translateX(-50%);
    font-size: 1.5rem;
    animation: sparkle 2s ease-in-out infinite;
}

@keyframes sparkle {
    0%, 100% { 
        opacity: 0.7; 
        transform: translateX(-50%) scale(1);
    }
    50% { 
        opacity: 1; 
        transform: translateX(-50%) scale(1.2);
    }
}

.features-slider {
    width: 100%;
    overflow: hidden;
    position: relative;
    margin-top: 20px;
    mask: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
    -webkit-mask: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
    pointer-events: none; /* Mouse ve touch etkileşimlerini engelle */
    touch-action: none; /* Touch hareketlerini engelle */
    user-select: none; /* Seçim işlemlerini engelle */
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.features-track {
    display: flex;
    gap: 25px;
    animation: slideInfinite 120s linear infinite; /* 60s'den 120s'ye çıkarıldı */
    width: max-content;
    pointer-events: none;
    touch-action: none;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

@keyframes slideInfinite {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-50%));
    }
}

/* Hover durumunda durma özelliğini kaldır */
.feature-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 40px rgba(84, 104, 255, 0.15);
    border-color: var(--primary-color);
}

/* Hover durumunda durdurma kodunu kaldır */
/* .features-slider:hover .features-track kodu kaldırıldı */

.feature-card {
    background: linear-gradient(135deg, #f8f9ff 0%, #ffffff 100%);
    border-radius: 15px;
    padding: 30px 25px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    min-width: 300px;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(84, 104, 255, 0.1);
    pointer-events: none;
    touch-action: none; /* Touch hareketlerini engelle */
    user-select: none; /* Metin seçimini engelle */
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -webkit-touch-callout: none; /* iOS'ta uzun basma menüsünü engelle */
}

.feature-card .icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.feature-card .icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: radial-gradient(circle, rgba(84, 104, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    z-index: -1;
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--dark-gray);
    font-weight: 600;
    line-height: 1.3;
}

.feature-card p {
    color: var(--secondary-color);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .features {
        padding: 30px 0; /* 40px'den 30px'e düşürüldü */
    }
    
    .features .section-title {
        font-size: 2rem;
        margin-bottom: 30px; /* 40px'den 30px'e düşürüldü */
        letter-spacing: -0.01em;
    }
    
    .features .section-title::after {
        width: 60px;
        height: 3px;
        margin: 15px auto 0;
    }
    
    .features .section-title::before {
        font-size: 1.2rem;
        top: -12px;
    }
    
    .features-slider {
        mask: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
        -webkit-mask: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
    }
    
    .feature-card {
        min-width: 280px;
        padding: 25px 20px;
        pointer-events: none; /* Mobilde de mouse etkileşimini kapat */
    }
    
    /* .features-track:hover kodu kaldırıldı */
    
    .features-track {
        gap: 20px;
        animation: slideInfiniteMobile 100s linear infinite; /* 40s'den 100s'ye çıkarıldı */
    }
    
    @keyframes slideInfiniteMobile {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(calc(-50%));
        }
    }
    
    .features-track:hover {
        animation-duration: 120s;
    }
    
    .feature-card .icon {
        font-size: 2.5rem;
        margin-bottom: 15px;
    }
    
    .feature-card h3 {
        font-size: 1.2rem;
        margin-bottom: 12px;
    }
    
    .feature-card p {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .features .section-title {
        font-size: 1.8rem;
        margin-bottom: 25px; /* 35px'den 25px'e düşürüldü */
    }
    
    .features .section-title::after {
        width: 50px;
    }
    
    .features-slider {
        mask: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
        -webkit-mask: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
    }
    
    .feature-card {
        min-width: 260px;
        padding: 20px 15px;
        pointer-events: none; /* Küçük ekranlarda da mouse etkileşimini kapat */
    }
    
    .features-track {
        gap: 15px;
    }
}

/* Latest News Section */
.latest-news {
    padding: 80px 0;
    background-color: var(--light-gray);
}

/* Son Haberler başlığı için özel stil */
.news-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--dark-gray);
    margin-bottom: 50px;
    position: relative;
    font-weight: 700;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, var(--dark-gray) 0%, var(--primary-color) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-emphasis-color: transparent;
}

.news-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), #4558e6);
    margin: 20px auto 0;
    border-radius: 2px;
    box-shadow: 0 4px 15px rgba(84, 104, 255, 0.3);
}

.news-title::before {
    content: '📰';
    position: absolute;
    left: 50%;
    top: -15px;
    transform: translateX(-50%);
    font-size: 1.5rem;
    animation: newsSparkle 2s ease-in-out infinite;
}

@keyframes newsSparkle {
    0%, 100% { 
        opacity: 0.7; 
        transform: translateX(-50%) scale(1);
    }
    50% { 
        opacity: 1; 
        transform: translateX(-50%) scale(1.2);
    }
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.news-card {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.news-img img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.news-content {
    padding: 20px;
}

.date {
    font-size: 0.8rem;
    color: var(--secondary-color);
    margin-bottom: 10px;
    display: block;
}

.news-content h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--dark-gray);
}

.news-content p {
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.read-more {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: var(--transition);
}

.read-more:hover {
    color: #4558e6;
}

/* Newsletter Section */
.newsletter {
    padding: 60px 0;
}

.newsletter-box {
    background: linear-gradient(135deg, var(--primary-color) 0%, #4558e6 100%);
    color: var(--white);
    border-radius: 10px;
    padding: 50px;
    text-align: center;
    box-shadow: 0 15px 30px rgba(84, 104, 255, 0.2);
}

.newsletter-box h2 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.newsletter-box p {
    margin-bottom: 30px;
    font-size: 1.1rem;
    opacity: 0.9;
}

.form-group {
    display: flex;
    justify-content: center;
    gap: 10px;
    max-width: 500px;
    margin: 0 auto;
}

.form-group input {
    flex: 1;
    padding: 12px 20px;
    border: none;
    border-radius: 30px;
    font-size: 1rem;
}

/* Footer */
footer {
    background-color: var(--dark-gray);
    color: var(--white);
    padding: 70px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.footer-col h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--white);
}

.footer-col h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--white);
}

.footer-col p {
    margin-bottom: 20px;
    opacity: 0.8;
    font-size: 0.9rem;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: var(--medium-gray);
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.9rem;
}

.footer-col ul li a:hover {
    color: var(--white);
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    color: var(--white);
    font-size: 1.2rem;
    transition: var(--transition);
}

.social-links a:hover {
    color: var(--primary-color);
    transform: translateY(-3px);
}

.contact-info li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--medium-gray);
    font-size: 0.9rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Kod404 Menü Öğesi için Animasyonlu Stil */
@keyframes rainbow-text-animation {
    0% {
        background-position: 0% 50%;
        text-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
    }
    50% {
        background-position: 100% 50%;
        text-shadow: 0 0 15px rgba(255, 255, 255, 0.8), 0 0 20px rgba(255, 255, 255, 0.5);
    }
    100% {
        background-position: 0% 50%;
        text-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
    }
}

.rainbow-text {
    background: linear-gradient(
        to right,
        #ff8a00, #e52e71, #b745fb, #3e64ff, #04befe, #3ae374, #ffff00
    ) !important;
    background-size: 400% 400% !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    text-emphasis-color: transparent !important;
    font-weight: bold !important;
    animation: rainbow-text-animation 6s ease-in-out infinite !important;
    transition: all 0.3s !important;
}

.rainbow-text:hover {
    transform: scale(1.05) !important;
    animation: rainbow-text-animation 2s ease-in-out infinite !important;
}

/* Mobil görünüm için ek stiller */
@media (max-width: 768px) {
    .rainbow-text {
        display: inline-block !important;
        background-size: 200% 200% !important;
    }
}

/* Responsive Styles */
@media (max-width: 992px) {
    .hero .container {
        flex-direction: column;
    }
    
    .hero-content, .hero-image {
        text-align: center;
    }
    
    .lottie-animation {
        margin-top: 40px;
    }
    
    .newsletter-box {
        padding: 30px;
    }
}

@media (max-width: 768px) {
    .hamburger-btn {
        display: flex;
    }
    
    #mobile-nav {
        position: fixed;
        top: 0;
        right: -280px; /* Kapalı durumda ekranın dışında */
        width: 280px;
        height: 100vh;
        background-color: var(--white);
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
        z-index: 1002; /* Overlay'den yüksek olmalı */
        overflow-y: auto;
    }
    
    #mobile-nav.active {
        right: 0; /* Açık durumda ekranın içinde */
    }
    
    .nav-menu {
        flex-direction: column;
        padding: 100px 0 20px; /* Yukarı boşluğu artırıyoruz */
        margin-top: 0;
    }
    
    .nav-menu li {
        width: 100%;
        border-bottom: 1px solid var(--light-gray);
    }
    
    .nav-menu li a {
        padding: 15px 20px;
        font-size: 16px;
    }
    
    .dropdown-menu {
        position: static;
        width: 100%;
        box-shadow: none;
        background-color: #f5f5f5;
        display: none; /* Varsayılan olarak gizli */
        padding: 0;
        margin: 0;
        border-radius: 0;
        opacity: 1;
        visibility: visible;
        transform: none;
        transition: none;
    }
    
    /* Alt menü açık hali için daha belirgin stil */
    .dropdown-menu.show {
        display: block;
        padding: 10px 0;
        background-color: #f8f9fa;
        border-top: 1px solid #eee;
        border-bottom: 1px solid #eee;
    }
    
    .dropdown-menu li a {
        padding-left: 40px;
        font-size: 14px;
    }
    
    /* Hamburger Açık İkon */
    .hamburger-btn.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    
    .hamburger-btn.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger-btn.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
    
    /* Overlay */
    .overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 1001; /* Menüden düşük olmalı */
    }
    
    .overlay.active {
        opacity: 1;
        visibility: visible;
    }
    
    /* Alt menüsü olan menü öğeleri için ok ekleme */
    .has-dropdown > a::after {
        content: '\f107';
        font-family: 'Font Awesome 5 Free';
        font-weight: 900;
        margin-left: 10px;
        transition: transform 0.3s;
        display: inline-block;
    }
    
    /* Alt menü açıkken oku yukarı çevirme */
    .has-dropdown > a.active::after {
        transform: rotate(180deg);
    }
    
    /* Alt menü stillemesi - display property kullanmaya geçiş */
    .dropdown-menu {
        position: static;
        width: 100%;
        box-shadow: none;
        background-color: #f5f5f5;
        display: none; /* Varsayılan olarak gizli */
        padding: 0;
        margin: 0;
        border-radius: 0;
        opacity: 1;
        visibility: visible;
        transform: none;
        transition: none;
    }
    
    /* Alt menü öğeleri için stillemeler */
    .dropdown-menu li {
        margin: 0;
        padding: 0;
    }
    
    .dropdown-menu li a {
        padding: 12px 20px 12px 40px;
        display: block;
        color: var(--text-color);
        font-size: 14px;
        border-bottom: 1px solid rgba(0,0,0,0.05);
    }
    
    /* Alt menüsü olan öğelere ok işareti ekleme */
    .has-dropdown > a::after,
    .dropdown > a::after {
        content: '\f078'; /* Font Awesome down arrow */
        font-family: 'Font Awesome 5 Free';
        font-weight: 900;
        margin-left: 8px;
        font-size: 12px;
        display: inline-block;
        transition: transform 0.3s;
    }
    
    /* Alt menü açıkken ok işaretini ters çevirme */
    .has-dropdown > a.open::after,
    .dropdown > a.open::after {
        transform: rotate(180deg);
    }
    
    /* Alt menüler için düzgün görünüm ve davranış */
    .submenu,
    .dropdown-menu {
        display: none;
        background-color: #f5f5f5;
        padding: 0;
        width: 100%;
        position: static;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        transition: none;
        max-height: none;
    }
    
    /* Alt menü öğeleri için daha iyi görünüm */
    .submenu li a,
    .dropdown-menu li a {
        padding-left: 40px !important;
        font-size: 14px;
        color: var(--dark-gray);
        border-bottom: 1px solid rgba(0,0,0,0.05);
    }
}

/* Floating Auth Button */
.auth-float-btn {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), #4558e6);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(84, 104, 255, 0.3);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.auth-float-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 35px rgba(84, 104, 255, 0.4);
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(84, 104, 255, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(84, 104, 255, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(84, 104, 255, 0);
    }
}

.auth-lottie-animation {
    width: 35px;
    height: 35px;
}

/* Modal Styles */
.auth-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.auth-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.auth-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.7);
    width: 90%;
    max-width: 450px;
    max-height: 90vh;
    background: var(--white);
    border-radius: 20px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.auth-modal.active {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

.auth-modal-header {
    position: relative;
    padding: 20px 20px 0;
}

.auth-close-btn {
    position: absolute;
    top: 5px; /* 15px'den 10px'e düşürüldü */
    right: 5px; /* 15px'den 10px'e düşürüldü */
    width: 35px;
    height: 35px;
    border: none;
    background: var(--light-gray);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: var(--dark-gray);
    transition: all 0.3s;
}

.auth-close-btn:hover {
    background: var(--medium-gray);
    transform: rotate(90deg);
}

.auth-modal-body {
    padding: 20px 30px 30px;
    overflow-y: auto;
    max-height: calc(90vh - 80px);
}

/* Tab Navigation */
.auth-tabs {
    display: flex;
    margin-bottom: 30px;
    background: var(--light-gray);
    border-radius: 12px;
    padding: 4px;
}

.auth-tab-btn {
    flex: 1;
    padding: 12px 20px;
    border: none;
    background: transparent;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    color: var(--secondary-color);
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.auth-tab-btn.active {
    background: var(--white);
    color: var(--primary-color);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.auth-tab-content {
    display: none;
}

.auth-tab-content.active {
    display: block;
    animation: fadeInUp 0.4s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.auth-content-header {
    text-align: center;
    margin-bottom: 25px;
}

.auth-content-header h2 {
    font-size: 24px;
    color: var(--dark-gray);
    margin-bottom: 8px;
}

.auth-content-header p {
    color: var(--secondary-color);
    font-size: 14px;
}

/* Google Button */
.google-btn {
    width: 100%;
    padding: 12px;
    border: 2px solid var(--medium-gray);
    background: var(--white);
    border-radius: 10px;
    cursor: pointer;
    font-weight: 500;
    color: var(--dark-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s;
    margin-bottom: 20px;
    height: 48px;
}

.google-btn:hover {
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(84, 104, 255, 0.15);
}

/* Divider */
.divider {
    text-align: center;
    margin: 20px 0;
    position: relative;
}

.divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--medium-gray);
}

.divider span {
    background: var(--white);
    padding: 0 15px;
    color: var(--secondary-color);
    font-size: 14px;
}

/* Form Styles - Hizalama düzeltmeleri */
.auth-form {
    width: 100%;
}

.form-row {
    display: flex;
    gap: 15px;
    width: 100%;
}

.form-row .form-group {
    flex: 1;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
    width: 100%;
    display: flex;
    flex-direction: column;
}

.form-group label {
    display: block;
    margin-bottom: -5px; /* 8px'den 5px'e düşürüldü */
    font-weight: 500;
    color: var(--dark-gray);
    font-size: 14px;
    flex-shrink: 0;
}

.form-group input {
    width: 100%;
    height: 48px;
    padding: 12px 15px;
    border: 2px solid var(--medium-gray);
    border-radius: 10px;
    font-size: 15px;
    transition: all 0.3s;
    background: var(--white);
    box-sizing: border-box;
    flex: 1;
    min-height: 48px;
}

.form-footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 25px;
    font-size: 14px;
    width: 100%;
    gap: 15px;
}

/* Custom Checkbox - Düzeltilmiş */
.checkbox-container {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    line-height: 1.4;
    flex: 1;
    text-align: left;
    min-height: 20px;
    gap: 10px;
    position: relative;
}

.checkbox-container input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
    margin: 0;
    padding: 0;
}

.checkmark {
    height: 18px;
    width: 18px;
    background-color: var(--light-gray);
    border-radius: 4px;
    border: 2px solid var(--medium-gray);
    transition: all 0.3s;
    flex-shrink: 0;
    margin-top: 2px;
    position: relative;
    display: inline-block;
}

.checkbox-container:hover input ~ .checkmark {
    border-color: var(--primary-color);
}

.checkbox-container input:checked ~ .checkmark {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
    left: 5px;
    top: 2px;
    width: 4px;
    height: 8px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.checkbox-container input:checked ~ .checkmark:after {
    display: block;
}

.checkbox-text {
    flex: 1;
    font-size: 13px;
    color: var(--text-color);
    line-height: 1.5;
}

.checkbox-container a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.checkbox-container a:hover {
    text-decoration: underline;
}

.submit-btn {
    width: 100%;
    height: 48px;
    padding: 12px;
    background: linear-gradient(135deg, var(--primary-color), #4558e6);
    color: var(--white);
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    box-sizing: border-box;
    margin-top: 5px;
}

/* Mobile Responsive düzeltmeleri */
@media (max-width: 768px) {
    .auth-float-btn {
        bottom: 20px;
        left: 20px;
        width: 55px;
        height: 55px;
    }

    .auth-lottie-animation {
        width: 30px;
        height: 30px;
    }

    .auth-modal {
        width: 95%;
        max-width: none;
    }

    .auth-modal-body {
        padding: 15px 20px 25px;
    }

    .form-row {
        flex-direction: column;
        gap: 0;
    }

    .form-row .form-group {
        margin-bottom: 20px;
    }

    .form-footer {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }

    .checkbox-container {
        width: 100%;
    }

    .forgot-password {
        align-self: flex-start;
    }

    .checkbox-text {
        font-size: 12px;
    }

    .checkbox-container {
        gap: 8px;
    }

    .submit-btn {
        height: 44px;
    }

    .auth-content-header h2 {
        font-size: 22px;
    }
}

/* Şifremi Unuttum Modal */
.forgot-password-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.7);
    width: 90%;
    max-width: 400px;
    max-height: 90vh;
    background: var(--white);
    border-radius: 20px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.forgot-password-modal.active {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

.forgot-step {
    display: none;
}

.forgot-step.active {
    display: block;
    animation: fadeInUp 0.4s ease;
}

/* Resend Section */
.resend-section {
    text-align: center;
    margin-bottom: 20px;
    font-size: 14px;
}

.resend-section a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.resend-section a:hover {
    text-decoration: underline;
}

/* Password Strength Indicator */
.password-strength {
    margin-bottom: 20px;
}

.strength-bar {
    width: 100%;
    height: 6px;
    background-color: var(--light-gray);
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 8px;
}

.strength-fill {
    height: 100%;
    width: 0%;
    transition: all 0.3s ease;
    border-radius: 3px;
}

.strength-fill.weak {
    width: 25%;
    background-color: #ff4757;
}

.strength-fill.fair {
    width: 50%;
    background-color: #ffa502;
}

.strength-fill.good {
    width: 75%;
    background-color: #2ed573;
}

.strength-fill.strong {
    width: 100%;
    background-color: #1e90ff;
}

.strength-text {
    font-size: 13px;
    color: var(--secondary-color);
    margin: 0;
}

/* Success Icon */
.success-icon {
    font-size: 60px;
    color: #2ed573;
    margin-bottom: 20px;
}

.success-icon i {
    animation: successPulse 0.6s ease-in-out;
}

@keyframes successPulse {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .forgot-password-modal {
        width: 95%;
        max-width: none;
    }

    .success-icon {
        font-size: 50px;
    }
}

/* Acil durum için satır içi stil */
.mobile-menu-container {
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100%;
    background: white;
    z-index: 9999;
    transition: right 0.3s;
    box-shadow: -2px 0 10px rgba(0,0,0,0.1);
    overflow-y: auto;
}

.mobile-menu-container.active {
    right: 0;
}

/* Mobil menü header */
.mobile-menu-header {
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
    background: #f8f9fa;
}

.mobile-close-btn {
    background: none;
    border: none;
    font-size: 18px;
    color: #333;
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.mobile-close-btn:hover {
    background-color: #e9ecef;
    transform: rotate(90deg);
}
