/* --- Değişkenler ve Renkler --- */
:root {
    --bg-main: #050a14;
    --bg-secondary: #0a0f1d;
    
    --primary-gradient: linear-gradient(135deg, #00c6ff 0%, #7b2cbf 100%);
    --glow-gradient: linear-gradient(90deg, #00c6ff, #9d4edd, #00c6ff);
    
    --text-light: #e2e8f0;
    --text-muted: #94a3b8;
    --accent-cyan: #00c6ff;
    --accent-purple: #9d4edd;
    
    --card-bg: rgba(20, 27, 45, 0.7);
    --card-border: rgba(255, 255, 255, 0.08);
    
    --container-xl: 1200px;
    --container-sm: 800px;
    --font-inter: 'Inter', sans-serif;
}

/* Temel Reset */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
    font-family: var(--font-inter);
    background-color: var(--bg-main);
    color: var(--text-light);
    line-height: 1.7;
    overflow-x: hidden;
}

.container {
    max-width: var(--container-xl);
    margin: 0 auto;
    padding: 0 24px;
}
.small-container { max-width: var(--container-sm); }

/* Tipografi Efektleri */
.gradient-text {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-title {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 50px;
    color: #fff;
    font-weight: 800;
}

/* --- Header --- */
.site-header {
    padding: 15px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: rgba(5, 10, 20, 0.90);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--card-border);
    transition: all 0.3s ease;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo { 
    font-size: 1.5rem; 
    font-weight: 900; 
    color: #fff; 
    letter-spacing: -0.5px; 
    text-decoration: none; 
    white-space: nowrap; /* Logo kırılmasın */
}
.logo .dot { color: var(--accent-cyan); }

nav {
    display: flex;
    align-items: center;
}

nav a {
    color: var(--text-light);
    text-decoration: none;
    margin-left: 35px;
    font-weight: 500;
    font-size: 1.2rem;
    white-space: nowrap; /* Menü linkleri kırılmasın */
    transition: all 0.3s ease;
}

nav a:hover { color: var(--accent-cyan); }

/* Animasyonlu Link */
nav a.highlight-link {
    background: linear-gradient(90deg, #00c6ff, #9d4edd, #00c6ff);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    animation: gradientMove 3s linear infinite;
}

@keyframes gradientMove {
    0% { background-position: 0% center; }
    100% { background-position: 200% center; }
}

/* --- Hero Section --- */
.hero-section {
    padding: 110px 0 80px; /* Header yüksekliği kadar pay */
    text-align: center;
    background: radial-gradient(circle at top center, rgb(13 26 60 / 60%) 0%, var(--bg-main) 70%);
}

.hero-section h1 {
    font-size: 2.5rem;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 5px;
}

.subtitle {
    color: var(--text-muted);
    font-size: 1.1rem; 
    margin-bottom: 25px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* --- Grid Yapısı --- */
.hero-content-wrapper {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 25px;
    align-items: stretch; 
    text-align: left;
    margin-top: 10px;
}

/* --- Sol Taraf: Test Alanı --- */
.test-container-glow {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 16px;
    padding: 2px;
    background: linear-gradient(
        90deg,
        var(--accent-cyan),
        var(--accent-purple),
        #ff0080,
        var(--accent-purple),
        var(--accent-cyan)
    );
    background-size: 400% 400%;
    animation: neonFlow 8s ease infinite;
    box-shadow: 0 0 25px rgba(0, 198, 255, 0.15);
    display: flex;
    z-index: 10;
}

@keyframes neonFlow {
    0% { background-position: 0% 50%; box-shadow: 0 0 25px rgba(0, 198, 255, 0.3); }
    50% { background-position: 100% 50%; box-shadow: 0 0 50px rgba(157, 78, 221, 0.5); }
    100% { background-position: 0% 50%; box-shadow: 0 0 25px rgba(0, 198, 255, 0.3); }
}

.test-wrapper {
    background: #000;
    border-radius: 14px;
    overflow: hidden;
    width: 100%;
    min-height: 420px;
    height: 100%; 
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 20;
}

/* iframe garanti stil */
.test-wrapper iframe {
    width: 100% !important;
    height: 100% !important;
    border: none !important;
    display: block !important;
}

/* --- Sağ Taraf: İpuçları Paneli --- */
.tips-panel {
    background: rgba(10, 15, 29, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 20px;
    backdrop-filter: blur(15px);
    display: flex;
    flex-direction: column;
    justify-content: center; 
    height: 100%; 
    min-height: 420px; 
}

.tips-title {
    font-size: 1rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    gap: 8px;
}

.tip-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    padding: 10px;
    border-radius: 8px;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.tip-item:last-child { margin-bottom: 0; }
.tip-item:hover { 
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
    transform: translateX(5px);
}

.tip-icon-box {
    min-width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.icon-cable { background: rgba(0, 198, 255, 0.12); color: #00c6ff; }
.icon-device { background: rgba(157, 78, 221, 0.12); color: #c77dff; }
.icon-close { background: rgba(255, 59, 48, 0.12); color: #ff5b5b; }

.tip-content h4 {
    font-size: 0.9rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 2px;
    line-height: 1.1;
}

.tip-content p {
    font-size: 0.8rem;
    color: #b0b8c4;
    line-height: 1.3;
    margin: 0;
    padding: 0;
    font-weight: 400;
    border: none;
}

/* --- Kartlar --- */
.content-section { padding: 80px 0; background: var(--bg-secondary); }

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.info-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    padding: 40px 30px;
    border-radius: 16px;
    transition: transform 0.3s, border-color 0.3s;
}

.info-card:hover { transform: translateY(-7px); border-color: var(--accent-cyan); }

.card-icon {
    margin-bottom: 20px;
    display: inline-flex;
    padding: 12px;
    border-radius: 12px;
}
.download-icon { background: rgba(0, 198, 255, 0.1); color: var(--accent-cyan); }
.upload-icon { background: rgba(157, 78, 221, 0.1); color: var(--accent-purple); }
.ping-icon { background: rgba(255, 171, 0, 0.1); color: #ffab00; }

.info-card h3 { font-size: 1.5rem; margin-bottom: 15px; color: #fff; }
.info-card p { color: var(--text-muted); font-size: 0.95rem; }

/* --- Editörün Tercihi --- */
.recommendation-section {
    padding: 80px 0;
    display: flex;
    justify-content: center;
}

.glowing-box {
    position: relative;
    max-width: 800px;
    width: 100%;
    border-radius: 20px;
    z-index: 1;
}

.glowing-box::before {
    content: '';
    position: absolute;
    top: -3px; left: -3px; right: -3px; bottom: -3px;
    background: var(--glow-gradient);
    background-size: 400%;
    z-index: -1;
    filter: blur(20px);
    opacity: 0.6;
    border-radius: 24px;
    animation: glowing 10s linear infinite;
}

@keyframes glowing {
    0% { background-position: 0 0; }
    50% { background-position: 400% 0; }
    100% { background-position: 0 0; }
}

.glow-content {
    background: rgba(5, 10, 20, 0.6); 
    padding: 50px;
    border-radius: 20px;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.1);
    backdrop-filter: blur(5px); 
}

.editor-badge {
    background: var(--accent-purple);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 30px;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
    margin-bottom: 20px;
}

.provider-name { font-size: 2.5rem; font-weight: 900; margin-bottom: 15px; }
.provider-desc { color: var(--text-light); font-size: 1.1rem; max-width: 600px; margin: 0 auto 35px;}

.btn-primary-glow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--primary-gradient);
    color: #fff;
    padding: 15px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 4px 20px rgba(123, 44, 191, 0.4);
}

.btn-primary-glow:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 198, 255, 0.5);
}
.btn-primary-glow .arrow { font-size: 1.3rem; transition: margin 0.3s; }
.btn-primary-glow:hover .arrow { margin-left: 5px; }

/* --- SSS --- */
.faq-section { padding: 80px 0 120px; background: var(--bg-secondary); }

details {
    background: var(--card-bg);
    margin-bottom: 15px;
    border-radius: 12px;
    border: 1px solid var(--card-border);
    overflow: hidden;
    transition: all 0.3s;
}
details[open] { border-color: var(--accent-purple); }

summary {
    padding: 15px 20px;
    font-weight: 600;
    cursor: pointer;
    position: relative;
    list-style: none;
    font-size: 1rem;
}
summary::after {
    content: '+';
    position: absolute;
    right: 20px;
    font-size: 1.5rem;
    color: var(--accent-cyan);
    transition: transform 0.3s;
}
details[open] summary::after { content: '-'; color: var(--accent-purple); }

details p {
    padding: 0 20px 20px;
    color: var(--text-muted);
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 15px;
    font-size: 0.95rem;
}

/* --- Footer --- */
footer {
    background: #02040a;
    padding: 50px 0;
    text-align: center;
    border-top: 1px solid var(--card-border);
}
.copyright { color: #64748b; font-size: 0.9rem; margin-top: 15px; }

/* --- SCROLL TO TOP BUTTON --- */
.scroll-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    background: rgba(10, 15, 29, 0.9);
    border: 1px solid var(--accent-cyan);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-cyan);
    z-index: 9999;
    
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    
    box-shadow: 0 0 15px rgba(0, 198, 255, 0.3);
}

.scroll-top-btn.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top-btn:hover {
    background: var(--accent-cyan);
    color: #fff;
    box-shadow: 0 0 25px rgba(0, 198, 255, 0.8);
    transform: translateY(-5px);
}

/* --- MEDIA QUERIES --- */

/* 1. Tablet ve Küçük Laptoplar (968px altı) */
@media (max-width: 968px) {
    .hero-section {
        padding-top: 100px;
        text-align: center;
    }
    
    .hero-content-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .tips-panel {
        min-height: auto;
        margin-top: 0;
    }

    /* Tıklama Sorunu Çözümü: Flex iptal, Block yap */
    .test-wrapper {
        display: block; 
        min-height: 550px; 
        height: auto;
    }
    
    .test-wrapper iframe {
        min-height: 550px;
    }

    .test-container-glow {
        animation: none;
        background: var(--primary-gradient);
    }
    
    .hero-section h1 { font-size: 2.5rem; }
    .provider-name { font-size: 2rem; }
    .glow-content { padding: 30px 20px; }
    .btn-primary-glow { width: 100%; justify-content: center; }
}

/* 2. Küçük Telefonlar (480px altı) */
@media (max-width: 480px) {
    .site-header {
        padding: 10px 0;
    }

    .header-container {
        flex-direction: column; /* Menüyü alt alta al */
        gap: 10px;
    }

    nav {
        width: 100%;
        justify-content: center;
    }

    nav a {
        margin: 0 15px;
        font-size: 1rem;
    }
    
    /* Header uzadığı için içerik aşağı itilmeli */
    .hero-section {
        padding-top: 130px; 
    }
    
    .scroll-top-btn {
        bottom: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
    }
}