@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;800&display=swap');

:root {
    --primary: #D32F2F; 
    --primary-dark: #b71c1c;
    --secondary: #FF5252;
    --dark-bg: #0F172A;
    --card-bg: #1E293B;
    --text-main: #F1F5F9;
    --text-muted: #94A3B8;
    --gold: #FFD700;
    --flutter-blue: #0468d7;
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Inter', sans-serif; }

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

/* --- NAVBAR --- */
.navbar {
    display: flex; justify-content: space-between; align-items: center;
    padding: 1.5rem 8%; background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px); position: sticky; top: 0; z-index: 1000;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.logo-container { display: flex; align-items: center; gap: 12px; }
.logo-text { font-size: 1.8rem; font-weight: 800; letter-spacing: -1px; background: linear-gradient(to right, #fff, var(--secondary)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.nav-logo { height: 45px; filter: drop-shadow(0 0 5px var(--primary)); }

.nav-links { display: flex; gap: 20px; align-items: center; }
.nav-link-item { color: var(--text-main); text-decoration: none; font-weight: 500; transition: color 0.3s; font-size: 0.95rem; }
.nav-link-item:hover { color: var(--secondary); }

.support-btn {
    background: transparent; border: 1px solid rgba(255,255,255,0.2);
    color: var(--text-main); padding: 10px 24px; border-radius: 50px;
    font-weight: 600; transition: all 0.3s ease; text-decoration: none; display: flex; align-items: center; gap: 8px;
}
.support-btn:hover { border-color: var(--secondary); background: rgba(211, 47, 47, 0.1); color: var(--secondary); }

/* --- HERO SECTION --- */
.hero {
    display: flex; align-items: center; justify-content: space-between;
    padding: 5rem 8%; min-height: 90vh; position: relative;
    background: radial-gradient(circle at top right, rgba(211, 47, 47, 0.15), transparent 40%);
}
.hero-text { max-width: 600px; z-index: 2; }
.badge-tech {
    display: inline-block; background: rgba(255,255,255,0.05);
    padding: 6px 16px; border-radius: 20px; font-size: 0.85rem;
    color: var(--flutter-blue); border: 1px solid rgba(4, 104, 215, 0.3); margin-bottom: 20px;
}
.hero-text h1 {
    font-size: 3.5rem; line-height: 1.1; margin-bottom: 20px;
    background: linear-gradient(to bottom right, #fff, #cbd5e1);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.highlight { color: var(--secondary); -webkit-text-fill-color: var(--secondary); }
.cta-group { display: flex; gap: 15px; margin-top: 30px; }
.btn-primary {
    background: var(--primary); color: white; border: none; padding: 16px 32px;
    border-radius: 12px; font-weight: 600; cursor: pointer; display: flex; align-items: center; gap: 10px;
    transition: transform 0.2s, box-shadow 0.2s;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 25px -5px rgba(211, 47, 47, 0.5); }
.btn-outline {
    background: transparent; border: 1px solid rgba(255,255,255,0.2); color: white;
    padding: 16px 32px; border-radius: 12px; cursor: pointer; display: flex; align-items: center; gap: 10px;
    transition: all 0.2s;
}
.btn-outline:hover { background: rgba(255,255,255,0.05); border-color: white; }

/* --- PHONE MOCKUP --- */
.hero-visual { position: relative; }
.phone-mockup {
    width: 300px; height: 600px; background: #000; border-radius: 40px;
    border: 8px solid #333; position: relative; overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}
.notch {
    width: 120px; height: 25px; background: #333; position: absolute;
    top: 0; left: 50%; transform: translateX(-50%);
    border-bottom-left-radius: 15px; border-bottom-right-radius: 15px; z-index: 10;
}
.screen {
    width: 100%; height: 100%; background: #F8FAFC; color: #1e293b;
    padding: 40px 20px 20px; display: flex; flex-direction: column; gap: 15px;
}
.app-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.app-card {
    background: white; padding: 15px; border-radius: 16px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    border-left: 5px solid var(--primary);
}
.blood-type { font-size: 1.5rem; font-weight: 800; color: var(--primary); }
.location { font-size: 0.9rem; color: #64748b; display: flex; align-items: center; gap: 5px; }
.action-btn {
    background: var(--primary); color: white; text-align: center;
    padding: 10px; border-radius: 8px; font-size: 0.8rem; margin-top: 10px; font-weight: 600;
}
.map-visual {
    flex-grow: 1; background: #e2e8f0; border-radius: 16px; position: relative; overflow: hidden;
}
.pin {
    width: 20px; height: 20px; background: var(--primary); border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg); position: absolute; top: 50%; left: 50%;
    box-shadow: 0 0 0 4px rgba(211, 47, 47, 0.3);
    animation: pulse 2s infinite;
}

/* --- FEATURES --- */
.features { padding: 5rem 8%; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.feature-box {
    background: var(--card-bg); padding: 30px; border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.05); transition: transform 0.3s;
}
.feature-box:hover { transform: translateY(-10px); background: #253146; }
.icon-box {
    width: 60px; height: 60px; background: rgba(211, 47, 47, 0.1);
    border-radius: 15px; display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem; color: var(--secondary); margin-bottom: 20px;
}

/* --- GAMIFICATION --- */
.gamification { padding: 5rem 8%; text-align: center; background: linear-gradient(to bottom, var(--dark-bg), #160808); }
.badges-container { display: flex; justify-content: center; gap: 40px; margin-top: 50px; flex-wrap: wrap; }
.badge-card {
    background: rgba(255,255,255,0.03); padding: 30px; border-radius: 24px;
    width: 250px; position: relative; border: 1px solid rgba(255,255,255,0.05);
}
.badge-icon {
    width: 80px; height: 80px; border-radius: 50%; margin: 0 auto 20px;
    display: flex; align-items: center; justify-content: center; font-size: 2rem;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
}
.bronze { background: linear-gradient(135deg, #CD7F32, #8B4513); color: #fff; }
.silver { background: linear-gradient(135deg, #E0E0E0, #757575); color: #333; }
.gold { background: linear-gradient(135deg, #FFD700, #B8860B); color: #fff; box-shadow: 0 0 30px rgba(255, 215, 0, 0.3); }

/* --- FORMS & CONTACT --- */
.contact-wrapper { min-height: 80vh; display: flex; align-items: center; justify-content: center; padding: 2rem; }
.contact-form {
    background: var(--card-bg); width: 100%; max-width: 500px; padding: 40px;
    border-radius: 24px; border: 1px solid rgba(255,255,255,0.1);
}
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 8px; font-size: 0.9rem; color: var(--text-muted); }
.form-group input, .form-group textarea, .form-group select {
    width: 100%; background: var(--dark-bg); border: 1px solid rgba(255,255,255,0.1);
    padding: 12px; border-radius: 8px; color: white; outline: none; transition: border 0.3s;
}
.form-group input:focus, .form-group textarea:focus { border-color: var(--secondary); }

/* --- LEGAL / YASAL SAYFA --- */
.legal-wrapper { padding: 4rem 8%; max-width: 1000px; margin: 0 auto; }
.legal-section {
    background: var(--card-bg); padding: 40px; border-radius: 24px;
    border: 1px solid rgba(255,255,255,0.05); margin-bottom: 40px;
}
.legal-section h1 { font-size: 1.8rem; margin-bottom: 10px; color: var(--secondary); border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 15px; }
.legal-meta { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 25px; display: block; font-style: italic; }
.legal-content h2 { font-size: 1.2rem; color: white; margin-top: 25px; margin-bottom: 10px; }
.legal-content p { color: #cbd5e1; font-size: 0.95rem; line-height: 1.7; margin-bottom: 15px; }
.legal-content ul { list-style-position: inside; margin-bottom: 15px; padding-left: 10px; color: #cbd5e1; }
.legal-content li { margin-bottom: 8px; }
.legal-link { color: var(--secondary); text-decoration: none; font-weight: 600; }

@keyframes pulse { 0% { transform: translate(-50%, -50%) rotate(-45deg) scale(1); opacity: 1; } 100% { transform: translate(-50%, -50%) rotate(-45deg) scale(2); opacity: 0; } }

@media (max-width: 768px) {
    .hero { flex-direction: column; text-align: center; padding-top: 2rem; }
    .cta-group { justify-content: center; flex-wrap: wrap; }
    .phone-mockup { margin-top: 50px; }
    .hero-text h1 { font-size: 2.5rem; }
}