@import url(https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,700;0,900;1,400;1,700&family=Instrument+Sans:ital,wght@0,400;0,500;0,600;1,400&display=swap);

.page,
body {
  min-height: 100vh
}

.nav-logo,
body {
  color: var(--text-primary)
}

.modal,
.toast,
.user-dropdown {
  box-shadow: var(--shadow-lg)
}

.admin-section.active,
.form-error.visible,
.page.active,
.submit-success.visible,
img,
svg {
  display: block
}

.font-display,
.hero-title,
.modal-title,
.nav-logo,
.section-title,
.service-num,
.service-title,
.stat-number,
.user-avatar,
.user-dropdown-name {
  font-family: var(--font-display)
}

.register-form-title span,
body,
button,
input,
select,
textarea {
  font-family: var(--font-body)
}

.admin-sidebar-title,
.admin-stat-label,
.dashboard-greeting,
.footer-col-title,
.form-label,
.hero-badge,
.hero-scroll,
.process-label,
.register-hero-tag,
.section-tag,
.status-badge {
  text-transform: uppercase
}

.admin-table th,
.btn,
.filter-tab,
.submission-budget,
.submission-name {
  white-space: nowrap
}

:root {
  --accent: #c8a96e;
  --accent-dim: #b8934a;
  --accent-glow: rgba(200, 169, 110, 0.12);
  --accent-light: rgba(200, 169, 110, 0.22);
  --danger: #c0392b;
  --warning: #d4a017;
  --transition: 0.2s ease;
  --transition-slow: 0.4s ease;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Instrument Sans', sans-serif;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --shadow-sm: 0 1px 4px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 24px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.14)
}

[data-theme=dark] {
  --bg-base: #0b0d0f;
  --bg-surface: #111418;
  --bg-elevated: #181c22;
  --bg-card: #1c2028;
  --border: rgba(255, 255, 255, 0.07);
  --border-strong: rgba(255, 255, 255, 0.13);
  --text-primary: #ede8e0;
  --text-secondary: #7a8494;
  --text-muted: #3f4a55;
  --nav-bg: rgba(11, 13, 15, 0.92);
  --input-bg: #111418;
  --overlay: rgba(0, 0, 0, 0.75)
}

[data-theme=light] {
  --bg-base: #f7f5f0;
  --bg-surface: #ffffff;
  --bg-elevated: #eeebe4;
  --bg-card: #ffffff;
  --border: rgba(0, 0, 0, 0.09);
  --border-strong: rgba(0, 0, 0, 0.15);
  --text-primary: #0f1117;
  --text-secondary: #555f6d;
  --text-muted: #a0aab4;
  --nav-bg: rgba(247, 245, 240, 0.94);
  --input-bg: #f0ede6;
  --overlay: rgba(0, 0, 0, 0.45);
  --shadow-sm: 0 1px 4px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 24px rgba(0, 0, 0, 0.07);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.09)
}

*,
::after,
::before {
  box-sizing: border-box;
  margin: 0;
  padding: 0
}

html {
  scroll-behavior: smooth;
  font-size: 16px
}

body {
  background: var(--bg-base);
  transition: background var(--transition-slow), color var(--transition-slow);
  overflow-x: hidden;
  line-height: 1.65;
  font-weight: 400;
  letter-spacing: .005em
}

img,
svg {
  max-width: 100%
}

a {
  text-decoration: none;
  color: inherit
}

button {
  cursor: pointer;
  border: none;
  background: 0 0
}

ul {
  list-style: none
}

::-webkit-scrollbar {
  width: 5px
}

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

::-webkit-scrollbar-thumb {
  background: var(--border-strong);
  border-radius: 3px
}

::-webkit-scrollbar-thumb:hover {
  background: var(--text-muted)
}

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 28px
}

.page {
  display: none
}

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--nav-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: background var(--transition-slow), border-color var(--transition-slow)
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 62px
}

.nav-links,
.nav-logo {
  display: flex;
  align-items: center
}

.nav-logo {
  gap: 6px;
}

.nav-link,
.theme-toggle {
  border-radius: var(--radius-sm);
  color: var(--text-secondary)
}

.nav-logo-img {
  height: 44px;
  width: 44px;
  border-radius: 50%;
  object-fit: cover;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1)
  }

  50% {
    opacity: .4;
    transform: scale(.75)
  }
}

.nav-links {
  gap: 2px
}

.nav-actions,
.theme-toggle {
  display: flex;
  align-items: center
}

.nav-link {
  font-size: .85rem;
  font-weight: 500;
  padding: 6px 12px;
  transition: color var(--transition);
  letter-spacing: .02em
}

.btn-ghost:hover,
.filter-tab:hover,
.modal-close:hover,
.nav-link:hover {
  color: var(--text-primary)
}

.nav-actions {
  gap: 8px
}

.theme-toggle {
  width: 36px;
  height: 36px;
  background: 0 0;
  border: 1px solid var(--border);
  justify-content: center;
  transition: all var(--transition)
}

.dropdown-item,
.user-avatar {
  display: flex;
  align-items: center
}

.btn-outline:hover,
.pagination-btn:hover:not(:disabled),
.theme-toggle:hover {
  border-color: var(--accent);
  color: var(--accent)
}

.theme-toggle svg {
  width: 16px;
  height: 16px
}

.user-menu {
  position: relative
}

.user-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--accent);
  justify-content: center;
  font-weight: 700;
  font-size: .8rem;
  color: #0b0d0f;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition)
}

.user-avatar:hover {
  transform: scale(1.05);
  box-shadow: 0 0 0 3px var(--accent-light)
}

.user-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  min-width: 196px;
  padding: 6px;
  opacity: 0;
  transform: translateY(-6px) scale(.98);
  pointer-events: none;
  transition: .16s
}

.btn,
.dropdown-item {
  gap: 8px;
  border-radius: var(--radius-sm);
  transition: all var(--transition)
}

.user-dropdown.open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: all
}

.user-dropdown-header {
  padding: 8px 10px 12px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 4px
}

.user-dropdown-name {
  font-weight: 600;
  font-size: .875rem
}

.user-dropdown-email {
  font-size: .72rem;
  color: var(--text-secondary);
  margin-top: 2px
}

.dropdown-item {
  padding: 8px 10px;
  font-size: .85rem;
  color: var(--text-secondary);
  width: 100%;
  text-align: left
}

.dropdown-item:hover {
  background: var(--bg-elevated);
  color: var(--text-primary)
}

.dropdown-item.danger:hover,
.status-rejected {
  background: rgb(192 57 43 / .1);
  color: var(--danger)
}

.dropdown-item svg {
  width: 14px;
  height: 14px;
  opacity: .65
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 22px;
  font-weight: 500;
  font-size: .875rem;
  position: relative;
  overflow: hidden;
  letter-spacing: .025em
}

.btn-outline,
.toast {
  border: 1px solid var(--border-strong)
}

.btn:active {
  transform: scale(.99)
}

.btn-primary {
  background: var(--accent);
  color: #0b0d0f;
  font-weight: 600;
  letter-spacing: .03em
}

.btn-primary:hover {
  background: var(--accent-dim)
}

.btn-outline {
  background: 0 0;
  color: var(--text-primary)
}

.btn-ghost {
  background: 0 0;
  color: var(--text-secondary)
}

.btn-danger {
  background: var(--danger);
  color: #fff
}

.btn-danger:hover {
  opacity: .85
}

.btn-lg {
  padding: 13px 30px;
  font-size: .95rem;
  border-radius: var(--radius-md)
}

.btn-sm {
  padding: 6px 14px;
  font-size: .8rem
}

.btn:disabled {
  opacity: .45;
  cursor: not-allowed;
  pointer-events: none
}

.btn-loading .btn-text {
  opacity: 0
}

.btn-loading::before {
  content: '';
  position: absolute;
  width: 16px;
  height: 16px;
  border: 2px solid currentColor;
  border-top-color: #fff0;
  border-radius: 50%;
  animation: .7s linear infinite spin
}

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

.form-group,
.pricing-tiers {
  display: flex;
  flex-direction: column;
  gap: 6px
}

.form-label {
  font-size: .78rem;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: .07em
}

.form-input,
.form-select,
.form-textarea {
  background: var(--input-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 11px 14px;
  font-size: .9rem;
  color: var(--text-primary);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: 0;
  width: 100%
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow)
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--text-muted)
}

.form-input.error,
.form-textarea.error {
  border-color: var(--danger);
  box-shadow: 0 0 0 3px rgb(192 57 43 / .1)
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.65
}

.admin-denied,
.admin-layout,
.hero {
  min-height: calc(100vh - 62px)
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%237a8494' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px
}

.card,
.toast {
  background: var(--bg-card)
}

.form-hint {
  font-size: .75rem;
  color: var(--text-muted)
}

.form-error {
  font-size: .75rem;
  color: var(--danger);
  display: none
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px
}

.char-counter {
  font-size: .72rem;
  color: var(--text-muted);
  text-align: right
}

.empty-state,
.modal-switch,
.stat-item,
.submit-note,
.submit-success {
  text-align: center
}

.card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: background var(--transition-slow), border-color var(--transition-slow)
}

.card-hover {
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition)
}

.modal-overlay,
.modal-switch button {
  transition: opacity var(--transition)
}

.card-hover:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-strong)
}

.toast-container {
  position: fixed;
  top: 76px;
  right: 20px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none
}

.toast {
  border-radius: var(--radius-md);
  padding: 14px 18px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  max-width: 320px;
  pointer-events: all;
  animation: .28s toastIn
}

.hero-bg,
.hero-orb,
.modal-overlay {
  pointer-events: none
}

@keyframes toastIn {
  from {
    opacity: 0;
    transform: translateX(30px)
  }

  to {
    opacity: 1;
    transform: translateX(0)
  }
}

.toast.removing {
  animation: .22s forwards toastOut
}

@keyframes toastOut {
  to {
    opacity: 0;
    transform: translateX(30px)
  }
}

.toast-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 2px
}

.budget-input-wrapper .form-input,
.modal-footer .btn,
.status-select-row .form-group,
.toast-content {
  flex: 1
}

.toast-title {
  font-weight: 600;
  font-size: .85rem;
  margin-bottom: 2px
}

.submission-meta,
.toast-msg {
  font-size: .78rem;
  color: var(--text-secondary)
}

.toast.success {
  border-left: 3px solid var(--accent)
}

.admin-stat.accent .admin-stat-value,
.footer-links a:hover,
.toast.success .toast-icon {
  color: var(--accent)
}

.toast.error {
  border-left: 3px solid var(--danger)
}

.admin-stat.danger .admin-stat-value,
.toast.error .toast-icon {
  color: var(--danger)
}

.toast.warning {
  border-left: 3px solid var(--warning)
}

.admin-stat.warning .admin-stat-value,
.toast.warning .toast-icon {
  color: var(--warning)
}

.modal-overlay {
  position: fixed;
  inset: 0;
  background: var(--overlay);
  backdrop-filter: blur(4px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0
}

.modal-overlay.open {
  opacity: 1;
  pointer-events: all
}

.modal {
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-xl);
  padding: 36px;
  max-width: 460px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  transform: scale(.96) translateY(12px);
  transition: transform var(--transition)
}

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

.modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 28px
}

.modal-title {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -.01em
}

.modal-subtitle {
  font-size: .85rem;
  color: var(--text-secondary);
  margin-top: 4px
}

.modal-close {
  color: var(--text-muted);
  transition: color var(--transition);
  flex-shrink: 0;
  padding: 4px
}

.modal-close svg {
  width: 18px;
  height: 18px
}

.modal-form {
  display: flex;
  flex-direction: column;
  gap: 16px
}

.modal-footer {
  display: flex;
  gap: 10px;
  margin-top: 8px
}

.modal-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 4px 0
}

.modal-divider::after,
.modal-divider::before {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border)
}

.modal-divider span {
  font-size: .72rem;
  color: var(--text-muted)
}

.modal-switch {
  font-size: .82rem;
  color: var(--text-secondary)
}

.modal-switch button {
  color: var(--accent);
  font-weight: 600
}

.modal-switch button:hover {
  opacity: .75
}

.password-strength {
  margin-top: 6px
}

.strength-bars {
  display: flex;
  gap: 4px;
  margin-bottom: 4px
}

.strength-bar {
  flex: 1;
  height: 2px;
  border-radius: 2px;
  background: var(--border);
  transition: background .3s
}

.active-dot.off,
.strength-bar.active-weak {
  background: var(--danger)
}

.strength-bar.active-medium {
  background: var(--warning)
}

.active-dot.on,
.strength-bar.active-strong {
  background: var(--accent)
}

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

.page-admin,
.page-dashboard,
.page-home,
.page-register {
  padding-top: 62px
}

.hero {
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden
}

.hero-bg,
.hero-glow,
.hero-grid,
.hero-orb {
  position: absolute
}

.hero-bg {
  inset: 0
}

.hero-grid {
  inset: 0;
  background-image: linear-gradient(var(--border) 1px, transparent 1px), linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 70% 65% at 50% 40%, black 0%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 70% 65% at 50% 40%, black 0%, transparent 100%);
  opacity: .7
}

.hero-glow {
  width: 700px;
  height: 500px;
  background: radial-gradient(ellipse, rgb(200 169 110 / .09) 0, transparent 70%);
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%)
}

.hero-orb {
  border-radius: 50%;
  filter: blur(100px)
}

.hero-badge,
.service-icon {
  border: 1px solid var(--border-strong);
  align-items: center
}

.hero-orb-1 {
  width: 360px;
  height: 360px;
  background: rgb(200 169 110 / .06);
  top: 5%;
  left: -8%
}

.hero-orb-2 {
  width: 280px;
  height: 280px;
  background: rgb(180 140 80 / .05);
  bottom: 15%;
  right: -4%
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 680px;
  animation: .7s fadeUp
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(22px)
  }

  to {
    opacity: 1;
    transform: translateY(0)
  }
}

.hero-badge {
  display: inline-flex;
  gap: 8px;
  background: var(--bg-elevated);
  border-radius: 2px;
  padding: 5px 12px;
  font-size: .7rem;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: .1em;
  margin-bottom: 32px
}

.hero-badge-dot {
  width: 5px;
  height: 5px;
  background: var(--accent);
  border-radius: 50%
}

.hero-title {
  font-size: clamp(3rem, 5.5vw, 5.2rem);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -.02em;
  margin-bottom: 28px
}

.dashboard-title span,
.hero-title .highlight {
  color: var(--accent);
  font-style: italic
}

.hero-desc,
.hero-title .line-2 {
  color: var(--text-secondary);
  font-weight: 400
}

.hero-title .line-2 {
  display: block;
  font-style: italic
}

.hero-desc {
  font-size: 1.05rem;
  line-height: 1.75;
  margin-bottom: 44px;
  max-width: 520px
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center
}

.hero-scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: .65rem;
  letter-spacing: .15em;
  animation: 2.5s ease-in-out infinite bounce
}

@keyframes bounce {

  0%,
  100% {
    transform: translateX(-50%) translateY(0)
  }

  50% {
    transform: translateX(-50%) translateY(7px)
  }
}

.hero-scroll svg {
  width: 14px;
  height: 14px
}

.stats-bar {
  padding: 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-surface)
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr)
}

.stat-item {
  padding: 36px 20px;
  border-right: 1px solid var(--border);
  position: relative
}

.stat-item:last-child {
  border-right: none
}

.stat-number {
  font-size: 2.6rem;
  font-weight: 900;
  letter-spacing: -.03em;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 8px
}

.stat-label {
  font-size: .78rem;
  color: var(--text-secondary);
  letter-spacing: .04em;
  font-weight: 500
}

.section {
  padding: 60px 0
}

.section-sm {
  padding: 56px 0
}

.section-header {
  margin-bottom: 64px
}

.section-tag {
  display: inline-block;
  font-size: .68rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: .14em;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--accent)
}

.section-title {
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.1;
  margin-bottom: 18px
}

.section-desc {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 500px;
  line-height: 1.75
}

.services-grid,
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--border)
}

.service-card {
  padding: 36px 32px;
  background: var(--bg-card);
  position: relative;
  overflow: hidden;
  transition: background var(--transition)
}

.service-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s
}

.admin-table tr:hover td,
.process-step-num,
.service-card:hover,
.service-icon,
.testimonial-card:hover {
  background: var(--bg-elevated)
}

.service-card:hover::after {
  transform: scaleX(1)
}

.service-num {
  font-size: .7rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: .1em;
  margin-bottom: 20px;
  opacity: .7
}

.service-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  display: flex;
  justify-content: center;
  margin-bottom: 18px
}

.process-label,
.service-title {
  font-weight: 700;
  margin-bottom: 10px
}

.service-icon svg {
  width: 20px;
  height: 20px;
  color: var(--accent)
}

.service-title {
  font-size: 1.05rem
}

.service-desc {
  font-size: .85rem;
  color: var(--text-secondary);
  line-height: 1.7
}

.process-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center
}

.process-label {
  font-size: .68rem;
  color: var(--text-muted);
  letter-spacing: .14em
}

.cta-title,
.process-intro-title {
  font-weight: 700;
  letter-spacing: -.02em;
  font-family: var(--font-display)
}

.process-intro-title {
  font-size: clamp(1.8rem, 2.8vw, 2.4rem);
  line-height: 1.12;
  margin-bottom: 18px
}

.process-intro-desc {
  font-size: .95rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 32px
}

.process-timeline {
  display: flex;
  flex-direction: column;
  gap: 0
}

.process-step {
  display: flex;
  gap: 20px;
  position: relative
}

.process-step:not(:last-child) .process-step-line {
  position: absolute;
  left: 15px;
  top: 34px;
  bottom: -8px;
  width: 1px;
  background: var(--border)
}

.filter-search svg,
.register-hero::before {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none
}

.process-step-num {
  width: 32px;
  height: 32px;
  border: 1px solid var(--border-strong);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .7rem;
  font-weight: 700;
  color: var(--accent);
  flex-shrink: 0;
  font-family: var(--font-display);
  transition: all var(--transition);
  position: relative;
  z-index: 1
}

.cta-section,
.register-hero {
  background: var(--bg-surface);
  position: relative;
  overflow: hidden
}

.process-step:hover .process-step-num {
  border-color: var(--accent);
  background: var(--accent-glow)
}

.cta-section,
.register-form-title,
.register-hero {
  border-bottom: 1px solid var(--border)
}

.cta-section,
.footer,
.footer-bottom,
.submit-section {
  border-top: 1px solid var(--border)
}

.process-step-content {
  padding-bottom: 32px
}

.process-step-title {
  font-family: var(--font-display);
  font-size: .95rem;
  font-weight: 700;
  margin-bottom: 5px
}

.process-step-desc {
  font-size: .84rem;
  color: var(--text-secondary);
  line-height: 1.65
}

.cta-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 48px;
  padding: 80px 0
}

.cta-title {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1.15;
  margin-bottom: 12px
}

.cta-title em {
  font-style: italic;
  color: var(--accent)
}

.cta-desc,
.footer-brand p,
.footer-links a {
  color: var(--text-secondary)
}

.cta-desc {
  font-size: .95rem;
  line-height: 1.7;
  max-width: 460px
}

.cta-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-end;
  flex-shrink: 0
}

.footer {
  padding: 56px 0 28px
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 44px
}

.footer-col-title,
.register-hero-tag,
.register-hero-title {
  margin-bottom: 14px;
  font-weight: 700
}

.footer-brand p {
  font-size: .85rem;
  line-height: 1.7;
  margin-top: 14px;
  max-width: 240px
}

.footer-col-title {
  font-size: .68rem;
  letter-spacing: .1em;
  color: var(--text-primary)
}

.footer-links,
.sidebar-card-list {
  display: flex;
  flex-direction: column;
  gap: 9px
}

.footer-links a {
  font-size: .85rem;
  transition: color var(--transition)
}

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

.register-hero {
  padding: 60px 0 50px
}

.register-hero::before {
  content: '';
  width: 400px;
  height: 280px;
  background: radial-gradient(ellipse, rgb(200 169 110 / .07) 0, transparent 70%);
  right: 0
}

.register-hero-content {
  position: relative;
  z-index: 1
}

.register-hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .68rem;
  color: var(--accent);
  letter-spacing: .12em
}

.register-hero-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 3rem);
  letter-spacing: -.02em;
  line-height: 1.1
}

.register-hero-desc {
  font-size: .95rem;
  color: var(--text-secondary);
  max-width: 480px;
  line-height: 1.7
}

.register-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 28px;
  padding: 44px 0 80px;
  align-items: start
}

.register-form-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px
}

.register-form-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 24px;
  padding-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 10px
}

.register-form-title span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: var(--accent);
  border-radius: 2px;
  font-size: .72rem;
  color: #0b0d0f;
  font-weight: 700;
  flex-shrink: 0
}

.register-form-body {
  display: flex;
  flex-direction: column;
  gap: 18px
}

.budget-input-wrapper {
  display: flex;
  gap: 8px
}

.budget-input-wrapper .form-select {
  width: 100px;
  flex-shrink: 0
}

.submit-section {
  margin-top: 8px;
  padding-top: 22px
}

.submit-section .btn {
  width: 100%;
  padding: 14px;
  font-size: .95rem
}

.submit-note {
  font-size: .74rem;
  color: var(--text-muted);
  margin-top: 10px;
  line-height: 1.55
}

.pricing-tier-name,
.sidebar-list-item {
  color: var(--text-secondary)
}

.register-sidebar {
  display: flex;
  flex-direction: column;
  gap: 14px
}

.sidebar-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px
}

.sidebar-card-title {
  font-family: var(--font-display);
  font-size: .85rem;
  font-weight: 700;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 7px
}

.sidebar-card-title svg {
  width: 14px;
  height: 14px;
  color: var(--accent)
}

.sidebar-list-item {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: .82rem;
  line-height: 1.5
}

.sidebar-check {
  width: 16px;
  height: 16px;
  background: var(--accent-glow);
  border: 1px solid rgb(200 169 110 / .25);
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px
}

.btn-icon,
.pricing-tier {
  border-radius: var(--radius-sm)
}

.sidebar-check svg {
  width: 9px;
  height: 9px;
  color: var(--accent)
}

.pricing-tier {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 12px;
  background: var(--bg-elevated);
  font-size: .8rem
}

.pricing-tier-price {
  font-weight: 600;
  color: var(--accent);
  font-family: var(--font-display)
}

.submit-success {
  display: none;
  padding: 48px 20px
}

.success-icon {
  width: 64px;
  height: 64px;
  background: var(--accent-glow);
  border: 1px solid rgb(200 169 110 / .25);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 22px;
  animation: .45s cubic-bezier(.34, 1.56, .64, 1) successPop
}

.dash-stat,
.dash-stat-icon {
  border: 1px solid var(--border);
  align-items: center
}

@keyframes successPop {
  from {
    transform: scale(0)
  }

  to {
    transform: scale(1)
  }
}

.success-icon svg {
  width: 28px;
  height: 28px;
  color: var(--accent)
}

.success-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 10px
}

.success-desc {
  font-size: .875rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 28px
}

.dashboard-header {
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border);
  padding: 36px 0
}

.dashboard-greeting {
  font-size: .82rem;
  color: var(--text-muted);
  margin-bottom: 6px;
  letter-spacing: .06em;
  font-weight: 600
}

.dash-stat-number,
.dashboard-title {
  font-weight: 700;
  letter-spacing: -.02em;
  font-family: var(--font-display)
}

.dashboard-title {
  font-size: 2rem
}

.dashboard-content {
  padding: 36px 0 80px
}

.dashboard-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 32px
}

.dash-stat {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 20px 22px;
  display: flex;
  gap: 14px
}

.dash-stat-icon {
  width: 40px;
  height: 40px;
  background: var(--bg-elevated);
  border-radius: var(--radius-sm);
  display: flex;
  justify-content: center;
  flex-shrink: 0
}

.dash-stat-icon svg {
  width: 18px;
  height: 18px;
  color: var(--accent)
}

.dash-stat-number {
  font-size: 1.6rem;
  line-height: 1
}

.dash-stat-label {
  font-size: .77rem;
  color: var(--text-secondary);
  margin-top: 3px;
  font-weight: 500
}

.submissions-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px
}

.submissions-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700
}

.submissions-list {
  display: flex;
  flex-direction: column;
  gap: 10px
}

.submission-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 18px 22px;
  display: flex;
  align-items: center;
  gap: 14px;
  transition: all var(--transition)
}

.admin-stat:hover,
.submission-card:hover {
  border-color: var(--border-strong)
}

.submission-info {
  flex: 1;
  min-width: 0
}

.submission-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .92rem;
  margin-bottom: 3px;
  overflow: hidden;
  text-overflow: ellipsis
}

.submission-budget {
  font-family: var(--font-display);
  font-size: .95rem;
  font-weight: 700;
  color: var(--accent)
}

.status-badge {
  padding: 3px 9px;
  border-radius: 2px;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .06em
}

.status-pending {
  background: rgb(212 160 23 / .12);
  color: var(--warning)
}

.status-reviewing {
  background: rgb(0 119 255 / .1);
  color: #5a9fd4
}

.status-accepted {
  background: rgb(200 169 110 / .12);
  color: var(--accent)
}

.status-completed {
  background: rgb(200 169 110 / .18);
  color: var(--accent)
}

.empty-state {
  padding: 56px 20px;
  background: var(--bg-card);
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius-lg)
}

.empty-state-icon {
  font-size: 2rem;
  margin-bottom: 12px
}

.empty-state-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 7px
}

.empty-state-desc {
  font-size: .85rem;
  color: var(--text-secondary);
  margin-bottom: 20px
}

@media (max-width:900px) {

  .footer-grid,
  .services-grid,
  .stats-grid {
    grid-template-columns: 1fr 1fr
  }

  .dashboard-stats,
  .register-layout {
    grid-template-columns: 1fr
  }

  .register-sidebar {
    display: grid;
    grid-template-columns: 1fr 1fr
  }

  .process-layout {
    grid-template-columns: 1fr;
    gap: 40px
  }

  .cta-inner {
    grid-template-columns: 1fr;
    gap: 28px
  }

  .cta-actions {
    align-items: flex-start
  }
}

@media (max-width:640px) {
  .hero-title {
    font-size: 2.6rem
  }

  .hero-actions {
    flex-direction: column
  }

  .footer-grid,
  .form-row,
  .register-sidebar,
  .services-grid {
    grid-template-columns: 1fr
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr
  }

  .stat-item {
    border-right: none;
    border-bottom: 1px solid var(--border)
  }

  .container {
    padding: 0 16px
  }

  .nav-logo {
    font-size: 1.1rem;
    gap: 4px
  }

  .nav-actions {
    gap: 4px
  }

  #user-nav,
  #guest-nav {
    gap: 6px !important
  }

  .user-avatar {
    width: 32px;
    height: 32px;
    font-size: 0.75rem
  }

  .theme-toggle {
    width: 32px;
    height: 32px
  }

  .nav-links {
    display: none
  }

  .modal {
    padding: 24px;
    border-radius: var(--radius-lg)
  }

  .register-form-card {
    padding: 22px
  }
}

.admin-layout {
  display: grid;
  grid-template-columns: 210px 1fr
}

.admin-sidebar {
  background: var(--bg-surface);
  border-right: 1px solid var(--border);
  padding: 24px 0;
  position: sticky;
  top: 62px;
  height: calc(100vh - 62px);
  overflow-y: auto;
  transition: background var(--transition-slow), border-color var(--transition-slow)
}

.admin-sidebar-title {
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .14em;
  color: var(--text-muted);
  padding: 0 18px;
  margin-bottom: 8px
}

.admin-nav-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  font-size: .84rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all var(--transition);
  cursor: pointer;
  width: 100%;
  text-align: left;
  border-left: 2px solid #fff0
}

.admin-nav-item svg {
  width: 14px;
  height: 14px;
  opacity: .6;
  flex-shrink: 0
}

.admin-nav-item:hover {
  color: var(--text-primary);
  background: var(--bg-elevated)
}

.admin-nav-item.active {
  color: var(--accent);
  background: var(--accent-glow);
  border-left-color: var(--accent)
}

.admin-nav-item.active svg {
  opacity: 1
}

.admin-nav-badge {
  margin-left: auto;
  background: var(--danger);
  color: #fff;
  font-size: .62rem;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 100px
}

.admin-stat,
.filter-search input {
  border: 1px solid var(--border);
  transition: border-color var(--transition)
}

.admin-nav-divider {
  height: 1px;
  background: var(--border);
  margin: 10px 18px
}

.admin-main {
  background: var(--bg-base);
  overflow: hidden
}

.admin-section {
  display: none;
  padding: 30px
}

.admin-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px
}

.admin-section-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -.02em
}

.admin-section-sub {
  font-size: .8rem;
  color: var(--text-secondary);
  margin-top: 3px
}

.admin-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 24px
}

.admin-stat {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 16px 18px
}

.btn-icon,
.filter-tab,
.pagination-btn {
  transition: all var(--transition)
}

.admin-stat-label {
  font-size: .72rem;
  color: var(--text-secondary);
  margin-bottom: 6px;
  font-weight: 600;
  letter-spacing: .04em
}

.admin-stat-value {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: -.03em;
  line-height: 1
}

.admin-table th,
.detail-label {
  letter-spacing: .08em;
  text-transform: uppercase
}

.admin-stat-sub {
  font-size: .68rem;
  color: var(--text-muted);
  margin-top: 4px
}

.filter-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  flex-wrap: wrap
}

.filter-search {
  flex: 1;
  min-width: 200px;
  position: relative
}

.admin-table .actions,
.btn-icon {
  align-items: center;
  display: flex
}

.filter-search svg {
  left: 10px;
  width: 14px;
  height: 14px;
  color: var(--text-muted)
}

.filter-search input {
  width: 100%;
  padding: 8px 12px 8px 32px;
  background: var(--input-bg);
  border-radius: var(--radius-sm);
  font-size: .84rem;
  color: var(--text-primary);
  outline: 0
}

.filter-search input:focus {
  border-color: var(--accent)
}

.admin-table td,
.admin-table th {
  border-bottom: 1px solid var(--border)
}

.filter-search input::placeholder {
  color: var(--text-muted)
}

.filter-tabs {
  display: flex;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 2px;
  gap: 2px
}

.filter-tab {
  padding: 5px 10px;
  border-radius: 3px;
  font-size: .75rem;
  font-weight: 500;
  color: var(--text-secondary)
}

.filter-tab.active {
  background: var(--bg-card);
  color: var(--text-primary);
  box-shadow: var(--shadow-sm)
}

.admin-table .cell-sub,
.btn-icon,
.pagination,
.pagination-btn {
  color: var(--text-secondary)
}

.admin-table-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden
}

.admin-table th,
.btn-icon,
.detail-requirements,
.pagination-btn {
  background: var(--bg-elevated)
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .84rem
}

.admin-table th {
  padding: 11px 14px;
  text-align: left;
  font-size: .68rem;
  font-weight: 700;
  color: var(--text-muted)
}

.admin-table td,
.pagination,
.skeleton-row td {
  padding: 12px 14px
}

.admin-table td {
  color: var(--text-primary);
  vertical-align: middle
}

.admin-table tr:last-child td {
  border-bottom: none
}

.admin-table .cell-primary {
  font-weight: 600
}

.admin-table .cell-sub {
  font-size: .75rem;
  margin-top: 2px
}

.admin-table .actions {
  gap: 5px;
  justify-content: flex-end
}

.btn-icon {
  width: 28px;
  height: 28px;
  justify-content: center;
  border: 1px solid var(--border);
  flex-shrink: 0
}

.btn-icon svg {
  width: 13px;
  height: 13px
}

.btn-icon:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-glow)
}

.btn-icon.danger:hover {
  border-color: var(--danger);
  color: var(--danger);
  background: rgb(192 57 43 / .1)
}

.pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border);
  font-size: .78rem
}

.pagination-controls {
  display: flex;
  gap: 4px
}

.pagination-btn {
  padding: 4px 9px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  font-size: .75rem
}

.pagination-btn:disabled {
  opacity: .4;
  cursor: not-allowed
}

.pagination-btn.active {
  background: var(--accent);
  color: #0b0d0f;
  border-color: var(--accent);
  font-weight: 700
}

.detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 18px
}

.detail-label {
  font-size: .68rem;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 4px
}

.detail-value {
  font-size: .85rem;
  color: var(--text-primary);
  word-break: break-word
}

.detail-full {
  grid-column: 1/-1
}

.detail-requirements {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px;
  font-size: .84rem;
  line-height: 1.65;
  color: var(--text-secondary);
  max-height: 200px;
  overflow-y: auto;
  white-space: pre-wrap
}

.status-select-row {
  display: flex;
  gap: 10px;
  align-items: flex-end;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  margin-top: 4px
}

.skeleton {
  background: linear-gradient(90deg, var(--bg-elevated) 25%, var(--bg-card) 50%, var(--bg-elevated) 75%);
  background-size: 200% 100%;
  animation: 1.5s infinite shimmer;
  border-radius: var(--radius-sm)
}

@keyframes shimmer {
  0% {
    background-position: 200% 0
  }

  100% {
    background-position: -200% 0
  }
}

.skeleton-cell {
  height: 13px;
  border-radius: 3px
}

.user-cell {
  display: flex;
  align-items: center;
  gap: 9px
}

.user-cell-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: .72rem;
  font-weight: 700;
  color: #0b0d0f;
  flex-shrink: 0
}

.role-badge {
  padding: 2px 7px;
  border-radius: 2px;
  font-size: .67rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase
}

.role-admin {
  background: rgb(200 169 110 / .14);
  color: var(--accent)
}

.role-user {
  background: var(--bg-elevated);
  color: var(--text-secondary)
}

.active-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  display: inline-block;
  margin-right: 5px
}

.admin-denied {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px
}

.admin-denied-icon {
  font-size: 2.5rem;
  margin-bottom: 18px
}

.admin-denied-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 10px
}

.admin-denied-desc {
  color: var(--text-secondary);
  margin-bottom: 22px
}

.testimonial-card {
  background: var(--bg-card);
  padding: 32px 28px;
  position: relative;
  transition: background var(--transition)
}

.testimonial-stars {
  color: var(--accent);
  font-size: .75rem;
  letter-spacing: 3px;
  margin-bottom: 16px
}

.testimonial-text {
  font-family: var(--font-display);
  font-size: .95rem;
  line-height: 1.7;
  color: var(--text-primary);
  margin-bottom: 24px;
  font-style: italic;
  font-weight: 400
}

.testimonial-avatar,
.testimonial-name {
  font-family: var(--font-display);
  font-weight: 700
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 11px
}

.testimonial-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .85rem;
  color: #0b0d0f;
  flex-shrink: 0
}

.testimonial-name {
  font-size: .875rem
}

.testimonial-role {
  font-size: .74rem;
  color: var(--text-muted);
  margin-top: 2px;
  letter-spacing: .02em
}

@media (max-width:900px) {

  .admin-layout,
  .testimonials-grid {
    grid-template-columns: 1fr
  }

  .admin-sidebar {
    position: static;
    height: auto;
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    padding: 12px;
    border-right: none;
    border-bottom: 1px solid var(--border)
  }

  .admin-nav-item {
    border-left: none;
    border-radius: var(--radius-sm);
    padding: 7px 12px
  }

  .admin-nav-item.active {
    border-bottom: 2px solid var(--accent)
  }

  .admin-stats {
    grid-template-columns: 1fr 1fr
  }

  .admin-section {
    padding: 18px
  }
}
