:root {
    /* Premium HealthTech Color Palette */
    --primary-teal: #005A64;
    --primary-teal-hover: #00454D;
    --secondary-mint: #86B8A8;
    
    /* Subtle Backgrounds (Never pure white/black) */
    --bg-main: #F8FAFC; /* Slate-tinted off-white for medical cleanliness */
    --bg-surface: #FFFFFF;
    
    /* Typography Colors */
    --text-heading: #0F172A; /* Deep slate, much richer than black */
    --text-body: #475569;    /* Soft slate for reading comfort */
    --text-muted: #64748B;
    
    /* Fonts & Structure */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    
    /* Organic & Tactile Variables */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px; /* Apple uses generous border radii */
    
    /* Layered Shadows (The secret to high-end UI) */
    --shadow-subtle: 0 1px 3px rgba(0,0,0,0.02), 0 1px 2px rgba(0,0,0,0.04);
    --shadow-premium: 0 4px 6px -1px rgba(0, 90, 100, 0.05), 0 10px 15px -3px rgba(0, 90, 100, 0.05), 0 20px 25px -5px rgba(0, 90, 100, 0.02);
    --shadow-teal: 0 4px 14px 0 rgba(0, 90, 100, 0.25);
    
    /* Transitions */
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased; /* Mac/iOS keskinliği */
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-primary);
    color: var(--text-body);
    background-color: var(--bg-main);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Glassmorphism Navbar (Apple/Microsoft Standard) */
.navbar {
    width: 100%;
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition-smooth);
}

.nav-container {
    max-width: 1280px; /* Daha modern ve derli toplu bir genişlik */
    margin: 0 auto;
    padding: 0 2rem;
    height: 76px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--text-heading);
    letter-spacing: -0.03em;
}

.brand-logo {
    height: 34px; /* Logoyu menüye uygun bir boyuta çekiyoruz */
    width: auto;
    object-fit: contain;
    object-position: top center; 
    mix-blend-mode: multiply; /* Kutu görünümünü yok eden sihirli kod */
    filter: contrast(1.1);
    border-radius: 8px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
    font-size: 0.95rem;
    font-weight: 500;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-muted);
    transition: var(--transition-smooth);
}

.nav-links a:hover {
    color: var(--primary-teal);
}

.login-link {
    color: var(--text-heading) !important;
    font-weight: 600;
}

/* Tactile Premium Buttons */
.btn-primary, .btn-primary-small {
    background-color: var(--primary-teal);
    color: #ffffff !important;
    border: none;
    cursor: pointer;
    font-family: var(--font-primary);
    font-weight: 600;
    border-radius: var(--radius-sm);
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-teal);
    letter-spacing: 0.02em;
}

.btn-primary-small {
    padding: 10px 24px;
    font-size: 0.9rem;
}

.btn-primary {
    padding: 16px 36px;
    font-size: 1.05rem;
    border-radius: var(--radius-md);
}

.btn-primary:hover, .btn-primary-small:hover {
    background-color: var(--primary-teal-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px 0 rgba(0, 90, 100, 0.35);
}

/* Tıklama Hissi (Fiziksel Dokunsallık) */
.btn-primary:active, .btn-primary-small:active {
    transform: scale(0.97);
    box-shadow: 0 2px 8px 0 rgba(0, 90, 100, 0.2);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-heading);
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: var(--radius-md);
    padding: 16px 36px;
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.btn-secondary:hover {
    background-color: rgba(0,0,0,0.03);
    border-color: rgba(0,0,0,0.2);
    transform: translateY(-2px);
}

.btn-secondary:active {
    transform: scale(0.97);
}

/* Hero Section */
.hero {
    position: relative;
    padding: 160px 2rem;
    text-align: center;
    background: url('https://images.unsplash.com/photo-1499750310107-5fef28a66643?auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
}

.hero-background-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(248, 250, 252, 0.9) 0%, rgba(248, 250, 252, 0.98) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--text-heading);
    margin-bottom: 1.5rem;
    line-height: 1.1;
    letter-spacing: -0.04em; /* Google/Apple büyük başlık stili */
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-body);
    margin-bottom: 3rem;
    line-height: 1.7;
    font-weight: 400;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* Features Section */
.features {
    padding: 120px 2rem;
    max-width: 1280px;
    margin: 0 auto;
}

.features-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--text-heading);
    letter-spacing: -0.03em;
    margin-bottom: 1rem;
}

.title-underline {
    width: 60px;
    height: 4px;
    background-color: var(--secondary-mint);
    margin: 0 auto;
    border-radius: 4px;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

/* High-End Tech Cards */
.card {
    background: var(--bg-surface);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-subtle);
    border: 1px solid rgba(0,0,0,0.03); /* Çok ince zarafet çizgisi */
    overflow: hidden;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-premium);
}

.card-img-wrapper {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Organik Yakınlaşma Efekti */
.card:hover img {
    transform: scale(1.06);
}

.card-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-heading);
    margin-bottom: 0.75rem;
    letter-spacing: -0.02em;
}

.card-content p {
    color: var(--text-body);
    font-size: 0.95rem;
    margin-bottom: 2rem;
    flex-grow: 1;
    line-height: 1.6;
}

.card-footer {
    margin-top: auto;
}

.card-link {
    color: var(--primary-teal);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    transition: var(--transition-smooth);
}

.card-link .arrow {
    margin-left: 4px;
    transition: transform 0.3s ease;
}

.card-link:hover {
    color: var(--primary-teal-hover);
}

.card-link:hover .arrow {
    transform: translateX(4px);
}

/* Footer */
.footer {
    background-color: #FFFFFF;
    padding: 3rem 2rem;
    border-top: 1px solid rgba(0,0,0,0.06);
}

.footer-container {
    max-width: 1280px;
    margin: 0 auto;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.875rem;
    color: var(--text-muted);
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition-smooth);
    font-weight: 500;
}

.footer-links a:hover {
    color: var(--text-heading);
}

/* Responsive Düzenlemeler */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    .hero h1 {
        font-size: 2.5rem;
    }
    .hero p {
        font-size: 1.1rem;
    }
    .hero-actions {
        flex-direction: column;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
}
/* =========================================================
   AETERCARE - AUTHENTICATION PAGES (REGISTER/LOGIN)
   ========================================================= */

.auth-body {
    background-color: var(--bg-main);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    position: relative;
    /* overflow: hidden; -> BU SATIRI SİLDİK Kİ AŞAĞI KAYDIRILABİLSİN */
    padding: 3rem 1rem; /* Ekrana üstten/alttan nefes aldırdık */
}

/* Yumuşak Organik Arka Plan (Mental Rahatlama İçin) */
.auth-mesh-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 15% 50%, rgba(134, 184, 168, 0.08), transparent 25%),
                radial-gradient(circle at 85% 30%, rgba(0, 90, 100, 0.05), transparent 25%);
    z-index: 0;
}

.auth-container {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 540px;
    padding: 2rem;
}

.auth-card {
    background: var(--bg-surface);
    border-radius: 24px; /* Apple tarzı geniş yuvarlatma */
    padding: 3.5rem 3rem;
    box-shadow: var(--shadow-premium);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.auth-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.auth-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-weight: 800;
    font-size: 1.2rem;
    color: var(--text-heading);
    margin-bottom: 2rem;
}

.auth-logo img {
    height: 32px;
}

.auth-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-heading);
    margin-bottom: 0.5rem;
    letter-spacing: -0.03em;
}

.auth-subtitle {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Form Elemanları (Google Material + Microsoft Fluent Karışımı) */
.auth-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.input-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-heading);
}

.input-group input {
    width: 100%;
    padding: 14px 16px;
    border: 1.5px solid #E2E8F0;
    border-radius: 12px;
    font-family: var(--font-primary);
    font-size: 0.95rem;
    color: var(--text-heading);
    background-color: #F8FAFC;
    transition: var(--transition-smooth);
}

.input-group input::placeholder {
    color: #94A3B8;
}

/* Mikro-etkileşim: Focus (Odaklanma) Durumu */
.input-group input:focus {
    outline: none;
    background-color: var(--bg-surface);
    border-color: var(--primary-teal);
    box-shadow: 0 0 0 4px rgba(0, 90, 100, 0.1); /* Güven veren, çok hafif bir hale */
}

/* Güvenlik & Checkbox Alanı */
.auth-security {
    margin-top: 0.5rem;
    margin-bottom: 1rem;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.checkbox-group input[type="checkbox"] {
    margin-top: 0.25rem;
    width: 16px;
    height: 16px;
    accent-color: var(--primary-teal);
    cursor: pointer;
}

.checkbox-group label {
    font-size: 0.85rem;
    color: var(--text-body);
    line-height: 1.5;
}

.checkbox-group a {
    color: var(--primary-teal);
    text-decoration: none;
    font-weight: 600;
}

.checkbox-group a:hover {
    text-decoration: underline;
}

.security-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: var(--secondary-mint);
    font-size: 0.8rem;
    font-weight: 600;
    padding: 8px;
    background-color: rgba(134, 184, 168, 0.1);
    border-radius: 8px;
}

.auth-submit {
    width: 100%;
    padding: 16px;
    font-size: 1.1rem;
    margin-top: 0.5rem;
}

.auth-footer {
    margin-top: 2rem;
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-body);
}

.auth-footer a {
    color: var(--primary-teal);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.auth-footer a:hover {
    color: var(--primary-teal-hover);
}

@media (max-width: 600px) {
    .auth-card {
        padding: 2.5rem 1.5rem;
    }
    .form-row {
        grid-template-columns: 1fr; /* Mobilde isim soyisim alt alta gelsin */
    }
}
/* =========================================================
   AETERCARE - SIGN IN SPECIFIC STYLES
   ========================================================= */

.auth-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: -0.25rem;
    margin-bottom: 0.5rem;
}

.forgot-link {
    color: var(--primary-teal);
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.forgot-link:hover {
    color: var(--primary-teal-hover);
    text-decoration: underline;
}

/* Kurumsal Bölücü Çizgi (Divider) */
.auth-divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 1.5rem 0;
    color: #94A3B8;
    font-size: 0.85rem;
    font-weight: 500;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #E2E8F0;
}

.auth-divider:not(:empty)::before {
    margin-right: 1rem;
}

.auth-divider:not(:empty)::after {
    margin-left: 1rem;
}

/* Sosyal Giriş Butonu (Apple/Google Style) */
.btn-social {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background-color: var(--bg-surface);
    color: var(--text-heading);
    border: 1.5px solid #E2E8F0;
    border-radius: 12px;
    padding: 14px;
    font-family: var(--font-primary);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.btn-social:hover {
    background-color: #F8FAFC;
    border-color: #CBD5E1;
    transform: translateY(-1px);
    box-shadow: var(--shadow-subtle);
}

.btn-social:active {
    transform: scale(0.98);
}