/* =============================================
   Site Diyarı — Ana Tasarım Sistemi
   Premium Dark Theme + Glassmorphism
   ============================================= */

/* =============================================
   Google Fonts
   ============================================= */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Space+Grotesk:wght@400;500;600;700&display=swap');

/* =============================================
   CSS Variables (Design Tokens)
   ============================================= */
:root {
    /* Backgrounds */
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-tertiary: #f1f5f9;
    --bg-card: #ffffff;
    --bg-card-hover: #f8fafc;
    --bg-elevated: #ffffff;
    --bg-input: #f8fafc;
    --bg-overlay: rgba(15, 23, 42, 0.5);

    /* Glass */
    --glass-bg: rgba(255, 255, 255, 0.8);
    --glass-bg-hover: rgba(255, 255, 255, 0.95);
    --glass-border: rgba(0, 0, 0, 0.05);
    --glass-border-hover: rgba(0, 0, 0, 0.1);

    /* Accent Colors (Blue / Trust) */
    --accent: #2563eb;
    --accent-light: #3b82f6;
    --accent-dark: #1d4ed8;
    --accent-glow: rgba(37, 99, 235, 0.15);
    --accent-subtle: rgba(37, 99, 235, 0.08);

    /* Secondary (Orange / Action) */
    --secondary: #f97316;
    --secondary-light: #fb923c;

    --cyan: #06b6d4;
    --emerald: #10b981;
    --amber: #f59e0b;
    --rose: #f43f5e;

    /* Gradients */
    --gradient-accent: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
    --gradient-hero: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    --gradient-card: linear-gradient(145deg, #ffffff 0%, #f1f5f9 100%);
    --gradient-text: linear-gradient(135deg, #2563eb 0%, #f97316 100%);
    --gradient-dark: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);

    /* Text */
    --text-primary: #0f172a;
    --text-secondary: #334155;
    --text-muted: #64748b;
    --text-inverse: #ffffff;

    /* Borders */
    --border: #e2e8f0;
    --border-strong: #cbd5e1;

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.02);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 10px 10px -5px rgba(0, 0, 0, 0.02);
    --shadow-glow: 0 0 20px rgba(37, 99, 235, 0.15);
    --shadow-glow-strong: 0 0 30px rgba(37, 99, 235, 0.3);

    /* Typography */
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-heading: 'Space Grotesk', 'Inter', sans-serif;

    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;

    /* Border Radius */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;

    /* Transitions */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 400ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-spring: 500ms cubic-bezier(0.34, 1.56, 0.64, 1);

    /* Z-index */
    --z-dropdown: 100;
    --z-sticky: 200;
    --z-overlay: 300;
    --z-modal: 400;
    --z-toast: 500;

    /* Container */
    --container-max: 1280px;
    --container-narrow: 960px;
}

/* =============================================
   Reset & Base
   ============================================= */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--accent-dark);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul, ol {
    list-style: none;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
    color: inherit;
}

input, textarea, select {
    font-family: inherit;
    font-size: inherit;
    color: inherit;
}

::selection {
    background: var(--accent);
    color: #fff;
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: var(--bg-elevated);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-dark);
}

/* =============================================
   Typography
   ============================================= */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.75rem); }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.1rem; }
h6 { font-size: 1rem; }

.gradient-text {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent-light);
    margin-bottom: var(--space-md);
    padding: var(--space-xs) var(--space-md);
    background: var(--accent-subtle);
    border: 1px solid rgba(124, 58, 237, 0.2);
    border-radius: var(--radius-full);
}

.section-title {
    margin-bottom: var(--space-md);
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto var(--space-3xl);
}

/* =============================================
   Layout
   ============================================= */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-xl);
}

.container-narrow {
    max-width: var(--container-narrow);
    margin: 0 auto;
    padding: 0 var(--space-xl);
}

section {
    padding: var(--space-4xl) 0;
    position: relative;
}

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-sm { gap: var(--space-sm); }
.gap-md { gap: var(--space-md); }
.gap-lg { gap: var(--space-lg); }
.gap-xl { gap: var(--space-xl); }

/* =============================================
   Navbar
   ============================================= */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: var(--z-sticky);
    padding: var(--space-md) 0;
    transition: all var(--transition-base);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: var(--space-sm) 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.navbar.navbar-hidden {
    transform: translateY(-100%);
    box-shadow: none;
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
    transition: var(--transition-base);
}

.navbar-brand:hover {
    color: var(--accent-light);
}

.navbar-brand .brand-icon {
    width: 36px;
    height: 36px;
    background: var(--gradient-accent);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: #fff;
    box-shadow: var(--shadow-glow);
}

.navbar-menu {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
}

.navbar-links {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
}

.navbar-links a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: color var(--transition-fast);
    position: relative;
}

.navbar-links a:hover,
.navbar-links a.active {
    color: var(--text-primary);
}

.navbar-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-accent);
    border-radius: 1px;
    transition: width var(--transition-base);
}

.navbar-links a:hover::after,
.navbar-links a.active::after {
    width: 100%;
}

.navbar-actions {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

/* Mobile menu toggle */
.navbar-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    cursor: pointer;
    z-index: var(--z-modal);
}

.navbar-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition-base);
}

.navbar-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.navbar-toggle.active span:nth-child(2) {
    opacity: 0;
}

.navbar-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* =============================================
   Buttons
   ============================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: 0.65rem 1.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
    border: none;
    cursor: pointer;
    text-decoration: none;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    opacity: 0;
    transition: opacity var(--transition-fast);
}

.btn:hover::before {
    opacity: 1;
}

.btn-primary {
    background: var(--gradient-accent);
    color: #fff;
    box-shadow: 0 4px 15px var(--accent-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--accent-glow);
    color: #fff;
}

.btn-primary::before {
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 100%);
}

.btn-secondary {
    background: var(--glass-bg);
    color: var(--text-primary);
    border: 1px solid var(--glass-border);
}

.btn-secondary:hover {
    background: var(--glass-bg-hover);
    border-color: var(--glass-border-hover);
    color: var(--text-primary);
}

.btn-outline {
    background: transparent;
    color: var(--accent-light);
    border: 1px solid var(--accent);
}

.btn-outline:hover {
    background: var(--accent-subtle);
    color: var(--accent-light);
}

.btn-ghost {
    background: transparent;
    color: var(--text-secondary);
    padding: 0.5rem 1rem;
}

.btn-ghost:hover {
    background: var(--glass-bg);
    color: var(--text-primary);
}

.btn-danger {
    background: linear-gradient(135deg, #e11d48, #f43f5e);
    color: #fff;
}

.btn-danger:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(244, 63, 94, 0.3);
    color: #fff;
}

.btn-success {
    background: linear-gradient(135deg, #059669, #10b981);
    color: #fff;
}

.btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.3);
    color: #fff;
}

.btn-lg {
    padding: 0.85rem 2rem;
    font-size: 1rem;
}

.btn-sm {
    padding: 0.4rem 1rem;
    font-size: 0.8rem;
}

.btn-icon {
    width: 40px;
    height: 40px;
    padding: 0;
    border-radius: var(--radius-md);
}

.btn-block {
    display: flex;
    width: 100%;
}

/* =============================================
   Cards
   ============================================= */
.card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.card:hover {
    border-color: var(--glass-border-hover);
    background: var(--bg-card-hover);
}

.card-glass {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
}

.card-glass:hover {
    background: var(--glass-bg-hover);
    border-color: var(--glass-border-hover);
    box-shadow: var(--shadow-glow);
}

.card-glow::after {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    border-radius: inherit;
    background: var(--gradient-accent);
    z-index: -1;
    opacity: 0;
    transition: opacity var(--transition-base);
}

.card-glow:hover::after {
    opacity: 0.15;
}

/* =============================================
   Forms
   ============================================= */
.form-group {
    margin-bottom: var(--space-lg);
}

.form-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: var(--space-sm);
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    background: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 0.95rem;
    transition: all var(--transition-fast);
    outline: none;
}

.form-control:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-subtle);
}

.form-control::placeholder {
    color: var(--text-muted);
}

textarea.form-control {
    resize: vertical;
    min-height: 100px;
}

select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='rgba(241,241,244,0.35)' viewBox='0 0 16 16'%3E%3Cpath d='M8 12L2 6h12L8 12z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 36px;
}

.form-text {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: var(--space-xs);
}

.form-error {
    font-size: 0.8rem;
    color: var(--rose);
    margin-top: var(--space-xs);
}

.form-check {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    cursor: pointer;
}

.form-check input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--accent);
    cursor: pointer;
}

/* =============================================
   Badges
   ============================================= */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 0.2em 0.65em;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    white-space: nowrap;
    line-height: 1.4;
}

.badge-primary {
    background: var(--accent-subtle);
    color: var(--accent-light);
    border: 1px solid rgba(124, 58, 237, 0.2);
}

.badge-success {
    background: rgba(16, 185, 129, 0.1);
    color: var(--emerald);
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.badge-warning {
    background: rgba(245, 158, 11, 0.1);
    color: var(--amber);
    border: 1px solid rgba(245, 158, 11, 0.2);
}

.badge-danger {
    background: rgba(244, 63, 94, 0.1);
    color: var(--rose);
    border: 1px solid rgba(244, 63, 94, 0.2);
}

.badge-info {
    background: rgba(6, 182, 212, 0.1);
    color: var(--cyan);
    border: 1px solid rgba(6, 182, 212, 0.2);
}

.badge-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
    border: 1px solid var(--border);
}

/* =============================================
   Toast Notifications
   ============================================= */
.toast {
    position: fixed;
    top: 100px;
    right: 20px;
    z-index: var(--z-toast);
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-md) var(--space-lg);
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-xl);
    animation: slideInRight 0.4s ease-out, fadeOut 0.4s ease-in 4.5s forwards;
    max-width: 400px;
}

.toast-success { border-left: 3px solid var(--emerald); }
.toast-error { border-left: 3px solid var(--rose); }
.toast-warning { border-left: 3px solid var(--amber); }
.toast-info { border-left: 3px solid var(--cyan); }

.toast-icon {
    font-size: 1.2rem;
    flex-shrink: 0;
}

.toast-success .toast-icon { color: var(--emerald); }
.toast-error .toast-icon { color: var(--rose); }
.toast-warning .toast-icon { color: var(--amber); }
.toast-info .toast-icon { color: var(--cyan); }

.toast-message {
    font-size: 0.9rem;
    color: var(--text-primary);
}

.toast-close {
    font-size: 1.2rem;
    color: var(--text-muted);
    cursor: pointer;
    padding: 4px;
    margin-left: auto;
    transition: color var(--transition-fast);
}

.toast-close:hover {
    color: var(--text-primary);
}

/* =============================================
   Tables
   ============================================= */
.table-container {
    overflow-x: auto;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
}

table {
    width: 100%;
    border-collapse: collapse;
}

thead {
    background: var(--bg-tertiary);
}

th {
    padding: var(--space-md) var(--space-lg);
    text-align: left;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border);
}

td {
    padding: var(--space-md) var(--space-lg);
    font-size: 0.9rem;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border);
}

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

tbody tr {
    transition: background var(--transition-fast);
}

tbody tr:hover {
    background: var(--glass-bg);
}

/* =============================================
   Modal
   ============================================= */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: var(--bg-overlay);
    backdrop-filter: blur(4px);
    z-index: var(--z-modal);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-xl);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    max-width: 560px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    transform: scale(0.9) translateY(20px);
    transition: transform var(--transition-spring);
}

.modal-overlay.active .modal {
    transform: scale(1) translateY(0);
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-xl) var(--space-xl) var(--space-md);
}

.modal-header h3 {
    font-size: 1.2rem;
}

.modal-close {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    color: var(--text-muted);
    transition: all var(--transition-fast);
    font-size: 1.2rem;
}

.modal-close:hover {
    background: var(--glass-bg);
    color: var(--text-primary);
}

.modal-body {
    padding: var(--space-md) var(--space-xl) var(--space-xl);
}

.modal-footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: var(--space-md);
    padding: var(--space-md) var(--space-xl) var(--space-xl);
}

/* =============================================
   Empty State
   ============================================= */
.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: var(--space-4xl) var(--space-xl);
    text-align: center;
}

.empty-state-icon {
    font-size: 3rem;
    margin-bottom: var(--space-lg);
    opacity: 0.5;
}

.empty-state h3 {
    margin-bottom: var(--space-sm);
    color: var(--text-secondary);
}

.empty-state p {
    color: var(--text-muted);
    margin-bottom: var(--space-xl);
}

/* =============================================
   Pagination
   ============================================= */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    margin-top: var(--space-2xl);
}

.pagination a,
.pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: var(--radius-md);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
    border: 1px solid var(--border);
    transition: all var(--transition-fast);
}

.pagination a:hover {
    background: var(--glass-bg);
    border-color: var(--accent);
    color: var(--accent-light);
}

.pagination .active {
    background: var(--gradient-accent);
    border-color: transparent;
    color: #fff;
}

/* =============================================
   Loading Skeleton
   ============================================= */
.skeleton {
    background: linear-gradient(90deg, var(--bg-card) 25%, var(--bg-tertiary) 50%, var(--bg-card) 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
    border-radius: var(--radius-md);
}

.skeleton-text {
    height: 14px;
    margin-bottom: var(--space-sm);
}

.skeleton-title {
    height: 24px;
    width: 60%;
    margin-bottom: var(--space-md);
}

.skeleton-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
}

/* =============================================
   Footer
   ============================================= */
.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
    padding: var(--space-4xl) 0 var(--space-xl);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--space-3xl);
    margin-bottom: var(--space-3xl);
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-md);
}

.footer-brand .brand-icon {
    width: 32px;
    height: 32px;
    background: var(--gradient-accent);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}

.footer-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: var(--space-lg);
}

.footer-social {
    display: flex;
    gap: var(--space-sm);
}

.footer-social a {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    background: var(--glass-bg);
    border: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 1rem;
    transition: all var(--transition-base);
}

.footer-social a:hover {
    background: var(--accent-subtle);
    border-color: var(--accent);
    color: var(--accent-light);
    transform: translateY(-2px);
}

.footer-title {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-secondary);
    margin-bottom: var(--space-lg);
}

.footer-links li {
    margin-bottom: var(--space-sm);
}

.footer-links a {
    color: var(--text-muted);
    font-size: 0.9rem;
    transition: all var(--transition-fast);
}

.footer-links a:hover {
    color: var(--accent-light);
    padding-left: 4px;
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: var(--space-xl);
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* =============================================
   Animations & Keyframes
   ============================================= */
@keyframes slideInRight {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes fadeOut {
    from { opacity: 1; }
    to { opacity: 0; visibility: hidden; }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

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

@keyframes slideUp {
    from { opacity: 0; transform: translateY(60px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

@keyframes pulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes skeleton-loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

@keyframes glow-pulse {
    0%, 100% { box-shadow: 0 0 20px var(--accent-glow); }
    50% { box-shadow: 0 0 40px var(--accent-glow), 0 0 60px rgba(124, 58, 237, 0.1); }
}

@keyframes gradient-shift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes countUp {
    from { opacity: 0; transform: scale(0.5); }
    to { opacity: 1; transform: scale(1); }
}

/* Scroll reveal */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 100ms; }
.reveal-delay-2 { transition-delay: 200ms; }
.reveal-delay-3 { transition-delay: 300ms; }
.reveal-delay-4 { transition-delay: 400ms; }

/* =============================================
   Loading Spinner
   ============================================= */
.loading-spinner {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.loading-spinner::after {
    content: '';
    width: 20px;
    height: 20px;
    border: 2px solid var(--border);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

.page-loader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: var(--bg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: var(--space-lg);
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.page-loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-logo {
    width: 350px;
    height: auto;
    animation: pulseLogo 2s infinite cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center center;
    will-change: transform;
}

@media (max-width: 768px) {
    .loader-logo { width: 220px; }
}

@keyframes pulseLogo {
    0% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.05); opacity: 1; }
    100% { transform: scale(1); opacity: 0.8; }
}

/* =============================================
   Responsive Breakpoints
   ============================================= */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-2xl);
    }
}

@media (max-width: 768px) {
    /* Premium Off-Canvas Drawer (Mobile/Tablet) */
    .navbar-menu {
        position: fixed;
        /* inset 0 0 0 auto keeps it glued to right side */
        top: 0;
        bottom: 0;
        right: 0;
        height: 100vh;
        width: 85%;
        max-width: 400px;
        background: rgba(10, 10, 15, 0.85); /* Ultra premium dark glass */
        backdrop-filter: blur(35px);
        -webkit-backdrop-filter: blur(35px);
        border-left: 1px solid rgba(255, 255, 255, 0.05);
        box-shadow: -20px 0 60px rgba(0, 0, 0, 0.8);
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start; /* Üstte kalmasını sağlar */
        padding: 5rem 2.5rem;
        gap: 1.5rem;
        /* Slide out init state */
        transform: translateX(100%);
        visibility: hidden;
        transition: transform 0.6s cubic-bezier(0.19, 1, 0.22, 1), visibility 0s 0.6s;
    }

    .navbar-menu.active {
        transform: translateX(0);
        visibility: visible;
        transition: transform 0.6s cubic-bezier(0.19, 1, 0.22, 1), visibility 0s 0s;
    }

    /* Screen Darken Overlay */
    .navbar-menu::before {
        content: '';
        position: fixed;
        top: 0;
        bottom: 0;
        /* Positioned just to the left of the drawer holding width to fill screen */
        right: 100%;
        width: 100vw;
        background: rgba(0, 0, 0, 0.6);
        backdrop-filter: blur(6px);
        -webkit-backdrop-filter: blur(6px);
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.6s cubic-bezier(0.19, 1, 0.22, 1), visibility 0s 0.6s;
        z-index: -1;
    }

    .navbar-menu.active::before {
        opacity: 1;
        visibility: visible;
        transition: opacity 0.6s cubic-bezier(0.19, 1, 0.22, 1), visibility 0s 0s;
    }

    .navbar-links {
        flex-direction: column;
        gap: 1.5rem;
        width: 100%;
    }

    .navbar-links a {
        font-size: 1.5rem;
        font-weight: 700;
        color: #ffffff; /* Contrast fix */
        letter-spacing: -0.5px;
        display: block;
        width: 100%;
        padding-bottom: 0.8rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        opacity: 0;
        transform: translateX(30px);
        transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    }
    
    .navbar-menu.active .navbar-links a {
        opacity: 1;
        transform: translateX(0);
    }
    
    /* Staggered animation values */
    .navbar-menu.active .navbar-links a:nth-child(1) { transition-delay: 0.1s; }
    .navbar-menu.active .navbar-links a:nth-child(2) { transition-delay: 0.15s; }
    .navbar-menu.active .navbar-links a:nth-child(3) { transition-delay: 0.2s; }
    .navbar-menu.active .navbar-links a:nth-child(4) { transition-delay: 0.25s; }

    .navbar-actions {
        flex-direction: column;
        width: 100%;
        gap: 1.5rem;
        opacity: 0;
        transform: translateY(20px);
        transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    }
    
    .navbar-menu.active .navbar-actions {
        opacity: 1;
        transform: translateY(0);
        transition-delay: 0.3s;
    }

    .navbar-actions .btn-wizard {
        width: 100%;
        justify-content: center;
        font-size: 1.1rem;
        padding: 1rem;
    }

    .auth-group {
        display: flex;
        width: 100%;
        gap: 0.5rem;
        align-items: center;
        justify-content: flex-end; /* Sağda olmasını sağlar */
    }

    .auth-group .btn {
        width: auto;
    }

    .auth-group .btn-ghost {
        color: #ffffff; /* Contrast fix for Giriş Yap */
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 8px;
    }

    .navbar-toggle {
        display: flex;
        z-index: 9999; /* Always above the open menu */
        position: relative;
    }
    
    .navbar-toggle.active span {
        background: #fff; /* Make burger icon white when open */
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }

    .footer-bottom {
        flex-direction: column;
        gap: var(--space-md);
        text-align: center;
    }

    section {
        padding: var(--space-3xl) 0;
    }

    .container {
        padding: 0 var(--space-md);
    }
}

@media (max-width: 480px) {
    html {
        font-size: 14px;
    }

    .btn-lg {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }
}

/* =============================================
   Cookie Consent Banner
   ============================================= */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: var(--z-modal);
    padding: var(--space-lg) var(--space-xl);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid var(--border);
    box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.1);
    animation: slideUpCookie 0.5s ease-out;
}

@keyframes slideUpCookie {
    from { transform: translateY(100%); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.cookie-consent-content {
    max-width: var(--container-max);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-xl);
}

.cookie-consent-text {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    flex: 1;
}

.cookie-consent-text .cookie-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.cookie-consent-text p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

.cookie-consent-actions {
    display: flex;
    gap: var(--space-sm);
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .cookie-consent {
        padding: var(--space-md);
        bottom: 0;
    }
    .cookie-consent-content {
        flex-direction: column;
        text-align: center;
        gap: var(--space-md);
    }
    .cookie-consent-text {
        flex-direction: column;
        align-items: center;
        gap: var(--space-sm);
    }
    .cookie-consent-actions {
        width: 100%;
        flex-direction: column;
        gap: var(--space-sm);
    }
    .cookie-consent-actions .btn {
        width: 100%;
        padding: 10px;
    }
}

/* =============================================
   Pulse Animation for Wizard Button
   ============================================= */
@keyframes pulse {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(249, 115, 22, 0.4); }
    70% { transform: scale(1.05); box-shadow: 0 0 0 10px rgba(249, 115, 22, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(249, 115, 22, 0); }
}

/* =============================================
   E-posta Doğrulama Sayfası
   ============================================= */

/* Verify page layout */
.verify-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-xl);
    background: var(--bg-secondary);
}

.verify-card {
    max-width: 480px;
    width: 100%;
    text-align: center;
}

.verify-card .auth-header h1 {
    font-size: 1.6rem;
    margin-bottom: var(--space-sm);
}

.verify-card .auth-header p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Animated mail icon */
.verify-icon {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    margin-bottom: var(--space-lg);
}

.verify-icon svg {
    position: relative;
    z-index: 1;
    animation: mailFloat 3s ease-in-out infinite;
}

.verify-icon-pulse {
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background: var(--accent-subtle);
    animation: iconPulse 2s ease-in-out infinite;
}

@keyframes mailFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

@keyframes iconPulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.15); opacity: 0.2; }
}

/* Verify alerts */
.verify-alert {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-md);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-lg);
    font-size: 0.85rem;
    text-align: left;
}

.verify-alert-error {
    background: rgba(244, 63, 94, 0.08);
    border: 1px solid rgba(244, 63, 94, 0.15);
    color: var(--rose);
}

.verify-alert-success {
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.15);
    color: var(--emerald);
}

.verify-alert svg {
    flex-shrink: 0;
}

/* OTP Input Container */
.otp-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: var(--space-xl);
}

.otp-input {
    width: 52px;
    height: 60px;
    text-align: center;
    font-size: 1.5rem;
    font-weight: 700;
    font-family: 'SF Mono', 'Fira Code', 'Consolas', monospace;
    background: var(--bg-input);
    border: 2px solid var(--border);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    outline: none;
    transition: all var(--transition-fast);
    caret-color: var(--accent);
}

.otp-input:focus,
.otp-input.focused {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-subtle), 0 4px 12px rgba(37, 99, 235, 0.1);
    transform: translateY(-2px);
}

.otp-input.filled {
    border-color: var(--accent-light);
    background: var(--accent-subtle);
}

.otp-separator {
    color: var(--text-muted);
    font-size: 1.2rem;
    font-weight: 300;
    padding: 0 2px;
    user-select: none;
}

/* Submit button states */
.verify-submit {
    margin-bottom: var(--space-lg);
    transition: all var(--transition-base);
}

.verify-submit:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
}

.verify-submit.ready {
    animation: readyPulse 1.5s ease-in-out infinite;
}

@keyframes readyPulse {
    0%, 100% { box-shadow: 0 4px 15px var(--accent-glow); }
    50% { box-shadow: 0 4px 25px rgba(37, 99, 235, 0.35); }
}

.verify-submit .btn-loader {
    display: inline-flex;
    align-items: center;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Resend section */
.verify-resend {
    padding: var(--space-lg) 0;
    border-top: 1px solid var(--border);
    margin-top: var(--space-md);
}

.verify-resend-text {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: var(--space-sm);
}

.verify-resend-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent);
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-md);
    border: 1px solid var(--accent-subtle);
    background: var(--accent-subtle);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.verify-resend-btn:hover:not(:disabled) {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
}

.verify-resend-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

/* Countdown timer */
.verify-countdown {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    justify-content: center;
    padding: var(--space-sm) 0;
}

.countdown-ring {
    position: relative;
    width: 40px;
    height: 40px;
}

.countdown-ring svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.countdown-bg {
    fill: none;
    stroke: var(--border);
    stroke-width: 2.5;
}

.countdown-progress {
    fill: none;
    stroke: var(--accent);
    stroke-width: 2.5;
    stroke-linecap: round;
    transition: stroke-dasharray 1s linear;
}

.countdown-number {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--accent);
    font-family: 'SF Mono', monospace;
}

.countdown-label {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Success overlay */
.verify-success-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.verify-success-content {
    text-align: center;
    color: #fff;
}

.verify-success-content h2 {
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: var(--space-sm);
}

.verify-success-content p {
    color: rgba(255,255,255,0.6);
}

/* Checkmark animation */
.verify-checkmark {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--space-xl);
}

.verify-checkmark svg {
    width: 100%;
    height: 100%;
}

.verify-checkmark-circle {
    stroke: var(--emerald);
    stroke-width: 2;
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    animation: checkStroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.verify-checkmark-check {
    stroke: var(--emerald);
    stroke-width: 2;
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    animation: checkStroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.4s forwards;
}

@keyframes checkStroke {
    100% { stroke-dashoffset: 0; }
}

/* Shake animation for errors */
.shake {
    animation: shake 0.5s cubic-bezier(.36,.07,.19,.97) both;
}

@keyframes shake {
    10%, 90% { transform: translateX(-2px); }
    20%, 80% { transform: translateX(4px); }
    30%, 50%, 70% { transform: translateX(-6px); }
    40%, 60% { transform: translateX(6px); }
}

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

/* Mobile responsive */
@media (max-width: 480px) {
    .otp-container {
        gap: 4px;
    }
    
    .otp-input {
        width: 42px;
        height: 50px;
        font-size: 1.25rem;
    }
    
    .otp-separator {
        padding: 0;
        font-size: 1rem;
    }
    
    .verify-card .auth-header h1 {
        font-size: 1.3rem;
    }
    
    .verify-icon {
        width: 64px;
        height: 64px;
    }
    
    .verify-icon svg {
        width: 44px;
        height: 44px;
    }
}

