@charset "UTF-8";

:root {
    --primary: #4f46e5;
    --primary-hover: #4338ca;
    --secondary: #3b82f6;
    --secondary-hover: #2563eb;
    --bg-color: #f8fafc;
    --surface: #ffffff;
    --text-main: #0f172a;
    --text-muted: #475569;
    --border: #e2e8f0;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --radius: 16px;
    --container: 1200px;
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Inter', sans-serif; }
body {
    background-color: var(--bg-color); color: var(--text-main);
    line-height: 1.6; user-select: none; -webkit-user-select: none;
    overflow-x: hidden; display: flex; flex-direction: column; min-height: 100vh;
}
main { flex: 1; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 1.5rem; }

/* Section Spacing */
section { padding: 6rem 0; }
.section-title { text-align: center; margin-bottom: 3rem; }
.section-title h2 { font-size: 2.5rem; font-weight: 800; margin-bottom: 1rem; color: var(--text-main); }
.section-title p { color: var(--text-muted); max-width: 600px; margin: 0 auto; font-size: 1.1rem; }

/* Buttons */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
    padding: 0.75rem 1.5rem; border-radius: 50px; font-weight: 600; font-size: 1rem;
    cursor: pointer; transition: all 0.3s ease; border: none; outline: none; white-space: nowrap;
}
.btn-primary { background: linear-gradient(135deg, var(--primary), var(--secondary)); color: white; box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(79, 70, 229, 0.4); }
.btn-outline { background: transparent; color: var(--text-main); border: 2px solid var(--border); }
.btn-outline:hover { background: white; border-color: var(--primary); color: var(--primary); }

/* Navbar */
.navbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    background: rgba(255, 255, 255, 0.9); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border);
    padding: 1rem 0;
}
.navbar .container { display: flex; justify-content: space-between; align-items: center; max-width: 1500px; padding: 0 1.5rem; }
.logo { font-size: 1.5rem; font-weight: 900; background: linear-gradient(135deg, var(--primary), var(--secondary)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; display: flex; align-items: center; gap: 0.5rem; white-space: nowrap; }

/* Navbar Desktop Butonları */
.nav-actions { display: flex; gap: 0.7rem; align-items: center; flex-wrap: nowrap; }
.nav-actions a.btn { padding: 0.5rem 0.85rem; font-size: 0.9rem; }
.wallet-badge { display: flex; background: #ecfdf5; border: 1px solid #10b981; border-radius: 50px; padding: 0.5rem 0.85rem; color: #047857; font-weight: 600; font-size: 0.9rem; align-items: center; gap: 0.5rem; white-space: nowrap; }
.btn-logout { border-color: #fee2e2 !important; color: #ef4444 !important; background: #fef2f2 !important; }

/* Hero Section */
.hero { padding: 10rem 0 6rem; position: relative; text-align: center; }
.hero::before { content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 80vw; height: 80vw; background: radial-gradient(circle, rgba(79,70,229,0.1) 0%, rgba(255,255,255,0) 70%); z-index: -1; pointer-events: none; }
.hero h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); font-weight: 900; line-height: 1.1; margin-bottom: 1.5rem; letter-spacing: -0.03em; }
.hero h1 span { background: linear-gradient(135deg, var(--primary), var(--secondary)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.hero p { font-size: 1.2rem; color: var(--text-muted); max-width: 700px; margin: 0 auto 2.5rem; }
.hero-actions { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; }

/* How it Works */
.hiw-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; margin-bottom: 4rem; }
.hiw-card { background: var(--surface); padding: 2.5rem; border-radius: var(--radius); box-shadow: var(--shadow-md); position: relative; border: 1px solid var(--border); transition: transform 0.3s ease; }
.hiw-card:hover { transform: translateY(-5px); border-color: var(--primary); }
.hiw-icon { width: 60px; height: 60px; background: rgba(79, 70, 229, 0.1); color: var(--primary); border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 1.8rem; margin-bottom: 1.5rem; }
.hiw-card h3 { font-size: 1.3rem; margin-bottom: 1rem; font-weight: 700; }
.hiw-card p { color: var(--text-muted); font-size: 0.95rem; }

.steps-bar { display: flex; justify-content: center; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; }
.step-badge { background: white; padding: 0.8rem 1.5rem; border-radius: 50px; font-weight: 600; font-size: 0.9rem; box-shadow: var(--shadow-sm); border: 1px solid var(--border); display: flex; align-items: center; gap: 0.5rem; color: var(--text-muted); }
.step-badge i { color: var(--primary); }

/* Services */
.services { background: var(--surface); }
.service-card { background: var(--bg-color); border: 1px solid var(--border); padding: 3rem; border-radius: var(--radius); text-align: center; transition: all 0.3s; }
.service-card:hover { transform: translateY(-5px); border-color: var(--primary); box-shadow: var(--shadow-lg); }

/* Statistics / Why Choose Us */
.stats-wrapper { display: flex; justify-content: center; gap: 4rem; flex-wrap: wrap; margin-top: 4rem; }
.stat-item { text-align: center; }
.stat-number { font-size: 3.5rem; font-weight: 900; background: linear-gradient(135deg, var(--primary), var(--secondary)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; line-height: 1; }
.stat-label { font-size: 1.1rem; font-weight: 600; color: var(--text-muted); margin-top: 0.5rem; }

/* Advantages Grid */
.adv-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.adv-card { background: white; padding: 2rem; border-radius: var(--radius); border: 1px solid var(--border); display: flex; gap: 1rem; align-items: flex-start; transition: transform 0.3s ease; }
.adv-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--secondary); }
.adv-icon { font-size: 1.5rem; color: var(--primary); }
.adv-card h4 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.adv-card p { font-size: 0.9rem; color: var(--text-muted); }

/* Testimonials */
.testimonials { background: var(--surface); }
.test-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2rem; }
.test-card { background: var(--bg-color); padding: 2rem; border-radius: var(--radius); position: relative; transition: transform 0.3s ease; border: 1px solid transparent; }
.test-card:hover { transform: translateY(-5px); border-color: var(--border); box-shadow: var(--shadow-sm); }
.test-card::before { content: '\f10d'; font-family: 'FontAwesome'; position: absolute; top: 1.5rem; right: 2rem; font-size: 2rem; color: rgba(79, 70, 229, 0.1); }
.test-author { font-weight: 700; margin-bottom: 1rem; color: var(--primary); display: flex; align-items: center; gap: 0.5rem; }
.test-text { color: var(--text-muted); font-size: 0.95rem; font-style: italic; }

/* FAQ - Düzeltilmiş Animasyonlu Sürüm */
.faq-container { max-width: 800px; margin: 0 auto; }
.faq-item { background: white; border: 1px solid var(--border); border-radius: 12px; margin-bottom: 1rem; overflow: hidden; transition: all 0.3s ease; }
.faq-item:hover { border-color: var(--primary); }
.faq-q { padding: 1.5rem; font-weight: 600; cursor: pointer; display: flex; justify-content: space-between; align-items: center; transition: background 0.3s ease; }
.faq-q:hover { background: #f8fafc; }
.faq-q i { transition: transform 0.4s ease; color: var(--text-muted); }
.faq-a { 
    max-height: 0; 
    padding: 0 1.5rem; 
    color: var(--text-muted); 
    font-size: 0.95rem; 
    transition: all 0.4s ease; 
    opacity: 0; 
    overflow: hidden; 
}
.faq-item.active { box-shadow: var(--shadow-md); border-color: var(--primary); }
.faq-item.active .faq-a { 
    max-height: 500px; 
    padding: 0 1.5rem 1.5rem; 
    opacity: 1; 
}
.faq-item.active .faq-q i { transform: rotate(180deg); color: var(--primary); }

/* Internal Pages specific CSS */
.page-container { max-width: 800px; margin: 8rem auto 4rem; padding: 3rem; background: white; border-radius: 16px; box-shadow: var(--shadow-sm); border: 1px solid var(--border); }
.page-container h1 { color: var(--text-main); margin-bottom: 1.5rem; font-size: 2rem; border-bottom: 2px solid var(--border); padding-bottom: 1rem;}
.page-container h2 { font-size: 1.25rem; color: #1e293b; margin-top: 2rem; margin-bottom: 1rem; }
.page-container p, .page-container ul { margin-bottom: 1.5rem; color: var(--text-muted); font-size: 1.05rem; }
.page-container ul { padding-left: 1.5rem; }
.page-container li { margin-bottom: 0.5rem; }
.back-btn { display: inline-flex; align-items:center; gap: 0.5rem; margin-bottom: 2rem; color: var(--primary); font-weight: 600; }
.back-btn:hover { color: var(--primary-hover); text-decoration: underline;}

/* Auth Pages (Giriş / Kayıt) */
.auth-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 80px);
    padding: 2rem;
    margin-top: 60px;
    background: radial-gradient(circle at center, rgba(79,70,229,0.05) 0%, rgba(255,255,255,0) 100%);
}
.auth-card {
    background: white;
    width: 100%;
    max-width: 450px;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}
.auth-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
}
.auth-header { text-align: center; margin-bottom: 2.5rem; }
.auth-header h1 { font-size: 1.8rem; font-weight: 800; color: var(--text-main); margin-bottom: 0.5rem; }
.auth-header p { color: var(--text-muted); font-size: 0.95rem; }

.auth-form .form-group { margin-bottom: 1.5rem; position: relative; }
.auth-form label { display: block; margin-bottom: 0.5rem; font-weight: 600; font-size: 0.9rem; color: var(--text-main); }
.auth-form input { 
    width: 100%; 
    padding: 0.85rem 1rem 0.85rem 2.8rem; 
    border: 1px solid var(--border); 
    border-radius: 12px; 
    font-size: 1rem; 
    transition: all 0.3s; 
    background: var(--bg-color);
}
.auth-form input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px rgba(79,70,229,0.1); background: white; }
.auth-form .input-icon { position: absolute; left: 1rem; top: 2.3rem; color: var(--text-muted); }
.auth-form .btn { width: 100%; padding: 1rem; border-radius: 12px; font-size: 1.05rem; margin-top: 1rem; }

.auth-footer { margin-top: 2rem; text-align: center; font-size: 0.95rem; color: var(--text-muted); }
.auth-footer a { color: var(--primary); font-weight: 600; }
.auth-footer a:hover { text-decoration: underline; }

/* Dashboard Layout */
.dashboard-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 2rem; align-items: start; }
@media (max-width: 992px) { .dashboard-grid { grid-template-columns: 1fr; } }
.dash-panel { background: white; border-radius: var(--radius); border: 1px solid var(--border); box-shadow: var(--shadow-sm); margin-bottom: 2rem; overflow: hidden; }
.dash-panel-header { background: #f8fafc; padding: 1rem 1.5rem; border-bottom: 1px solid var(--border); display: flex; align-items: center; gap: 1rem; }
.step-num { width: 32px; height: 32px; background: var(--primary); color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1.1rem; }
.dash-panel-header h2 { font-size: 1.2rem; font-weight: 700; margin: 0; color: var(--text-main); }
.dash-panel-body { padding: 1.5rem; }

/* Dashboard Search */
.search-box { position: relative; margin-bottom: 1rem; }
.search-box i { position: absolute; left: 1rem; top: 1rem; color: var(--text-muted); }
.search-box input { width: 100%; padding: 0.8rem 1rem 0.8rem 2.8rem; border: 1px solid var(--border); border-radius: 12px; font-size: 0.95rem; background: var(--bg-color); transition: all 0.3s; }
.search-box input:focus { outline: none; border-color: var(--primary); background: white; box-shadow: 0 0 0 3px rgba(79,70,229,0.1); }

/* Service & Country Lists */
.selection-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 1rem; max-height: 300px; overflow-y: auto; padding-right: 0.5rem; }
.selection-list::-webkit-scrollbar { width: 6px; }
.selection-list::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 10px; }
.sel-item { background: var(--bg-color); border: 1px solid var(--border); padding: 1rem; border-radius: 12px; cursor: pointer; transition: all 0.2s; display: flex; align-items: center; gap: 0.8rem; }
.sel-item:hover, .sel-item.selected { border-color: var(--primary); background: #f0fdf4; box-shadow: var(--shadow-sm); }
.sel-icon { font-size: 1.5rem; color: var(--text-muted); }
.sel-item.selected .sel-icon { color: var(--primary); }
.sel-details { flex: 1; }
.sel-name { font-weight: 600; font-size: 0.95rem; color: var(--text-main); }
.sel-sub { font-size: 0.8rem; color: var(--text-muted); margin-top: 0.2rem; display: flex; justify-content: space-between; }
.sel-price { font-weight: 700; color: #10b981; }

/* Live Feed Sidebar */
.live-feed-panel { background: white; border-radius: var(--radius); border: 1px solid var(--border); box-shadow: var(--shadow-md); overflow: hidden; }
.live-header { background: linear-gradient(135deg, #0f172a, #1e293b); color: white; padding: 1.5rem; text-align: center; }
.live-header h3 { margin: 0 0 0.5rem 0; font-size: 1.2rem; font-weight: 700; display: flex; align-items: center; justify-content: center; gap: 0.5rem; }
.live-header p { font-size: 0.85rem; color: #94a3b8; margin: 0; }
.live-list { max-height: 600px; overflow-y: auto; }
.live-list::-webkit-scrollbar { width: 4px; }
.live-list::-webkit-scrollbar-thumb { background: #e2e8f0; }
.live-item { padding: 1rem 1.5rem; border-bottom: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; transition: background 0.3s; }
.live-item:hover { background: #f8fafc; }
.live-info { display: flex; align-items: center; gap: 1rem; }
.live-flag { font-size: 1.8rem; }
.live-app { font-weight: 600; color: var(--text-main); font-size: 0.95rem; margin-bottom: 0.2rem; }
.live-country { font-size: 0.8rem; color: var(--text-muted); }
.live-time { font-size: 0.75rem; color: #94a3b8; text-align: right; }
.live-check { color: #10b981; font-size: 1.1rem; margin-top: 0.3rem; }

/* Dashboard Info Cards */
.dash-info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.5rem; margin-top: 2rem; margin-bottom: 3rem; }
.info-card { background: white; border: 1px solid var(--border); border-radius: var(--radius); padding: 2rem; }
.info-card h4 { font-size: 1.1rem; color: var(--text-main); margin-bottom: 0.8rem; font-weight: 700; }
.info-card p { font-size: 0.95rem; color: var(--text-muted); }

/* Footer */
footer { background: #0f172a; color: white; padding: 5rem 0 2rem; margin-top: auto; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 4rem; margin-bottom: 3rem; }
.footer-col h4 { font-size: 1.2rem; font-weight: 700; margin-bottom: 1.5rem; color: white; }
.footer-col p { color: #94a3b8; font-size: 0.95rem; line-height: 1.8; }
.footer-col ul li { margin-bottom: 0.8rem; }
.footer-col ul li a { color: #94a3b8; transition: color 0.3s; font-size: 0.95rem; }
.footer-col ul li a:hover { color: var(--secondary); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 2rem; text-align: center; color: #64748b; font-size: 0.9rem; }

/* Hamburger Menu */
.hamburger { display: none; font-size: 1.5rem; cursor: pointer; color: var(--text-main); }

@media (max-width: 992px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; } }

@media (max-width: 1200px) {
    .hamburger { display: block; }
    .navbar .container { flex-direction: row; justify-content: space-between; padding-bottom: 0; flex-wrap: nowrap; }
    
    /* Hamburger Menü Yapısı */
    .nav-actions { 
        position: fixed; top: 70px; right: -100%; width: 250px; height: calc(100vh - 70px);
        background: white; flex-direction: column; gap: 0.5rem; padding: 1.5rem;
        box-shadow: -5px 0 15px rgba(0,0,0,0.05); transition: right 0.3s ease-in-out;
        justify-content: flex-start; z-index: 999; align-items: stretch;
    }
    .nav-actions.active { right: 0; }
    
    /* Hamburger menü içindeki butonlar */
    .nav-actions a.btn span { display: inline; }
    .nav-actions a.btn { padding: 0.8rem 1rem !important; border-radius: 12px !important; justify-content: flex-start; text-align: left; }
    .wallet-badge { justify-content: center; margin-bottom: 1rem; }
}

@media (max-width: 768px) {
    .footer-grid { grid-template-columns: 1fr; }
    .navbar .container { flex-direction: row; justify-content: space-between; padding-bottom: 0; flex-wrap: nowrap; }
    
    .page-container { margin-top: 6rem; padding: 1.5rem; margin-left: 1rem; margin-right: 1rem;}
    .stats-wrapper { gap: 2rem; flex-direction: column; }
    .hero h1 { font-size: 2.2rem; }
    .auth-card { padding: 2rem; }
}
