/* Download Detail Page Styles */

/* Hero Section */
.download-detail-hero {
    position: relative;
    min-height: auto;
    display: flex;
    align-items: center;
    padding: 100px 0 60px;
    background: linear-gradient(135deg, #0F172A 0%, #1E293B 50%, #0F172A 100%);
    overflow: hidden;
}

.download-detail-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(59, 130, 246, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(139, 92, 246, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(14, 165, 233, 0.08) 0%, transparent 70%);
    opacity: 0.8;
    z-index: 0;
}

.download-detail-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(15, 23, 42, 0.3) 1px, transparent 1px),
        linear-gradient(90deg, rgba(15, 23, 42, 0.3) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.4;
    z-index: 0;
}

.download-detail-hero::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(60px);
    z-index: 0;
}

.download-detail-hero-content {
    position: relative;
    z-index: 1;
    width: 100%;
}

.download-detail-hero .breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    flex-wrap: wrap;
}

.download-detail-hero .breadcrumb a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color var(--transition-base);
}

.download-detail-hero .breadcrumb a:hover {
    color: var(--color-accent);
}

.download-detail-hero .breadcrumb span {
    color: rgba(255, 255, 255, 0.5);
}

.download-detail-hero .breadcrumb .current {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

.download-detail-title {
    display: flex;
    align-items: baseline;
    gap: 16px;
    flex-wrap: wrap;
}

.download-detail-title .title-main {
    font-family: var(--font-heading);
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 800;
    color: white;
    line-height: 1.2;
    margin: 0;
}

.download-detail-title .title-version {
    font-family: var(--font-body);
    font-size: clamp(18px, 2.5vw, 28px);
    font-weight: 600;
    color: var(--color-accent);
    background: linear-gradient(135deg, #3B82F6 0%, #0EA5E9 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Content Section */
.download-detail-content {
    padding: 80px 0;
    background: white;
}

.download-detail-wrapper {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 60px;
    align-items: start;
}

.download-detail-visual {
    position: sticky;
    top: 120px;
}

.download-detail-icon {
    width: 160px;
    height: 160px;
    background: linear-gradient(135deg, #3B82F6 0%, #0EA5E9 50%, #8B5CF6 100%);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 
        0 20px 25px -5px rgba(59, 130, 246, 0.2),
        0 10px 10px -5px rgba(59, 130, 246, 0.1);
    transition: transform var(--transition-base);
}

.download-detail-icon:hover {
    transform: translateY(-4px) scale(1.02);
}

.download-detail-icon svg {
    width: 80px;
    height: 80px;
}

/* Info Section */
.download-detail-info {
    max-width: 800px;
}

.download-detail-header {
    margin-bottom: 32px;
}

.download-detail-name {
    font-family: var(--font-heading);
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 700;
    color: var(--color-secondary);
    margin: 0 0 16px 0;
    line-height: 1.2;
}

.download-rating {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.stars {
    display: flex;
    gap: 4px;
    align-items: center;
}

.star {
    width: 20px;
    height: 20px;
    color: #FBBF24;
    flex-shrink: 0;
}

.star.filled {
    fill: #FBBF24;
    color: #FBBF24;
}

.star:not(.filled) {
    fill: none;
    stroke: #D1D5DB;
    color: #D1D5DB;
}

.rating-text {
    font-weight: 600;
    font-size: 16px;
    color: var(--color-secondary);
}

.rating-count {
    font-size: 14px;
    color: var(--color-gray-600);
}

/* Download Button */
.download-detail-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #3B82F6 0%, #0EA5E9 100%);
    color: white;
    padding: 18px 36px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 18px;
    text-decoration: none;
    transition: all var(--transition-base);
    box-shadow: 
        0 10px 15px -3px rgba(59, 130, 246, 0.3),
        0 4px 6px -2px rgba(59, 130, 246, 0.2);
    margin-bottom: 40px;
    font-family: var(--font-body);
}

.download-detail-btn:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 20px 25px -5px rgba(59, 130, 246, 0.4),
        0 10px 10px -5px rgba(59, 130, 246, 0.2);
    background: linear-gradient(135deg, #2563EB 0%, #0284C7 100%);
}

.download-detail-btn:active {
    transform: translateY(0);
}

.download-detail-btn svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

/* Description */
.download-detail-description {
    margin-bottom: 48px;
}

.download-detail-description p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--color-gray-700);
    margin-bottom: 16px;
}

.download-detail-description .features-intro {
    font-weight: 600;
    color: var(--color-secondary);
    margin-top: 24px;
}

/* Features List */
.download-detail-features {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.feature-item {
    display: flex;
    gap: 24px;
    align-items: flex-start;
}

.feature-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: linear-gradient(135deg, #60A5FA 0%, #3B82F6 50%, #8B5CF6 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
    box-shadow: 
        0 4px 6px -1px rgba(59, 130, 246, 0.25),
        0 2px 4px -1px rgba(59, 130, 246, 0.15);
    transition: transform var(--transition-base);
}

.feature-icon:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 8px 12px -2px rgba(59, 130, 246, 0.3),
        0 4px 6px -1px rgba(59, 130, 246, 0.2);
}

.feature-icon svg {
    width: 22px;
    height: 22px;
    stroke-width: 2.5;
}

.feature-content {
    flex: 1;
    padding-top: 2px;
}

.download-detail-features .feature-title,
.feature-content .feature-title,
h3.feature-title {
    font-family: var(--font-heading) !important;
    font-size: 24px !important;
    font-weight: 800 !important;
    color: #0F172A !important;
    margin: 0 0 12px 0 !important;
    line-height: 1.3 !important;
    letter-spacing: -0.02em !important;
    opacity: 1 !important;
}

.feature-desc {
    font-size: 16px;
    line-height: 1.75;
    color: #4B5563;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .download-detail-wrapper {
        grid-template-columns: 140px 1fr;
        gap: 40px;
    }

    .download-detail-icon {
        width: 120px;
        height: 120px;
    }

    .download-detail-icon svg {
        width: 60px;
        height: 60px;
    }
}

@media (max-width: 768px) {
    .download-detail-hero {
        padding: 80px 0 40px;
    }

    .download-detail-content {
        padding: 60px 0;
    }

    .download-detail-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .download-detail-visual {
        position: static;
        display: flex;
        justify-content: center;
    }

    .download-detail-icon {
        width: 120px;
        height: 120px;
    }

    .download-detail-icon svg {
        width: 60px;
        height: 60px;
    }

    .download-detail-btn {
        width: 100%;
        justify-content: center;
        padding: 16px 32px;
        font-size: 16px;
    }

    .feature-item {
        gap: 20px;
    }

    .feature-icon {
        width: 44px;
        height: 44px;
        min-width: 44px;
    }

    .feature-icon svg {
        width: 20px;
        height: 20px;
    }

    .download-detail-features .feature-title,
    .feature-content .feature-title,
    h3.feature-title {
        font-size: 22px !important;
        color: #0F172A !important;
        font-weight: 800 !important;
    }

    .feature-desc {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .download-detail-hero .breadcrumb {
        font-size: 12px;
    }

    .download-detail-title {
        flex-direction: column;
        gap: 8px;
    }

    .download-rating {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}
.btn-four {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(135deg, #2f80ff, #4f8cff);
    border: none;
    border-radius: 14px;
    cursor: pointer;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(47, 128, 255, 0.35);
    transition: all 0.25s ease;
}

    .btn-four svg {
        stroke: #fff;
        transition: transform 0.25s ease;
    }

    /* Hover efekti */

    .btn-four:hover {
        transform: translateY(-2px);
        box-shadow: 0 12px 28px rgba(47, 128, 255, 0.45);
        background: linear-gradient(135deg, #1e6fff, #397cff);
    }

        .btn-four:hover svg {
            transform: translateY(2px);
        }

    /* Active (basma hissi) */

    .btn-four:active {
        transform: scale(0.97);
        box-shadow: 0 6px 14px rgba(47, 128, 255, 0.35);
    }

/* Mobil uyum */

@media (max-width: 576px) {
    .btn-four {
        width: 100%;
        padding: 14px 20px;
    }
}
.download-detail-info ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.download-detail-info li {
    position: relative;
    padding-left: 44px; /* ikon için boşluk */
    margin: 14px 0;
    line-height: 1.6;
}

        /* mavi kare arkaplan */
    .download-detail-info li::before {
        content: "";
        position: absolute;
        left: 0;
        top: 6px;
        width: 28px;
        height: 28px;
        border-radius: 10px;
        background: linear-gradient(135deg, #2f80ff, #6a5cff);
        box-shadow: 0 8px 18px rgba(47,128,255,.25);
    }

        /* beyaz check (SVG mask ile) */
    .download-detail-info li::after {
        content: "";
        position: absolute;
        left: 7px;
        top: 13px;
        width: 14px;
        height: 14px;
        background: #fff;
        /* SVG'yi mask olarak basıyoruz (çok temiz yöntem) */
        -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M20.285 6.709a1 1 0 0 1 0 1.414l-9.19 9.19a1 1 0 0 1-1.414 0L3.715 11.35a1 1 0 1 1 1.414-1.414l4.552 4.552 8.483-8.483a1 1 0 0 1 1.414 0z'/%3E%3C/svg%3E") no-repeat center / contain;
        mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M20.285 6.709a1 1 0 0 1 0 1.414l-9.19 9.19a1 1 0 0 1-1.414 0L3.715 11.35a1 1 0 1 1 1.414-1.414l4.552 4.552 8.483-8.483a1 1 0 0 1 1.414 0z'/%3E%3C/svg%3E") no-repeat center / contain;
    }


.downloads-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 24px;
}
.download-card {
    background: white;
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
    cursor: pointer;
}
.download-card-icon {
    width: 130px;
    height: 90px;
    margin: 0 auto 16px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}
.download-card-title {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 600;
    color: var(--color-secondary, #0F172A);
    margin: 0 0 8px;
}
.download-card-desc {
    font-size: 12px;
    color: var(--color-gray-600, #4B5563);
    margin: 0 0 16px;
    line-height: 1.5;
}
.download-card-btn {
    width: 100%;
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 600;
    color: white;
    background: linear-gradient(135deg, #3B82F6 0%, #8B5CF6 100%);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: var(--font-body);
}
h2 {
    font-family: 'Darker Grotesque', sans-serif;
    font-size: 32px;
    font-weight: 800;
    color: #0f172a;
    margin-top: 56px;
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 2px solid rgba(8, 145, 178, 0.2);
}