@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&family=Bricolage+Grotesque:opsz,wght@12..96,300;12..96,400;12..96,500;12..96,600;12..96,700;12..96,800&display=swap');

:root {
  --green:        #3d7a5c;
  --green-light:  #4e9670;
  --green-dim:    #2a5540;
  --green-muted:  #1e3d2d;
  --green-glow:   rgba(61, 122, 92, 0.25);

  --bg-0:   #0d0f0e;
  --bg-1:   #111613;
  --bg-2:   #161d19;
  --bg-3:   #1c2620;
  --bg-4:   #222e28;

  --surface:        #1a2320;
  --surface-hover:  #202c27;
  --surface-border: #263028;

  --text-primary:   #e8ede9;
  --text-secondary: #8fa898;
  --text-muted:     #556660;

  
  --theme-icon-dark: '☀️';
  --theme-icon-light: '🌙';

  --status-pending:     #d4a843;
  --status-reviewing:   #4a9fd4;
  --status-quoted:      #9b6dd4;
  --status-accepted:    #3d7a5c;
  --status-in-progress: #3d8fa0;
  --status-completed:   #2ecc71;
  --status-cancelled:   #d45c5c;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  --shadow-sm:  0 2px 8px rgba(0,0,0,0.3);
  --shadow-md:  0 4px 24px rgba(0,0,0,0.4);
  --shadow-lg:  0 8px 48px rgba(0,0,0,0.5);
  --shadow-green: 0 0 40px rgba(61,122,92,0.2);

  --transition: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background: var(--bg-0);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  transition: background 0.3s ease, color 0.3s ease;
}

body.light-theme {
  --green:        #2d6b4a;
  --green-light:  #3d8a5e;
  --green-dim:    #b8d4c4;
  --green-muted:  #deeee6;
  --green-glow:   rgba(45, 107, 74, 0.12);

  --bg-0:   #e8ede9;
  --bg-1:   #e0e8e2;
  --bg-2:   #d8e2db;
  --bg-3:   #cedad4;
  --bg-4:   #c4d2cb;

  --surface:        #f0f5f1;
  --surface-hover:  #e8f0eb;
  --surface-border: #bfcfc6;

  --text-primary:   #1a2820;
  --text-secondary: #3d5248;
  --text-muted:     #6a8878;

  --status-pending:     #b8860b;
  --status-reviewing:   #2874a6;
  --status-quoted:      #7d3c98;
  --status-accepted:    #1e8449;
  --status-in-progress: #1a7a8c;
  --status-completed:   #1e8449;
  --status-cancelled:   #c0392b;
}

.theme-toggle {
  width: 40px; height: 40px;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--surface-border);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  transition: var(--transition);
  color: var(--text-secondary);
  flex-shrink: 0;
}
.theme-toggle:hover { border-color: var(--green); color: var(--text-primary); transform: scale(1.05); }

.sidebar-theme-toggle {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; border-radius: var(--radius-md);
  cursor: pointer; width: 100%; margin-bottom: 4px;
  background: transparent; border: none;
  color: var(--text-secondary); font-size: 13px; font-weight: 500;
  transition: var(--transition);
}
.sidebar-theme-toggle:hover { background: var(--surface); color: var(--text-primary); }
.sidebar-theme-toggle .toggle-track {
  width: 36px; height: 20px; border-radius: 10px;
  background: var(--bg-3); border: 1px solid var(--surface-border);
  position: relative; transition: var(--transition); flex-shrink: 0;
}
.sidebar-theme-toggle .toggle-thumb {
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--text-muted);
  position: absolute; top: 2px; left: 2px;
  transition: var(--transition);
}
body.light-theme .sidebar-theme-toggle .toggle-track { background: var(--green); border-color: var(--green); }
body.light-theme .sidebar-theme-toggle .toggle-thumb { background: #fff; transform: translateX(16px); }

@keyframes float1 {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  33% { transform: translateY(-18px) rotate(3deg); }
  66% { transform: translateY(-8px) rotate(-2deg); }
}
@keyframes float2 {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  40% { transform: translateY(-22px) rotate(-4deg); }
  70% { transform: translateY(-6px) rotate(2deg); }
}
@keyframes float3 {
  0%, 100% { transform: translateY(0px) scale(1); }
  50% { transform: translateY(-12px) scale(1.05); }
}
@keyframes pulseGlow {
  0%, 100% { opacity: 0.3; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.15); }
}
@keyframes orb-move {
  0%, 100% { transform: translate(0, 0); }
  25% { transform: translate(30px, -20px); }
  50% { transform: translate(-20px, 30px); }
  75% { transform: translate(20px, 20px); }
}
@keyframes particle-float {
  0% { transform: translateY(0) translateX(0); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 0.7; }
  100% { transform: translateY(-120px) translateX(20px); opacity: 0; }
}
@keyframes slide-in-left {
  from { opacity: 0; transform: translateX(-30px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes slide-in-right {
  from { opacity: 0; transform: translateX(30px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes dash-rotate {
  0% { stroke-dashoffset: 300; }
  100% { stroke-dashoffset: 0; }
}

.auth-visual-orb {
  position: absolute; border-radius: 50%; filter: blur(60px); opacity: 0.4;
  width: 400px; height: 400px;
  background: radial-gradient(circle, var(--green-dim), transparent);
  top: -100px; right: -100px;
  animation: orb-move 12s ease-in-out infinite;
}
.auth-visual-orb2 {
  position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.25;
  width: 300px; height: 300px;
  background: radial-gradient(circle, var(--green-light), transparent);
  bottom: -80px; left: -60px;
  animation: orb-move 16s ease-in-out infinite reverse;
}

.auth-float-cards {
  display: flex; flex-direction: column; gap: 14px;
  margin-top: 36px; width: 100%;
}
.auth-float-card {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 18px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(61,122,92,0.35);
  border-radius: 12px;
  backdrop-filter: blur(8px);
  transition: border-color 0.3s;
}
.auth-float-card:nth-child(1) { animation: float1 6s ease-in-out infinite; }
.auth-float-card:nth-child(2) { animation: float2 8s ease-in-out infinite 0.5s; }
.auth-float-card:nth-child(3) { animation: float3 7s ease-in-out infinite 1s; }

.auth-float-card:hover { border-color: rgba(78,150,112,0.6); }

.auth-float-icon {
  width: 34px; height: 34px; border-radius: 8px;
  background: rgba(61,122,92,0.25);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

.auth-particles {
  position: absolute; inset: 0; overflow: hidden; pointer-events: none;
}
.auth-particle {
  position: absolute; width: 4px; height: 4px;
  border-radius: 50%; background: var(--green-light);
  animation: particle-float linear infinite;
}
.auth-particle:nth-child(1)  { left: 15%; bottom: 0; animation-duration: 8s;  animation-delay: 0s;   opacity: 0.6; width: 3px; height: 3px; }
.auth-particle:nth-child(2)  { left: 35%; bottom: 0; animation-duration: 11s; animation-delay: 2s;   opacity: 0.4; }
.auth-particle:nth-child(3)  { left: 55%; bottom: 0; animation-duration: 9s;  animation-delay: 4s;   opacity: 0.7; width: 5px; height: 5px; }
.auth-particle:nth-child(4)  { left: 75%; bottom: 0; animation-duration: 13s; animation-delay: 1s;   opacity: 0.3; }
.auth-particle:nth-child(5)  { left: 88%; bottom: 0; animation-duration: 10s; animation-delay: 3s;   opacity: 0.5; width: 3px; height: 3px; }
.auth-particle:nth-child(6)  { left: 25%; bottom: 0; animation-duration: 12s; animation-delay: 5s;   opacity: 0.4; }
.auth-particle:nth-child(7)  { left: 65%; bottom: 0; animation-duration: 7s;  animation-delay: 1.5s; opacity: 0.6; width: 2px; height: 2px; }

.auth-visual { animation: slide-in-left 0.6s ease-out; }
.auth-form-side { animation: slide-in-right 0.6s ease-out; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, textarea, select { font-family: inherit; }
img { max-width: 100%; display: block; }

h1, h2, h3, h4, h5 { font-family: 'Bricolage Grotesque', sans-serif; line-height: 1.2; }

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-1); }
::-webkit-scrollbar-thumb { background: var(--bg-4); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--green-dim); }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.page-wrap { min-height: 100vh; display: flex; flex-direction: column; }

.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(13,15,14,0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--surface-border);
  transition: var(--transition);
}
.nav-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 24px; height: 64px;
  position: relative;
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
}
.nav-logo img { height: 32px; width: auto; }
.nav-logo-text {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 20px; font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--text-primary);
}
.nav-logo-text span { color: var(--green); }
.nav-links {
  display: flex; gap: 8px;
  flex: 1;
  justify-content: center;
}
.nav-links a {
  padding: 8px 16px; border-radius: var(--radius-sm);
  font-size: 14px; font-weight: 500; color: var(--text-secondary);
  transition: var(--transition);
}
.nav-links a:hover, .nav-links a.active {
  color: var(--text-primary); background: var(--surface);
}
.nav-actions { display: flex; align-items: center; gap: 8px; }

.lang-selector {
  position: relative;
}
.lang-btn {
  display: flex; align-items: center; gap: 6px;
  padding: 7px 12px; border-radius: var(--radius-sm);
  background: var(--surface); border: 1px solid var(--surface-border);
  color: var(--text-secondary); font-size: 13px; font-weight: 600;
  cursor: pointer; transition: var(--transition);
  white-space: nowrap;
}
.lang-btn:hover { border-color: var(--green-dim); color: var(--text-primary); }
.lang-flag { font-size: 16px; line-height: 1; }
.lang-dropdown {
  position: absolute; top: calc(100% + 8px); right: 0;
  background: var(--bg-2); border: 1px solid var(--surface-border);
  border-radius: var(--radius-md); padding: 6px;
  min-width: 140px; box-shadow: var(--shadow-md);
  z-index: 500; display: none;
}
.lang-dropdown.open { display: block; }
.lang-option {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 12px; border-radius: var(--radius-sm);
  cursor: pointer; font-size: 13px; font-weight: 500;
  color: var(--text-secondary); transition: var(--transition);
}
.lang-option:hover { background: var(--surface); color: var(--text-primary); }
.lang-option.active { color: var(--green-light); background: var(--green-muted); }
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  padding: 8px; cursor: pointer;
}
.hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--text-secondary); border-radius: 2px;
  transition: var(--transition);
}
.mobile-menu {
  display: none; flex-direction: column; gap: 4px;
  padding: 16px 24px; border-top: 1px solid var(--surface-border);
  background: var(--bg-1);
}
.mobile-menu.open { display: flex; }
.mobile-menu a { padding: 10px 12px; border-radius: var(--radius-sm); color: var(--text-secondary); }
.mobile-menu a:hover { background: var(--surface); color: var(--text-primary); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 20px; border-radius: var(--radius-md);
  font-size: 14px; font-weight: 600; cursor: pointer;
  transition: var(--transition); white-space: nowrap;
}
.btn-primary {
  background: var(--green); color: #fff;
  border: 1px solid var(--green);
}
.btn-primary:hover {
  background: var(--green-light); border-color: var(--green-light);
  box-shadow: 0 0 20px var(--green-glow);
}
.btn-ghost {
  background: transparent; color: var(--text-secondary);
  border: 1px solid var(--surface-border);
}
.btn-ghost:hover {
  background: var(--surface); color: var(--text-primary);
  border-color: var(--green-dim);
}
.btn-danger {
  background: rgba(212,92,92,0.1); color: #d45c5c;
  border: 1px solid rgba(212,92,92,0.2);
}
.btn-danger:hover { background: rgba(212,92,92,0.2); }
.btn-sm { padding: 7px 14px; font-size: 13px; }
.btn-lg { padding: 14px 28px; font-size: 15px; border-radius: var(--radius-lg); }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }

.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-label {
  font-size: 13px; font-weight: 500; color: var(--text-secondary);
  letter-spacing: 0.02em;
}
.form-input, .form-select, .form-textarea {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  padding: 11px 14px; font-size: 14px;
  transition: var(--transition);
  outline: none; width: 100%;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px var(--green-glow);
  background: var(--bg-2);
}
.form-input::placeholder, .form-textarea::placeholder { color: var(--text-muted); }
.form-select { appearance: none; cursor: pointer; }
.form-select option { background: var(--bg-2); }
.form-textarea { resize: vertical; min-height: 120px; }
.form-error { font-size: 12px; color: #d45c5c; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.card {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-lg);
  padding: 24px;
}
.card:hover { border-color: var(--green-dim); }

.status-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px; border-radius: 20px; font-size: 12px; font-weight: 600;
}
.status-pending    { background: rgba(212,168,67,0.15); color: var(--status-pending); }
.status-reviewing  { background: rgba(74,159,212,0.15); color: var(--status-reviewing); }
.status-quoted     { background: rgba(155,109,212,0.15); color: var(--status-quoted); }
.status-accepted   { background: rgba(61,122,92,0.15); color: var(--status-accepted); }
.status-in_progress{ background: rgba(61,143,160,0.15); color: var(--status-in-progress); }
.status-completed  { background: rgba(46,204,113,0.15); color: var(--status-completed); }
.status-cancelled  { background: rgba(212,92,92,0.15); color: var(--status-cancelled); }

.section-header { text-align: center; margin-bottom: 64px; }
.section-tag {
  display: inline-block; padding: 4px 14px;
  background: var(--green-muted); color: var(--green-light);
  border: 1px solid var(--green-dim);
  border-radius: 20px; font-size: 12px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  margin-bottom: 16px;
}
.section-header h2 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800; margin-bottom: 12px;
}
.section-header h2 .accent { color: var(--green); }
.section-header p { font-size: 16px; color: var(--text-secondary); max-width: 520px; margin: 0 auto; }

.toast-container {
  position: fixed; top: 80px; right: 20px; z-index: 9999;
  display: flex; flex-direction: column; gap: 8px;
}
.toast {
  padding: 12px 20px; border-radius: var(--radius-md);
  font-size: 14px; font-weight: 500;
  display: flex; align-items: center; gap: 10px;
  min-width: 280px; max-width: 400px;
  animation: toastIn 0.3s ease;
  border: 1px solid;
  box-shadow: var(--shadow-md);
}
.toast-success { background: rgba(46,204,113,0.1); border-color: rgba(46,204,113,0.2); color: #2ecc71; }
.toast-error   { background: rgba(212,92,92,0.1);  border-color: rgba(212,92,92,0.2);  color: #d45c5c; }
.toast-info    { background: rgba(61,122,92,0.1);  border-color: rgba(61,122,92,0.2);  color: var(--green-light); }
@keyframes toastIn { from { opacity: 0; transform: translateX(20px); } to { opacity: 1; transform: none; } }

.spinner {
  width: 20px; height: 20px;
  border: 2px solid rgba(255,255,255,0.2);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  display: inline-block;
}
@keyframes spin { to { transform: rotate(360deg); } }

.dash-layout {
  display: block;
  min-height: 100vh;
}
.sidebar {
  background: var(--bg-1);
  border-right: 1px solid var(--surface-border);
  display: flex; flex-direction: column;
  position: fixed; top: 0; left: 0; bottom: 0; width: 240px;
  z-index: 100; overflow-y: auto;
}
.sidebar-logo {
  padding: 24px 20px; border-bottom: 1px solid var(--surface-border);
  display: flex; align-items: center; gap: 10px;
}
.sidebar-logo img { height: 28px; }
.sidebar-logo-text {
  font-family: 'Bricolage Grotesque', sans-serif; font-size: 18px; font-weight: 800;
}
.sidebar-logo-text span { color: var(--green); }
.sidebar-nav { padding: 16px 12px; flex: 1; }
.sidebar-section-label {
  font-size: 11px; font-weight: 600; color: var(--text-muted);
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 0 8px; margin: 16px 0 8px;
}
.sidebar-link {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; border-radius: var(--radius-md);
  font-size: 14px; font-weight: 500; color: var(--text-secondary);
  transition: var(--transition); margin-bottom: 2px;
}
.sidebar-link:hover { background: var(--surface); color: var(--text-primary); }
.sidebar-link.active {
  background: var(--green-muted); color: var(--green-light);
  border: 1px solid var(--green-dim);
}
.sidebar-link svg { flex-shrink: 0; }
.sidebar-badge {
  margin-left: auto; min-width: 20px; height: 20px;
  background: var(--green); color: #fff; border-radius: 10px;
  font-size: 11px; font-weight: 700;
  display: flex; align-items: center; justify-content: center; padding: 0 6px;
}
.sidebar-footer {
  padding: 16px 12px; border-top: 1px solid var(--surface-border);
}
.sidebar-user {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; border-radius: var(--radius-md);
}
.sidebar-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--green-muted); border: 2px solid var(--green-dim);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Bricolage Grotesque', sans-serif; font-size: 14px; font-weight: 700;
  color: var(--green-light); flex-shrink: 0;
}
.sidebar-user-info { flex: 1; min-width: 0; }
.sidebar-user-name { font-size: 13px; font-weight: 600; truncate: ellipsis; white-space: nowrap; overflow: hidden; }
.sidebar-user-role { font-size: 11px; color: var(--text-muted); }

.dash-main {
  margin-left: 240px; padding: 32px;
  min-height: 100vh; background: var(--bg-0);
}
.dash-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 32px;
}
.dash-title { font-size: 24px; font-weight: 800; }
.dash-subtitle { font-size: 14px; color: var(--text-secondary); margin-top: 4px; white-space: nowrap; }

.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; margin-bottom: 32px; }
.stat-card {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-lg);
  padding: 20px;
  transition: var(--transition);
}
.stat-card:hover { border-color: var(--green-dim); transform: translateY(-2px); }
.stat-card-label { font-size: 12px; color: var(--text-muted); font-weight: 500; text-transform: uppercase; letter-spacing: 0.05em; }
.stat-card-value { font-family: 'Bricolage Grotesque', sans-serif; font-size: 32px; font-weight: 800; margin: 8px 0 4px; color: var(--green-light); }
.stat-card-sub { font-size: 12px; color: var(--text-muted); }

.data-table { width: 100%; border-collapse: collapse; }
.data-table th {
  text-align: left; padding: 12px 16px;
  font-size: 11px; font-weight: 600; color: var(--text-muted);
  text-transform: uppercase; letter-spacing: 0.08em;
  border-bottom: 1px solid var(--surface-border);
}
.data-table td {
  padding: 14px 16px; font-size: 14px;
  border-bottom: 1px solid rgba(38,48,40,0.5);
  color: var(--text-secondary);
}
.data-table tr:hover td { background: var(--surface); color: var(--text-primary); }
.data-table tr:last-child td { border-bottom: none; }

.tabs { display: flex; gap: 4px; background: var(--bg-2); padding: 4px; border-radius: var(--radius-md); width: fit-content; margin-bottom: 24px; flex-wrap: wrap; }
.tab-btn {
  padding: 8px 16px; border-radius: var(--radius-sm); font-size: 13px; font-weight: 500;
  color: var(--text-secondary); transition: var(--transition); cursor: pointer;
  white-space: nowrap;
}
.tab-btn.active { background: var(--surface); color: var(--text-primary); }

.chat-wrap {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-lg);
  display: flex; flex-direction: column; height: 420px;
}
.chat-messages {
  flex: 1; overflow-y: auto; padding: 20px; display: flex; flex-direction: column; gap: 12px;
}
.chat-msg {
  max-width: 70%;
  padding: 10px 14px; border-radius: var(--radius-md);
  font-size: 14px; line-height: 1.5;
}
.chat-msg.mine {
  align-self: flex-end;
  background: var(--green-muted); border: 1px solid var(--green-dim); color: var(--text-primary);
  border-bottom-right-radius: 4px;
}
.chat-msg.theirs {
  align-self: flex-start;
  background: var(--bg-3); border: 1px solid var(--surface-border); color: var(--text-secondary);
  border-bottom-left-radius: 4px;
}
.chat-msg-meta { font-size: 11px; color: var(--text-muted); margin-top: 4px; }
.chat-input-wrap {
  display: flex; gap: 10px; padding: 16px;
  border-top: 1px solid var(--surface-border);
}
.chat-input {
  flex: 1; background: var(--bg-2); border: 1px solid var(--surface-border);
  border-radius: var(--radius-md); color: var(--text-primary); padding: 10px 14px; font-size: 14px;
  outline: none; resize: none;
}
.chat-input:focus { border-color: var(--green); }

.modal-overlay {
  display: none; position: fixed; inset: 0; z-index: 2000;
  background: rgba(0,0,0,0.7); backdrop-filter: blur(4px);
  align-items: center; justify-content: center;
}
.modal-overlay.open { display: flex; }
.modal {
  background: var(--bg-2);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-xl);
  padding: 32px; width: 100%; max-width: 540px;
  max-height: 90vh; overflow-y: auto;
  animation: modalIn 0.25s ease;
}
@keyframes modalIn { from { opacity: 0; transform: scale(0.95) translateY(10px); } to { opacity: 1; transform: none; } }
.modal-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.modal-title { font-family: 'Bricolage Grotesque', sans-serif; font-size: 20px; font-weight: 700; }
.modal-close { color: var(--text-muted); cursor: pointer; padding: 4px; transition: var(--transition); }
.modal-close:hover { color: var(--text-primary); }

.hero {
  min-height: 100vh; display: flex; align-items: center;
  position: relative; overflow: hidden;
  padding: 100px 24px 60px;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.orb {
  position: absolute; border-radius: 50%;
  filter: blur(80px); opacity: 0.35;
  animation: orbFloat 8s ease-in-out infinite;
}
.orb1 { width: 500px; height: 500px; background: radial-gradient(circle, var(--green-dim), transparent); top: -100px; right: -100px; }
.orb2 { width: 350px; height: 350px; background: radial-gradient(circle, #1a3d2a, transparent); bottom: -50px; left: 10%; animation-delay: -4s; }
@keyframes orbFloat { 0%,100% { transform: translateY(0) scale(1); } 50% { transform: translateY(-30px) scale(1.05); } }
.grid-lines {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(61,122,92,0.04) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(61,122,92,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero-inner {
  position: relative; z-index: 1;
  max-width: 1200px; margin: 0 auto; width: 100%;
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: 20px;
  background: var(--green-muted); border: 1px solid var(--green-dim);
  color: var(--green-light); font-size: 13px; font-weight: 500;
  margin-bottom: 24px;
}
.hero-title {
  font-size: clamp(36px, 5vw, 64px); font-weight: 800;
  line-height: 1.1; margin-bottom: 20px;
  letter-spacing: -1px;
}
.hero-title .accent { color: var(--green); }
.hero-desc { font-size: 17px; color: var(--text-secondary); margin-bottom: 36px; line-height: 1.7; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 48px; }
.hero-stats { display: flex; gap: 32px; }
.hero-stat-num {
  font-family: 'Bricolage Grotesque', sans-serif; font-size: 28px; font-weight: 800; color: var(--green-light);
}
.hero-stat-label { font-size: 13px; color: var(--text-muted); }
.hero-visual { position: relative; }
.hero-visual-main {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-xl);
  padding: 24px;
  box-shadow: var(--shadow-lg), var(--shadow-green);
}
.hvm-header { display: flex; align-items: center; gap: 8px; margin-bottom: 20px; }
.hvm-dot { width: 10px; height: 10px; border-radius: 50%; }
.hvm-dot-red { background: #d45c5c; } .hvm-dot-yellow { background: #d4a843; } .hvm-dot-green { background: var(--green); }
.hvm-title { font-size: 13px; color: var(--text-muted); margin-left: 8px; }
.service-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.service-chip {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: var(--radius-md);
  background: var(--bg-3); border: 1px solid var(--surface-border);
  font-size: 13px; color: var(--text-secondary);
  transition: var(--transition);
}
.service-chip:hover { border-color: var(--green-dim); color: var(--text-primary); }
.service-chip svg { color: var(--green); }
.floating-badge {
  position: absolute;
  background: var(--bg-2); border: 1px solid var(--green-dim);
  border-radius: var(--radius-md); padding: 10px 16px;
  display: flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 500;
  box-shadow: var(--shadow-md);
  animation: floatBadge 4s ease-in-out infinite;
}
.fb1 { bottom: -20px; left: -30px; animation-delay: 0s; }
.fb2 { top: -20px; right: -20px; animation-delay: -2s; }
@keyframes floatBadge { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.fb-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); flex-shrink: 0; animation: pulse 2s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.4; } }

.services-section { padding: 100px 0; }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.service-card {
  background: var(--surface); border: 1px solid var(--surface-border);
  border-radius: var(--radius-xl); padding: 28px;
  transition: var(--transition); position: relative; overflow: hidden;
}
.service-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--green), transparent);
  opacity: 0; transition: var(--transition);
}
.service-card:hover { border-color: var(--green-dim); transform: translateY(-4px); box-shadow: var(--shadow-green); }
.service-card:hover::before { opacity: 1; }
.service-card.featured { border-color: var(--green-dim); background: linear-gradient(135deg, var(--green-muted), var(--surface)); }
.service-card.featured::before { opacity: 1; }
.featured-tag {
  display: inline-block; padding: 3px 10px; border-radius: 20px;
  background: var(--green); color: #fff; font-size: 11px; font-weight: 600;
  margin-bottom: 16px; letter-spacing: 0.04em;
}
.service-icon-box {
  width: 52px; height: 52px; border-radius: var(--radius-md);
  background: var(--green-muted); border: 1px solid var(--green-dim);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px; color: var(--green-light);
}
.service-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.service-card p { font-size: 14px; color: var(--text-secondary); line-height: 1.6; margin-bottom: 20px; }
.service-features { list-style: none; display: flex; flex-direction: column; gap: 8px; margin-bottom: 24px; }
.service-features li {
  font-size: 13px; color: var(--text-secondary);
  display: flex; align-items: center; gap: 8px;
}
.service-features li::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--green); flex-shrink: 0;
}
.service-card-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 14px; font-weight: 600; color: var(--green-light);
  transition: var(--transition);
}
.service-card-link:hover { gap: 10px; }

.how-section { padding: 100px 0; background: var(--bg-1); }
.how-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px; position: relative; }
.how-step { text-align: center; position: relative; }
.step-num {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--green-muted); border: 2px solid var(--green-dim);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Bricolage Grotesque', sans-serif; font-size: 22px; font-weight: 800; color: var(--green-light);
  margin: 0 auto 20px;
}
.how-step h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.how-step p { font-size: 14px; color: var(--text-secondary); line-height: 1.6; }

.footer {
  background: var(--bg-1); border-top: 1px solid var(--surface-border);
  padding: 48px 0 24px;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; margin-bottom: 40px; }
.footer-brand p { font-size: 14px; color: var(--text-muted); margin-top: 12px; line-height: 1.7; max-width: 300px; }
.footer-col h4 { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-secondary); margin-bottom: 16px; }
.footer-col a { display: block; font-size: 14px; color: var(--text-muted); margin-bottom: 8px; transition: var(--transition); }
.footer-col a:hover { color: var(--green-light); }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 24px; border-top: 1px solid var(--surface-border);
  font-size: 13px; color: var(--text-muted);
}

.auth-page {
  min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr;
}
.auth-visual {
  background: linear-gradient(135deg, var(--bg-2), var(--green-muted));
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 48px; position: relative; overflow: hidden;
}
.auth-visual-content { position: relative; z-index: 1; text-align: center; }
.auth-visual-logo img { height: 48px; margin: 0 auto 24px; }
.auth-visual-logo-text { font-family: 'Bricolage Grotesque', sans-serif; font-size: 28px; font-weight: 800; margin-bottom: 16px; }
.auth-visual-logo-text span { color: var(--green); }
.auth-visual p { font-size: 16px; color: var(--text-secondary); line-height: 1.7; }
.auth-form-side {
  display: flex; align-items: center; justify-content: center;
  padding: 48px; background: var(--bg-0);
}
.auth-box { width: 100%; max-width: 400px; }
.auth-box h1 { font-size: 28px; font-weight: 800; margin-bottom: 8px; }
.auth-box p { color: var(--text-secondary); margin-bottom: 32px; font-size: 15px; }
.auth-form { display: flex; flex-direction: column; gap: 18px; }
.auth-footer { text-align: center; margin-top: 24px; font-size: 14px; color: var(--text-muted); }
.auth-footer a { color: var(--green-light); font-weight: 600; }
.auth-footer a:hover { text-decoration: underline; }
.auth-divider { display: flex; align-items: center; gap: 12px; color: var(--text-muted); font-size: 12px; }
.auth-divider::before, .auth-divider::after { content: ''; flex: 1; height: 1px; background: var(--surface-border); }

.notif-bell-wrap { position: relative; }
.notif-bell {
  width: 38px; height: 38px; border-radius: var(--radius-md);
  background: var(--surface); border: 1px solid var(--surface-border);
  display: flex; align-items: center; justify-content: center; cursor: pointer;
  color: var(--text-secondary); transition: var(--transition);
}
.notif-bell:hover { border-color: var(--green-dim); color: var(--text-primary); }
.notif-count {
  position: absolute; top: -6px; right: -6px;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--green); color: #fff; font-size: 11px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.notif-dropdown {
  position: absolute; top: 48px; right: 0; width: 340px;
  background: var(--bg-2); border: 1px solid var(--surface-border);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  z-index: 500; display: none;
}
.notif-dropdown.open { display: block; }
.notif-dropdown-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px; border-bottom: 1px solid var(--surface-border);
  font-size: 14px; font-weight: 600;
}
.notif-item {
  padding: 14px 20px; border-bottom: 1px solid rgba(38,48,40,0.5);
  font-size: 13px; cursor: pointer; transition: var(--transition);
}
.notif-item:hover { background: var(--surface); }
.notif-item.unread { background: rgba(61,122,92,0.05); }
.notif-item-title { font-weight: 600; color: var(--text-primary); margin-bottom: 3px; }
.notif-item-msg { color: var(--text-secondary); }
.notif-item-time { color: var(--text-muted); font-size: 11px; margin-top: 4px; }

.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius-md);
}

.order-detail-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 20px;
  align-items: start;
}

@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .dash-layout { grid-template-columns: 1fr; }
  .sidebar { display: none; }
  .dash-main { margin-left: 0; padding: 20px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .order-detail-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .nav-links, .nav-actions { display: none; }
  .hamburger { display: flex; }
  .auth-page { grid-template-columns: 1fr; }
  .auth-visual { display: none; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-stats { flex-wrap: wrap; gap: 16px; }
  .dash-main { padding: 16px; }
  .dash-title { font-size: 20px; }
  .dash-header { flex-wrap: wrap; gap: 12px; }
  .stats-grid { grid-template-columns: 1fr; }
  .card { padding: 16px; }
  .order-detail-grid { grid-template-columns: 1fr; }
  .data-table th, .data-table td { padding: 10px 12px; font-size: 13px; }
  .chat-wrap { height: 340px; }
}

#ozel-imlek {
  position: fixed;
  width: 36px;
  height: 36px;
  border: 2px solid var(--green);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99999;
  transition: width 0.2s ease, height 0.2s ease, border-color 0.2s ease, background 0.2s ease, opacity 0.3s ease;
  mix-blend-mode: normal;
}

#ozel-noqte {
  position: fixed;
  width: 8px;
  height: 8px;
  background: var(--green-light);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99999;
  transition: transform 0.08s linear, opacity 0.3s ease;
}

#ozel-imlek.böyük {
  width: 56px;
  height: 56px;
  border-color: var(--green-light);
  background: rgba(61, 122, 92, 0.08);
}

#ozel-imlek.sıxılmış {
  width: 28px;
  height: 28px;
  background: rgba(61, 122, 92, 0.2);
}

#ozel-noqte.gizli {
  opacity: 0;
}

#ozel-noqte.sıxılmış {
  transform: translate(-50%, -50%) scale(0.5) !important;
}

* {
  cursor: none !important;
}

* {
  cursor: none !important;
}

* {
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='28' viewBox='0 0 24 28'%3E%3Cpath d='M2 2 L2 22 L7 16 L11 24 L14 23 L10 15 L18 15 Z' fill='%233d7a5c' stroke='%232a5540' stroke-width='1' stroke-linejoin='round'/%3E%3C/svg%3E") 2 2, auto !important;
}

.imlec-iz {
  position: fixed;
  border-radius: 50%;
  background: #3d7a5c;
  pointer-events: none;
  z-index: 99998;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 4px rgba(61, 122, 92, 0.6);
}