/* ========================================
   CUSTOM STYLES - Inline CSS'lerden taşındı
   ======================================== */

/* Modern Color Scheme - Blue to Green */
:root {
    --color-primary: #3b82f6;
    --color-secondary: #10b981;
    --color-accent: #06b6d4;
    --gradient-hero: linear-gradient(135deg, #007bff 0%, #003d7e 100%);
    --gradient-card: #f9fafb;
}

/* Hero Section - Modern & Clean */
.modern-hero {
    background: var(--gradient-hero);
    min-height: auto;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.modern-hero::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="contact-pattern" width="20" height="20" patternUnits="userSpaceOnUse"><path d="M 20 0 L 0 0 0 20" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23contact-pattern)"/></svg>');
    opacity: 0.6;
}

@keyframes moveGrid {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    padding-top: 50px;
    padding-bottom: 50px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 30px;
    animation: fadeInDown 0.8s ease;
}

.hero-title {
    font-size: 55px;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 20px;
    animation: fadeInUp 1s ease;
}

.hero-subtitle {
    font-size: 17px;
    opacity: 0.95;
    max-width: 700px;
    margin: 0 auto 40px;
    line-height: 1.6;
    animation: fadeInUp 1.2s ease;
}

.hero-search {
    max-width: 600px;
    margin: 0 auto 30px;
    animation: fadeInUp 1.4s ease;
}

.search-box {
    display: flex;
    background: white;
    border-radius: 50px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}

.search-box input {
    flex: 1;
    border: none;
    padding: 5px 5px;
    font-size: 14px;
    outline: none;
}

.search-box button {
    padding: 15px 35px;
    background: var(--gradient-hero);
    color: white;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s;
}

.search-box button:hover {
    transform: scale(1.05);
}

.hero-tags {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    animation: fadeIn 1.6s 
ease;
    align-content: center;
    align-items: center;
}

.hero-tag {
    padding: 8px 18px;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    color: white;
    font-size: 14px;
    transition: all 0.3s;
}

.hero-tag:hover {
    background: rgba(255,255,255,0.25);
    transform: translateY(-2px);
}

/* Stats Section */
.stats-section {
    padding: 60px 0;
    background: white;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.stat-card {
    text-align: center;
    padding: 30px;
    border-radius: 20px;
    background: var(--gradient-card);
    transition: transform 0.3s;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: var(--gradient-hero);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: white;
}

.stat-number {
    font-size: 48px;
    font-weight: 700;
    background: var(--gradient-hero);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 16px;
    color: #6b7280;
    font-weight: 500;
}

/* Section Headers */
.section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: var(--gradient-hero);
    color: white;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
}

.section-title {
    font-size: 42px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 15px;
}

.section-subtitle {
    font-size: 18px;
    color: #6b7280;
    max-width: 600px;
    margin: 0 auto;
}

/* Tool Cards */
.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
}

.tool-card {
    background: white;
    border-radius: 16px;
    padding: 25px;
    border: 2px solid #f3f4f6;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.tool-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-hero);
    transform: scaleX(0);
    transition: transform 0.3s;
}

.tool-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(59,130,246,0.15);
    border-color: #3b82f6;
}

.tool-card:hover::before {
    transform: scaleX(1);
}

.tool-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.tool-logo {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    object-fit: cover;
    flex-shrink: 0;
}

.tool-logo-placeholder {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: var(--gradient-hero);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
}

.tool-name {
    font-size: 20px;
    font-weight: 700;
    color: #1f2937;
}

.tool-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 10px 0;
    font-size: 14px;
}

.stars {
    color: #fbbf24;
}

.tool-description {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 15px;
}

.tool-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid #f3f4f6;
}

.tool-category {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    color: #3b82f6;
    font-weight: 500;
}

.tool-pricing {
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
}

.tool-pricing.free {
    background: #d1fae5;
    color: #065f46;
}

.tool-pricing.freemium {
    background: #dbeafe;
    color: #1e40af;
}

.tool-pricing.paid {
    background: #fef3c7;
    color: #92400e;
}

.badge-trending {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 6px 12px;
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
    border-radius: 15px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.badge-new {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 6px 12px;
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    border-radius: 15px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

/* Categories Grid */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.category-card {
    background: white;
    border-radius: 16px;
    padding: 30px;
    border: 2px solid #f3f4f6;
    transition: all 0.3s;
    text-align: center;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(59,130,246,0.15);
    border-color: #3b82f6;
}

.category-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    border-radius: 20px;
    background: var(--gradient-hero);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: white;
}

.category-name {
    font-size: 20px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 10px;
}

.category-desc {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.5;
    margin-bottom: 15px;
}

.category-count {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    color: #3b82f6;
    font-weight: 600;
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
    background: var(--gradient-hero);
    color: white;
    text-align: center;
}

.cta-title {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 20px;
}

.cta-subtitle {
    font-size: 20px;
    opacity: 0.95;
    margin-bottom: 40px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-cta {
    padding: 18px 40px;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-primary-cta {
    background: white;
    color: #3b82f6;
}

.btn-primary-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

.btn-outline-cta {
    background: transparent;
    border: 2px solid white;
    color: white;
}

.btn-outline-cta:hover {
    background: white;
    color: #3b82f6;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInUp {
    from { 
        opacity: 0;
        transform: translateY(30px);
    }
    to { 
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from { 
        opacity: 0;
        transform: translateY(-30px);
    }
    to { 
        opacity: 1;
        transform: translateY(0);
    }
}

/* Newsletter */
.newsletter-section {
    padding: 80px 0;
    background: #f9fafb;
}

.newsletter-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.newsletter-icon {
    font-size: 64px;
    background: var(--gradient-hero);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 20px;
}

.newsletter-title {
    font-size: 42px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 15px;
}

.newsletter-text {
    font-size: 16px;
    color: #6b7280;
    margin-bottom: 30px;
}

.newsletter-form {
    display: flex;
    gap: 10px;
    max-width: 500px;
    margin: 0 auto;
    flex-direction: column;
    align-content: center;
    justify-content: center;
}

.newsletter-input {
    flex: 1;
    padding: 15px 20px;
    border: 2px solid #e5e7eb;
    border-radius: 50px;
    font-size: 16px;
    outline: none;
    transition: all 0.3s;
}

.newsletter-input:focus {
    border-color: #3b82f6;
}

.newsletter-btn {
    padding: 15px 30px;
    background: var(--gradient-hero);
    color: white;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.newsletter-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(59,130,246,0.3);
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 42px;
    }
    .section-title {
        font-size: 32px;
    }
    .newsletter-form {
        flex-direction: column;
    }
}

/* Missing utility classes */
.section {
    background: #fff;
}

.section:nth-child(even) {
    background: #f9fafb;
}

.text-center {
    text-align: center;
}

.mt-40 {
    margin-top: 40px;
}

.newsletter-section p {
    font-size: 13px;
    color: #9ca3af;
    margin-top: 15px;
}

.g-recaptcha {
    margin-top: 15px;
}

/* ============================================
   INDEX.PHP SPECIFIC OVERRIDES
   Fix for main.css conflicts
   ============================================ */

/* Force correct tool card styling on homepage */
body .section .tool-card {
    background: white !important;
    border-radius: 16px !important;
    padding: 25px !important;
    border: 2px solid #f3f4f6 !important;
    transition: all 0.3s !important;
    position: relative !important;
    overflow: hidden !important;
    display: block !important;
    text-decoration: none !important;
    color: inherit !important;
}

body .section .tool-logo-placeholder {
    width: 60px !important;
    height: 60px !important;
    border-radius: 12px !important;
    background: var(--gradient-hero) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: white !important;
    font-size: 24px !important;
    flex-shrink: 0 !important;
}

body .section .tool-logo {
    width: 60px !important;
    height: 60px !important;
    border-radius: 12px !important;
    object-fit: cover !important;
    flex-shrink: 0 !important;
}

body .section .tool-header {
    display: flex !important;
    align-items: center !important;
    gap: 15px !important;
    margin-bottom: 15px !important;
}

body .section .tool-name {
    font-size: 20px !important;
    font-weight: 700 !important;
    color: #1f2937 !important;
    margin: 0 !important;
}

body .section .tool-description {
    font-size: 14px !important;
    color: #6b7280 !important;
    line-height: 1.6 !important;
    margin-bottom: 15px !important;
}

/* Force correct category card styling on homepage */
body .section .category-card {
    background: white !important;
    border-radius: 16px !important;
    padding: 30px !important;
    border: 2px solid #f3f4f6 !important;
    transition: all 0.3s !important;
    text-align: center !important;
    display: block !important;
    text-decoration: none !important;
    color: inherit !important;
}

body .section .category-icon {
    width: 80px !important;
    height: 80px !important;
    margin: 0 auto 20px !important;
    border-radius: 20px !important;
    background: var(--gradient-hero) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 36px !important;
    color: white !important;
}

/* Modern Navigation */
.modern-nav {
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(12px);
    box-shadow: 0 2px 12px rgba(59,130,246,0.08);
    padding: 12px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(59,130,246,0.1);
}

.nav-brand-text {
    font-size: 24px;
    font-weight: 600;
    background: linear-gradient(135deg, #3b82f6 0%, #10b981 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-left: 12px;
}

.modern-nav .nav-link {
    color: #1f2937;
    font-weight: 500;
    padding: 10px 18px;
    border-radius: 8px;
    transition: all 0.3s;
    margin: 0 4px;
}

.modern-nav .nav-link:hover {
    background: linear-gradient(135deg, #eff6ff 0%, #f0fdf4 100%);
    color: #3b82f6;
}

.modern-nav .dropdown-menu {
    border: none;
    box-shadow: 0 8px 24px rgba(59,130,246,0.15);
    border-radius: 12px;
    padding: 10px;
    margin-top: 8px;
}

.modern-nav .dropdown-item {
    border-radius: 8px;
    padding: 10px 15px;
    margin: 2px 0;
    transition: all 0.2s;
}

.modern-nav .dropdown-item:hover {
    background: linear-gradient(135deg, #eff6ff 0%, #f0fdf4 100%);
    color: #3b82f6;
}

/* Modern Footer */
.modern-footer {
    background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
    color: #d1d5db;
    padding: 60px 0 20px;
}

.modern-footer h5 {
    font-weight: 700;
    background: linear-gradient(135deg, #3b82f6 0%, #10b981 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 20px;
}

.modern-footer a {
    color: #9ca3af;
    transition: all 0.3s;
}

.modern-footer a:hover {
    color: #3b82f6;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(59,130,246,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.footer-social a:hover {
    background: linear-gradient(135deg, #3b82f6 0%, #10b981 100%);
    color: white;
    transform: translateY(-3px);
}

