/* ============================================
   ANASAYFA - LANDING PAGE STYLES
   ============================================ */

/* Section Background Colors - Alternating Pattern */
/* 
   Bölüm Renk Stratejisi:
   1. Hero → Turkuaz gradient (brand rengi - bold)
   2. Featured Tools → Beyaz (temiz, profesyonel)
   3. All Tools → Çok açık turkuaz (#f0fafb - subtle brand accent)
   4. Features Highlight → Beyaz (tutarlılık)
   
   Bu alternating pattern:
   - Bölümleri görsel olarak ayırır
   - Brand rengine (turkuaz) uyumludur
   - Göz yormayan, subtle geçişler sağlar
   - Professional görünüm
   - Dark mode'da da uyumludur
*/

/* ============================================ */

/* Sadece bu sayfa için top-bar margin kaldır */
.page-anasayfa .top-bar {
    margin-bottom: 0;
}

/* Landing Hero Section */
.landing-hero {
    position: relative;
    padding: 80px 20px;
    text-align: center;
    color: white;
    overflow: hidden;
    background: linear-gradient(135deg, #26bcc2 0%, #0C3A3C 100%);
}

/* Animated Gradient Background */
.landing-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        -45deg,
        #26bcc2,
        #0C3A3C,
        #1e7a7f,
        #26bcc2
    );
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
    z-index: 0;
}

/* Decorative Circles */
.landing-hero::after {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    top: -250px;
    right: -250px;
    z-index: 1;
    animation: float 20s ease-in-out infinite;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(30px, -30px) rotate(120deg); }
    66% { transform: translate(-20px, 20px) rotate(240deg); }
}

.hero-content-center {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.landing-hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.gradient-text {
    background: linear-gradient(90deg, #fff 0%, #f0f0f0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.landing-hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 40px;
    opacity: 0.95;
}

.hero-cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

.hero-cta-primary, .hero-cta-secondary {
    padding: 15px 30px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.hero-cta-primary {
    background: white;
    color: #26bcc2;
}

.hero-cta-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
}

.hero-cta-secondary {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
}

.hero-cta-secondary:hover {
    background: white;
    color: #26bcc2;
    border-color: white;
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
}

.hero-stats {
    display: flex;
    gap: 60px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-stat {
    text-align: center;
}

.hero-stat-number {
    display: block;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.hero-stat-label {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Landing Main Section */
.landing-main {
    background: transparent; /* Section'lar kendi arka planlarını kullanır */
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-main);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
}

/* Section Background Colors - Alternating Pattern */
.featured-tools-section {
    background: #ffffff;
    padding: 80px 20px;
}

.all-tools-section {
    background: #f0fafb; /* Çok açık turkuaz - subtle brand accent */
    padding: 80px 20px;
}

.features-highlight-section {
    background: #ffffff;
    padding: 80px 20px;
}

/* Featured Tools Grid - Responsive Optimized */
.featured-tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.featured-tool-card {
    background: var(--surface);
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 1px solid var(--border);
}

.featured-tool-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.featured-tool-icon {
    width: 80px;
    height: 80px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin-bottom: 25px;
}

.featured-icon-purple { background: linear-gradient(135deg, #9333EA 0%, #A855F7 100%); color: white; }
.featured-icon-blue { background: linear-gradient(135deg, #2563EB 0%, #3B82F6 100%); color: white; }
.featured-icon-green { background: linear-gradient(135deg, #059669 0%, #10B981 100%); color: white; }
.featured-icon-yellow { background: linear-gradient(135deg, #EAB308 0%, #F59E0B 100%); color: white; }
.featured-icon-red { background: linear-gradient(135deg, #DC2626 0%, #EF4444 100%); color: white; }
.featured-icon-indigo { background: linear-gradient(135deg, #6366F1 0%, #4F46E5 100%); color: white; }

.featured-tool-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-main);
}

.featured-tool-desc {
    color: var(--text-muted);
    margin-bottom: 25px;
    line-height: 1.6;
}

.featured-tool-features {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
}

.featured-tool-features li {
    padding: 8px 0;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 10px;
}

.featured-tool-features li i {
    color: #22c55e;
}

.featured-tool-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #26bcc2 0%, #0C3A3C 100%);
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.featured-tool-btn:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(38, 188, 194, 0.4);
}

/* Tool Categories */
.tool-category {
    background: var(--surface);
    border-radius: 16px;
    padding: 40px;
    margin-bottom: 30px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    border: 1px solid var(--border);
}

.category-header {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 24px;
    padding: 30px;
    margin-bottom: 40px;
    background: var(--bg-body);
    border-radius: 16px;
    border: 1px solid var(--border);
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.category-header:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    border-color: var(--primary-light);
}

.category-icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    color: white;
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.category-icon::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 22px;
    padding: 2px;
    background: linear-gradient(135deg, rgba(255,255,255,0.4), rgba(255,255,255,0.1));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s;
}

.category-header:hover .category-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
}

.category-header:hover .category-icon::before {
    opacity: 1;
}

.category-icon-rocket { 
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}
.category-icon-code { 
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}
.category-icon-image { 
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}
.category-icon-tools { 
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.category-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 5px;
    color: var(--text-main);
}

.category-desc {
    color: var(--text-muted);
}

/* Tools Grid */
.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(250px, 100%), 1fr));
    gap: 20px;
}

.tool-card {
    background: var(--bg-body);
    border-radius: 12px;
    padding: 25px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: block;
    border: 1px solid var(--border);
}

.tool-card:hover {
    background: #26bcc2;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(38, 188, 194, 0.3);
}

.tool-card:hover .tool-card-icon { color: white; }
.tool-card:hover .tool-card-title { color: white; }
.tool-card:hover .tool-card-desc { color: rgba(255,255,255,0.9); }

.tool-card-icon {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.tool-card-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-main);
    transition: all 0.3s ease;
}

.tool-card-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    transition: all 0.3s ease;
}

/* Features Highlight */
.features-highlight-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-highlight-card {
    background: var(--surface);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    border: 1px solid var(--border);
}

.feature-highlight-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.feature-highlight-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 20px;
    color: white;
}

.icon-free { background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%); }
.icon-ai { background: linear-gradient(135deg, #f59e0b 0%, #ea580c 100%); }
.icon-privacy { background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%); }
.icon-fast { background: linear-gradient(135deg, #10b981 0%, #059669 100%); }
.icon-update { background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%); }
.icon-support { background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%); }

.feature-highlight-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-main);
}

.feature-highlight-desc {
    color: var(--text-muted);
    line-height: 1.6;
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    .landing-hero {
        background: linear-gradient(135deg, #0C3A3C 0%, #0f172a 100%);
    }
    
    .landing-hero::before {
        background: linear-gradient(
            -45deg,
            #0C3A3C,
            #0f172a,
            #1e293b,
            #0C3A3C
        );
        background-size: 400% 400%;
    }
    
    /* Dark Mode Section Backgrounds */
    .featured-tools-section {
        background: #1e293b; /* Koyu gri */
    }
    
    .all-tools-section {
        background: #0f1f20; /* Çok koyu turkuaz ton */
    }
    
    .features-highlight-section {
        background: #1e293b; /* Koyu gri */
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .landing-hero-title { font-size: 2rem; }
    .landing-hero-subtitle { font-size: 1rem; }
    .hero-stats { gap: 30px; }
    .hero-stat-number { font-size: 2rem; }
    .section-title { font-size: 2rem; }
    
    .featured-tools-grid {
        gap: 20px;
    }
    
    .featured-tool-card {
        padding: 30px;
    }
    
    .tools-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .landing-hero {
        padding: 60px 16px;
    }
    
    .landing-hero-title {
        font-size: 1.75rem;
    }
    
    .landing-hero-subtitle {
        font-size: 0.95rem;
    }
    
    .hero-cta-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-cta-primary,
    .hero-cta-secondary {
        width: 100%;
        justify-content: center;
    }
    
    .hero-stats {
        gap: 20px;
    }
    
    .hero-stat-number {
        font-size: 1.75rem;
    }
    
    .featured-tool-card {
        padding: 24px;
    }
    
    .featured-tool-icon {
        width: 60px;
        height: 60px;
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .category-header {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 20px;
    }
    
    .category-icon {
        width: 60px;
        height: 60px;
        font-size: 1.8rem;
        margin: 0 auto;
    }
}