/* HostedFly Main Stylesheet 
   Version: 1.0
*/

:root {
    --primary: #4facfe;
    --secondary: #00f2fe;
    --wp-color: #21759b;
    --dark-bg: #0f172a;
    --card-bg: rgba(255, 255, 255, 0.05);
    --text-color: #e2e8f0;
    --text-muted: #94a3b8;
    --success: #10b981;
    --danger: #ef4444;
    --font-main: 'Outfit', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; scroll-behavior: smooth; }

body {
    font-family: var(--font-main);
    background-color: var(--dark-bg);
    color: var(--text-color);
    overflow-x: hidden;
    line-height: 1.6;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at top left, rgba(79, 172, 254, 0.15), transparent 40%), 
                radial-gradient(circle at bottom right, rgba(0, 242, 254, 0.1), transparent 40%);
    z-index: -1;
}

a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }
img { max-width: 100%; height: auto; }

header {
    position: fixed;
    top: 0; width: 100%;
    padding: 20px 5%;
    display: flex; justify-content: space-between; align-items: center;
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(15px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.site-logo {
    height: 35px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}
.site-logo:hover { transform: scale(1.05); }

nav ul { display: flex; gap: 30px; }
nav ul li a { font-weight: 500; font-size: 0.95rem; opacity: 0.8; position: relative; }
nav ul li a:hover { opacity: 1; color: var(--primary); }

nav ul li a::after {
    content: attr(data-tooltip);
    position: absolute; bottom: -45px; left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: rgba(15, 23, 42, 0.95);
    color: var(--primary);
    padding: 6px 14px; border-radius: 8px;
    font-size: 0.85rem; font-weight: 500;
    white-space: nowrap; opacity: 0; visibility: hidden; pointer-events: none;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
    z-index: 1000;
}
nav ul li a::before {
    content: '';
    position: absolute; bottom: -15px; left: 50%;
    transform: translateX(-50%) translateY(10px);
    border-width: 6px; border-style: solid;
    border-color: transparent transparent rgba(15, 23, 42, 0.95) transparent;
    opacity: 0; visibility: hidden;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: 1000;
}
nav ul li a:hover::after, nav ul li a:hover::before {
    opacity: 1; visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.header-buttons { display: flex; align-items: center; gap: 15px; }
.btn-login {
    border: 1px solid var(--primary);
    padding: 8px 20px; border-radius: 50px;
    color: var(--primary); font-weight: 600;
}
.btn-login:hover { background: var(--primary); color: #fff; }

.btn-panel {
    border: 1px solid rgba(255,255,255,0.3);
    padding: 8px 20px; border-radius: 50px;
    color: #fff; font-weight: 600; font-size: 0.9rem;
}
.btn-panel:hover { background: rgba(255,255,255,0.1); border-color: #fff; }

.hamburger { display: none; font-size: 1.8rem; color: #fff; cursor: pointer; }
.mobile-menu {
    position: fixed; top: 70px; left: 0; width: 100%;
    background: rgba(15, 23, 42, 0.98);
    backdrop-filter: blur(20px);
    padding: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    display: none; flex-direction: column; gap: 15px;
    text-align: center; z-index: 999;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}
.mobile-menu a {
    color: #fff; font-size: 1.1rem; font-weight: 500;
    padding: 10px; border-radius: 10px; transition: 0.3s;
}
.mobile-menu a:hover { background: rgba(255,255,255,0.1); color: var(--primary); }

.hero {
    height: 100vh;
    display: flex; align-items: center; justify-content: center;
    text-align: center; padding: 0 20px;
    position: relative;
}
.hero-content { max-width: 800px; z-index: 2; }
.badge {
    background: rgba(79, 172, 254, 0.1);
    color: var(--secondary);
    padding: 5px 15px; border-radius: 20px;
    font-size: 0.9rem; font-weight: 600;
    display: inline-block; margin-bottom: 20px;
    border: 1px solid rgba(79, 172, 254, 0.3);
}
.hero h1 {
    font-size: 3.5rem; line-height: 1.2; margin-bottom: 20px;
    background: linear-gradient(to right, #fff, #94a3b8);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.cta-btn {
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    color: #fff;
    padding: 15px 40px; border-radius: 50px;
    font-weight: 700; font-size: 1.1rem;
    box-shadow: 0 10px 30px rgba(79, 172, 254, 0.4);
    display: inline-block; margin-top: 50px;
}
.cta-btn:hover { transform: translateY(-3px); box-shadow: 0 15px 40px rgba(79, 172, 254, 0.6); }

.domain-search-section {
    padding: 60px 20px;
    background: rgba(15, 23, 42, 0.6);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    text-align: center; position: relative; margin-top: -50px; z-index: 10;
}
.domain-container { max-width: 900px; margin: 0 auto; }
.domain-title { font-size: 2rem; color: #fff; margin-bottom: 10px; }
.domain-subtitle { color: var(--text-muted); margin-bottom: 30px; }

.domain-form {
    display: flex;
    background: rgba(255,255,255,0.1);
    padding: 10px; border-radius: 50px;
    border: 1px solid rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
    margin-bottom: 30px; position: relative;
}
.domain-form input {
    flex: 1; background: transparent; border: none; outline: none;
    padding: 10px 20px; color: #fff; font-size: 1.1rem;
    font-family: var(--font-main);
}
.domain-form input::placeholder { color: #cbd5e1; opacity: 0.7; }
.domain-form button {
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border: none; color: #fff;
    padding: 12px 40px; border-radius: 40px;
    font-weight: 700; font-size: 1rem;
    cursor: pointer; transition: 0.3s;
    font-family: var(--font-main); white-space: nowrap;
}
.domain-form button:hover { transform: scale(1.05); box-shadow: 0 0 20px rgba(79, 172, 254, 0.5); }
.clear-btn {
    position: absolute; right: 160px; top: 50%;
    transform: translateY(-50%);
    color: #cbd5e1; cursor: pointer;
    font-size: 1.2rem; padding: 10px; transition: 0.3s; z-index: 5;
}
.clear-btn:hover { color: #fff; }

.domain-results-container { max-width: 800px; margin: 0 auto 40px; display: flex; flex-direction: column; gap: 15px; }
.domain-row {
    display: flex; justify-content: space-between; align-items: center;
    background: rgba(255, 255, 255, 0.05);
    padding: 15px 25px; border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: 0.3s;
}
.domain-row:hover { background: rgba(255, 255, 255, 0.08); }
.d-name { font-size: 1.1rem; font-weight: 600; color: #fff; display: flex; align-items: center; gap: 10px; }
.d-status.available i { color: var(--success); }
.d-status.taken i { color: var(--danger); }

.btn-buy {
    background: var(--success); color: #fff;
    padding: 8px 20px; border-radius: 20px;
    font-size: 0.9rem; font-weight: 600;
    border: none; cursor: pointer;
}
.btn-buy:hover { background: #059669; }
.btn-whois {
    background: transparent; border: 1px solid rgba(255,255,255,0.3);
    color: #cbd5e1; padding: 6px 15px; border-radius: 20px;
    font-size: 0.85rem; transition: 0.3s; cursor: pointer;
}
.btn-whois:hover { border-color: #fff; color: #fff; }

.tld-list { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; }
.tld-item {
    background: rgba(255,255,255,0.05);
    padding: 10px 25px; border-radius: 30px;
    border: 1px solid rgba(255,255,255,0.1);
    font-weight: 700; font-size: 1.1rem; color: #fff;
    transition: 0.3s; cursor: default; letter-spacing: 1px;
}
.tld-item:hover { background: rgba(255,255,255,0.1); transform: translateY(-3px); }
.tld-item.featured {
    background: rgba(79, 172, 254, 0.2);
    border-color: var(--primary);
    box-shadow: 0 0 15px rgba(79, 172, 254, 0.3);
}

.section-padding { padding: 100px 5%; }
.section-title { font-size: 2.5rem; margin-bottom: 1rem; color: #fff; text-align: center; }
.section-subtitle { color: var(--text-muted); margin-bottom: 40px; text-align: center; }

.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.feature-card {
    background: var(--card-bg); padding: 40px;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.05);
    transition: 0.3s;
}
.feature-icon {
    font-size: 2rem; color: var(--secondary);
    margin-bottom: 20px;
    background: rgba(0, 242, 254, 0.1);
    width: 60px; height: 60px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 12px;
}

.pricing-toggle-container { display: flex; justify-content: center; align-items: center; gap: 15px; margin-bottom: 50px; }
.toggle-label { font-size: 1.1rem; font-weight: 600; color: #fff; }
.discount-badge { font-size: 0.75rem; background: #eab308; color: #000; padding: 2px 8px; border-radius: 10px; margin-left: 5px; vertical-align: middle; }

.switch { position: relative; display: inline-block; width: 60px; height: 34px; }
.switch input { opacity: 0; width: 0; height: 0; }
.slider { position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0; background-color: rgba(255,255,255,0.1); transition: .4s; border-radius: 34px; }
.slider:before { position: absolute; content: ""; height: 26px; width: 26px; left: 4px; bottom: 4px; background-color: white; transition: .4s; border-radius: 50%; }
input:checked + .slider { background-color: var(--primary); }
input:checked + .slider:before { transform: translateX(26px); }

.pricing-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px; max-width: 1200px; margin: 0 auto;
    padding-top: 25px !important;
}
.price-card {
    background: var(--card-bg); padding: 40px;
    border-radius: 24px;
    border: 1px solid rgba(255,255,255,0.05);
    position: relative; transition: 0.3s;
    display: flex; flex-direction: column;
}
.price-card.popular {
    background: linear-gradient(145deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02));
    border: 1px solid var(--primary);
    transform: scale(1.05); z-index: 2;
    box-shadow: 0 0 30px rgba(79, 172, 254, 0.2);
}
.popular-tag {
    position: absolute; top: -15px; right: 20px;
    background: var(--primary); color: #fff;
    padding: 5px 15px; border-radius: 20px;
    font-size: 0.8rem; font-weight: 700;
}
.price-header h3 { font-size: 1.4rem; color: #fff; margin-bottom: 10px; }
.price-wrapper { height: 60px; display: flex; align-items: baseline; margin-bottom: 20px; }
.price { font-size: 2.5rem; font-weight: 800; color: #fff; transition: all 0.3s ease; }
.price span { font-size: 1rem; color: var(--text-muted); font-weight: 400; margin-left: 5px;}
.price-features { list-style: none; margin: 30px 0; flex-grow: 1; }
.price-features li { margin-bottom: 15px; color: #cbd5e1; display: flex; align-items: center; gap: 10px; font-size: 0.95rem; }
.price-features li i { color: var(--secondary); }
.price-btn {
    width: 100%; padding: 15px; border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.2);
    background: transparent; color: #fff;
    font-weight: 600; cursor: pointer; transition: 0.3s;
    text-align: center;
}
.price-card.popular .price-btn { background: var(--primary); border-color: var(--primary); }
.price-btn:hover { background: #fff; color: #000; }

#wordpress { background: rgba(0,0,0,0.2); padding-bottom: 150px !important; }

.faq-container { max-width: 800px; margin: 0 auto; }
.faq-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 15px; margin-bottom: 15px;
    overflow: hidden; transition: 0.3s;
}
.faq-item:hover { border-color: var(--primary); background: rgba(255, 255, 255, 0.05); }
.faq-toggle {
    width: 100%; background: transparent; border: none;
    padding: 20px; text-align: left;
    color: #fff; font-size: 1.1rem; font-weight: 600;
    font-family: var(--font-main); cursor: pointer;
    display: flex; justify-content: space-between; align-items: center;
}
.faq-toggle i { color: var(--primary); transition: 0.3s; }
.faq-toggle.active i { transform: rotate(45deg); color: var(--danger); }
.faq-answer {
    max-height: 0; overflow: hidden;
    transition: max-height 0.3s ease-out;
    padding: 0 20px; color: #cbd5e1;
    font-size: 0.95rem; line-height: 1.6;
}
.faq-answer.open { padding-bottom: 10px !important;}

.tech-bar {
    background: rgba(15, 23, 42, 0.95);
    border-top: 1px solid rgba(255,255,255,0.05);
    padding: 15px 5%; font-size: 0.9rem; color: var(--text-muted);
}
.tech-container {
    max-width: 1200px; margin: 0 auto;
    display: flex; justify-content: space-between; align-items: center;
    flex-wrap: wrap; gap: 20px;
}
.ns-info { display: flex; align-items: center; gap: 15px; }
.ns-label { font-weight: 600; color: #fff; }
.ns-addr {
    background: rgba(255,255,255,0.05);
    padding: 4px 10px; border-radius: 6px;
    font-family: monospace; color: var(--primary); user-select: all;
}
.server-status {
    display: flex; align-items: center; gap: 10px;
    font-weight: 600; background: rgba(0,0,0,0.2);
    padding: 5px 15px; border-radius: 20px;
}
.status-text { color: #cbd5e1; font-size: 0.85rem; }
.status-dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.status-dot.loading { background-color: #64748b; }
.status-dot.online { background-color: var(--success); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); animation: pulse-green 2s infinite; }
.status-dot.offline { background-color: var(--danger); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7); animation: pulse-red 2s infinite; }

@keyframes pulse-green { 0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); } 70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(16, 185, 129, 0); } 100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); } }
@keyframes pulse-red { 0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7); } 70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(239, 68, 68, 0); } 100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); } }

footer {
    padding: 60px 5% 20px;
    background: #0b1120;
    border-top: 1px solid rgba(255,255,255,0.05);
    text-align: center;
}
.footer-text { color: #64748b; font-size: 0.85rem; }
.footer-links { margin: 15px 0; }
.footer-links a { margin: 0 10px; color: var(--text-muted); font-size: 0.9rem; transition: 0.3s; }
.footer-links a:hover { color: var(--primary); }
.copyright { margin-top: 15px; color: var(--text-muted); font-size: 0.9rem; }

.modal-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.8); backdrop-filter: blur(5px);
    z-index: 9999; display: none; justify-content: center; align-items: center;
}
.modal-content {
    background: #0f172a; border: 1px solid rgba(255, 255, 255, 0.1);
    width: 90%; max-width: 600px; max-height: 80vh;
    border-radius: 15px; box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    display: flex; flex-direction: column; animation: zoomIn 0.3s ease;
}
@keyframes zoomIn { from {transform: scale(0.9); opacity: 0;} to {transform: scale(1); opacity: 1;} }
.modal-header { padding: 20px; border-bottom: 1px solid rgba(255, 255, 255, 0.1); display: flex; justify-content: space-between; align-items: center; }
.modal-header h3 { margin: 0; color: var(--primary); font-size: 1.2rem; }
.close-modal { font-size: 2rem; cursor: pointer; color: #fff; line-height: 20px; }
.close-modal:hover { color: var(--danger); }
.modal-body { padding: 20px; overflow-y: auto; background: #0b1120; }
#whoisText { white-space: pre-wrap; font-family: 'Courier New', monospace; font-size: 0.85rem; color: #cbd5e1; line-height: 1.4; }
.modal-footer { padding: 15px; text-align: right; border-top: 1px solid rgba(255, 255, 255, 0.1); }
.modal-footer button {
    background: rgba(255, 255, 255, 0.1); border: none;
    color: #fff; padding: 10px 25px; border-radius: 20px; cursor: pointer;
}
.modal-footer button:hover { background: rgba(255, 255, 255, 0.2); }

@media (max-width: 1024px) {
    .pricing-grid {
        display: flex !important; overflow-x: auto;
        scroll-snap-type: x mandatory; gap: 20px;
        padding-bottom: 40px; margin-left: -20px; margin-right: -20px;
        padding-left: 20px; padding-right: 20px; scrollbar-width: none;
        padding-top: 30px !important;
    }
    .pricing-grid::-webkit-scrollbar { display: none; }
    .price-card { min-width: 85vw; flex: 0 0 auto; scroll-snap-align: center; }
    .price-card.popular { transform: scale(1); }
    .domain-form { flex-direction: column; padding: 20px; }
    .domain-form input { width: 100%; margin-bottom: 15px; text-align: center; }
    .domain-form button { width: 100%; }
    .clear-btn { right: 20px; top: 30%; }
}

@media (max-width: 768px) {
    .hero h1 { font-size: 2.5rem; }
    .desktop-nav, .header-buttons { display: none !important; }
    .hamburger { display: block; }
    .tech-container { flex-direction: column; text-align: center; }
    .ns-info { flex-direction: column; gap: 5px; }
    .d-action .btn-buy, .d-action .btn-whois { padding: 6px 15px; font-size: 0.85rem; }
    .domain-row { padding: 15px; }
    .d-name { font-size: 1rem; }
    .site-logo { height: 30px; }
}

@media (min-width: 600px) and (max-width: 1024px) {
    .price-card { min-width: 45vw; }
}

        /* BUTON STİLLERİ */
        .auth-buttons {
            display: flex;
            align-items: center;
            gap: 10px;
        }
        
        .btn-auth-login {
            color: #cbd5e1;
            font-weight: 600;
            font-size: 0.95rem;
            padding: 8px 15px;
            transition: 0.3s;
            display: flex;
            align-items: center;
            gap: 8px;
        }
        .btn-auth-login:hover { color: #fff; }

        .btn-auth-register {
            background: linear-gradient(90deg, #4facfe 0%, #00f2fe 100%);
            color: #fff;
            font-weight: 700;
            font-size: 0.9rem;
            padding: 10px 25px;
            border-radius: 50px;
            box-shadow: 0 4px 15px rgba(79, 172, 254, 0.4);
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            gap: 8px;
            border: 1px solid transparent;
        }
        .btn-auth-register:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(79, 172, 254, 0.6);
            background: linear-gradient(90deg, #00f2fe 0%, #4facfe 100%);
        }

        .user-menu-btn {
            background: rgba(255, 255, 255, 0.1);
            border: 1px solid rgba(255, 255, 255, 0.2);
            color: #fff;
            padding: 8px 20px;
            border-radius: 30px;
            display: flex;
            align-items: center;
            gap: 10px;
            font-weight: 600;
            transition: 0.3s;
        }
        .user-menu-btn:hover {
            background: rgba(255, 255, 255, 0.2);
            border-color: #fff;
        }
        
        .logout-icon {
            color: #ef4444;
            font-size: 1.1rem;
            margin-left: 10px;
            cursor: pointer;
            transition: 0.3s;
        }
        .logout-icon:hover { transform: scale(1.1); }

        /* MOBİL DÜZENLEMELERİ */
        @media (max-width: 768px) {
            /* Mobilde butonları GİZLE */
            .auth-buttons, .header-buttons {
                display: none !important;
            }
            /* Hamburger ikonunu GÖSTER ve en öne getir */
            .hamburger {
                display: block !important;
                z-index: 99999;
                position: relative;
                cursor: pointer;
            }
            /* Menü açıldığında stiller */
            .mobile-menu {
                display: none; /* JS ile flex yapılacak */
                position: fixed;
                top: 70px; /* Header yüksekliği kadar boşluk */
                left: 0;
                width: 100%;
                background: rgba(15, 23, 42, 0.98);
                backdrop-filter: blur(20px);
                padding: 20px;
                border-bottom: 1px solid rgba(255,255,255,0.1);
                flex-direction: column;
                gap: 15px;
                text-align: center;
                z-index: 99998;
                box-shadow: 0 10px 30px rgba(0,0,0,0.5);
            }
        }