*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  --bg: #06060e;
  --bg2: #0a0a1a;
  --card: rgba(14, 14, 30, 0.88);
  --card-solid: #0e0e1e;
  --glass: rgba(255,255,255,0.06);
  --glass-border: rgba(255,255,255,0.08);
  --accent: #7c5cfc;
  --accent2: #a855f7;
  --accent3: #c084fc;
  --pink: #f472b6;
  --blue: #38bdf8;
  --cyan: #22d3ee;
  --green: #34d399;
  --orange: #fb923c;
  --red: #fb7185;
  --yellow: #fbbf24;
  --text: #e4e4f0;
  --text2: #8b8ba8;
  --text3: #55556e;
  --input-bg: rgba(255,255,255,0.035);
  --input-border: rgba(255,255,255,0.09);
  --success: #34d399;
  --error: #fb7185;
  --radius: 14px;
  --sidebar-w: 260px;
  --sidebar-collapsed: 72px;
  --topbar-h: 64px;
}
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  min-height: 100vh;
  color: var(--text);
  overflow-x: hidden;
}
.auth-screen {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.bg { position: fixed; inset: 0; z-index: 0; overflow: hidden; }
.bg .orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.25;
  animation: fireOrb 8s ease-in-out infinite;
}
.bg .orb:nth-child(1) {
  width: 400px; height: 400px;
  background: radial-gradient(circle, #ff6b2b, #ff4500);
  bottom: -15%; left: 30%;
  animation-delay: 0s;
}
.bg .orb:nth-child(2) {
  width: 300px; height: 300px;
  background: radial-gradient(circle, #ff8c42, #e65c00);
  bottom: -5%; left: 50%;
  animation-delay: -2s;
}
.bg .orb:nth-child(3) {
  width: 250px; height: 250px;
  background: radial-gradient(circle, #ffa726, #ff7043);
  bottom: -10%; right: 25%;
  animation-delay: -4s;
}
.bg .orb:nth-child(4) {
  width: 200px; height: 200px;
  background: radial-gradient(circle, #ffcc02, #ff9800);
  bottom: 0%; left: 45%;
  animation-delay: -6s;
}
@keyframes fireOrb {
  0%,100% { transform: translate(0, 0) scale(1); opacity: 0.2; }
  25% { transform: translate(15px, -30px) scale(1.1); opacity: 0.35; }
  50% { transform: translate(-10px, -20px) scale(0.95); opacity: 0.25; }
  75% { transform: translate(10px, -40px) scale(1.15); opacity: 0.3; }
}
.fire-canvas {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 45vh;
  z-index: 1;
  pointer-events: none;
  opacity: 0.7;
  mask-image: linear-gradient(to top, rgba(0,0,0,1) 0%, rgba(0,0,0,0.5) 40%, transparent 100%);
  -webkit-mask-image: linear-gradient(to top, rgba(0,0,0,1) 0%, rgba(0,0,0,0.5) 40%, transparent 100%);
}
.embers {
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  overflow: hidden;
}
.ember {
  position: absolute;
  bottom: -10px;
  border-radius: 50%;
  pointer-events: none;
  animation: emberRise linear infinite;
}
.ember::after {
  content: '';
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: inherit;
  filter: blur(1px);
  animation: emberGlow 0.8s ease-in-out infinite alternate;
}
@keyframes emberRise {
  0% {
    transform: translateX(0) translateY(0) scale(1);
    opacity: 1;
  }
  50% {
    opacity: 0.8;
  }
  100% {
    transform: translateX(var(--drift)) translateY(-100vh) scale(0.3);
    opacity: 0;
  }
}
@keyframes emberGlow {
  0% { opacity: 0.6; box-shadow: 0 0 4px 1px currentColor; }
  100% { opacity: 1; box-shadow: 0 0 8px 2px currentColor; }
}
.snowflakes { display: none; }
.snowflake { display: none; }
.particles { display: none; }
.dot { display: none; }
.logo-icon { display: none; }
.wrap { position: relative; z-index: 10; width: 440px; max-width: 94vw; }
.card {
  position: relative;
  background: var(--card);
  backdrop-filter: blur(48px) saturate(1.6);
  -webkit-backdrop-filter: blur(48px) saturate(1.6);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 44px 36px 36px;
  box-shadow: 0 24px 80px rgba(0,0,0,0.55), 0 0 100px rgba(124,92,252,0.07);
  animation: appear .7s cubic-bezier(.16,1,.3,1) both;
  transition: box-shadow .4s;
}
.card:hover {
  box-shadow: 0 28px 90px rgba(0,0,0,0.55), 0 0 120px rgba(255,107,43,0.08);
}
@keyframes appear {
  from { opacity:0; transform: translateY(40px) scale(.95); }
  to { opacity:1; transform: translateY(0) scale(1); }
}
.card::before {
  content:''; position:absolute; top:-1px; left:10%; right:10%; height:2px;
  background: linear-gradient(90deg, transparent, var(--accent), var(--pink), var(--accent3), transparent);
  background-size: 200% 100%;
  border-radius: 2px;
  animation: borderGlow 4s ease-in-out infinite;
}
@keyframes borderGlow {
  0%,100% { background-position: 0% 0%; opacity:.6; }
  50% { background-position: 100% 0%; opacity:1; }
}
.header { text-align: center; margin-bottom: 20px; }
.header h1 {
  font-size: 28px; font-weight: 700;
  background: linear-gradient(135deg, #fff 0%, #c4b5fd 50%, #f0abfc 100%);
  background-size: 200% 200%;
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 4s ease-in-out infinite;
}
@keyframes shimmer {
  0%,100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
.header p {
  color: var(--text2); font-size: 13px; margin-top: 6px;
  animation: fadeInSub .8s ease .3s both;
}
@keyframes fadeInSub {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}
.view { display:none; animation: slideIn .5s cubic-bezier(.16,1,.3,1) both; }
.view.active { display:block; }
@keyframes slideIn {
  from { opacity:0; transform:translateX(24px) scale(.98); }
  to { opacity:1; transform:translateX(0) scale(1); }
}
.ico {
  position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
  width: 18px; height: 18px; color: var(--text3); transition: color .3s, transform .3s;
  pointer-events: none;
}
.field { margin-bottom: 16px; }
.field label {
  display:block; font-size:11px; font-weight:600; color:var(--text2);
  text-transform:uppercase; letter-spacing:1.2px; margin-bottom:5px;
  transition: color .3s;
}
.field-inner { position: relative; }
.field-inner input {
  width:100%; background:var(--input-bg); border:1px solid var(--input-border);
  border-radius: 11px; padding: 13px 42px 13px 42px;
  color:var(--text); font-size:14px; font-family:'Inter',sans-serif;
  outline:none; transition: all .3s cubic-bezier(.4,0,.2,1);
}
.field-inner input::placeholder { color: var(--text3); }
.field-inner input:focus {
  border-color: var(--accent);
  background: rgba(124,92,252,0.06);
  box-shadow: 0 0 0 3px rgba(124,92,252,0.13), 0 4px 16px rgba(124,92,252,0.08);
  transform: translateY(-1px);
}
.field-inner input:focus ~ .ico { color: var(--accent3); transform: translateY(-50%) scale(1.1); }
.togpass {
  position:absolute; right:12px; top:50%; transform:translateY(-50%);
  background:none; border:none; cursor:pointer; padding:4px;
  color:var(--text3); transition: color .2s, transform .2s;
}
.togpass:hover { color:var(--text2); transform: translateY(-50%) scale(1.15); }
.togpass svg { width:18px; height:18px; }
.codes { display:flex; gap:9px; justify-content:center; margin:22px 0; }
.codes input {
  width:50px; height:58px; background:var(--input-bg); border:1px solid var(--input-border);
  border-radius:11px; text-align:center; font-size:21px; font-weight:700;
  font-family:'Inter',monospace; color:var(--text); outline:none;
  transition:all .3s cubic-bezier(.4,0,.2,1);
}
.codes input:focus {
  border-color:var(--accent); background:rgba(124,92,252,0.07);
  box-shadow:0 0 0 3px rgba(124,92,252,0.14), 0 6px 20px rgba(124,92,252,0.1);
  transform:scale(1.08) translateY(-2px);
}
.codes input.ok {
  border-color:var(--accent); background:rgba(124,92,252,0.09);
  animation: codeOk .3s ease;
}
.codes input.code-success {
  border-color: var(--success) !important;
  background: rgba(52,211,153,0.15) !important;
  box-shadow: 0 0 0 3px rgba(52,211,153,0.2), 0 4px 16px rgba(52,211,153,0.15) !important;
  color: var(--success) !important;
  transition: all .4s ease;
}
.codes input.code-error {
  border-color: var(--error) !important;
  background: rgba(251,113,133,0.1) !important;
  animation: shake .45s;
}
@keyframes codeOk {
  0% { transform: scale(1); }
  50% { transform: scale(1.12); }
  100% { transform: scale(1); }
}
.verify-status {
  text-align: center;
  font-size: 14px;
  min-height: 24px;
  margin-bottom: 12px;
  font-weight: 500;
  transition: all .3s;
}
.verify-status.verifying {
  color: var(--accent3);
}
.verify-status.success {
  color: var(--success);
}
.verify-status.error {
  color: var(--error);
}
.btn {
  width:100%; padding:10px 14px; border:none; border-radius:8px;
  font-size:13px; font-weight:600; font-family:'Inter',sans-serif;
  cursor:pointer; position:relative; overflow:hidden;
  background: var(--accent);
  color:#fff; transition:all .2s;
  box-shadow:0 2px 10px rgba(124,92,252,0.2);
  display: flex; align-items: center; justify-content: center; gap: 6px;
}
.btn:hover { transform:translateY(-1px); box-shadow:0 4px 14px rgba(124,92,252,0.3); background: var(--accent2); }
.btn:active { transform:translateY(0) scale(.98); }
.btn:disabled { opacity:.55; cursor:not-allowed; transform:none!important; }
.btn .spin {
  display:none; width:20px; height:20px; margin:0 auto;
  border:2px solid rgba(255,255,255,.3); border-top-color:#fff;
  border-radius:50%; animation:sp .55s linear infinite;
}
.btn.ld .txt { display:none; }
.btn.ld .spin { display:block; }
@keyframes sp { to { transform:rotate(360deg); } }
.btn::after {
  content:''; position:absolute; inset:0;
  background:radial-gradient(circle at var(--mx,50%) var(--my,50%), rgba(255,255,255,.22) 0%, transparent 55%);
  opacity:0; transition:opacity .3s;
}
.btn:hover::after { opacity:1; }
.btn2 {
  background:transparent; border:1px solid var(--glass-border);
  border-radius:11px; padding:12px; color:var(--text2);
  font-size:13px; font-family:'Inter',sans-serif; cursor:pointer; width:100%;
  transition:all .3s;
}
.btn2:hover { border-color:rgba(255,255,255,.18); color:var(--text); background:rgba(255,255,255,.03); }
.foot { text-align:center; margin-top:22px; font-size:13px; color:var(--text2); }
.foot a {
  color:var(--accent3); text-decoration:none; font-weight:500;
  transition:color .25s;
}
.foot a:hover { color:var(--pink); }
.forgot { text-align:right; margin-top:-8px; margin-bottom:16px; }
.forgot a { font-size:12px; color:var(--text3); text-decoration:none; transition:color .25s; }
.forgot a:hover { color:var(--pink); }
.msg {
  padding:11px 15px; border-radius:9px; font-size:13px; margin-bottom:16px;
  display:none; animation:mA .4s cubic-bezier(.16,1,.3,1); line-height:1.4;
}
.msg.on { display:block; }
.msg.err { background:rgba(251,113,133,.1); border:1px solid rgba(251,113,133,.22); color:var(--error); }
.msg.ok { background:rgba(52,211,153,.1); border:1px solid rgba(52,211,153,.22); color:var(--success); }
@keyframes mA { from { opacity:0; transform:translateY(-8px) scale(.97); } to { opacity:1; transform:translateY(0) scale(1); } }
.str-wrap { margin-top:5px; height:3px; border-radius:3px; background:rgba(255,255,255,.04); overflow:hidden; }
.str-bar { height:100%; width:0; border-radius:3px; transition:all .45s cubic-bezier(.4,0,.2,1); }
.str-txt { font-size:11px; margin-top:3px; color:var(--text3); }
.resend { text-align:center; margin-top:12px; font-size:12px; color:var(--text3); }
.resend a { color:var(--accent3); text-decoration:none; font-weight:500; cursor:pointer; }
.resend a:hover { color:var(--pink); }
.resend a.off { opacity:.35; pointer-events:none; }
.view.active .field:nth-child(1) { animation: fieldIn .4s ease .05s both; }
.view.active .field:nth-child(2) { animation: fieldIn .4s ease .1s both; }
.view.active .field:nth-child(3) { animation: fieldIn .4s ease .15s both; }
.view.active .field:nth-child(4) { animation: fieldIn .4s ease .2s both; }
.view.active .field:nth-child(5) { animation: fieldIn .4s ease .25s both; }
.view.active .btn { animation: fieldIn .4s ease .3s both; }
@keyframes fieldIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes shake {
  0%,100%{transform:translateX(0)} 15%{transform:translateX(-10px)}
  30%{transform:translateX(10px)} 45%{transform:translateX(-7px)}
  60%{transform:translateX(7px)} 75%{transform:translateX(-4px)}
  90%{transform:translateX(4px)}
}
@keyframes pop { 0%{transform:scale(0)} 100%{transform:scale(1)} }
.crm-screen {
  display: flex;
  min-height: 100vh;
  background: var(--bg);
}
.sidebar {
  width: var(--sidebar-w);
  background: var(--card-solid);
  border-right: 1px solid var(--glass-border);
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 100;
  transition: width .3s cubic-bezier(.4,0,.2,1), transform .3s;
}
.sidebar.collapsed { width: var(--sidebar-collapsed); }
.sidebar.collapsed .sidebar-brand,
.sidebar.collapsed .nav-item span,
.sidebar.collapsed .user-details,
.sidebar.collapsed .nav-divider,
.sidebar.collapsed .sidebar-logo,
.sidebar.collapsed .user-info { display: none; }
.sidebar.collapsed .sidebar-header { justify-content: center; }
.sidebar.collapsed .sidebar-toggle { margin: 0; }
.sidebar.collapsed .sidebar-footer { justify-content: center; padding: 16px; }
.sidebar.collapsed .logout-btn {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--error), #dc2626);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  box-shadow: 0 4px 16px rgba(251, 113, 133, 0.4);
}
.sidebar.collapsed .logout-btn:hover {
  background: linear-gradient(135deg, #f43f5e, #b91c1c);
  box-shadow: 0 4px 20px rgba(251, 113, 133, 0.6);
  color: #fff;
}
.sidebar-header {
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--glass-border);
}
.sidebar-logo {
  width: 36px; height: 36px; min-width: 36px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(124,92,252,0.3);
}
.sidebar-logo svg { width: 20px; height: 20px; color: #fff; }
.sidebar-brand {
  font-size: 18px; font-weight: 700;
  background: linear-gradient(135deg, #fff, var(--accent3));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.sidebar-toggle {
  margin-left: auto;
  background: none; border: none; cursor: pointer;
  color: var(--text3); padding: 4px;
  transition: color .3s;
}
.sidebar-toggle:hover { color: var(--text); }
.sidebar-toggle svg { width: 20px; height: 20px; }
.sidebar-nav {
  flex: 1;
  padding: 16px 12px;
  overflow-y: auto;
}
.nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  border-radius: 10px;
  color: var(--text2);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all .25s;
  margin-bottom: 4px;
  position: relative;
}
.nav-item:hover {
  background: rgba(124,92,252,0.08);
  color: var(--text);
}
.nav-item.active {
  background: linear-gradient(135deg, rgba(124,92,252,0.15), rgba(168,85,247,0.1));
  color: #fff;
  box-shadow: 0 2px 12px rgba(124,92,252,0.15);
}
.nav-item.active::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  width: 3px; height: 20px;
  background: var(--accent);
  border-radius: 0 3px 3px 0;
}
.nav-item svg { width: 20px; height: 20px; min-width: 20px; display: block; flex-shrink: 0; }
.nav-divider {
  height: 1px;
  background: var(--glass-border);
  margin: 12px 14px;
}
.sidebar-footer {
  padding: 16px;
  border-top: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  gap: 12px;
}
.user-info { display: flex; align-items: center; gap: 10px; flex: 1; min-width: 0; }
.user-avatar {
  width: 36px; height: 36px; min-width: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--accent), var(--pink));
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 14px; color: #fff;
}
.user-details { display: flex; flex-direction: column; min-width: 0; }
.user-name {
  font-size: 13px; font-weight: 600; color: var(--text);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.user-role { font-size: 11px; color: var(--text3); text-transform: uppercase; letter-spacing: .5px; }
.logout-btn {
  background: none; border: none; cursor: pointer;
  color: var(--text3); padding: 6px; border-radius: 8px;
  transition: all .25s;
}
.logout-btn:hover { color: var(--error); background: rgba(251,113,133,0.1); }
.logout-btn svg { width: 20px; height: 20px; }
.main-content {
  margin-left: var(--sidebar-w);
  flex: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  transition: margin-left .3s;
}
.sidebar.collapsed ~ .main-content { margin-left: var(--sidebar-collapsed); }
.topbar {
  height: var(--topbar-h);
  padding: 0 28px;
  display: flex;
  align-items: center;
  gap: 20px;
  border-bottom: 1px solid var(--glass-border);
  background: rgba(6,6,14,0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  position: sticky;
  top: 0;
  z-index: 50;
}
.mobile-menu {
  display: none;
  background: none; border: none; cursor: pointer;
  color: var(--text2); padding: 4px;
}
.mobile-menu svg { width: 24px; height: 24px; }
.page-title {
  font-size: 20px; font-weight: 700;
  background: linear-gradient(135deg, #fff, var(--accent3));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.topbar-actions { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.search-box {
  display: flex; align-items: center; gap: 8px;
  background: var(--input-bg); border: 1px solid var(--input-border);
  border-radius: 10px; padding: 8px 14px;
  transition: all .3s;
}
.search-box:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(124,92,252,0.1);
}
.search-box svg { width: 16px; height: 16px; color: var(--text3); min-width: 16px; }
.search-box input {
  background: none; border: none; outline: none;
  color: var(--text); font-size: 13px; font-family: 'Inter', sans-serif;
  width: 200px;
}
.search-box input::placeholder { color: var(--text3); }
.content-area {
  flex: 1;
  padding: 28px;
  animation: fadeIn .4s ease;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
  margin-bottom: 28px;
}
.stat-card {
  background: var(--card);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 24px;
  position: relative;
  overflow: hidden;
  transition: all .3s;
  cursor: default;
}
.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
  border-color: rgba(124,92,252,0.2);
}
.stat-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 3px;
  border-radius: 16px 16px 0 0;
}
.stat-card.purple::before { background: linear-gradient(90deg, var(--accent), var(--accent2)); }
.stat-card.blue::before { background: linear-gradient(90deg, var(--blue), var(--cyan)); }
.stat-card.green::before { background: linear-gradient(90deg, var(--green), #10b981); }
.stat-card.pink::before { background: linear-gradient(90deg, var(--pink), var(--red)); }
.stat-card.orange::before { background: linear-gradient(90deg, var(--orange), var(--yellow)); }
.stat-icon {
  width: 44px; height: 44px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.stat-icon.purple { background: rgba(124,92,252,0.15); color: var(--accent3); }
.stat-icon.blue { background: rgba(56,189,248,0.15); color: var(--blue); }
.stat-icon.green { background: rgba(52,211,153,0.15); color: var(--green); }
.stat-icon.pink { background: rgba(244,114,182,0.15); color: var(--pink); }
.stat-icon.orange { background: rgba(251,146,60,0.15); color: var(--orange); }
.stat-icon svg { width: 22px; height: 22px; }
.stat-value { font-size: 28px; font-weight: 800; margin-bottom: 4px; }
.stat-label { font-size: 13px; color: var(--text2); }
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 12px;
}
.section-title {
  font-size: 18px; font-weight: 700;
}
.btn-add {
  display: inline-flex; align-items: center; justify-content: center; gap: 5px;
  padding: 7px 14px;
  background: linear-gradient(135deg, rgba(124,92,252,0.85), rgba(168,85,247,0.85));
  color: #fff;
  border: 1px solid rgba(124,92,252,0.25);
  border-radius: 9px;
  font-size: 12px; font-weight: 600;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  transition: all .25s cubic-bezier(.4,0,.2,1);
  box-shadow: 0 2px 8px rgba(124,92,252,0.18);
  letter-spacing: 0.2px;
  white-space: nowrap;
  line-height: 1;
}
.btn-add:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(124,92,252,0.35);
  background: linear-gradient(135deg, rgba(124,92,252,1), rgba(168,85,247,1));
  border-color: rgba(168,85,247,0.4);
}
.btn-add:active {
  transform: translateY(0) scale(0.97);
  box-shadow: 0 1px 4px rgba(124,92,252,0.2);
}
.btn-add svg {
  pointer-events: none;
  width: 13px; height: 13px;
  flex-shrink: 0;
  vertical-align: middle;
}
.data-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--card);
  border: 1px solid var(--glass-border);
  border-radius: 14px;
  overflow: hidden;
}
.data-table th {
  padding: 14px 18px;
  text-align: left;
  font-size: 11px;
  font-weight: 600;
  color: var(--text3);
  text-transform: uppercase;
  letter-spacing: 1px;
  background: rgba(255,255,255,0.02);
  border-bottom: 1px solid var(--glass-border);
}
.data-table td {
  padding: 14px 18px;
  font-size: 14px;
  border-bottom: 1px solid rgba(255,255,255,0.03);
  transition: background .2s;
}
.data-table tr:last-child td { border-bottom: none; }
.data-table tbody tr:hover td { background: rgba(124,92,252,0.04); }
.data-table .actions {
  display: flex; gap: 6px;
}
.btn-icon {
  width: 32px; height: 32px;
  border-radius: 8px;
  border: 1px solid var(--glass-border);
  background: transparent;
  color: var(--text2);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all .25s;
}
.btn-icon:hover { border-color: var(--accent); color: var(--accent3); background: rgba(124,92,252,0.08); }
.btn-icon.danger:hover { border-color: var(--error); color: var(--error); background: rgba(251,113,133,0.08); }
.btn-icon svg { width: 15px; height: 15px; }
.badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .5px;
}
.badge.new { background: rgba(56,189,248,0.15); color: var(--blue); }
.badge.active { background: rgba(52,211,153,0.15); color: var(--green); }
.badge.inactive { background: rgba(139,139,168,0.15); color: var(--text2); }
.badge.lead { background: rgba(124,92,252,0.15); color: var(--accent3); }
.badge.negotiation { background: rgba(251,146,60,0.15); color: var(--orange); }
.badge.proposal { background: rgba(56,189,248,0.15); color: var(--blue); }
.badge.won { background: rgba(52,211,153,0.15); color: var(--green); }
.badge.lost { background: rgba(251,113,133,0.15); color: var(--error); }
.badge.todo { background: rgba(139,139,168,0.15); color: var(--text2); }
.badge.in_progress { background: rgba(251,146,60,0.15); color: var(--orange); }
.badge.done { background: rgba(52,211,153,0.15); color: var(--green); }
.badge.draft { background: rgba(139,139,168,0.15); color: var(--text2); }
.badge.sent { background: rgba(52,211,153,0.15); color: var(--green); }
.badge.high { background: rgba(251,113,133,0.15); color: var(--error); }
.badge.medium { background: rgba(251,146,60,0.15); color: var(--orange); }
.badge.low { background: rgba(52,211,153,0.15); color: var(--green); }
.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--text3);
}
.empty-state > svg {
  width: 56px; height: 56px;
  margin-bottom: 16px;
  opacity: 1;
  filter: drop-shadow(0 10px 15px rgba(0,0,0,0.5));
}
.empty-state h3 { font-size: 18px; margin-bottom: 8px; color: var(--text); font-weight: 700; }
.empty-state p { font-size: 14px; color: var(--text3); margin-bottom: 4px; }
.modal-overlay {
  position: fixed; inset: 0; z-index: 999;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
  animation: fadeIn .2s ease;
}
.modal-overlay.active { display: flex; }
.modal {
  background: var(--card-solid);
  border: 1px solid var(--glass-border);
  border-radius: 18px;
  width: 520px;
  max-width: 94vw;
  max-height: 85vh;
  overflow-y: auto;
  animation: appear .3s cubic-bezier(.16,1,.3,1);
}
.modal-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 24px 0;
}
.modal-header h3 { font-size: 18px; font-weight: 700; }
.modal-close {
  background: none; border: none; cursor: pointer;
  color: var(--text3); padding: 4px;
  transition: color .2s;
}
.modal-close:hover { color: var(--text); }
.modal-close svg { width: 20px; height: 20px; }
.modal-body { padding: 20px 24px; }
.modal-footer {
  padding: 0 24px 22px;
  display: flex; gap: 10px; justify-content: flex-end;
}
.modal .field { margin-bottom: 16px; }
.modal .field label {
  display: block; font-size: 12px; font-weight: 600;
  color: var(--text2); margin-bottom: 6px;
}
.modal .field input,
.modal .field select,
.modal .field textarea {
  width: 100%;
  background: var(--input-bg);
  border: 1px solid var(--input-border);
  border-radius: 10px;
  padding: 11px 14px;
  color: var(--text);
  font-size: 14px;
  font-family: 'Inter', sans-serif;
  outline: none;
  transition: all .3s;
}
.modal .field input:focus,
.modal .field select:focus,
.modal .field textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(124,92,252,0.1);
}
.modal .field select {
  appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%238b8ba8' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
}
.modal .field select option { background: var(--card-solid); color: var(--text); }
.modal .field textarea { resize: vertical; min-height: 80px; }
.btn-save {
  padding: 8px 16px;
  background: var(--accent);
  color: #fff;
  border: none; border-radius: 8px;
  font-size: 13px; font-weight: 500;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  transition: all .2s;
}
.btn-save:hover { transform: translateY(-1px); box-shadow: 0 4px 14px rgba(124,92,252,0.3); background: var(--accent2); }
.btn-cancel {
  padding: 8px 16px;
  background: transparent;
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  color: var(--text2);
  font-size: 13px;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  transition: all .2s;
}
.btn-cancel:hover { border-color: rgba(255,255,255,0.15); color: var(--text); }
.charts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 20px;
}
.chart-card {
  background: var(--card);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 24px;
}
.chart-card h3 {
  font-size: 15px; font-weight: 600; margin-bottom: 20px; color: var(--text);
}
.chart-bar-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.chart-bar-item {
  display: flex;
  align-items: center;
  gap: 12px;
}
.chart-bar-label {
  font-size: 12px;
  color: var(--text2);
  width: 100px;
  text-align: right;
  flex-shrink: 0;
}
.chart-bar-track {
  flex: 1;
  height: 24px;
  background: rgba(255,255,255,0.03);
  border-radius: 6px;
  overflow: hidden;
  position: relative;
}
.chart-bar-fill {
  height: 100%;
  border-radius: 6px;
  transition: width .8s cubic-bezier(.4,0,.2,1);
  display: flex; align-items: center; justify-content: flex-end;
  padding-right: 8px;
  font-size: 11px; font-weight: 600; color: #fff;
  min-width: fit-content;
}
.chart-bar-fill.purple { background: linear-gradient(90deg, var(--accent), var(--accent2)); }
.chart-bar-fill.blue { background: linear-gradient(90deg, var(--blue), var(--cyan)); }
.chart-bar-fill.green { background: linear-gradient(90deg, var(--green), #10b981); }
.chart-bar-fill.pink { background: linear-gradient(90deg, var(--pink), var(--red)); }
.chart-bar-fill.orange { background: linear-gradient(90deg, var(--orange), var(--yellow)); }
.chart-bar-fill.gray { background: linear-gradient(90deg, #666, #888); }
.admin-section {
  margin-bottom: 32px;
}
.admin-section h3 {
  font-size: 16px; font-weight: 700; margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--glass-border);
}
@media (max-width: 768px) {
  .sidebar {
    transform: translateX(-100%);
    width: var(--sidebar-w) !important;
  }
  .sidebar.mobile-open { transform: translateX(0); }
  .main-content { margin-left: 0 !important; }
  .mobile-menu { display: block; }
  .content-area { padding: 16px; }
  .topbar { padding: 0 16px; }
  .stats-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
  .charts-grid { grid-template-columns: 1fr; }
  .data-table { font-size: 12px; }
  .data-table th, .data-table td { padding: 10px 12px; }
  .search-box input { width: 120px; }
}
@media (max-width: 480px) {
  .card { padding: 36px 22px 28px; }
  .codes input { width: 42px; height: 50px; font-size: 18px; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .stat-card { padding: 18px; }
  .stat-value { font-size: 22px; }
}
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.08); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.15); }
.table-wrap {
  overflow-x: auto;
  border-radius: 14px;
}
.crm-screen {
  position: relative;
}
.crm-bg {
  position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden;
}
.crm-bg .mesh {
  position: absolute; border-radius: 50%; filter: blur(120px); opacity: 0.12;
  animation: meshFloat 30s ease-in-out infinite;
}
.crm-bg .mesh:nth-child(1) { width: 500px; height: 500px; background: var(--accent); top: -10%; right: -5%; animation-delay: 0s; }
.crm-bg .mesh:nth-child(2) { width: 400px; height: 400px; background: var(--pink); bottom: -10%; left: 10%; animation-delay: -8s; }
.crm-bg .mesh:nth-child(3) { width: 350px; height: 350px; background: var(--cyan); top: 50%; left: 50%; animation-delay: -16s; }
.crm-bg .grid-overlay {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(124,92,252,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124,92,252,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  animation: gridScroll 20s linear infinite;
}
@keyframes meshFloat {
  0%,100% { transform: translate(0,0) scale(1) rotate(0deg); }
  33% { transform: translate(60px,-40px) scale(1.15) rotate(5deg); }
  66% { transform: translate(-30px,50px) scale(0.9) rotate(-5deg); }
}
@keyframes gridScroll { from { transform: translate(0,0); } to { transform: translate(60px,60px); } }
.main-content { position: relative; z-index: 1; }
.toast-container {
  position: fixed; top: 20px; right: 20px; z-index: 9999;
  display: flex; flex-direction: column; gap: 10px;
  pointer-events: none;
}
.toast {
  pointer-events: auto;
  display: flex; align-items: center; gap: 12px;
  padding: 14px 20px;
  background: var(--card-solid);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  backdrop-filter: blur(20px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
  animation: toastIn .4s cubic-bezier(.16,1,.3,1);
  max-width: 380px;
  font-size: 13px;
}
.toast.removing { animation: toastOut .3s ease forwards; }
.toast-icon { width: 20px; height: 20px; min-width: 20px; }
.toast.success { border-left: 3px solid var(--success); }
.toast.success .toast-icon { color: var(--success); }
.toast.error { border-left: 3px solid var(--error); }
.toast.error .toast-icon { color: var(--error); }
.toast.info { border-left: 3px solid var(--blue); }
.toast.info .toast-icon { color: var(--blue); }
.toast-text { flex: 1; color: var(--text); }
.toast-close {
  background: none; border: none; cursor: pointer;
  color: var(--text3); padding: 2px; transition: color .2s;
}
.toast-close:hover { color: var(--text); }
.toast-close svg { width: 14px; height: 14px; }
.toast-progress {
  position: absolute; bottom: 0; left: 0; height: 2px;
  border-radius: 0 0 12px 12px;
  animation: toastProgress 4s linear forwards;
}
.toast.success .toast-progress { background: var(--success); }
.toast.error .toast-progress { background: var(--error); }
.toast.info .toast-progress { background: var(--blue); }
@keyframes toastIn { from { opacity:0; transform: translateX(100px) scale(.9); } to { opacity:1; transform: translateX(0) scale(1); } }
@keyframes toastOut { to { opacity:0; transform: translateX(100px) scale(.9); } }
@keyframes toastProgress { from { width: 100%; } to { width: 0%; } }
.welcome-hero {
  background: linear-gradient(135deg, rgba(124,92,252,0.12), rgba(168,85,247,0.08), rgba(244,114,182,0.06));
  border: 1px solid rgba(124,92,252,0.15);
  border-radius: 20px;
  padding: 32px 36px;
  margin-bottom: 28px;
  position: relative;
  overflow: hidden;
  animation: fadeIn .5s ease;
}
.welcome-hero::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--pink), var(--cyan), var(--accent));
  background-size: 300% 100%;
  animation: welcomeGradient 5s ease-in-out infinite;
}
@keyframes welcomeGradient { 0%,100% { background-position: 0% 0%; } 50% { background-position: 100% 0%; } }
.welcome-hero .welcome-pattern {
  position: absolute; right: -20px; top: -20px;
  width: 200px; height: 200px; opacity: 0.06;
}
.welcome-hero h2 {
  font-size: 24px; font-weight: 800; margin-bottom: 8px;
  background: linear-gradient(135deg, #fff, var(--accent3));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.welcome-hero p { color: var(--text2); font-size: 14px; line-height: 1.6; }
.welcome-hero .welcome-time {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 12px; padding: 6px 14px;
  background: rgba(255,255,255,0.05); border-radius: 8px;
  font-size: 12px; color: var(--text2);
}
.welcome-hero .welcome-time svg { width: 14px; height: 14px; color: var(--accent3); }
.quick-actions {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 12px;
  margin-bottom: 28px;
}
.quick-action {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 14px;
  background: var(--card);
  border: 1px solid var(--glass-border);
  border-radius: 10px;
  cursor: pointer;
  transition: all .3s cubic-bezier(.4,0,.2,1);
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: 0.15px;
  white-space: nowrap;
}
.quick-action:hover {
  transform: translateY(-3px);
  background: rgba(124,92,252,0.08);
  border-color: rgba(124,92,252,0.25);
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
}
.quick-action:active {
  transform: translateY(-1px) scale(0.98);
}
.quick-action svg { width: 16px; height: 16px; min-width: 16px; flex-shrink: 0; }
.quick-action.purple svg { color: var(--accent3); }
.quick-action.blue svg { color: var(--blue); }
.quick-action.green svg { color: var(--green); }
.quick-action.pink svg { color: var(--pink); }
.quick-action.orange svg { color: var(--orange); }
.activity-feed {
  background: var(--card);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 24px;
}
.activity-feed h3 {
  font-size: 15px; font-weight: 600; margin-bottom: 20px;
  display: flex; align-items: center; gap: 8px;
}
.activity-feed h3 svg { width: 18px; height: 18px; color: var(--accent3); }
.activity-item {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.03);
  animation: fadeIn .3s ease;
}
.activity-item:last-child { border-bottom: none; }
.activity-dot {
  width: 8px; height: 8px; min-width: 8px;
  border-radius: 50%;
  margin-top: 6px;
}
.activity-dot.purple { background: var(--accent); box-shadow: 0 0 8px rgba(124,92,252,0.4); }
.activity-dot.blue { background: var(--blue); box-shadow: 0 0 8px rgba(56,189,248,0.4); }
.activity-dot.green { background: var(--green); box-shadow: 0 0 8px rgba(52,211,153,0.4); }
.activity-dot.pink { background: var(--pink); box-shadow: 0 0 8px rgba(244,114,182,0.4); }
.activity-dot.orange { background: var(--orange); box-shadow: 0 0 8px rgba(251,146,60,0.4); }
.activity-text { font-size: 13px; color: var(--text2); line-height: 1.5; }
.activity-text strong { color: var(--text); font-weight: 600; }
.activity-time { font-size: 11px; color: var(--text3); margin-top: 3px; }
.pipeline {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 8px;
  margin-top: 16px;
}
.pipeline-col {
  min-width: 240px;
  flex: 1;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--glass-border);
  border-radius: 14px;
  padding: 16px;
}
.pipeline-col-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 14px; padding-bottom: 10px;
  border-bottom: 1px solid var(--glass-border);
}
.pipeline-col-title {
  font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1px;
  display: flex; align-items: center; gap: 8px;
}
.pipeline-col-title .dot {
  width: 8px; height: 8px; border-radius: 50%;
  position: static; animation: none;
}
.pipeline-col-count {
  background: rgba(255,255,255,0.06);
  padding: 2px 8px; border-radius: 6px;
  font-size: 11px; font-weight: 600; color: var(--text2);
}
.pipeline-card {
  background: var(--card);
  border: 1px solid var(--glass-border);
  border-radius: 10px;
  padding: 14px;
  margin-bottom: 10px;
  cursor: pointer;
  transition: all .25s;
}
.pipeline-card:hover {
  transform: translateY(-2px);
  border-color: rgba(124,92,252,0.2);
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}
.pipeline-card h4 { font-size: 13px; font-weight: 600; margin-bottom: 6px; }
.pipeline-card .pipeline-amount {
  font-size: 15px; font-weight: 700;
  background: linear-gradient(135deg, var(--accent3), var(--pink));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.pipeline-card .pipeline-client { font-size: 11px; color: var(--text3); margin-top: 4px; }
.progress-ring-wrap {
  display: flex; align-items: center; gap: 16px;
  margin-bottom: 8px;
}
.progress-ring { width: 48px; height: 48px; transform: rotate(-90deg); }
.progress-ring circle { fill: none; stroke-width: 4; }
.progress-ring .ring-bg { stroke: rgba(255,255,255,0.05); }
.progress-ring .ring-fill {
  stroke-linecap: round;
  transition: stroke-dashoffset 1s cubic-bezier(.4,0,.2,1);
}
.progress-info .progress-pct { font-size: 18px; font-weight: 700; }
.progress-info .progress-label { font-size: 11px; color: var(--text3); }
.stat-value {
  transition: opacity .3s;
}
.stat-value.counting {
  animation: countPulse .15s ease-in-out;
}
@keyframes countPulse {
  0% { opacity: 0.7; transform: scale(0.98); }
  100% { opacity: 1; transform: scale(1); }
}
.skeleton {
  background: linear-gradient(90deg, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0.06) 50%, rgba(255,255,255,0.03) 100%);
  background-size: 200% 100%;
  animation: skeletonShine 1.5s ease-in-out infinite;
  border-radius: 8px;
}
@keyframes skeletonShine {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}
.skeleton-card { height: 120px; border-radius: 16px; }
.skeleton-line { height: 14px; margin-bottom: 10px; }
.skeleton-line.w60 { width: 60%; }
.skeleton-line.w80 { width: 80%; }
.skeleton-line.w40 { width: 40%; }
.stat-card {
  position: relative;
  overflow: hidden;
}
.stat-card .stat-bg-icon {
  position: absolute;
  right: -8px; bottom: -8px;
  width: 80px; height: 80px;
  opacity: 0.04;
  transition: opacity .3s, transform .3s;
}
.stat-card:hover .stat-bg-icon {
  opacity: 0.08;
  transform: scale(1.1) rotate(-5deg);
}
.stat-card .stat-trend {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 11px; font-weight: 600; margin-top: 8px;
  padding: 3px 8px; border-radius: 6px;
}
.stat-trend.up { background: rgba(52,211,153,0.1); color: var(--green); }
.stat-trend.down { background: rgba(251,113,133,0.1); color: var(--error); }
.stat-trend svg { width: 12px; height: 12px; }
.dashboard-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 20px;
}
@media (max-width: 900px) { .dashboard-grid { grid-template-columns: 1fr; } }
.empty-state {
  background: var(--card);
  border: 1px dashed rgba(124,92,252,0.2);
  border-radius: 16px;
  position: relative;
  overflow: hidden;
}
.empty-state::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 30%, rgba(124,92,252,0.05), transparent 70%);
  pointer-events: none;
}
.empty-state .empty-icon {
  width: 68px; height: 68px;
  margin: 0 auto 18px;
  background: rgba(124,92,252,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  padding: 0;
  box-sizing: border-box;
}
.empty-state .empty-icon svg {
  width: 30px; height: 30px;
  color: var(--accent3);
  opacity: 0.85;
  display: block;
  margin: 0 !important;
  padding: 0;
  flex-shrink: 0;
  filter: none;
}
.empty-state .btn-add {
  margin-top: 16px;
  display: inline-flex;
}
.task-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 14px;
  margin-top: 16px;
}
.task-card {
  background: var(--card);
  border: 1px solid var(--glass-border);
  border-radius: 14px;
  padding: 18px;
  transition: all .3s;
  cursor: default;
  position: relative;
  overflow: hidden;
}
.task-card::before {
  content: '';
  position: absolute; top: 0; left: 0; width: 3px; height: 100%;
}
.task-card.priority-high::before { background: var(--error); }
.task-card.priority-medium::before { background: var(--orange); }
.task-card.priority-low::before { background: var(--green); }
.task-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
  border-color: rgba(124,92,252,0.15);
}
.task-card-header {
  display: flex; align-items: flex-start; justify-content: space-between;
  margin-bottom: 10px;
}
.task-card h4 { font-size: 14px; font-weight: 600; flex: 1; }
.task-card-desc { font-size: 12px; color: var(--text3); margin-bottom: 12px; line-height: 1.5; }
.task-card-footer {
  display: flex; align-items: center; justify-content: space-between;
}
.task-card-due {
  display: flex; align-items: center; gap: 4px;
  font-size: 11px; color: var(--text3);
}
.task-card-due svg { width: 12px; height: 12px; }
.task-card-due.overdue { color: var(--error); }
.confirm-modal .modal {
  width: 400px;
  text-align: center;
}
.confirm-icon {
  width: 56px; height: 56px;
  margin: 0 auto 16px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  animation: pop .4s cubic-bezier(.68,-.55,.265,1.55);
}
.confirm-icon.danger { background: rgba(251,113,133,0.15); }
.confirm-icon.danger svg { width: 28px; height: 28px; color: var(--error); }
.confirm-text { font-size: 14px; color: var(--text2); margin-bottom: 8px; }
.confirm-btns { display: flex; gap: 10px; justify-content: center; margin-top: 20px; }
.nav-badge {
  margin-left: auto;
  padding: 1px 7px;
  background: var(--accent);
  color: #fff;
  border-radius: 10px;
  font-size: 10px;
  font-weight: 700;
  min-width: 18px;
  text-align: center;
  animation: badgePulse 2s ease-in-out infinite;
}
@keyframes badgePulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(124,92,252,0.4); }
  50% { box-shadow: 0 0 0 4px rgba(124,92,252,0); }
}
.loading-screen {
  position: fixed; inset: 0; z-index: 10000;
  background: var(--bg);
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 20px;
  animation: fadeIn .3s ease;
}
.loading-screen.hiding { animation: fadeOut .5s ease forwards; }
@keyframes fadeOut { to { opacity: 0; } }
.loading-logo {
  width: 64px; height: 64px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  border-radius: 18px;
  display: flex; align-items: center; justify-content: center;
  animation: loadingLogo 1.2s ease-in-out infinite;
  box-shadow: 0 12px 40px rgba(124,92,252,0.35);
}
.loading-logo svg { width: 32px; height: 32px; color: #fff; }
@keyframes loadingLogo {
  0%,100% { transform: scale(1) rotate(0deg); }
  50% { transform: scale(1.05) rotate(3deg); }
}
.loading-text {
  font-size: 14px; color: var(--text2); font-weight: 500;
  animation: loadingDots 1.5s ease-in-out infinite;
}
@keyframes loadingDots {
  0%,100% { opacity: 0.5; }
  50% { opacity: 1; }
}
.loading-bar {
  width: 200px; height: 3px;
  background: rgba(255,255,255,0.05);
  border-radius: 3px; overflow: hidden;
}
.loading-bar-fill {
  height: 100%; width: 0%;
  background: linear-gradient(90deg, var(--accent), var(--pink));
  border-radius: 3px;
  animation: loadingProgress 2s ease-in-out;
}
@keyframes loadingProgress { 0% { width: 0%; } 100% { width: 100%; } }
.stat-card::after {
  content: '';
  position: absolute; inset: -50%;
  background: radial-gradient(circle at var(--gx, 50%) var(--gy, 50%), rgba(124,92,252,0.08), transparent 50%);
  opacity: 0; transition: opacity .4s;
  pointer-events: none;
}
.stat-card:hover::after { opacity: 1; }
.data-table tbody tr {
  animation: rowIn .3s ease both;
}
.data-table tbody tr:nth-child(1) { animation-delay: .03s; }
.data-table tbody tr:nth-child(2) { animation-delay: .06s; }
.data-table tbody tr:nth-child(3) { animation-delay: .09s; }
.data-table tbody tr:nth-child(4) { animation-delay: .12s; }
.data-table tbody tr:nth-child(5) { animation-delay: .15s; }
.data-table tbody tr:nth-child(6) { animation-delay: .18s; }
.data-table tbody tr:nth-child(7) { animation-delay: .21s; }
.data-table tbody tr:nth-child(8) { animation-delay: .24s; }
@keyframes rowIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.view-toggle {
  display: flex; gap: 4px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--glass-border);
  border-radius: 8px; padding: 3px;
}
.view-toggle button {
  background: none; border: none; cursor: pointer;
  padding: 6px 10px; border-radius: 6px;
  color: var(--text3); transition: all .25s;
  display: flex; align-items: center;
}
.view-toggle button.active { background: rgba(124,92,252,0.15); color: var(--accent3); }
.view-toggle button:hover:not(.active) { color: var(--text); }
.view-toggle button svg { width: 16px; height: 16px; }
.client-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 14px;
}
.client-card {
  background: var(--card);
  border: 1px solid var(--glass-border);
  border-radius: 14px;
  padding: 20px;
  transition: all .3s;
  cursor: default;
}
.client-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
  border-color: rgba(124,92,252,0.15);
}
.client-card-header {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 14px;
}
.client-card-avatar {
  width: 42px; height: 42px; min-width: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 16px; color: #fff;
}
.client-card-name { font-size: 15px; font-weight: 600; }
.client-card-company { font-size: 12px; color: var(--text3); }
.client-card-info { display: flex; flex-direction: column; gap: 6px; margin-top: 8px; }
.client-card-row {
  display: flex; align-items: center; gap: 8px;
  font-size: 12px; color: var(--text2);
}
.client-card-row svg { width: 14px; height: 14px; color: var(--text3); min-width: 14px; }
.client-card-actions {
  display: flex; gap: 6px; margin-top: 14px;
  padding-top: 14px; border-top: 1px solid var(--glass-border);
}
.profile-page {
  max-width: 600px;
  margin: 0 auto;
  animation: fadeIn .4s ease;
}
.profile-header {
  display: flex;
  align-items: center;
  gap: 24px;
  background: var(--card);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 32px;
  margin-bottom: 24px;
  position: relative;
  overflow: hidden;
}
.profile-header::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--pink), var(--cyan));
}
.profile-avatar-wrap {
  position: relative;
  flex-shrink: 0;
}
.profile-avatar {
  width: 90px; height: 90px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(124,92,252,0.3);
}
.profile-avatar-edit {
  position: absolute; bottom: -4px; right: -4px;
  width: 30px; height: 30px;
  background: linear-gradient(135deg, var(--accent), var(--pink));
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: all .3s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.profile-avatar-edit:hover {
  transform: scale(1.1);
}
.profile-avatar-edit svg {
  width: 14px; height: 14px; color: #fff;
}
.profile-info h2 {
  font-size: 22px; font-weight: 800; margin-bottom: 4px;
}
.profile-info p {
  font-size: 13px; color: var(--text2); margin-bottom: 8px;
}
.profile-form {
  background: var(--card);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 28px;
}
.profile-form .field {
  margin-bottom: 16px;
}
.profile-form .field label {
  display: block;
  font-size: 12px; font-weight: 600; color: var(--text2);
  margin-bottom: 6px;
}
.profile-form .field input,
.profile-form .field textarea {
  width: 100%;
  padding: 10px 14px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--glass-border);
  border-radius: 10px;
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  transition: all .3s;
}
.profile-form .field input:focus,
.profile-form .field textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(124,92,252,0.1);
  outline: none;
}
.profile-form .field textarea {
  resize: vertical; min-height: 80px;
}
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 0 32px; height: 72px;
  display: flex; align-items: center;
  background: transparent;
  transition: all .4s cubic-bezier(.4,0,.2,1);
}
.site-header.scrolled {
  background: rgba(6,6,14,0.92);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: 0 4px 30px rgba(0,0,0,0.3);
}
.site-header-inner {
  width: 100%; max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
}
.site-logo {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; color: #fff; font-weight: 700; font-size: 18px;
}
.site-logo-icon {
  width: 36px; height: 36px; min-width: 36px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(124,92,252,0.35);
}
.site-logo-icon.small { width: 32px; height: 32px; min-width: 32px; }
.site-logo-icon svg { width: 18px; height: 18px; }
.site-nav {
  display: flex; align-items: center; gap: 8px;
}
.site-nav-link {
  padding: 8px 16px; border-radius: 8px;
  color: var(--text2); text-decoration: none;
  font-size: 14px; font-weight: 500;
  transition: all .25s;
}
.site-nav-link:hover { color: #fff; background: rgba(255,255,255,0.06); }
.site-nav-link.active { color: #fff; background: rgba(124,92,252,0.15); }
.site-nav-cta {
  padding: 8px 20px; border-radius: 8px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #fff; text-decoration: none;
  font-size: 14px; font-weight: 600;
  transition: all .25s;
  box-shadow: 0 2px 12px rgba(124,92,252,0.3);
}
.site-nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(124,92,252,0.4);
}
.site-burger {
  display: none; background: none; border: none; cursor: pointer;
  padding: 6px; flex-direction: column; gap: 5px;
}
.site-burger span {
  display: block; width: 24px; height: 2px;
  background: var(--text); border-radius: 2px;
  transition: all .3s;
}
.site-burger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.site-burger.open span:nth-child(2) { opacity: 0; }
.site-burger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
.hero {
  min-height: 100vh; padding: 120px 32px 80px;
  display: flex; align-items: center; justify-content: center; gap: 60px;
  position: relative; overflow: hidden;
  max-width: 1200px; margin: 0 auto;
}
.hero-bg {
  position: fixed; inset: 0; z-index: -1; overflow: hidden;
}
.hero-orb {
  position: absolute; border-radius: 50%; filter: blur(120px); opacity: 0.15;
  animation: meshFloat 25s ease-in-out infinite;
}
.hero-orb:nth-child(1) {
  width: 500px; height: 500px;
  background: var(--accent); top: -10%; right: 10%;
}
.hero-orb:nth-child(2) {
  width: 400px; height: 400px;
  background: var(--pink); bottom: 10%; left: 5%;
  animation-delay: -8s;
}
.hero-orb:nth-child(3) {
  width: 300px; height: 300px;
  background: var(--cyan); top: 50%; left: 40%;
  animation-delay: -16s;
}
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(124,92,252,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124,92,252,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero-content { flex: 1; max-width: 560px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 16px; border-radius: 20px;
  background: rgba(124,92,252,0.12); border: 1px solid rgba(124,92,252,0.2);
  font-size: 13px; color: var(--accent3); font-weight: 500;
  margin-bottom: 24px;
  animation: fadeIn .6s ease .2s both;
}
.hero-badge svg { width: 14px; height: 14px; }
.hero-content h1 {
  font-size: 48px; font-weight: 800; line-height: 1.15;
  margin-bottom: 20px;
  animation: fadeIn .6s ease .3s both;
}
.hero-gradient {
  background: linear-gradient(135deg, var(--accent3), var(--pink), var(--cyan));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% 200%;
  animation: shimmer 4s ease-in-out infinite;
}
.hero-desc {
  font-size: 17px; color: var(--text2); line-height: 1.7;
  margin-bottom: 32px;
  animation: fadeIn .6s ease .4s both;
}
.hero-actions {
  display: flex; gap: 14px; flex-wrap: wrap;
  margin-bottom: 40px;
  animation: fadeIn .6s ease .5s both;
}
.hero-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 24px; border-radius: 10px;
  font-size: 14px; font-weight: 600;
  font-family: 'Inter', sans-serif;
  text-decoration: none; cursor: pointer;
  transition: all .3s cubic-bezier(.4,0,.2,1);
  border: none;
}
.hero-btn svg { width: 16px; height: 16px; }
.hero-btn.primary {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #fff;
  box-shadow: 0 4px 20px rgba(124,92,252,0.35);
}
.hero-btn.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(124,92,252,0.45);
}
.hero-btn.secondary {
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--glass-border);
  color: var(--text);
}
.hero-btn.secondary:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.15);
  transform: translateY(-2px);
}
.hero-stats {
  display: flex; align-items: center; gap: 24px;
  padding: 20px 24px;
  background: var(--card); border: 1px solid var(--glass-border);
  border-radius: 14px;
  animation: fadeIn .6s ease .6s both;
}
.hero-stat-value { font-size: 22px; font-weight: 800; color: var(--accent3); }
.hero-stat-label { font-size: 12px; color: var(--text3); margin-top: 2px; }
.hero-stat-divider { width: 1px; height: 36px; background: var(--glass-border); }
.hero-visual {
  flex: 1; max-width: 480px;
  animation: fadeIn .8s ease .4s both;
}
.hero-mockup {
  background: var(--card);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
  animation: float 6s ease-in-out infinite;
}
@keyframes float {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
.mockup-bar {
  padding: 12px 16px;
  background: rgba(255,255,255,0.03);
  border-bottom: 1px solid var(--glass-border);
  display: flex; align-items: center; gap: 12px;
}
.mockup-dots { display: flex; gap: 6px; }
.mockup-dots span {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--glass-border);
}
.mockup-dots span:nth-child(1) { background: var(--red); }
.mockup-dots span:nth-child(2) { background: var(--yellow); }
.mockup-dots span:nth-child(3) { background: var(--green); }
.mockup-title { font-size: 11px; color: var(--text3); font-weight: 600; }
.mockup-body { display: flex; min-height: 240px; }
.mockup-sidebar {
  width: 50px; padding: 12px 8px;
  border-right: 1px solid var(--glass-border);
  display: flex; flex-direction: column; gap: 8px;
}
.mockup-nav-item {
  height: 6px; border-radius: 3px;
  background: rgba(255,255,255,0.06);
}
.mockup-nav-item.active {
  background: linear-gradient(90deg, var(--accent), var(--accent2));
}
.mockup-content { flex: 1; padding: 16px; }
.mockup-card-row { display: flex; gap: 8px; margin-bottom: 16px; }
.mockup-mini-card {
  flex: 1; height: 50px; border-radius: 8px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--glass-border);
  position: relative; overflow: hidden;
}
.mockup-mini-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
}
.mockup-mini-card.purple::before { background: linear-gradient(90deg, var(--accent), var(--accent2)); }
.mockup-mini-card.blue::before { background: linear-gradient(90deg, var(--blue), var(--cyan)); }
.mockup-mini-card.green::before { background: linear-gradient(90deg, var(--green), #10b981); }
.mockup-chart {
  height: 120px; border-radius: 10px;
  background: linear-gradient(135deg, rgba(124,92,252,0.08), rgba(168,85,247,0.04));
  border: 1px solid var(--glass-border);
}
.section-container {
  max-width: 1200px; margin: 0 auto; padding: 0 32px;
}
.section-heading {
  text-align: center; margin-bottom: 48px;
}
.section-tag {
  display: inline-block; padding: 5px 14px;
  background: rgba(124,92,252,0.1); border: 1px solid rgba(124,92,252,0.2);
  border-radius: 20px; font-size: 12px; color: var(--accent3);
  font-weight: 600; text-transform: uppercase; letter-spacing: 1px;
  margin-bottom: 16px;
}
.section-heading h2 {
  font-size: 32px; font-weight: 800; margin-bottom: 12px;
}
.section-heading p {
  font-size: 16px; color: var(--text2); max-width: 600px; margin: 0 auto; line-height: 1.6;
}
.services-section {
  padding: 100px 0;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.service-card {
  background: var(--card);
  border: 1px solid var(--glass-border);
  border-radius: 18px;
  padding: 32px 28px;
  transition: all .4s cubic-bezier(.4,0,.2,1);
  position: relative; overflow: hidden;
  opacity: 0; transform: translateY(30px);
}
.service-card.visible {
  opacity: 1; transform: translateY(0);
}
.service-card:nth-child(1) { transition-delay: .05s; }
.service-card:nth-child(2) { transition-delay: .1s; }
.service-card:nth-child(3) { transition-delay: .15s; }
.service-card:nth-child(4) { transition-delay: .2s; }
.service-card:nth-child(5) { transition-delay: .25s; }
.service-card:nth-child(6) { transition-delay: .3s; }
.service-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
}
.service-card.purple::before { background: linear-gradient(90deg, var(--accent), var(--accent2)); }
.service-card.orange::before { background: linear-gradient(90deg, var(--orange), var(--yellow)); }
.service-card.green::before { background: linear-gradient(90deg, var(--green), #10b981); }
.service-card.blue::before { background: linear-gradient(90deg, var(--blue), var(--cyan)); }
.service-card.pink::before { background: linear-gradient(90deg, var(--pink), var(--red)); }
.service-card.cyan::before { background: linear-gradient(90deg, var(--cyan), var(--blue)); }
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.3);
  border-color: rgba(124,92,252,0.2);
}
.service-card-icon {
  width: 52px; height: 52px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.service-card-icon svg { width: 24px; height: 24px; }
.service-card-icon.purple { background: rgba(124,92,252,0.15); color: var(--accent3); }
.service-card-icon.orange { background: rgba(251,146,60,0.15); color: var(--orange); }
.service-card-icon.green { background: rgba(52,211,153,0.15); color: var(--green); }
.service-card-icon.blue { background: rgba(56,189,248,0.15); color: var(--blue); }
.service-card-icon.pink { background: rgba(244,114,182,0.15); color: var(--pink); }
.service-card-icon.cyan { background: rgba(34,211,238,0.15); color: var(--cyan); }
.service-card h3 {
  font-size: 18px; font-weight: 700; margin-bottom: 10px;
}
.service-card p {
  font-size: 14px; color: var(--text2); line-height: 1.6; margin-bottom: 16px;
}
.service-card-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 600;
  color: var(--accent3); text-decoration: none;
  transition: all .25s;
}
.service-card-link:hover { color: var(--pink); gap: 10px; }
.service-card-link svg { width: 14px; height: 14px; }
.features-section {
  padding: 80px 0 100px;
}
.features-row {
  display: flex; align-items: center; gap: 60px;
}
.feature-visual {
  flex: 1;
  opacity: 0; transform: translateX(-30px);
  transition: all .6s ease;
}
.feature-visual.visible { opacity: 1; transform: translateX(0); }
.feature-text {
  flex: 1;
  opacity: 0; transform: translateX(30px);
  transition: all .6s ease .2s;
}
.feature-text.visible { opacity: 1; transform: translateX(0); }
.feature-text h2 { font-size: 28px; font-weight: 800; margin-bottom: 16px; }
.feature-text p { font-size: 15px; color: var(--text2); line-height: 1.7; margin-bottom: 24px; }
.feature-list { list-style: none; display: flex; flex-direction: column; gap: 12px; margin-bottom: 8px; }
.feature-list li {
  display: flex; align-items: center; gap: 10px;
  font-size: 14px; color: var(--text);
}
.feature-list li svg { width: 18px; height: 18px; color: var(--green); min-width: 18px; }
.feature-screen {
  background: var(--card);
  border: 1px solid var(--glass-border);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.35);
}
.feature-screen-header {
  display: flex; gap: 6px; padding: 12px 16px;
  background: rgba(255,255,255,0.02);
  border-bottom: 1px solid var(--glass-border);
}
.feature-screen-dot {
  width: 8px; height: 8px; border-radius: 50%;
}
.feature-screen-dot.red { background: var(--red); }
.feature-screen-dot.yellow { background: var(--yellow); }
.feature-screen-dot.green { background: var(--green); }
.feature-screen-body { padding: 20px; }
.feature-pipeline { display: flex; gap: 12px; }
.feature-pipe-col { flex: 1; }
.feature-pipe-label {
  font-size: 10px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 1px; color: var(--text3); margin-bottom: 10px;
}
.feature-pipe-card {
  height: 36px; border-radius: 8px; margin-bottom: 8px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--glass-border);
}
.feature-pipe-card.accent {
  background: rgba(124,92,252,0.12);
  border-color: rgba(124,92,252,0.2);
}
.consultation-section {
  padding: 100px 0;
}
.consultation-wrap {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px;
  align-items: start;
}
.consultation-info {
  opacity: 0; transform: translateX(-30px);
  transition: all .6s ease;
}
.consultation-info.visible { opacity: 1; transform: translateX(0); }
.consultation-info h2 { font-size: 28px; font-weight: 800; margin-bottom: 16px; }
.consultation-info > p { font-size: 15px; color: var(--text2); line-height: 1.7; margin-bottom: 32px; }
.consultation-contacts { display: flex; flex-direction: column; gap: 20px; }
.consultation-contact-item {
  display: flex; align-items: flex-start; gap: 14px;
}
.consultation-contact-item svg {
  width: 20px; height: 20px; min-width: 20px;
  color: var(--accent3); margin-top: 2px;
}
.consultation-contact-item strong {
  display: block; font-size: 13px; font-weight: 600; margin-bottom: 2px;
}
.consultation-contact-item span,
.consultation-contact-item a {
  font-size: 14px; color: var(--text2); text-decoration: none;
}
.consultation-contact-item a:hover { color: var(--accent3); }
.consultation-form-wrap {
  background: var(--card);
  border: 1px solid var(--glass-border);
  border-radius: 18px;
  padding: 32px;
  opacity: 0; transform: translateX(30px);
  transition: all .6s ease .2s;
}
.consultation-form-wrap.visible { opacity: 1; transform: translateX(0); }
.consultation-form { display: flex; flex-direction: column; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label {
  font-size: 12px; font-weight: 600; color: var(--text2);
  text-transform: uppercase; letter-spacing: .8px;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%; padding: 11px 14px;
  background: var(--input-bg);
  border: 1px solid var(--input-border);
  border-radius: 10px;
  color: var(--text); font-size: 14px;
  font-family: 'Inter', sans-serif;
  outline: none; transition: all .3s;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(124,92,252,0.1);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text3); }
.form-group textarea { resize: vertical; min-height: 80px; }
.form-group select {
  appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%238b8ba8' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
}
.form-group select option { background: var(--card-solid); color: var(--text); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-error {
  padding: 10px 14px; border-radius: 8px;
  background: rgba(251,113,133,0.1);
  border: 1px solid rgba(251,113,133,0.2);
  color: var(--error); font-size: 13px;
}
.consultation-success {
  text-align: center; padding: 40px 20px;
}
.consultation-success-icon {
  width: 64px; height: 64px; margin: 0 auto 16px;
  background: rgba(52,211,153,0.15); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.consultation-success-icon svg { width: 28px; height: 28px; color: var(--green); }
.consultation-success h3 { font-size: 20px; font-weight: 700; margin-bottom: 8px; }
.consultation-success p { font-size: 14px; color: var(--text2); }
.page-hero {
  padding: 140px 0 80px;
  position: relative; overflow: hidden;
  text-align: center;
}
.page-hero-bg {
  position: absolute; inset: 0; z-index: 0;
}
.page-hero-bg .hero-orb:nth-child(1) {
  width: 400px; height: 400px;
  background: var(--accent); top: -20%; right: 20%;
  filter: blur(120px); opacity: 0.12;
  position: absolute; border-radius: 50%;
  animation: meshFloat 25s ease-in-out infinite;
}
.page-hero-bg .hero-orb:nth-child(2) {
  width: 300px; height: 300px;
  background: var(--pink); bottom: -10%; left: 20%;
  filter: blur(120px); opacity: 0.1;
  position: absolute; border-radius: 50%;
  animation: meshFloat 25s ease-in-out infinite;
  animation-delay: -10s;
}
.page-hero-content { position: relative; z-index: 1; }
.page-hero-content h1 {
  font-size: 40px; font-weight: 800; margin-bottom: 16px;
}
.page-hero-content p {
  font-size: 17px; color: var(--text2); max-width: 500px; margin: 0 auto;
}
.about-content { padding: 60px 0 80px; }
.about-block {
  display: flex; align-items: flex-start; gap: 24px;
  background: var(--card); border: 1px solid var(--glass-border);
  border-radius: 18px; padding: 32px;
  margin-bottom: 24px; position: relative; overflow: hidden;
  transition: all .3s;
}
.about-block:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.25);
}
.about-block::before {
  content: ''; position: absolute; top: 0; left: 0; width: 4px; height: 100%;
}
.about-block.purple::before { background: linear-gradient(180deg, var(--accent), var(--accent2)); }
.about-block.blue::before { background: linear-gradient(180deg, var(--blue), var(--cyan)); }
.about-block.green::before { background: linear-gradient(180deg, var(--green), #10b981); }
.about-block-icon {
  width: 52px; height: 52px; min-width: 52px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
}
.about-block-icon svg { width: 24px; height: 24px; }
.about-block-icon.purple { background: rgba(124,92,252,0.15); color: var(--accent3); }
.about-block-icon.blue { background: rgba(56,189,248,0.15); color: var(--blue); }
.about-block-icon.green { background: rgba(52,211,153,0.15); color: var(--green); }
.about-block-body h2 { font-size: 20px; font-weight: 700; margin-bottom: 10px; }
.about-block-body p { font-size: 14px; color: var(--text2); line-height: 1.7; }
.about-numbers { padding: 0 0 80px; }
.numbers-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}
.number-card {
  background: var(--card); border: 1px solid var(--glass-border);
  border-radius: 16px; padding: 32px; text-align: center;
  transition: all .3s;
}
.number-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.25);
}
.number-value { font-size: 36px; font-weight: 800; margin-bottom: 8px; }
.number-value.purple { color: var(--accent3); }
.number-value.blue { color: var(--blue); }
.number-value.green { color: var(--green); }
.number-value.pink { color: var(--pink); }
.number-label { font-size: 13px; color: var(--text2); }
.about-cta { padding: 0 0 100px; }
.cta-card {
  background: linear-gradient(135deg, rgba(124,92,252,0.12), rgba(168,85,247,0.08));
  border: 1px solid rgba(124,92,252,0.2);
  border-radius: 20px; padding: 60px; text-align: center;
  position: relative; overflow: hidden;
}
.cta-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--pink), var(--cyan));
}
.cta-card h2 { font-size: 28px; font-weight: 800; margin-bottom: 12px; }
.cta-card p { font-size: 16px; color: var(--text2); margin-bottom: 28px; }
.cta-actions { display: flex; gap: 14px; justify-content: center; }
.contacts-content { padding: 60px 0 80px; }
.contacts-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 32px;
}
.contacts-info-cards {
  display: flex; flex-direction: column; gap: 16px;
}
.contact-info-card {
  display: flex; align-items: flex-start; gap: 16px;
  background: var(--card); border: 1px solid var(--glass-border);
  border-radius: 14px; padding: 24px;
  transition: all .4s;
  opacity: 0; transform: translateY(20px);
}
.contact-info-card.visible { opacity: 1; transform: translateY(0); }
.contact-info-card:nth-child(1) { transition-delay: .05s; }
.contact-info-card:nth-child(2) { transition-delay: .1s; }
.contact-info-card:nth-child(3) { transition-delay: .15s; }
.contact-info-card:nth-child(4) { transition-delay: .2s; }
.contact-info-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.2);
}
.contact-info-icon {
  width: 44px; height: 44px; min-width: 44px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
}
.contact-info-icon svg { width: 20px; height: 20px; }
.contact-info-icon.purple { background: rgba(124,92,252,0.15); color: var(--accent3); }
.contact-info-icon.blue { background: rgba(56,189,248,0.15); color: var(--blue); }
.contact-info-icon.green { background: rgba(52,211,153,0.15); color: var(--green); }
.contact-info-icon.pink { background: rgba(244,114,182,0.15); color: var(--pink); }
.contact-info-body h3 { font-size: 14px; font-weight: 700; margin-bottom: 4px; }
.contact-info-body p { font-size: 14px; color: var(--text2); }
.contact-info-body a { color: var(--text2); text-decoration: none; transition: color .25s; }
.contact-info-body a:hover { color: var(--accent3); }
.contact-form-card {
  background: var(--card); border: 1px solid var(--glass-border);
  border-radius: 18px; padding: 32px;
  opacity: 0; transform: translateY(20px);
  transition: all .4s ease .1s;
}
.contact-form-card.visible { opacity: 1; transform: translateY(0); }
.contact-form-card h2 { font-size: 20px; font-weight: 700; margin-bottom: 8px; }
.contact-form-card > p { font-size: 14px; color: var(--text2); margin-bottom: 24px; }
.map-section { padding: 0 0 100px; }
.map-wrap {
  border-radius: 16px; overflow: hidden;
  box-shadow: 0 8px 40px rgba(0,0,0,0.3);
}
.site-footer {
  background: var(--card-solid);
  border-top: 1px solid var(--glass-border);
  padding: 60px 0 0;
}
.footer-inner { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px; margin-bottom: 40px;
}
.footer-brand {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 12px; font-weight: 700; font-size: 16px;
}
.footer-desc { font-size: 13px; color: var(--text3); line-height: 1.6; }
.footer-col h4 {
  font-size: 13px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 1px; margin-bottom: 16px; color: var(--text);
}
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  font-size: 13px; color: var(--text2); text-decoration: none;
  transition: color .25s;
}
.footer-links a:hover { color: var(--accent3); }
.footer-contacts { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer-contacts li {
  display: flex; align-items: flex-start; gap: 8px;
  font-size: 13px; color: var(--text2);
}
.footer-contacts li svg { width: 14px; height: 14px; min-width: 14px; color: var(--text3); margin-top: 2px; }
.footer-contacts a { color: var(--text2); text-decoration: none; transition: color .25s; }
.footer-contacts a:hover { color: var(--accent3); }
.footer-bottom {
  padding: 20px 0; border-top: 1px solid var(--glass-border);
  text-align: center;
}
.footer-bottom p { font-size: 12px; color: var(--text3); }
.admin-login-page {
  min-height: 100vh; display: flex;
  align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.admin-login-bg {
  position: fixed; inset: 0; z-index: 0;
}
.admin-login-bg .hero-orb {
  position: absolute; border-radius: 50%;
  filter: blur(120px); opacity: 0.12;
  animation: meshFloat 25s ease-in-out infinite;
}
.admin-login-bg .hero-orb:nth-child(1) {
  width: 400px; height: 400px; background: var(--accent);
  top: -15%; right: 15%;
}
.admin-login-bg .hero-orb:nth-child(2) {
  width: 300px; height: 300px; background: var(--pink);
  bottom: -10%; left: 20%; animation-delay: -8s;
}
.admin-login-card {
  position: relative; z-index: 1; width: 420px; max-width: 94vw;
  background: var(--card); border: 1px solid var(--glass-border);
  border-radius: 20px; padding: 40px 36px;
  box-shadow: 0 24px 80px rgba(0,0,0,0.5);
  animation: appear .6s cubic-bezier(.16,1,.3,1);
}
.admin-login-header {
  text-align: center; margin-bottom: 28px;
}
.admin-login-header .site-logo-icon {
  margin: 0 auto 16px;
}
.admin-login-header h1 { font-size: 24px; font-weight: 700; margin-bottom: 4px; }
.admin-login-header p { font-size: 14px; color: var(--text3); }
.admin-login-card .consultation-form { gap: 14px; }
.admin-login-footer {
  text-align: center; margin-top: 20px;
}
.admin-login-footer a {
  font-size: 13px; color: var(--text3); text-decoration: none;
  transition: color .25s;
}
.admin-login-footer a:hover { color: var(--accent3); }
.admin-dashboard {
  display: flex; min-height: 100vh;
}
.admin-sidebar {
  width: 240px; background: var(--card-solid);
  border-right: 1px solid var(--glass-border);
  display: flex; flex-direction: column;
  position: fixed; top: 0; left: 0; bottom: 0; z-index: 100;
}
.admin-sidebar-header {
  padding: 20px; display: flex; align-items: center; gap: 10px;
  border-bottom: 1px solid var(--glass-border);
}
.admin-sidebar-brand { font-size: 15px; font-weight: 700; }
.admin-sidebar-nav {
  flex: 1; padding: 16px 12px;
  display: flex; flex-direction: column; gap: 4px;
}
.admin-nav-item {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px; border-radius: 10px;
  color: var(--text2); text-decoration: none;
  font-size: 14px; font-weight: 500;
  transition: all .25s; cursor: pointer;
}
.admin-nav-item:hover { background: rgba(124,92,252,0.08); color: var(--text); }
.admin-nav-item.active {
  background: rgba(124,92,252,0.15); color: #fff;
}
.admin-nav-item.danger:hover { background: rgba(251,113,133,0.1); color: var(--error); }
.admin-nav-item svg { width: 18px; height: 18px; min-width: 18px; }
.admin-badge {
  margin-left: auto; padding: 1px 7px;
  background: var(--error); color: #fff; border-radius: 10px;
  font-size: 10px; font-weight: 700;
}
.admin-sidebar-footer {
  padding: 12px; border-top: 1px solid var(--glass-border);
  display: flex; flex-direction: column; gap: 4px;
}
.admin-main {
  margin-left: 240px; flex: 1;
  display: flex; flex-direction: column;
}
.admin-topbar {
  height: 64px; padding: 0 28px;
  display: flex; align-items: center; justify-content: space-between;
  border-bottom: 1px solid var(--glass-border);
  background: rgba(6,6,14,0.9);
  backdrop-filter: blur(20px);
  position: sticky; top: 0; z-index: 50;
}
.admin-topbar h2 {
  font-size: 18px; font-weight: 700;
}
.admin-user { font-size: 13px; color: var(--text2); }
.admin-content { padding: 28px; flex: 1; }
.admin-stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 16px; margin-bottom: 28px;
}
.admin-stat-card {
  background: var(--card); border: 1px solid var(--glass-border);
  border-radius: 14px; padding: 20px;
  position: relative; overflow: hidden;
}
.admin-stat-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
}
.admin-stat-card.purple::before { background: linear-gradient(90deg, var(--accent), var(--accent2)); }
.admin-stat-card.blue::before { background: linear-gradient(90deg, var(--blue), var(--cyan)); }
.admin-stat-card.green::before { background: linear-gradient(90deg, var(--green), #10b981); }
.admin-stat-card.orange::before { background: linear-gradient(90deg, var(--orange), var(--yellow)); }
.admin-stat-icon { margin-bottom: 10px; color: var(--text3); }
.admin-stat-icon svg { width: 20px; height: 20px; }
.admin-stat-value { font-size: 28px; font-weight: 800; margin-bottom: 4px; }
.admin-stat-label { font-size: 12px; color: var(--text2); }
.admin-recent { margin-top: 8px; }
.admin-recent h3 { font-size: 16px; font-weight: 700; margin-bottom: 16px; }
.admin-table-wrap {
  overflow-x: auto; border-radius: 14px;
  border: 1px solid var(--glass-border);
}
.admin-table {
  width: 100%; border-collapse: collapse;
  background: var(--card);
}
.admin-table th {
  padding: 12px 16px; text-align: left;
  font-size: 11px; font-weight: 600; color: var(--text3);
  text-transform: uppercase; letter-spacing: 1px;
  background: rgba(255,255,255,0.02);
  border-bottom: 1px solid var(--glass-border);
}
.admin-table td {
  padding: 12px 16px; font-size: 13px;
  border-bottom: 1px solid rgba(255,255,255,0.03);
}
.admin-table tr:last-child td { border-bottom: none; }
.admin-table tr.unread td { background: rgba(124,92,252,0.04); }
.admin-table tr:hover td { background: rgba(124,92,252,0.06); }
.admin-empty {
  text-align: center; padding: 40px;
  color: var(--text3); font-size: 14px;
}
.admin-badge-section {
  display: inline-block; padding: 3px 8px; border-radius: 6px;
  background: rgba(124,92,252,0.12); color: var(--accent3);
  font-size: 11px; font-weight: 600; text-transform: uppercase;
}
.admin-badge-status {
  display: inline-block; padding: 3px 8px; border-radius: 6px;
  background: rgba(139,139,168,0.15); color: var(--text2);
  font-size: 11px; font-weight: 600;
}
.admin-badge-status.active {
  background: rgba(52,211,153,0.15); color: var(--green);
}
.admin-btn-sm {
  width: 32px; height: 32px; border-radius: 8px;
  border: 1px solid var(--glass-border);
  background: transparent; color: var(--text2);
  cursor: pointer; display: inline-flex;
  align-items: center; justify-content: center;
  transition: all .25s;
}
.admin-btn-sm:hover { border-color: var(--accent); color: var(--accent3); background: rgba(124,92,252,0.08); }
.admin-btn-sm.danger:hover { border-color: var(--error); color: var(--error); background: rgba(251,113,133,0.08); }
.admin-actions-bar {
  margin-bottom: 20px;
}
.admin-form-card {
  background: var(--card); border: 1px solid var(--glass-border);
  border-radius: 14px; padding: 24px;
  margin-bottom: 20px;
}
.admin-form-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 16px; }
.admin-modal {
  background: var(--card-solid);
  border: 1px solid var(--glass-border);
  border-radius: 18px; padding: 28px;
  width: 520px; max-width: 94vw;
  animation: appear .3s cubic-bezier(.16,1,.3,1);
}
.admin-modal h3 { font-size: 18px; font-weight: 700; margin-bottom: 20px; }
.admin-alert {
  padding: 12px 16px; border-radius: 10px;
  font-size: 13px; margin-bottom: 20px;
  animation: fadeIn .3s ease;
}
.admin-alert.success {
  background: rgba(52,211,153,0.1);
  border: 1px solid rgba(52,211,153,0.2);
  color: var(--green);
}
@media (max-width: 1024px) {
  .hero { flex-direction: column; text-align: center; padding-top: 100px; }
  .hero-content { max-width: 100%; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-visual { max-width: 400px; width: 100%; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .features-row { flex-direction: column; }
  .consultation-wrap { grid-template-columns: 1fr; }
  .contacts-grid { grid-template-columns: 1fr; }
  .numbers-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .admin-stats-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .site-header { padding: 0 16px; }
  .site-nav {
    position: fixed; top: 72px; left: 0; right: 0;
    background: var(--card-solid);
    border-bottom: 1px solid var(--glass-border);
    flex-direction: column; padding: 16px;
    display: none;
    box-shadow: 0 8px 30px rgba(0,0,0,0.4);
  }
  .site-nav.open { display: flex; }
  .site-burger { display: flex; }
  .hero { padding: 100px 16px 60px; }
  .hero-content h1 { font-size: 32px; }
  .hero-desc { font-size: 15px; }
  .hero-stats { flex-direction: column; gap: 12px; }
  .hero-stat-divider { width: 40px; height: 1px; }
  .services-grid { grid-template-columns: 1fr; }
  .section-container { padding: 0 16px; }
  .section-heading h2 { font-size: 24px; }
  .page-hero-content h1 { font-size: 28px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .numbers-grid { grid-template-columns: 1fr 1fr; }
  .cta-card { padding: 40px 24px; }
  .admin-sidebar {
    transform: translateX(-100%); width: 240px;
  }
  .admin-main { margin-left: 0; }
  .admin-stats-grid { grid-template-columns: 1fr 1fr; }
  .admin-content { padding: 16px; }
}
@media (max-width: 480px) {
  .hero-content h1 { font-size: 26px; }
  .numbers-grid { grid-template-columns: 1fr; }
  .admin-stats-grid { grid-template-columns: 1fr; }
}