:root {
    /* Logo Uyumlu Renkler */
    --primary-color: #00A8E8;
    /* Logo Mavisi */
    --secondary-color: #D40055;
    /* Logo Pembesi */
    --text-color: #333333;
    --bg-color: #F8F9FA;
    --card-bg: #ffffff;
    --border-color: #E0E0E0;
    --font-family: 'Inter', sans-serif;

    /* Sade Golgeler */
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    /* Hafif gölge */
    --hover-shadow: 0 8px 24px rgba(0, 168, 232, 0.15);
    /* Mavi parıltılı gölge */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    background: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.2s;
}

ul {
    list-style: none;
}

/* Header */
/* Header */
header {
    background: #f0f4f8;
    /* Hero ile ayni ferah zemin */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    /* Cok hafif golge */
    padding: 10px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-img {
    height: 60px;
    /* Header logosu biraz daha belirgin */
    width: auto;
    display: block;
    /* Golge kaldirildi, logomuz zaten guzel */
}

.nav-links {
    display: flex;
    gap: 20px;
}

.nav-links a {
    font-weight: 600;
    color: #333;
    /* Linkler tekrar koyu */
    font-size: 1rem;
    padding: 8px 16px;
    border-radius: 20px;
    transition: all 0.3s;
}

.nav-links a:hover {
    color: var(--secondary-color);
    background: rgba(255, 255, 255, 0.8);
    /* Hoverda hafif beyaz kutu */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 4rem 1rem;
    position: relative;
    overflow: hidden;
    /* Hafif maviye calan zemin */
    background-color: #f0f4f8;
    z-index: 1;
}

/* Animated Background Effect - Guclu Renkler */
.hero::before {
    content: '';
    position: absolute;
    top: -20%;
    left: -20%;
    width: 140%;
    height: 140%;
    background: radial-gradient(circle at 50% 50%,
            rgba(0, 168, 232, 0.25) 0%,
            rgba(212, 0, 85, 0.20) 30%,
            rgba(0, 168, 232, 0.15) 60%,
            rgba(255, 255, 255, 0) 80%);
    animation: moveGradient 40s infinite linear;
    /* Yavaslatildi */
    filter: blur(60px);
    /* Renkleri yumusat ama belirgin tut */
    z-index: -2;
    opacity: 1;
}

/* Extra Blob 1 - Pembe */
.hero::after {
    content: '';
    position: absolute;
    top: 10%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(212, 0, 85, 0.25) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    filter: blur(40px);
    animation: floatBlob 25s infinite ease-in-out alternate;
    /* Yavaslatildi */
    z-index: -1;
}

/* Extra Blob 2 - Mavi (Sol altta) */
.extra-blob {
    content: '';
    position: absolute;
    bottom: -10%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 168, 232, 0.25) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    filter: blur(40px);
    animation: floatBlobOpposite 30s infinite ease-in-out alternate;
    /* Yavaslatildi */
    z-index: -1;
    pointer-events: none;
    /* Tiklamayi engellemesin */
}

@keyframes moveGradient {
    0% {
        transform: rotate(0deg) scale(1);
    }

    50% {
        transform: rotate(180deg) scale(1.1);
    }

    100% {
        transform: rotate(360deg) scale(1);
    }
}

@keyframes floatBlob {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(-30px, 30px);
    }
}

@keyframes floatBlobOpposite {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(30px, -30px);
    }
}

/* Hero Logo Responsive */
/* Hero Logo Responsive */
.hero-logo {
    height: 350px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    /* ASLA YAMULMAZ */
    display: block;
    margin: 0 auto 1.5rem auto;
}

.hero h1 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    color: #222;
    position: relative;
}

.hero p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2.5rem;
}

/* Downloader Form - Sade ve Temiz */
.downloader-box {
    background: var(--card-bg);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow);
    max-width: 800px;
    margin: 0 auto;
    border: 1px solid var(--border-color);
}

/* Features/Content */
.content-section {
    padding: 5rem 0;
    background: #fff;
    position: relative;
    z-index: 2;
    /* Hero animasyonunun ustunde kalsin */
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2rem;
    color: #222;
    font-weight: 700;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.feature-card {
    background: #ffffff;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    /* Yumusak golge */
    text-align: center;
    border: 1px solid #f0f0f0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 168, 232, 0.1);
    border-color: rgba(0, 168, 232, 0.3);
}

.feature-card h3 {
    margin: 1rem 0;
    color: #333;
    font-size: 1.3rem;
}

.feature-card p {
    color: #666;
    font-size: 1rem;
    line-height: 1.6;
}

/* Text Content Boxes (How to, Legal etc) */
.text-box {
    background: #fafafa;
    padding: 3rem;
    border-radius: 20px;
    margin: 3rem auto;
    border: 1px solid #eee;
    max-width: 900px;
}

.text-box h2 {
    color: #222;
    margin-bottom: 1.5rem;
    text-align: center;
}

.text-box ol,
.text-box ul {
    padding-left: 1.5rem;
    color: #444;
}

.text-box li {
    margin-bottom: 1rem;
    line-height: 1.7;
}

.text-box p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.input-group {
    display: flex;
    gap: 10px;
}

.input-group input {
    flex: 1;
    padding: 1rem 1.5rem;
    border: 2px solid #eee;
    border-radius: 50px;
    /* Yuvarlak hatlar */
    font-size: 1rem;
    transition: border-color 0.3s;
    background-color: #fcfcfc;
}

.input-group input:focus {
    outline: none;
    border-color: var(--primary-color);
    background-color: #fff;
}

.btn-primary {
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    /* Logo gradienti */
    color: white;
    border: none;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(212, 0, 85, 0.3);
}

/* Steps */
.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    text-align: center;
}

.step-card {
    padding: 1.5rem;
}

.step-number {
    background: var(--secondary-color);
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-bottom: 1rem;
}

/* Download Result Area */
#result {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #eee;
    display: none;
}

.video-info {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: flex-start;
    justify-content: center;
}

.video-thumb {
    width: 200px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.info-text {
    flex: 1;
    min-width: 280px;
    text-align: left;
}

.info-text h3 {
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.download-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 1.5rem;
}

.btn-download {
    display: flex;
    /* Flex duzeni */
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 1rem;
    border-radius: 8px;
    background: var(--primary-color);
    /* Mavi butonu koru */
    color: white;
    font-weight: 600;
    text-align: center;
}

.btn-download:hover {
    background: #0091ca;
    /* Koyu mavi hover */
    filter: none;
}

.btn-download.btn-mp3 {
    background: #333;
    /* Siyah mp3 butonu */
}

/* Footer */
footer {
    margin-top: auto;
    background: #f0f2f5;
    /* Hafif koyu gri arka plan */
    border-top: 1px solid #e1e4e8;
    padding: 3rem 0;
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.footer-links a {
    color: #555;
    font-weight: 500;
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--secondary-color);
    /* Hoverda pembe olsun */
}

.footer-text {
    max-width: 600px;
    margin: 0 auto;
    color: #777;
    font-size: 0.85rem;
    line-height: 1.5;
}

/* FooterLogo Hover Efekti */
footer .logo-img {
    transition: filter 0.3s, opacity 0.3s;
}

footer .logo-img:hover {
    filter: grayscale(0%) !important;
    opacity: 1 !important;
}

/* Responsive adjustment for mobiles */
@media (max-width: 768px) {
    nav {
        flex-direction: column;
        /* Alt alta diz */
        gap: 15px;
    }

    .nav-links {
        display: flex;
        /* GIZLEME! Goster */
        justify-content: center;
        gap: 20px;
        width: 100%;
        background: rgba(255, 255, 255, 0.1);
        /* Hafif transparan zemin */
        padding: 8px;
        border-radius: 50px;
    }

    .nav-links a {
        font-size: 0.9rem;
        /* Mobilde biraz kucult */
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    /* Mobil Logo Ayari */
    .hero-logo {
        height: auto;
        max-height: 250px;
        /* Mobilde max boy */
        width: 100%;
        object-fit: contain;
        /* Mobilde de oran koru */
    }

    .input-group {
        flex-direction: column;
    }

    .btn-primary {
        width: 100%;
    }

    .video-info {
        flex-direction: column;
        text-align: center;
    }

    .info-text {
        text-align: center;
        width: 100%;
    }

    .logo-img {
        height: 60px;
    }

    /* Mobilde biraz daha kucuk ama hala okunur */
}