@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Inter:wght@400;500;600;700&display=swap');

:root {
    /* Modern Emerald & Warm Organic Pastel Sage Paleti */
    --primary: #3d7053;                 /* Pastel Adaçayı Yeşili (Sage Green) */
    --primary-dark: #2a523b;            /* Derin Orman Adaçayı */
    --primary-light: #eef5ef;           /* İpeksi Yumuşak Adaçayı Kremi */
    --primary-glow: rgba(61, 112, 83, 0.22);
    --secondary: #1b2a22;               /* Derin Adaçayı Kömürü */
    --accent: #c2410c;                  /* Sıcak Organik Terakota / Amber */
    --accent-light: #ffedd5;
    --accent-blue: #2563eb;             /* Su ve Hidrasyon için Duru Mavi */
    --bg-main: #faf7f2;                 /* Sıcak Organik Keten / Krem Zemin */
    --bg-card: rgba(255, 255, 255, 0.9);/* Yarı Saydam Cam Kart (Glassmorphism) */
    --bg-card-solid: #ffffff;
    --text-dark: #1e2d24;               /* Yumuşak Koyu Adaçayı Metni */
    --text-muted: #637568;              /* Adaçayı Grisi Yardımcı Metin */
    --border-color: #e3e9e1;            /* Yumuşak Adaçayı Çerçevesi */
    --border-glass: rgba(227, 233, 225, 0.85);
    --danger: #dc2626;
    --warning: #d97706;
    --shadow-sm: 0 4px 12px -2px rgba(27, 42, 34, 0.05);
    --shadow-md: 0 12px 28px -4px rgba(27, 42, 34, 0.08);
    --shadow-lg: 0 20px 40px -8px rgba(61, 112, 83, 0.14);
    --shadow-glass: 0 16px 36px 0 rgba(27, 42, 34, 0.07);
    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-pill: 50px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--bg-main);
    color: var(--text-dark);
    padding-top: 76px;
    line-height: 1.6;
}

/* ================= NAVBAR (MODERN EMERALD GLASSMORPHISM) ================= */
.navbar {
    position: fixed;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 32px);
    max-width: 1200px;
    height: 64px;
    padding: 0 20px;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(61, 112, 83, 0.18);
    border-radius: 20px;
    box-shadow: 0 10px 30px -5px rgba(27, 42, 34, 0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 1000;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-brand-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Mobil Hamburger Menü Butonu (3 Çizgi -> Animasyonlu X) */
.hamburger-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4.5px;
    width: 38px;
    height: 38px;
    background: rgba(61, 112, 83, 0.08);
    border: 1px solid rgba(61, 112, 83, 0.15);
    border-radius: 10px;
    cursor: pointer;
    padding: 6px;
    transition: all 0.25s ease;
    flex-shrink: 0;
}

.hamburger-btn:hover {
    background: rgba(61, 112, 83, 0.14);
}

.hamburger-btn .bar {
    width: 20px;
    height: 2px;
    background-color: var(--secondary);
    border-radius: 2px;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.2s ease, background-color 0.3s ease;
}

/* Hamburger Aktif (X Animasyonu) */
.hamburger-btn.aktif .bar:nth-child(1) {
    transform: translateY(6.5px) rotate(45deg);
    background-color: var(--primary);
}

.hamburger-btn.aktif .bar:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.hamburger-btn.aktif .bar:nth-child(3) {
    transform: translateY(-6.5px) rotate(-45deg);
    background-color: var(--primary);
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: 800;
    text-decoration: none;
    letter-spacing: -0.5px;
    flex-shrink: 0;
}

.logo img, .brand-logo-img {
    height: 38px;
    width: auto;
    max-height: 40px;
    display: block;
    object-fit: contain;
}

/* DietVo Marka Tipografisi: "Diet" Siyah/Slate, "Vo" Pastel Adaçayı Yeşili */
.logo-yazi {
    font-size: 24px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
}

.brand-diet, .logo-yazi span:first-child {
    color: #0f172a !important;
    font-weight: 800;
}

.brand-vo, .logo-yazi span:last-child {
    color: var(--primary) !important;
    font-weight: 800;
}

/* ================= MOBİL SOL MENÜ (DRAWER) VE OVERLAY ================= */
.drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 23, 42, 0.5);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 19998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.drawer-overlay.aktif {
    opacity: 1;
    visibility: visible;
}

.nav-drawer {
    position: fixed;
    top: 0;
    left: 0;
    width: 290px;
    max-width: 82vw;
    height: 100vh;
    background: var(--bg-main);
    border-right: 1px solid var(--border-color);
    box-shadow: 12px 0 35px rgba(27, 42, 34, 0.15);
    z-index: 19999;
    transform: translateX(-100%);
    transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
}

.nav-drawer.aktif {
    transform: translateX(0);
}

.drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-color);
}

.drawer-hamburger-btn {
    display: flex !important;
    margin: 0;
}

.drawer-header .logo {
    display: flex;
    align-items: center;
}

.drawer-kapat-btn {
    background: none;
    border: none;
    font-size: 26px;
    color: var(--text-muted);
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 8px;
    line-height: 1;
    transition: all 0.2s;
}

.drawer-kapat-btn:hover {
    color: var(--danger);
    background: #fee2e2;
}

.drawer-icerik {
    padding: 20px 16px;
    display: flex;
    flex-direction: column;
    flex: 1;
    justify-content: space-between;
    overflow-y: auto;
}

.drawer-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.drawer-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 12px;
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 15px;
    transition: all 0.2s;
}

.drawer-link:hover, .drawer-link.aktif {
    background: var(--primary-light);
    color: var(--primary-dark);
}

.drawer-footer {
    padding-top: 16px;
    border-top: 1px solid var(--border-color);
}

.drawer-btn-profil {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 12px;
    background: var(--primary);
    color: white;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    box-shadow: 0 4px 14px rgba(61, 112, 83, 0.25);
    transition: all 0.2s ease;
}

/* Mobil Çekmece - Giriş Yapmış Kullanıcı Kartı */
.drawer-btn-profil.drawer-user-card {
    justify-content: flex-start !important;
    text-align: left !important;
    padding: 10px 14px !important;
    background: var(--primary-light) !important;
    color: var(--secondary) !important;
    border: 1.5px solid var(--border-color);
    box-shadow: var(--shadow-sm) !important;
    gap: 12px !important;
    border-radius: 14px !important;
}

.drawer-btn-profil.drawer-user-card:hover {
    background: #e2ede3 !important;
    border-color: var(--primary) !important;
    transform: translateY(-2px);
}

.drawer-user-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary);
    flex-shrink: 0;
    display: block;
}

.drawer-user-avatar-fallback {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--primary);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    font-weight: 800;
    flex-shrink: 0;
    text-transform: uppercase;
}

.drawer-user-info {
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    flex: 1;
}

.drawer-user-name {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--secondary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.3;
}

.drawer-user-badge {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin-top: 2px;
}

/* Mobil Çekmece - Giriş Yapılmamış İse */
.drawer-btn-profil.drawer-btn-giris {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark)) !important;
    color: #ffffff !important;
    font-weight: 800 !important;
}

.nav-links {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-left: auto;
    margin-right: 24px;
}

.linkler {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 600;
    font-size: 15px;
    padding: 8px 18px;
    border-radius: var(--radius-pill);
    transition: all 0.25s ease;
    white-space: nowrap;
}

.linkler:hover, .linkler.aktif {
    color: var(--primary-dark);
    background-color: var(--primary-light);
}

.icons {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-left: 16px;
    border-left: 1px solid var(--border-color);
    flex-shrink: 0;
}

.icon-btn {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: var(--bg-main);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 19px;
    cursor: pointer;
    text-decoration: none;
    color: var(--text-dark);
    transition: all 0.2s ease;
}

.icon-btn:hover {
    background: var(--primary-light);
    border-color: var(--primary);
    transform: translateY(-2px);
}

.icon-btn.has-avatar {
    padding: 0;
    border-color: var(--primary);
    overflow: hidden;
    background: transparent;
}

.navbar-profil-img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    border: 2px solid var(--primary);
    box-shadow: 0 2px 6px rgba(61, 112, 83, 0.25);
    transition: transform 0.2s ease;
}

.icon-btn:hover .navbar-profil-img {
    transform: scale(1.08);
}

#bildirimKutusu {
    display: none;
    position: fixed;
    right: 5%;
    top: 86px;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 18px;
    width: 320px;
    border-radius: var(--radius-md);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.18);
    z-index: 999999 !important;
}

/* ================= HERO ALANI (MODERN EMERALD & WARM SAGE) ================= */
.hero {
    min-height: calc(88vh - 76px);
    background: var(--bg-main);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 60px 8%;
    color: var(--text-dark);
    position: relative;
    overflow: hidden;
    gap: 40px;
}

.hero::before {
    display: none;
}

.hero-content {
    max-width: 620px;
    z-index: 2;
    text-align: left;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--primary-light);
    border: 1px solid #c9decb;
    color: var(--primary-dark);
    padding: 6px 16px;
    border-radius: var(--radius-pill);
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.hero-content h1 {
    font-size: clamp(34px, 5vw, 54px);
    line-height: 1.15;
    margin: 0 0 18px 0;
    font-weight: 800;
    letter-spacing: -1px;
    color: var(--secondary);
}

.hero-content h1 span {
    background: linear-gradient(135deg, #1f3d2b 0%, #3d7053 50%, #4d8262 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content p {
    font-size: 18px;
    margin-bottom: 32px;
    color: var(--text-muted);
    max-width: 520px;
    line-height: 1.65;
}

.hero-buttons {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.btn-hero {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    padding: 14px 30px;
    font-size: 15px;
    font-weight: 700;
    border-radius: var(--radius-pill);
    text-decoration: none;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 8px 20px -4px var(--primary-glow);
    border: none;
    cursor: pointer;
}

.btn-hero:hover {
    background: linear-gradient(135deg, #437d5c, #1f3d2b);
    transform: translateY(-2px);
    box-shadow: 0 12px 26px -4px rgba(61, 112, 83, 0.35);
}

.btn-hero-secondary {
    background: rgba(255, 255, 255, 0.85);
    color: var(--secondary);
    border: 1.5px solid var(--border-color);
    padding: 14px 28px;
    font-size: 15px;
    font-weight: 700;
    border-radius: var(--radius-pill);
    text-decoration: none;
    transition: all 0.25s ease;
    backdrop-filter: blur(10px);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-hero-secondary:hover {
    background: #ffffff;
    border-color: var(--primary);
    color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.hero-mascot-box {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.95);
    padding: 28px;
    border-radius: 28px;
    backdrop-filter: blur(16px);
    max-width: 380px;
    text-align: center;
    box-shadow: var(--shadow-glass);
}

.hero-mascot-box img {
    width: 190px;
    height: 190px;
    object-fit: contain;
    filter: drop-shadow(0 16px 22px rgba(27, 42, 34, 0.15));
    animation: robotFloat 3.5s ease-in-out infinite;
}

.hero-mascot-speech {
    background: #ffffff;
    color: var(--secondary);
    padding: 14px 20px;
    border-radius: 18px;
    font-size: 14px;
    font-weight: 600;
    margin-top: 14px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    position: relative;
    line-height: 1.5;
}

/* ================= CONTAINER & BÖLÜM BAŞLIKLARI ================= */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.bolum-ust {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin: 40px 0 24px 0;
    flex-wrap: wrap;
    gap: 10px;
}

.bolum-baslik {
    margin: 0;
    font-size: 26px;
    color: var(--secondary);
    font-weight: 800;
    letter-spacing: -0.5px;
    position: relative;
}

.bolum-alt-yazi {
    color: var(--text-muted);
    font-size: 15px;
    margin: 4px 0 0 0;
}

.tumunu-gor-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #eef5ef;
    color: var(--primary-dark);
    font-weight: 700;
    font-size: 13.5px;
    padding: 8px 18px;
    border-radius: var(--radius-pill);
    border: 1px solid rgba(61, 112, 83, 0.25);
    text-decoration: none;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 2px 6px rgba(61, 112, 83, 0.08);
}

.tumunu-gor-link:hover {
    background: var(--primary);
    color: #ffffff !important;
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(61, 112, 83, 0.25);
    text-decoration: none;
}

/* ================= MODERN BENTO KARTLAR (FOTOĞRAFSIZ HESAPLAYICI KARTLARI) ================= */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.bento-kart {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 26px;
    text-decoration: none;
    color: var(--text-dark);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}

.bento-kart:hover {
    transform: translateY(-6px);
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
}

.bento-ikon {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    background: var(--primary-light);
    color: var(--primary-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    margin-bottom: 18px;
}

.bento-rozet {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #f1f5f9;
    color: var(--text-muted);
    font-size: 12px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 50px;
}

.bento-rozet.populer {
    background: #fef3c7;
    color: #b45309;
}

.bento-kart h3 {
    margin: 0 0 8px 0;
    font-size: 18px;
    font-weight: 700;
    color: var(--secondary);
}

.bento-kart p {
    margin: 0 0 16px 0;
    font-size: 14px;
    color: var(--text-muted);
}

.bento-alt {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 12.5px;
    font-weight: 700;
    color: var(--primary-dark);
    background: #eef5ef;
    padding: 7px 14px;
    border-radius: 10px;
    border: 1px solid rgba(61, 112, 83, 0.2);
    transition: all 0.25s ease;
    width: fit-content;
    margin-top: auto;
}

.bento-kart:hover .bento-alt {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
    transform: translateX(4px);
    box-shadow: 0 4px 12px rgba(61, 112, 83, 0.25);
}

/* ================= VİTRİN / TARİF KARTLARI (AZ VE ÖZ GÖRSELLİ) ================= */
.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
    padding-bottom: 20px;
}

.kart {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    text-decoration: none;
    transition: all 0.3s ease;
    background-color: var(--secondary);
    display: block;
    aspect-ratio: 16 / 10;
    box-shadow: var(--shadow-md);
}

.kart img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
    opacity: 0.9;
}

.kart-icerik {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0.5) 60%, transparent 100%);
    z-index: 2;
}

.kart h3 {
    margin: 0;
    color: white;
    font-size: 19px;
    font-weight: 700;
}

.kart p {
    margin: 4px 0 0 0;
    color: #cbd5e1;
    font-size: 13px;
}

.kart:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.kart:hover img {
    transform: scale(1.06);
}

/* ================= VİDEO ALANI ================= */
.video-cerceve {
    max-width: 900px;
    margin: 20px auto 60px auto;
    padding: 16px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    box-shadow: var(--shadow-md);
    text-align: center;
}

.video {
    width: 100%;
    max-height: 460px;
    object-fit: cover;
    border-radius: 16px;
    display: block;
}

/* ================= FORMLAR VE KUTULAR ================= */
.form-bolumu {
    background: var(--bg-card);
    padding: 40px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
    max-width: 820px;
    margin: 0 auto;
}

/* ================= DUOLINGO TARZI ROBOT AJAN (VOBOT) ================= */
@keyframes robotFloat {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(2deg); }
}

@keyframes robotPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.08); }
    100% { transform: scale(1); }
}

.dietvo-ajan-wrapper {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    pointer-events: none;
}

.dietvo-balon {
    pointer-events: auto;
    background: var(--bg-card);
    color: var(--text-dark);
    border: 2px solid var(--primary);
    border-radius: 18px 18px 4px 18px;
    padding: 14px 16px;
    width: 325px;
    max-width: calc(100vw - 32px);
    margin-bottom: 12px;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.16);
    font-size: 14px;
    line-height: 1.45;
    position: relative;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform-origin: bottom right;
}

.dietvo-balon.gizli {
    opacity: 0;
    transform: scale(0.7) translateY(20px);
    pointer-events: none;
}

.dietvo-balon-ust {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    font-weight: 800;
    font-size: 12px;
    color: var(--primary-dark);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.dietvo-chat-alani {
    max-height: 250px;
    min-height: 80px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-right: 4px;
    margin-bottom: 8px;
    scrollbar-width: thin;
}

.dietvo-chat-alani::-webkit-scrollbar {
    width: 5px;
}
.dietvo-chat-alani::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

.dietvo-chat-msg {
    padding: 8px 12px;
    border-radius: 12px;
    font-size: 13px;
    line-height: 1.45;
    word-break: break-word;
}

.dietvo-chat-msg.vobot {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #1e293b;
    align-self: flex-start;
    border-bottom-left-radius: 2px;
    max-width: 92%;
}

.dietvo-chat-msg.user {
    background: linear-gradient(135deg, #3d7053 0%, #2a523b 100%);
    color: #ffffff;
    align-self: flex-end;
    border-bottom-right-radius: 2px;
    max-width: 90%;
}

.dietvo-chat-time {
    font-size: 10px;
    opacity: 0.65;
    margin-top: 3px;
    text-align: right;
}

.dietvo-balon-kapat {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 15px;
    padding: 0 4px;
}

.dietvo-balon-aksiyonlar {
    display: flex;
    gap: 6px;
    margin-top: 10px;
    border-top: 1px solid var(--border-color);
    padding-top: 8px;
}

.dietvo-mini-btn {
    background: var(--bg-main);
    border: 1px solid var(--border-color);
    color: var(--text-dark);
    font-size: 11px;
    font-weight: 700;
    padding: 5px 9px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    flex: 1;
}

.dietvo-mini-btn:hover {
    background: var(--primary-light);
    border-color: var(--primary);
    color: var(--primary-dark);
}

.dietvo-avatar-btn {
    pointer-events: auto;
    width: 82px;
    height: 82px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ffffff 0%, #ecfdf5 100%);
    border: 3px solid var(--primary);
    box-shadow: 0 10px 25px rgba(61, 112, 83, 0.35);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px;
    transition: transform 0.2s ease;
    animation: robotFloat 3.2s ease-in-out infinite;
    position: relative;
}

.dietvo-avatar-btn:hover {
    transform: scale(1.08);
}

.dietvo-avatar-btn img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.dietvo-bildirim-nokta {
    position: absolute;
    top: 2px;
    right: 2px;
    width: 16px;
    height: 16px;
    background: var(--warning);
    border: 2px solid white;
    border-radius: 50%;
}

/* ================= FOOTER ================= */
footer {
    background: #f4efe6;
    border-top: 1px solid var(--border-color);
    padding: 50px 20px 30px 20px;
    text-align: center;
    color: var(--text-muted);
    margin-top: 60px;
}

.footer-logo-text {
    height: 28px;
    width: auto;
    display: inline-block;
    margin-bottom: 12px;
    object-fit: contain;
    transition: transform 0.2s ease;
}

.footer-logo-text:hover {
    transform: translateY(-2px);
}

footer h3 {
    margin: 0 0 8px 0;
    font-size: 22px;
    color: var(--primary);
}

footer p {
    margin: 4px 0;
    font-size: 14px;
    color: var(--text-muted);
}

/* ================= MOBİL UYUMLULUK VE DUYARLI TASARIM ================= */
@media (max-width: 860px) {
    .navbar {
        top: 8px;
        width: calc(100% - 20px);
        height: 60px;
        padding: 0 14px;
        border-radius: 16px;
    }

    .logo img, .brand-logo-img {
        height: 32px;
    }

    .footer-logo-text {
        height: 24px;
    }

    body {
        padding-top: 80px;
    }

    .hamburger-btn {
        display: flex !important;
    }

    .nav-links {
        display: none !important;
    }

    .hero {
        flex-direction: column;
        text-align: center;
        padding: 30px 16px;
        gap: 24px;
    }

    .hero-content {
        text-align: center;
        max-width: 100%;
    }

    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }

    .hero-mascot-box {
        width: 100%;
        max-width: 320px;
        margin: 0 auto;
        padding: 20px 16px;
        box-sizing: border-box;
    }

    .hero-mascot-box img {
        width: 140px;
        height: 140px;
    }

    /* Popüler Hesaplama Araçları ve Vitrin Kartları: Yana Kaydırma (Carousel) */
    .bento-grid, .menu-grid {
        display: flex !important;
        flex-direction: row !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        scroll-snap-type: x mandatory !important;
        -webkit-overflow-scrolling: touch !important;
        gap: 14px !important;
        padding: 8px 4px 18px 4px !important;
        margin-left: -10px;
        margin-right: -10px;
        padding-left: 10px !important;
        padding-right: 10px !important;
        scrollbar-width: thin;
        scrollbar-color: var(--primary) transparent;
    }

    .bento-grid::-webkit-scrollbar,
    .menu-grid::-webkit-scrollbar {
        height: 5px;
    }

    .bento-grid::-webkit-scrollbar-thumb,
    .menu-grid::-webkit-scrollbar-thumb {
        background: rgba(61, 112, 83, 0.35);
        border-radius: 10px;
    }

    .bento-kart, 
    .menu-grid .kart {
        flex: 0 0 85% !important;
        width: 85% !important;
        max-width: 85% !important;
        min-width: 260px !important;
        scroll-snap-align: start !important;
        box-sizing: border-box !important;
        margin: 0 !important;
    }

    .dietvo-avatar-btn {
        width: 68px;
        height: 68px;
    }
}

/* ================= VOBOT AI CHAT & SORU-CEVAP ================= */
.dietvo-soru-alani {
    display: flex;
    gap: 8px;
    margin-top: 12px;
}

.dietvo-soru-input {
    flex: 1;
    padding: 10px 14px;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    font-size: 13.5px;
    outline: none;
    font-family: inherit;
    background: #ffffff;
    color: var(--text-dark);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.dietvo-soru-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(61, 112, 83, 0.15);
}

.dietvo-sor-btn {
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 12px;
    padding: 0 16px;
    font-weight: 700;
    cursor: pointer;
    font-size: 13.5px;
    transition: background-color 0.2s, transform 0.1s;
    white-space: nowrap;
}

.dietvo-sor-btn:hover {
    background: var(--primary-dark);
}

.dietvo-sor-btn:active {
    transform: scale(0.96);
}

.dietvo-yukleniyor {
    display: inline-block;
    color: var(--primary);
    font-weight: 700;
    font-style: italic;
    animation: pulseText 1.2s infinite;
}

@keyframes pulseText {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

/* ================= SIKÇA SORULAN SORULAR (FAQ / SSS) ================= */
.faq-bolumu {
    max-width: 920px;
    margin: 50px auto;
}

.faq-liste {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 24px;
}

.faq-item {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all 0.25s ease;
    box-shadow: var(--shadow-sm);
}

.faq-item.acik {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

.faq-soru {
    padding: 18px 22px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    user-select: none;
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--secondary);
    transition: color 0.2s;
    background: transparent;
    border: none;
    width: 100%;
    text-align: left;
}

.faq-soru:hover {
    color: var(--primary-dark);
}

.faq-ikon {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--bg-main);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 800;
    color: var(--primary);
    transition: transform 0.3s ease, background-color 0.2s;
    flex-shrink: 0;
    margin-left: 12px;
}

.faq-item.acik .faq-ikon {
    transform: rotate(180deg);
    background: var(--primary-light);
    color: var(--primary-dark);
}

.faq-cevap {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1), padding 0.35s ease;
    padding: 0 22px;
    color: var(--text-dark);
    font-size: 0.95rem;
    line-height: 1.65;
    background: #fbfdfa;
}

.faq-item.acik .faq-cevap {
    max-height: 400px;
    padding: 0 22px 20px 22px;
    border-top: 1px solid var(--border-color);
}

/* ================= EVDE NE VAR? AI & TARİF KARTLARI ================= */
.hizli-chip.aktif {
    background: var(--primary) !important;
    color: white !important;
    border-color: var(--primary-dark) !important;
    box-shadow: 0 4px 10px rgba(61, 112, 83, 0.25);
}

.ai-tarif-karti {
    background: linear-gradient(135deg, #1b2a22 0%, #2a523b 100%);
    color: white;
    border-radius: var(--radius-lg);
    padding: 28px;
    margin-top: 30px;
    border: 2px solid var(--primary);
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.ai-tarif-icerik {
    white-space: pre-line;
    line-height: 1.7;
    font-size: 0.96rem;
    color: #f1f5ee;
    margin-top: 16px;
}

.btn-ai-tarif {
    background: linear-gradient(135deg, #3d7053 0%, #2a523b 100%);
    color: white;
    padding: 16px;
    font-size: 1.1rem;
    width: 100%;
    border: none;
    border-radius: 14px;
    cursor: pointer;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 10px 20px -5px rgba(61, 112, 83, 0.4);
    margin-top: 12px;
}

.btn-ai-tarif:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 26px -5px rgba(61, 112, 83, 0.5);
}

/* ==========================================================================
   RGB DÖNEN ANİMASYONLU KENARLIK (Rainbow Conic Glowing Border Animation)
   ========================================================================== */
@property --rgb-deg {
    syntax: '<angle>';
    initial-value: 0deg;
    inherits: false;
}

@keyframes rgbSpinAngle {
    0% { --rgb-deg: 0deg; }
    100% { --rgb-deg: 360deg; }
}

/* Bento & Program Kartları İçin RGB Dönen Kenarlık */
.rgb-glow-card {
    border: 3px solid transparent !important;
    border-radius: 16px !important;
    background: linear-gradient(var(--bg-card, #ffffff), var(--bg-card, #ffffff)) padding-box,
                conic-gradient(from var(--rgb-deg), #ff0055, #ff9900, #ffee00, #2ecc71, #00d2ff, #7928ca, #ff0055) border-box !important;
    animation: rgbSpinAngle 3s linear infinite !important;
    box-shadow: 0 8px 24px rgba(0, 210, 255, 0.2) !important;
    transition: transform 0.25s ease, box-shadow 0.25s ease !important;
}

.rgb-glow-card:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 14px 32px rgba(0, 210, 255, 0.35) !important;
}

/* Butonlar İçin RGB Dönen Kenarlık */
.rgb-glow-btn {
    border: 3px solid transparent !important;
    border-radius: 14px !important;
    animation: rgbSpinAngle 2.8s linear infinite !important;
    transition: transform 0.2s ease, box-shadow 0.25s ease !important;
}

/* VoBot Özel Tarif Butonu RGB */
.btn-ai-tarif.rgb-glow-btn {
    background: linear-gradient(135deg, #3d7053 0%, #254d36 100%) padding-box,
                conic-gradient(from var(--rgb-deg), #ff0055, #ff9900, #ffee00, #2ecc71, #00d2ff, #7928ca, #ff0055) border-box !important;
    box-shadow: 0 8px 25px rgba(0, 210, 255, 0.35) !important;
}

.btn-ai-tarif.rgb-glow-btn:hover {
    transform: translateY(-3px) scale(1.01) !important;
    box-shadow: 0 12px 32px rgba(0, 210, 255, 0.5) !important;
}

/* Ana Sayfa Hero Butonu RGB */
.btn-hero-secondary.rgb-glow-btn {
    background: linear-gradient(#ffffff, #ffffff) padding-box,
                conic-gradient(from var(--rgb-deg), #ff0055, #ff9900, #ffee00, #2ecc71, #00d2ff, #7928ca, #ff0055) border-box !important;
    box-shadow: 0 6px 20px rgba(0, 210, 255, 0.25) !important;
}

.btn-hero-secondary.rgb-glow-btn:hover {
    transform: translateY(-2px) scale(1.02) !important;
    box-shadow: 0 10px 28px rgba(0, 210, 255, 0.4) !important;
}

/* ================= TARİF VE ÇIKTI MODAL STİLLERİ ================= */
.tarif-modal-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(5px);
    z-index: 10005;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.tarif-modal-kutu {
    background: white;
    border-radius: var(--radius-lg);
    max-width: 620px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border-color);
}

.tarif-modal-resim {
    width: 100%;
    height: 240px;
    object-fit: cover;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.tarif-modal-icerik {
    padding: 24px;
}

.makro-piller {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin: 14px 0 18px 0;
}

.makro-pil {
    background: #ecfdf5;
    color: var(--primary-dark);
    font-weight: 700;
    font-size: 0.85rem;
    padding: 6px 12px;
    border-radius: 8px;
    border: 1px solid #a7f3d0;
}

/* ================= PROFİL ROBOT SEÇİMİ VE GEÇMİŞ TABLOSU ================= */
.karakter-kart {
    width: 175px;
    height: 175px;
    max-width: 175px;
    border-radius: 50%;
    border: 3px solid var(--border-color);
    background: white;
    padding: 12px;
    cursor: pointer;
    text-align: center;
    transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
}

.karakter-kart:hover {
    border-color: var(--primary);
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 8px 22px rgba(61, 112, 83, 0.18);
}

.karakter-kart.aktif {
    border-color: var(--primary);
    background: #eef7f1;
    box-shadow: 0 10px 26px rgba(61, 112, 83, 0.25);
    transform: scale(1.04);
}

.karakter-kart.aktif::after {
    content: "✓ AKTİF";
    position: absolute;
    top: -4px;
    right: 14px;
    background: var(--primary);
    color: white;
    font-size: 10px;
    font-weight: 800;
    padding: 3px 10px;
    border-radius: 50px;
    box-shadow: 0 2px 8px rgba(61, 112, 83, 0.3);
}

.karakter-kart.aktif .btn-karakter-sec {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    box-shadow: 0 3px 10px rgba(61, 112, 83, 0.35);
}

/* ================= KATEGORİ FİLTRE BUTONLARI ================= */
.filtre-bar {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
    margin: 24px 0 36px 0;
}

.filtre-btn {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.filtre-btn:hover, .filtre-btn.aktif {
    background: var(--primary) !important;
    color: white !important;
    border-color: var(--primary) !important;
    box-shadow: 0 6px 15px rgba(61, 112, 83, 0.25);
}

.gecmis-tablo {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
    margin-top: 14px;
}

.gecmis-tablo th, .gecmis-tablo td {
    padding: 12px 14px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.gecmis-tablo th {
    background-color: #f8fafc;
    color: var(--text-muted);
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
}

.gecmis-tablo tr:last-child td {
    border-bottom: none;
}

/* ================= ANTRENMAN PROGRAMI ÇIKTI (PRINT & PNG) STİLLERİ ================= */
.btn-export-bar {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin: 16px 0 22px 0;
    padding: 14px 20px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 14px;
    border: 1px solid #e2e8f0;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

.export-sol-alan {
    display: flex;
    align-items: center;
    gap: 12px;
}

.export-ikon {
    font-size: 1.6rem;
    line-height: 1;
}

.export-sag-alan {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.btn-export-aksiyon {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 10px;
    font-size: 0.88rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s ease;
    border: none;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.btn-export-aksiyon span {
    font-size: 1.1rem;
}

.btn-export-pdf {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: white;
    border: 1px solid #334155;
}

.btn-export-pdf:hover {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.25);
}

.btn-export-png {
    background: linear-gradient(135deg, #3d7053 0%, #2a523b 100%);
    color: white;
    border: 1px solid var(--primary);
}

.btn-export-png:hover {
    background: linear-gradient(135deg, #2a523b 0%, #1b2a22 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(61, 112, 83, 0.35);
}

.print-marka-ust {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
    background: #f8fafc;
    border-bottom: 2px solid var(--primary);
    border-radius: 18px 18px 0 0;
}

/* ================= VOBOT GİRİŞ DOĞRULAMA MODAL PENCERESİ ================= */
.dietvo-auth-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 9999999 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}

.dietvo-auth-modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.dietvo-auth-modal-card {
    position: relative;
    background: #ffffff;
    border-radius: 20px;
    padding: 32px 28px;
    max-width: 420px;
    width: 100%;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(61, 112, 83, 0.2);
    animation: authModalPop 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    z-index: 2;
    box-sizing: border-box;
}

@keyframes authModalPop {
    0% { transform: scale(0.92); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

.dietvo-auth-modal-close {
    position: absolute;
    top: 14px;
    right: 16px;
    background: #f1f5f9;
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    font-size: 14px;
    color: #64748b;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.dietvo-auth-modal-close:hover {
    background: #e2e8f0;
    color: #0f172a;
}

.dietvo-auth-modal-icon {
    font-size: 40px;
    margin: 0 auto 14px auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ecfdf5;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    border: 2px solid #a7f3d0;
}

.dietvo-auth-modal-title {
    font-size: 1.35rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 10px 0;
}

.dietvo-auth-modal-desc {
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.5;
    margin: 0 0 24px 0;
}

.dietvo-auth-modal-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.dietvo-auth-modal-btn-primary {
    background: linear-gradient(135deg, #3d7053 0%, #2a523b 100%);
    color: #ffffff;
    border: none;
    padding: 14px 20px;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 6px 16px rgba(61, 112, 83, 0.35);
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.dietvo-auth-modal-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(61, 112, 83, 0.45);
}

.dietvo-auth-modal-btn-secondary {
    background: #f8fafc;
    color: #64748b;
    border: 1px solid #e2e8f0;
    padding: 10px 20px;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.dietvo-auth-modal-btn-secondary:hover {
    background: #f1f5f9;
    color: #334155;
}

@media print {
    body {
        background: white !important;
        color: black !important;
        padding: 0 !important;
    }
    
    header, footer, .navbar, .dietvo-ajan-wrapper, .modal-kapat, .btn-export-bar, .program-container, #bildirimKutusu, .dietvo-auth-modal {
        display: none !important;
    }
    
    .modal-overlay {
        position: static !important;
        background: none !important;
        display: block !important;
        padding: 0 !important;
    }
    
    .modal-kutu {
        width: 100% !important;
        max-width: 100% !important;
        box-shadow: none !important;
        border: none !important;
        padding: 0 !important;
    }

    .modal-header {
        background: none !important;
        color: black !important;
        border-bottom: 2px solid #0f172a !important;
        padding: 10px 0 !important;
    }

    .modal-header h2 {
        color: #0f172a !important;
        font-size: 20pt !important;
    }

    .modal-header p {
        color: #475569 !important;
    }

    .print-marka-ust {
        display: flex !important;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 16px;
        padding-bottom: 12px;
        border-bottom: 2px solid var(--primary);
    }

    .gun-tablo-kart {
        break-inside: avoid;
        page-break-inside: avoid;
        margin-bottom: 16px;
        border: 1px solid #cbd5e1 !important;
    }

    .gun-baslik {
        background: #f1f5f9 !important;
        color: #0f172a !important;
    }
}

/* ================= SAĞLIK & YASAL UYARI KUTULARI ================= */
.dietvo-uyari-kutusu {
    background: #fffbeb;
    border: 1px solid #fef3c7;
    border-left: 4px solid #f59e0b;
    border-radius: 12px;
    padding: 14px 18px;
    margin-top: 24px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.88rem;
    color: #92400e;
    line-height: 1.5;
}

.dietvo-uyari-kutusu strong {
    color: #78350f;
    font-weight: 700;
}

.dietvo-uyari-kutusu .uyari-ikon {
    font-size: 1.25rem;
    flex-shrink: 0;
}

/* ==========================================================================
   DIETVO PROFİL FOTOĞRAFI YÜKLEME / DÜZENLEME MODALI (POPUP)
   ========================================================================== */
.avatar-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    z-index: 25000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    animation: avatarFadeIn 0.25s ease-out;
}

@keyframes avatarFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.avatar-modal-kutu {
    background: #ffffff;
    border-radius: 24px;
    max-width: 480px;
    width: 100%;
    box-shadow: 0 25px 60px -15px rgba(27, 42, 34, 0.3), 0 0 0 1px rgba(61, 112, 83, 0.08);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    animation: avatarSlideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes avatarSlideUp {
    from { transform: translateY(20px) scale(0.97); opacity: 0; }
    to { transform: translateY(0) scale(1); opacity: 1; }
}

.avatar-modal-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 22px 24px 16px 24px;
    border-bottom: 1px solid var(--border-color);
}

.avatar-modal-kapat-btn {
    background: #f1f5f9;
    border: none;
    font-size: 24px;
    color: var(--text-muted);
    cursor: pointer;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    transition: all 0.2s ease;
}

.avatar-modal-kapat-btn:hover {
    background: #fee2e2;
    color: var(--danger);
    transform: rotate(90deg);
}

.avatar-modal-tabs {
    display: flex;
    background: #f8fafc;
    border-bottom: 1px solid var(--border-color);
    padding: 6px 16px 0 16px;
    gap: 8px;
}

.avatar-tab-btn {
    background: none;
    border: none;
    padding: 10px 16px;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--text-muted);
    cursor: pointer;
    border-bottom: 3px solid transparent;
    transition: all 0.2s ease;
    border-radius: 6px 6px 0 0;
}

.avatar-tab-btn:hover {
    color: var(--primary);
}

.avatar-tab-btn.aktif {
    color: var(--primary-dark);
    border-bottom-color: var(--primary);
    background: #ffffff;
}

.avatar-modal-icerik {
    padding: 20px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.avatar-panel {
    width: 100%;
    margin-bottom: 16px;
}

.avatar-sec-btn {
    width: 100%;
    padding: 12px 18px;
    background: var(--primary-light);
    color: var(--primary-dark);
    border: 1.5px dashed var(--primary);
    border-radius: 12px;
    font-size: 0.92rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s ease;
}

.avatar-sec-btn:hover {
    background: #d1fae5;
    border-color: var(--primary-dark);
    transform: translateY(-1px);
}

.avatar-url-input {
    padding: 10px 14px;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.2s;
}

.avatar-url-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(61, 112, 83, 0.12);
}

.avatar-url-getir-btn {
    padding: 10px 16px;
    background: var(--secondary);
    color: #ffffff;
    border: none;
    border-radius: 10px;
    font-size: 0.88rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
}

.avatar-url-getir-btn:hover {
    background: var(--secondary-dark);
}

/* Dairesel Görsel / Yükleme Alanı */
.avatar-daire-alani {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 8px 0;
    width: 100%;
}

.avatar-daire-kapsayici {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(61, 112, 83, 0.2);
    border: 4px solid var(--primary-light);
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Yükleme Ekranı (Animasyonlu Daire & % Göstergesi) */
.avatar-yukleme-dairesi {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    z-index: 5;
}

.avatar-progress-svg {
    transform: rotate(-90deg);
}

.avatar-progress-svg .progress-bg {
    fill: none;
    stroke: #e2e8f0;
    stroke-width: 8;
}

.avatar-progress-svg .progress-bar {
    fill: none;
    stroke: var(--primary);
    stroke-width: 8;
    stroke-linecap: round;
    stroke-dasharray: 471.24;
    stroke-dashoffset: 471.24;
    transition: stroke-dashoffset 0.08s linear;
}

.avatar-progress-metin {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.avatar-progress-metin .yuzde-sayi {
    font-size: 1.85rem;
    font-weight: 800;
    color: var(--primary-dark);
    line-height: 1;
}

.avatar-progress-metin .yuzde-etiket {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 4px;
}

/* Kırpma Canvas */
#avatar-crop-canvas {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    cursor: grab;
    object-fit: cover;
    display: block;
}

#avatar-crop-canvas:active {
    cursor: grabbing;
}

.avatar-bos-durum {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 12px;
}

/* Kırpma / Yakınlaştırma Kontrolleri */
.avatar-kontroller {
    margin-top: 14px;
    width: 100%;
    max-width: 320px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.avatar-zoom-slider-kutu {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
}

.avatar-zoom-slider-kutu input[type="range"] {
    flex: 1;
    accent-color: var(--primary);
    cursor: pointer;
}

/* Modal Footer */
.avatar-modal-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
    border-top: 1px solid var(--border-color);
    background: #f8fafc;
    flex-wrap: wrap;
    gap: 10px;
}

.avatar-btn-kaldir {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
    border-radius: 10px;
    padding: 9px 14px;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
}

.avatar-btn-kaldir:hover {
    background: #fee2e2;
    border-color: #f87171;
}

.avatar-btn-vazgec {
    background: #ffffff;
    color: var(--text-muted);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 9px 16px;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.avatar-btn-vazgec:hover {
    background: #f1f5f9;
    color: var(--text-dark);
}

.avatar-btn-kaydet {
    background: var(--primary);
    color: #ffffff;
    border: none;
    border-radius: 10px;
    padding: 9px 20px;
    font-size: 0.92rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(61, 112, 83, 0.25);
    transition: all 0.2s ease;
}

.avatar-btn-kaydet:hover:not(:disabled) {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(61, 112, 83, 0.35);
}

.avatar-btn-kaydet:disabled {
    background: #cbd5e1;
    color: #94a3b8;
    box-shadow: none;
    cursor: not-allowed;
}

/* ================= VOBOT AI ŞEF & KOTA ROZETİ STİLLERİ ================= */
.tarif-aksiyon-grubu {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 20px;
}

.ai-btn-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    width: 100%;
}

.ai-quota-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.88rem;
    font-weight: 700;
    color: #2a523b;
    background: rgba(61, 112, 83, 0.12);
    border: 1.5px solid rgba(61, 112, 83, 0.3);
    transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
    user-select: none;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.ai-quota-badge:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(61, 112, 83, 0.18);
    background: rgba(61, 112, 83, 0.18);
}

.ai-quota-badge.quota-low {
    color: #b45309;
    background: rgba(245, 158, 11, 0.14);
    border-color: rgba(245, 158, 11, 0.38);
}

.ai-quota-badge.quota-empty {
    color: #dc2626;
    background: rgba(239, 68, 68, 0.14);
    border-color: rgba(239, 68, 68, 0.38);
}

.ai-quota-badge.quota-guest {
    color: #475569;
    background: rgba(100, 116, 139, 0.12);
    border-color: rgba(100, 116, 139, 0.3);
}

.ai-recipe-subcard {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(52, 211, 153, 0.25);
    border-radius: 16px;
    padding: 22px 24px;
    margin-bottom: 22px;
    transition: all 0.25s ease;
}

.ai-recipe-subcard:hover {
    border-color: rgba(52, 211, 153, 0.5);
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.ai-recipe-title {
    color: #34d399;
    font-size: 1.3rem;
    font-weight: 800;
    margin: 0 0 12px 0;
}

.ai-recipe-tip {
    background: rgba(245, 158, 11, 0.12);
    border-left: 4px solid #f59e0b;
    border-radius: 8px;
    padding: 12px 16px;
    margin-top: 14px;
    font-size: 0.92rem;
    color: #fde68a;
    line-height: 1.6;
}

/* ================= TARİF PDF / PNG / KOPYALA BUTONLARI & GEÇMİŞ KARTLARI ================= */
.btn-tarif-incele {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, #3d7053 0%, #2a523b 100%);
    color: #ffffff;
    border: none;
    border-radius: 8px;
    padding: 6px 14px;
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
    width: fit-content;
    box-shadow: 0 2px 8px rgba(61, 112, 83, 0.25);
}

.btn-tarif-incele:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 14px rgba(61, 112, 83, 0.38);
    background: linear-gradient(135deg, #2a523b 0%, #1e3b2b 100%);
}

.btn-export-aksiyon {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 16px;
    border-radius: 10px;
    font-size: 0.88rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid transparent;
    user-select: none;
}

.btn-export-copy {
    background: rgba(255, 255, 255, 0.08);
    color: #f1f5f9;
    border-color: rgba(255, 255, 255, 0.2);
}

.btn-export-copy:hover {
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.35);
    transform: translateY(-1px);
}

.btn-export-pdf {
    background: linear-gradient(135deg, #e11d48 0%, #be123c 100%);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(225, 29, 72, 0.25);
}

.btn-export-pdf:hover {
    background: linear-gradient(135deg, #be123c 0%, #9f1239 100%);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(225, 29, 72, 0.35);
}

.btn-export-png {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(5, 150, 105, 0.25);
}

.btn-export-png:hover {
    background: linear-gradient(135deg, #047857 0%, #065f46 100%);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(5, 150, 105, 0.35);
}
