/* ═══════════════════════════════════════════════════════════════════════════
   HİZMET BUL — Design System v3
   Warm, human, crafted. Not AI-default purple.
   ═══════════════════════════════════════════════════════════════════════════ */

/* ─── DESIGN TOKENS ──────────────────────────────────────────────────────── */
:root {
    /* Brand Colors */
    --primary:        #D95F2B;
    --primary-dark:   #B84D20;
    --primary-light:  #F0835A;
    --primary-pale:   #FDF1EC;

    --secondary:      #2A4A3A;
    --secondary-light:#3D6B54;
    --secondary-pale: #EBF4EE;

    --accent:         #E8A22A;
    --accent-dark:    #C4881A;
    --accent-pale:    #FDF5E6;

    /* Neutrals */
    --bg:             #F9F7F4;
    --bg-alt:         #F2EFE9;
    --surface:        #FFFFFF;
    --surface-warm:   #FDFAF7;

    --text-dark:      #1C1916;
    --text-body:      #4A4440;
    --text-muted:     #8B807A;
    --text-pale:      #C4BCB7;

    /* Legacy aliases (keep old names working) */
    --bg-light:       #F9F7F4;
    --bg-dark:        #1C1916;
    --text-primary:   #1C1916;
    --text-secondary: #4A4440;

    /* Status */
    --success:        #2E7D55;
    --error:          #C84040;
    --warning:        #C87B2A;
    --info:           #2A5FA8;

    /* Footer */
    --footer-bg:      #1C1916;

    /* Gradients */
    --gradient-brand:   #D95F2B;
    --gradient-warm:    #D95F2B;
    --gradient-forest:  #2A4A3A;
    --gradient-hero:    #F2EFE9;

    /* Legacy gradient aliases */
    --gradient-primary: #D95F2B;
    --gradient-premium: #B84D20;
    --gradient-aurora:  #D95F2B;

    /* Shadows */
    --shadow-xs:     0 1px 3px rgba(28,25,22,0.06);
    --shadow-sm:     0 2px 8px rgba(28,25,22,0.08);
    --shadow-md:     0 4px 16px rgba(28,25,22,0.10);
    --shadow-lg:     0 8px 32px rgba(28,25,22,0.12);
    --shadow-xl:     0 16px 48px rgba(28,25,22,0.14);
    --shadow-brand:  0 8px 28px rgba(217,95,43,0.30);
    --shadow-premium:0 8px 28px rgba(217,95,43,0.25);
    --shadow-accent: 0 8px 28px rgba(232,162,42,0.30);

    /* Border Radius */
    --radius-sm:  8px;
    --radius-md:  12px;
    --radius-lg:  16px;
    --radius-xl:  24px;
    --r-xs:   6px;
    --r-sm:   10px;
    --r-md:   14px;
    --r-lg:   20px;
    --r-xl:   28px;
    --r-2xl:  40px;
    --r-full: 9999px;

    /* Spacing */
    --space-xs:  4px;
    --space-sm:  8px;
    --space-md:  16px;
    --space-lg:  24px;
    --space-xl:  32px;
    --space-2xl: 48px;
    --space-3xl: 64px;
    --sp-1:  4px;   --sp-2:  8px;   --sp-3:  12px;  --sp-4:  16px;
    --sp-5:  20px;  --sp-6:  24px;  --sp-8:  32px;  --sp-10: 40px;
    --sp-12: 48px;  --sp-16: 64px;  --sp-20: 80px;

    /* Transitions */
    --ease:          cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --ease-snap:     cubic-bezier(0.34, 1.56, 0.64, 1);
    --ease-out:      cubic-bezier(0.16, 1, 0.3, 1);
    --t-fast:        180ms;
    --t-mid:         300ms;
    --t-slow:        500ms;
    --transition-fast:   180ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-normal: 300ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-slow:   500ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ─── RESET ──────────────────────────────────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html {
    overflow-x: hidden;
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Outfit', system-ui, sans-serif;
    background-color: var(--bg);
    color: var(--text-body);
    line-height: 1.65;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    animation: pageEnter 0.55s cubic-bezier(0.16,1,0.3,1) both;
}

a    { text-decoration: none; color: inherit; transition: color 180ms ease; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; font-size: 1rem; outline: none; }
img  { max-width: 100%; display: block; }

/* ─── ANIMATIONS ──────────────────────────────────────────────────────────── */
@keyframes pageEnter {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(18px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes badgePop {
    from { opacity: 0; transform: scale(0.75); }
    to   { opacity: 1; transform: scale(1); }
}

@keyframes heroTextIn {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes heroCardIn {
    from { opacity: 0; transform: translateX(30px) rotate(2deg); }
    to   { opacity: 1; transform: translateX(0) rotate(0); }
}

@keyframes blobFloat {
    0%, 100% { transform: translate(0,0) scale(1); }
    33%       { transform: translate(30px,-30px) scale(1.05); }
    66%       { transform: translate(-20px,20px) scale(0.97); }
}

@keyframes dropdownEnter {
    from { opacity: 0; transform: scale(0.92) translateY(-8px); }
    to   { opacity: 1; transform: scale(1)    translateY(0); }
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes skeletonPulse {
    0%   { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* ─── SCROLL REVEAL ──────────────────────────────────────────────────────── */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.6s cubic-bezier(0.16,1,0.3,1),
                transform 0.6s cubic-bezier(0.16,1,0.3,1);
}
.reveal.visible          { opacity: 1; transform: translateY(0); }
.reveal-delay-1          { transition-delay: 0.10s; }
.reveal-delay-2          { transition-delay: 0.20s; }
.reveal-delay-3          { transition-delay: 0.30s; }
.reveal-delay-4          { transition-delay: 0.40s; }

/* ─── CONTAINER ──────────────────────────────────────────────────────────── */
.container {
    max-width: 1380px;
    margin: 0 auto;
    padding: 0 48px;
}

/* ─── UTILITIES ──────────────────────────────────────────────────────────── */
.hidden { display: none !important; }

.text-gradient {
    color: var(--primary);
}

.fade-in { animation: fadeUp 0.55s cubic-bezier(0.16,1,0.3,1) both; }

/* Badge */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: 9999px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}
.badge-primary   { background: var(--primary-pale);   color: var(--primary-dark); }
.badge-secondary { background: var(--secondary-pale); color: var(--secondary); }
.badge-accent    { background: var(--accent-pale);    color: var(--accent-dark); }
.badge-success   { background: #E6F4EE;               color: var(--success); }

/* ─── BUTTONS ────────────────────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 26px;
    border-radius: 14px;
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 0.01em;
    transition: all 300ms cubic-bezier(0.34,1.56,0.64,1);
    position: relative;
    overflow: hidden;
}
.btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0.12);
    opacity: 0;
    transition: opacity 180ms ease;
}
.btn:hover::after { opacity: 1; }

.btn-primary {
    background: var(--gradient-brand);
    color: white;
    box-shadow: var(--shadow-brand);
}
.btn-primary:hover  { transform: translateY(-2px); box-shadow: 0 12px 36px rgba(217,95,43,0.40); }
.btn-primary:active { transform: translateY(0); }

.btn-secondary {
    background: var(--surface);
    color: var(--text-body);
    border: 1.5px solid var(--bg-alt);
    box-shadow: var(--shadow-xs);
}
.btn-secondary:hover {
    border-color: var(--primary-light);
    color: var(--primary);
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}

.btn-outline {
    border: 2px solid var(--primary);
    color: var(--primary);
    background: transparent;
}
.btn-outline:hover {
    background: var(--primary);
    color: white;
    box-shadow: var(--shadow-brand);
    transform: translateY(-2px);
}

.btn-ghost {
    color: var(--text-muted);
    background: transparent;
    padding: 10px 18px;
}
.btn-ghost:hover { background: var(--bg-alt); color: var(--text-body); }

.btn-icon  { width: 44px; height: 44px; padding: 0; border-radius: 10px; }
.btn-lg    { padding: 16px 36px; font-size: 16px; border-radius: 20px; }
.btn-sm    { padding: 9px 18px; font-size: 13px; }

/* ─── NAVBAR ─────────────────────────────────────────────────────────────── */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    height: 72px;
    display: flex;
    align-items: center;
    background: rgba(249,247,244,0.88);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(200,190,182,0.35);
    transition: all 300ms ease;
}

.navbar.scrolled {
    height: 64px;
    background: rgba(249,247,244,0.97);
    box-shadow: var(--shadow-md);
}

.navbar-content {
    width: 100%;
    max-width: 1380px;
    margin: 0 auto;
    padding: 0 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

/* Logo */
.navbar-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    transition: opacity 180ms ease;
}
.navbar-logo:hover { opacity: 0.85; }

.navbar-logo-icon {
    width: 42px; height: 42px;
    background: var(--gradient-brand);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    box-shadow: 0 4px 14px rgba(217,95,43,0.30);
    transition: transform 300ms cubic-bezier(0.34,1.56,0.64,1);
}
.navbar-logo:hover .navbar-logo-icon { transform: rotate(-6deg) scale(1.05); }

.navbar-logo-text {
    font-weight: 800;
    font-size: 20px;
    color: var(--text-dark);
    letter-spacing: -0.02em;
}

/* Nav Links */
.navbar-links {
    display: flex;
    align-items: center;
    gap: 40px;
    flex: 1;
    justify-content: center;
}

.navbar-link {
    font-weight: 600;
    font-size: 15px;
    color: var(--text-muted);
    position: relative;
    padding-bottom: 3px;
}
.navbar-link::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 0; height: 2px;
    background: var(--primary);
    border-radius: 9999px;
    transition: width 300ms cubic-bezier(0.16,1,0.3,1);
}
.navbar-link:hover, .navbar-link.active { color: var(--text-dark); }
.navbar-link:hover::after, .navbar-link.active::after { width: 100%; }

/* Nav Actions */
.navbar-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.navbar-search {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--surface);
    padding: 10px 16px;
    border-radius: 10px;
    border: 1.5px solid var(--bg-alt);
    transition: border-color 180ms ease, box-shadow 180ms ease;
}
.navbar-search:focus-within {
    border-color: var(--primary-light);
    box-shadow: 0 0 0 3px rgba(217,95,43,0.10);
}
.navbar-search input {
    background: none;
    border: none;
    font-size: 14px;
    color: var(--text-body);
    width: 160px;
}
.navbar-search input::placeholder { color: var(--text-pale); }

.nav-auth { display: flex; align-items: center; gap: 8px; }
.user-nav  { display: flex; align-items: center; gap: 12px; }

.nav-icon-link {
    width: 42px; height: 42px;
    border-radius: 10px;
    background: var(--surface);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    color: var(--text-muted);
    border: 1.5px solid var(--bg-alt);
    position: relative;
    transition: all 300ms cubic-bezier(0.34,1.56,0.64,1);
}
.nav-icon-link:hover {
    background: var(--primary-pale);
    color: var(--primary);
    border-color: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

/* "İlan Ver" CTA button in navbar (customer only) */
.nav-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0 16px;
    height: 42px;
    border-radius: 10px;
    background: var(--primary);
    color: #fff !important;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    border: none;
    text-decoration: none;
    transition: all 250ms ease;
}
.nav-cta-btn:hover {
    background: var(--primary-dark, #c04b22);
    transform: translateY(-2px);
    box-shadow: var(--shadow-brand);
}

.user-menu-container { position: relative; }

.user-avatar-trigger {
    width: 42px; height: 42px;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid var(--bg-alt);
    transition: all 300ms cubic-bezier(0.34,1.56,0.64,1);
}
.user-avatar-trigger:hover {
    border-color: var(--primary);
    transform: scale(1.06);
    box-shadow: var(--shadow-brand);
}
.user-avatar-trigger img { width: 100%; height: 100%; object-fit: cover; }

/* User Dropdown */
.user-dropdown {
    position: absolute;
    top: calc(100% + 12px); right: 0;
    width: 270px;
    background: var(--surface);
    border-radius: 28px;
    padding: 12px;
    box-shadow: var(--shadow-xl), 0 0 0 1px rgba(200,190,182,0.18);
    z-index: 1001;
    transform-origin: top right;
    animation: dropdownEnter 0.28s cubic-bezier(0.16,1,0.3,1) both;
}

.dropdown-header {
    padding: 12px 16px;
    border-bottom: 1px solid var(--bg-alt);
    margin-bottom: 8px;
}
.dropdown-header strong {
    display: block;
    font-size: 15px;
    font-weight: 700;
    color: var(--text-dark);
}
.dropdown-header span { font-size: 13px; color: var(--text-muted); }

.user-dropdown a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 16px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-body);
    transition: all 180ms ease;
}
.user-dropdown a:hover { background: var(--primary-pale); color: var(--primary); }
.user-dropdown a i { width: 18px; text-align: center; }

.dropdown-divider { height: 1px; background: var(--bg-alt); margin: 8px 0; }

/* Notification Dropdown */
.notification-dropdown-container {
    position: absolute;
    top: calc(100% + 14px); right: 0;
    width: 360px;
    background: var(--surface);
    border-radius: 28px;
    box-shadow: var(--shadow-xl), 0 0 0 1px rgba(200,190,182,0.18);
    z-index: 1001;
    overflow: hidden;
    animation: dropdownEnter 0.28s cubic-bezier(0.16,1,0.3,1) both;
}
.notification-dropdown-container.hidden { display: none; }

.notification-dropdown-container .dropdown-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background: var(--bg);
    border-bottom: 1px solid var(--bg-alt);
    margin-bottom: 0;
}
.notification-dropdown-container .dropdown-header strong {
    font-size: 15px;
    color: var(--text-dark);
}
.notification-dropdown-container .dropdown-header span {
    font-size: 12px;
    color: var(--primary);
    cursor: pointer;
    font-weight: 600;
}

.notification-list { max-height: 380px; overflow-y: auto; }
.notification-list::-webkit-scrollbar { width: 5px; }
.notification-list::-webkit-scrollbar-track { background: var(--bg); }
.notification-list::-webkit-scrollbar-thumb { background: var(--text-pale); border-radius: 3px; }

.notification-item {
    padding: 14px 20px;
    display: flex;
    gap: 12px;
    border-bottom: 1px solid var(--bg);
    cursor: pointer;
    position: relative;
    transition: background 180ms ease;
}
.notification-item:hover { background: var(--bg); }
.notification-item.unread { background: rgba(217,95,43,0.03); }
.notification-item.unread::after {
    content: '';
    position: absolute;
    top: 50%; right: 16px;
    transform: translateY(-50%);
    width: 7px; height: 7px;
    background: var(--primary);
    border-radius: 50%;
}

.notification-icon {
    width: 40px; height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 17px;
}
.icon-system  { background: var(--primary-pale); color: var(--primary); }
.icon-bid     { background: var(--accent-pale);  color: var(--accent-dark); }
.icon-success { background: #E6F4EE;             color: var(--success); }

.notification-content h4 { font-size: 13px; font-weight: 600; margin-bottom: 3px; color: var(--text-dark); }
.notification-content p  { font-size: 12px; color: var(--text-muted); line-height: 1.4; margin-bottom: 3px; }
.notification-time       { font-size: 11px; color: var(--text-pale); }

.empty-notifications { padding: 40px 20px; text-align: center; color: var(--text-muted); font-size: 14px; }

.notification-badge {
    position: absolute;
    top: -4px; right: -4px;
    background: var(--error);
    color: white;
    font-size: 10px;
    font-weight: 700;
    min-width: 16px; height: 16px;
    padding: 0 3px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--bg);
}

.notification-dot {
    position: absolute;
    top: 10px; right: 10px;
    width: 9px; height: 9px;
    background: var(--error);
    border: 2.5px solid var(--bg);
    border-radius: 50%;
    z-index: 10;
}

/* ─── HERO ───────────────────────────────────────────────────────────────── */
.hero {
    padding: 148px 0 96px;
    background: var(--gradient-hero);
    position: relative;
    overflow: hidden;
}
.hero::before, .hero::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 0;
    pointer-events: none;
}
.hero::before {
    width: 520px; height: 520px;
    background: rgba(217,95,43,0.10);
    top: -100px; right: -80px;
    animation: blobFloat 12s ease-in-out infinite;
}
.hero::after {
    width: 380px; height: 380px;
    background: rgba(42,74,58,0.08);
    bottom: -80px; left: 10%;
    animation: blobFloat 16s ease-in-out infinite reverse;
}
.hero .container { position: relative; z-index: 1; }

.hero-content {
    display: grid;
    grid-template-columns: 1fr 400px;
    align-items: center;
    gap: 64px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: white;
    padding: 7px 16px;
    border-radius: 9999px;
    font-size: 13px;
    font-weight: 600;
    color: var(--primary);
    box-shadow: var(--shadow-sm);
    margin-bottom: 24px;
    border: 1px solid rgba(217,95,43,0.15);
    animation: badgePop 0.5s 0.2s cubic-bezier(0.34,1.56,0.64,1) both;
}

.hero-title {
    font-size: clamp(36px, 4.5vw, 56px);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.03em;
    color: var(--text-dark);
    margin-bottom: 20px;
    animation: heroTextIn 0.7s 0.1s cubic-bezier(0.16,1,0.3,1) both;
}

.hero-description {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 32px;
    max-width: 480px;
    line-height: 1.7;
    animation: heroTextIn 0.7s 0.25s cubic-bezier(0.16,1,0.3,1) both;
}

.hero-search {
    display: flex;
    align-items: center;
    background: white;
    border-radius: 20px;
    padding: 8px;
    box-shadow: var(--shadow-xl);
    max-width: 580px;
    border: 1.5px solid rgba(200,190,182,0.30);
    animation: heroTextIn 0.7s 0.35s cubic-bezier(0.16,1,0.3,1) both;
    transition: box-shadow 300ms ease, border-color 300ms ease;
}
.hero-search:focus-within {
    border-color: var(--primary-light);
    box-shadow: var(--shadow-brand);
}
.hero-search input {
    flex: 1;
    border: none;
    background: none;
    padding: 14px 16px;
    font-size: 15px;
    color: var(--text-body);
}
.hero-search input::placeholder { color: var(--text-pale); }

.hero-visual { animation: heroCardIn 0.8s 0.3s cubic-bezier(0.16,1,0.3,1) both; }

.hero-card {
    background: white;
    border-radius: 40px;
    padding: 32px;
    box-shadow: var(--shadow-xl);
    border: 1px solid rgba(200,190,182,0.25);
    position: relative;
    overflow: hidden;
}
.hero-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 5px;
    background: var(--primary);
}

.hero-card-icon {
    font-size: 56px;
    color: var(--primary);
    margin-bottom: 20px;
    display: block;
}

.hero-card-info {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: var(--bg);
    border-radius: 14px;
    margin-top: 20px;
}

.hero-card-info-icon {
    width: 44px; height: 44px;
    background: var(--gradient-forest);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 16px;
    flex-shrink: 0;
}

/* ─── SECTIONS ───────────────────────────────────────────────────────────── */
.section    { padding: 80px 0; }
.section-sm { padding: 48px 0; }

.section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 40px;
    gap: 16px;
}

.section-title {
    font-size: clamp(24px, 2.5vw, 34px);
    font-weight: 800;
    letter-spacing: -0.025em;
    color: var(--text-dark);
    line-height: 1.15;
    display: inline-block;
    position: relative;
}
.section-title::after {
    content: '';
    position: absolute;
    bottom: -8px; left: 0;
    width: 36px; height: 4px;
    background: var(--gradient-brand);
    border-radius: 2px;
}
.section-subtitle { font-size: 16px; color: var(--text-muted); margin-top: 8px; font-weight: 400; }

.section-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 14px;
    color: var(--primary);
    padding: 9px 18px;
    background: var(--primary-pale);
    border-radius: 9999px;
    border: 1px solid rgba(217,95,43,0.15);
    white-space: nowrap;
    transition: all 300ms cubic-bezier(0.34,1.56,0.64,1);
}
.section-link:hover {
    background: var(--primary);
    color: white;
    gap: 12px;
    box-shadow: var(--shadow-brand);
    transform: translateY(-1px);
}

/* ─── CATEGORIES ─────────────────────────────────────────────────────────── */
.categories { background: var(--surface); }

.categories-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
}

.category-card {
    background: var(--bg);
    border-radius: 20px;
    padding: 24px 20px;
    text-align: center;
    border: 1.5px solid transparent;
    cursor: pointer;
    transition: all 300ms cubic-bezier(0.34,1.56,0.64,1);
    position: relative;
    overflow: hidden;
}
.category-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
    background: white;
}

.category-card i {
    font-size: 32px;
    color: var(--primary);
    margin-bottom: 12px;
    display: block;
    transition: transform 300ms cubic-bezier(0.34,1.56,0.64,1);
}
.category-card:hover i { transform: scale(1.15) rotate(-5deg); }

.category-card h3 {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.3;
}

/* ─── SHOPS GRID ─────────────────────────────────────────────────────────── */
.shops-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.shop-card {
    display: block;
    background: white;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1.5px solid rgba(200,190,182,0.20);
    transition: all 300ms cubic-bezier(0.16,1,0.3,1);
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}
.shop-card:hover {
    transform: translateY(-7px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(217,95,43,0.20);
}

.shop-card-image {
    height: 190px;
    background: var(--primary-pale);
    position: relative;
    overflow: hidden;
}
.shop-card-image img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.shop-card:hover .shop-card-image img { transform: scale(1.06); }

.shop-card-badge {
    position: absolute;
    top: 13px; left: 13px;
    background: white;
    padding: 5px 11px;
    border-radius: 9999px;
    font-size: 11px;
    font-weight: 700;
    color: var(--text-body);
    box-shadow: var(--shadow-sm);
}

.shop-card-favorite {
    position: absolute;
    top: 13px; right: 13px;
    width: 38px; height: 38px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: all 300ms cubic-bezier(0.34,1.56,0.64,1);
}
.shop-card-favorite:hover, .shop-card-favorite.active {
    background: var(--error);
    color: white;
    transform: scale(1.1);
}

.shop-card-content { padding: 20px 24px; }
.shop-card-content h3 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 5px;
    color: var(--text-dark);
    letter-spacing: -0.01em;
}
.shop-card-content p {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 16px;
    line-height: 1.5;
}

.shop-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 24px 20px;
    border-top: 1px solid var(--bg);
}

.shop-card-rating {
    display: flex;
    align-items: center;
    gap: 6px;
}
.shop-card-rating i     { color: var(--accent-dark); font-size: 13px; }
.shop-card-rating span  { font-weight: 700; color: var(--text-dark); font-size: 14px; }
.shop-card-rating small { color: var(--text-muted); font-size: 12px; }

/* ─── CARDS & FORMS ───────────────────────────────────────────────────────── */
.card {
    background: white;
    border-radius: 28px;
    padding: 32px;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(200,190,182,0.15);
}

.form-group { margin-bottom: 20px; }
.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 14px;
    color: var(--text-body);
}

.form-control {
    width: 100%;
    padding: 13px 18px;
    background: var(--bg);
    border: 1.5px solid var(--bg-alt);
    border-radius: 10px;
    font-size: 15px;
    color: var(--text-dark);
    transition: all 180ms ease;
}
.form-control:focus {
    background: white;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(217,95,43,0.10);
}
.form-control::placeholder { color: var(--text-pale); }

/* ─── PAGE HEADER ─────────────────────────────────────────────────────────── */
.page-header {
    background: var(--footer-bg);
    padding: 130px 0 60px;
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-brand);
    opacity: 0.08;
}
.page-header .container { position: relative; z-index: 1; }

/* ─── SKELETON ────────────────────────────────────────────────────────────── */
.skeleton,
.skeleton-loader {
    background: linear-gradient(90deg, var(--bg-alt) 25%, var(--bg) 50%, var(--bg-alt) 75%);
    background-size: 200% 100%;
    animation: skeletonPulse 1.6s ease-in-out infinite;
    border-radius: 14px;
}

/* ─── FOOTER ──────────────────────────────────────────────────────────────── */
.footer {
    background: var(--footer-bg);
    color: rgba(255,255,255,0.55);
    padding: 80px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255,255,255,0.07);
}

.footer-brand .navbar-logo-text { color: white; }
.footer-brand p {
    margin-top: 16px;
    font-size: 14px;
    line-height: 1.8;
    max-width: 280px;
}

.footer-title {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.10em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.90);
    margin-bottom: 20px;
}

.footer-links { list-style: none; }
.footer-links li { margin-bottom: 12px; }
.footer-links a {
    font-size: 14px;
    color: rgba(255,255,255,0.45);
    transition: color 180ms ease;
}
.footer-links a:hover { color: white; }

.footer-column ul { list-style: none; }
.footer-column li { margin-bottom: 12px; }
.footer-column a  { font-size: 14px; color: rgba(255,255,255,0.45); transition: color 180ms ease; }
.footer-column a:hover { color: white; }
.footer-column h4 {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.10em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.90);
    margin-bottom: 20px;
}

.footer-bottom {
    text-align: center;
    color: rgba(255,255,255,0.28);
    font-size: 13px;
}

/* ─── ONBOARDING ──────────────────────────────────────────────────────────── */
.onboarding-wizard {
    background: white;
    border-radius: 40px;
    padding: 40px;
    box-shadow: var(--shadow-lg);
    max-width: 600px;
    margin: 40px auto;
    animation: fadeUp 0.5s cubic-bezier(0.16,1,0.3,1) both;
}

.onboarding-header { text-align: center; margin-bottom: 32px; }
.onboarding-header i {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 16px;
    display: block;
}

.onboarding-progress {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
    position: relative;
    padding: 0 40px;
}
.onboarding-progress::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 10%; right: 10%;
    height: 2px;
    background: var(--bg-alt);
    z-index: 1;
}

.progress-step {
    width: 32px; height: 32px;
    border-radius: 50%;
    background: white;
    border: 2px solid var(--bg-alt);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}
.progress-step.active {
    border-color: var(--primary);
    background: var(--primary);
    color: white;
    box-shadow: 0 0 14px rgba(217,95,43,0.35);
}
.progress-step.completed { background: var(--success); border-color: var(--success); color: white; }

/* Approval Banner */
.approval-banner {
    background: var(--primary-pale);
    border: 1px solid #F8D5B0;
    color: #7A4010;
    padding: 20px 24px;
    border-radius: 16px;
    margin-bottom: 32px;
    display: flex;
    align-items: center;
    gap: 20px;
    animation: fadeUp 0.4s cubic-bezier(0.16,1,0.3,1) both;
}
.approval-banner i { font-size: 1.4rem; }
.approval-banner-content h4 { margin: 0 0 3px; font-weight: 700; }
.approval-banner-content p  { margin: 0; font-size: 13px; opacity: 0.85; }

.system-announcement { background: var(--primary-pale) !important; border-left: 4px solid var(--primary); }
.system-announcement:hover { background: rgba(217,95,43,0.08) !important; }

/* ─── MOBILE NAV ──────────────────────────────────────────────────────────── */
.navbar-menu-toggle {
    display: none;
    width: 42px; height: 42px;
    border-radius: 10px;
    background: var(--bg-alt);
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--text-body);
    cursor: pointer;
    border: 1.5px solid rgba(200,190,182,0.40);
    transition: all 180ms ease;
}
.navbar-menu-toggle:hover { background: var(--primary-pale); color: var(--primary); }

/* Mobile dropdown panel */
.navbar-mobile-panel {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--surface);
    border-top: 1px solid var(--bg-alt);
    box-shadow: 0 12px 40px rgba(0,0,0,0.10);
    padding: 16px 20px 20px;
    gap: 4px;
    z-index: 999;
}
.navbar.menu-open .navbar-mobile-panel { display: flex; }

.navbar-mobile-panel .navbar-link {
    display: block;
    padding: 11px 12px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-muted);
}
.navbar-mobile-panel .navbar-link:hover,
.navbar-mobile-panel .navbar-link.active {
    background: var(--primary-pale);
    color: var(--primary);
}
.navbar-mobile-panel .navbar-link::after { display: none; }

.navbar-mobile-panel .mobile-panel-divider {
    height: 1px;
    background: var(--bg-alt);
    margin: 8px 0;
}

.navbar-mobile-panel .mobile-cta {
    display: flex;
    justify-content: center;
    margin-top: 4px;
}
.navbar-mobile-panel .nav-cta-btn {
    width: 100%;
    justify-content: center;
}

/* ─── RESPONSIVE ──────────────────────────────────────────────────────────── */
@media (max-width: 1100px) {
    .categories-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 1024px) {
    .container   { padding: 0 32px; }
    .navbar-search { display: none; }
    .navbar-links  { gap: 32px; }
    .shops-grid    { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .container            { padding: 0 16px; }
    .navbar-links         { display: none; }  /* links move to mobile panel */
    .navbar-content       { padding: 0 12px; gap: 8px; }
    .navbar-menu-toggle   { display: flex; width: 36px; height: 36px; font-size: 16px; }
    .nav-cta-btn          { display: none; }  /* hidden in top bar, shown in panel */
    .user-nav             { gap: 4px; }
    .nav-icon-link        { width: 34px; height: 34px; font-size: 14px; }
    .user-avatar-trigger  { width: 34px; height: 34px; }
    .navbar-logo-icon     { width: 36px; height: 36px; font-size: 16px; }
    .navbar-logo-text     { font-size: 17px; }

    .hero                 { padding: 110px 0 64px; }
    .hero-content         { grid-template-columns: 1fr; gap: 40px; }
    .hero-title           { font-size: 36px; }
    .hero-description     { font-size: 16px; }
    .hero-search          { max-width: 100%; }
    .hero-visual          { display: none; }
    .hero::before         { width: 280px; height: 280px; }
    .hero::after          { display: none; }

    .section              { padding: 48px 0; }
    .section-header       { flex-direction: column; align-items: flex-start; gap: 12px; }

    .categories-grid      { grid-template-columns: repeat(3, 1fr); }
    .shops-grid           { grid-template-columns: 1fr; }
    .footer-grid          { grid-template-columns: 1fr 1fr; gap: 32px; }

    .card                 { padding: 20px; }
}

@media (max-width: 540px) {
    .footer-grid          { grid-template-columns: 1fr; gap: 28px; }
    .categories-grid      { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .btn-lg               { padding: 13px 24px; font-size: 15px; }
    .hero-badge           { font-size: 12px; }
}

/* ─── REDUCED MOTION ─────────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
    }
    .reveal { opacity: 1; transform: none; }
    body    { animation: none; }
    .hero::before, .hero::after { animation: none; }
}

/*  HERO TRUST BAR  */
.hero-trust {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-top: 32px;
    flex-wrap: wrap;
}
.hero-trust-item strong {
    display: block;
    font-size: 20px;
    font-weight: 800;
    color: var(--text-dark);
    letter-spacing: -0.02em;
    line-height: 1;
    margin-bottom: 3px;
}
.hero-trust-item span {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 500;
}
.hero-trust-sep {
    width: 1px;
    height: 32px;
    background: var(--bg-alt);
    border-radius: 1px;
}

/*  HOW IT WORKS  */
.how-steps {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
}

.how-step {
    flex: 1;
    max-width: 280px;
    text-align: center;
    padding: 0 24px;
}

.how-step-icon {
    width: 72px;
    height: 72px;
    background: var(--gradient-brand);
    border-radius: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: white;
    margin: 0 auto 20px;
    box-shadow: var(--shadow-brand);
    transition: transform 300ms cubic-bezier(0.34,1.56,0.64,1);
}
.how-step:hover .how-step-icon { transform: scale(1.08) rotate(-5deg); }

.how-step-num {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-pale);
    margin-bottom: 10px;
}

.how-step h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
    letter-spacing: -0.01em;
}

.how-step p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.65;
}

.how-step-arrow {
    flex-shrink: 0;
    color: var(--text-pale);
    font-size: 18px;
    margin-top: 36px;
    padding: 0 8px;
}

@media (max-width: 768px) {
    .how-steps         { flex-direction: column; align-items: center; gap: 32px; }
    .how-step          { max-width: 100%; }
    .how-step-arrow    { transform: rotate(90deg); margin: 0; }
    .hero-trust        { gap: 16px; }
    .hero-trust-sep    { display: none; }
}

/* ─── EV YENİLEME NAVBAR BUTON ──────────────────────────────────────────── */
.ev-yenileme-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 0 16px;
    height: 40px;
    border-radius: 10px;
    background: linear-gradient(135deg, #1a1a2e 0%, #0f3460 100%);
    color: #fff !important;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
    border: none;
    cursor: pointer;
    text-decoration: none;
    flex-shrink: 0;
    transition: transform 220ms cubic-bezier(0.34,1.56,0.64,1), box-shadow 220ms ease;
    box-shadow: 0 4px 16px rgba(26,26,46,0.25);
}
.ev-yenileme-btn i { font-size: 14px; color: #f97316; }
.ev-yenileme-btn:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 28px rgba(26,26,46,0.40);
}
@media (max-width: 768px) {
    .ev-yenileme-btn span { display: none; }
    .ev-yenileme-btn { width: 36px; height: 36px; padding: 0; justify-content: center; }
}

/* ─── PAGE TRANSITION OVERLAY ────────────────────────────────────────────── */
#page-transition-overlay {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: linear-gradient(135deg, #1a1a2e 0%, #0f3460 100%);
    transform: translateX(-100%);
    pointer-events: none;
    will-change: transform;
}
#page-transition-overlay.slide-in {
    pointer-events: all;
    animation: overlaySlideIn 480ms cubic-bezier(0.76,0,0.24,1) forwards;
}
#page-transition-overlay.slide-out {
    animation: overlaySlideOut 480ms cubic-bezier(0.76,0,0.24,1) forwards;
}
@keyframes overlaySlideIn {
    from { transform: translateX(-100%); }
    to   { transform: translateX(0%); }
}
@keyframes overlaySlideOut {
    from { transform: translateX(0%); }
    to   { transform: translateX(100%); }
}
