/* --- TEMEL AYARLAR & DEĞİŞKENLER --- */
:root {
    --bg-dark: #0f172a;
    --bg-darker: #020617;
    --primary: #3b82f6; /* Dashboard mavisi */
    --primary-hover: #2563eb;
    --accent: #6366f1;  /* Morumsu vurgu */
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --glass-bg: rgba(30, 41, 59, 0.6);
    --glass-border: rgba(255, 255, 255, 0.08);
    --nav-height: 80px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-darker);
    color: var(--text-main);
    overflow-x: hidden;
}

/* Arka Planda Duran Sabit Görsel (Blur Efektli) */
.bg-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: url('https://wallpapers.com/images/hd/gta-5-police-background-4v1q5q5q5q5q5q5.jpg') no-repeat center center/cover;
    z-index: -1;
    filter: brightness(0.3) blur(0px); /* Arkaplanı biraz kararttık */
}

/* --- NAVBAR --- */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    height: var(--nav-height);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5%;
    background: rgba(15, 23, 42, 0.85); /* Yarı saydam */
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    z-index: 1000;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    font-size: 24px;
    color: var(--primary);
}

.logo-text h1 {
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 1px;
    line-height: 1;
}

.logo-text span {
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

nav {
    display: flex;
    align-items: center;
    gap: 25px;
}

nav a {
    text-decoration: none;
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}

nav a:hover, nav a.active {
    color: white;
}

.btn-login {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    padding: 10px 20px;
    border-radius: 8px;
    color: white !important;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
    transition: transform 0.2s;
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.5);
}

/* --- HERO SECTION --- */
.hero {
    height: 100vh; /* Tam ekran */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: var(--nav-height);
    position: relative;
    background: radial-gradient(circle at center, rgba(59,130,246,0.15) 0%, rgba(2,6,23,0.8) 70%);
}

.hero-content {
    max-width: 900px;
    padding: 20px;
    animation: fadeInUp 1s ease-out;
}

.badge-container {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.3);
    padding: 6px 14px;
    border-radius: 30px;
    color: var(--primary);
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 20px;
}

.hero h2 {
    font-size: 56px;
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.text-gradient {
    background: linear-gradient(to right, #60a5fa, #a78bfa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 40px;
    line-height: 1.6;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 60px;
}

.btn {
    padding: 14px 32px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
}

.btn.primary {
    background: var(--primary);
    color: white;
}

.btn.primary.glow {
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.5);
}

.btn.primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
}

.btn.secondary {
    background: rgba(255, 255, 255, 0.05);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
}

.btn.secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Stats */
.hero-stats {
    display: inline-flex;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    padding: 20px 40px;
    border-radius: 16px;
    gap: 40px;
}

.stat-item h3 {
    font-size: 24px;
    font-weight: 700;
    color: white;
}
.stat-item p {
    font-size: 13px;
    margin: 0;
    color: var(--text-muted);
}
.stat-divider {
    width: 1px;
    background: rgba(255,255,255,0.1);
    height: 40px;
}

/* --- SECTIONS --- */
.features-section, .units-section, .cta-section {
    padding: 100px 10%;
    position: relative;
    background: var(--bg-darker);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h3 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 10px;
}

.section-header p {
    color: var(--text-muted);
}

/* Cards */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.glass-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 30px;
    border-radius: 16px;
    transition: transform 0.3s;
}

.glass-card:hover {
    transform: translateY(-10px);
    background: rgba(30, 41, 59, 0.8);
    border-color: rgba(59, 130, 246, 0.3);
}

.icon-box {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 20px;
}

.icon-box.blue { background: rgba(59, 130, 246, 0.1); color: #60a5fa; }
.icon-box.purple { background: rgba(167, 139, 250, 0.1); color: #a78bfa; }
.icon-box.green { background: rgba(52, 211, 153, 0.1); color: #34d399; }
.icon-box.orange { background: rgba(251, 146, 60, 0.1); color: #fb923c; }

.glass-card h4 {
    font-size: 18px;
    margin-bottom: 10px;
}

.glass-card p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.5;
}

/* Units Grid */
.units-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.unit-card {
    height: 300px;
    border-radius: 16px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.unit-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
    transition: all 0.3s;
}

.unit-card:hover .unit-overlay {
    background: rgba(15, 23, 42, 0.85); /* Hoverda karart */
    justify-content: center;
    align-items: center;
    text-align: center;
}

.unit-overlay i {
    font-size: 30px;
    color: var(--primary);
    margin-bottom: 15px;
}

.unit-overlay h4 {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 5px;
}

.unit-overlay p {
    color: #cbd5e1;
    font-size: 14px;
}

/* CTA */
.cta-box {
    background: linear-gradient(135deg, #1e293b, #0f172a);
    border: 1px solid var(--glass-border);
    padding: 50px;
    border-radius: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.cta-box h2 {
    font-size: 28px;
    margin-bottom: 10px;
}
.cta-box p {
    color: var(--text-muted);
}

/* Footer */
footer {
    background: #020617;
    padding: 60px 10% 30px;
    border-top: 1px solid var(--glass-border);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-logo h2 {
    color: var(--primary);
}

.footer-logo p {
    font-size: 12px;
    color: var(--text-muted);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    margin-left: 20px;
    font-size: 14px;
    transition: 0.2s;
}

.footer-links a:hover {
    color: white;
}

.copyright {
    text-align: center;
    color: #475569;
    font-size: 13px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.05);
}

/* Animation */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
    .hero h2 { font-size: 36px; }
    .hero-stats { flex-direction: column; gap: 10px; padding: 20px; }
    .stat-divider { display: none; }
    .navbar { padding: 10px 20px; flex-direction: column; height: auto; }
    nav { margin-top: 15px; flex-wrap: wrap; justify-content: center; }
    .cta-box { text-align: center; justify-content: center; }
}