@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap");

:root {
  --bg-primary: #0a0a1a;
  --bg-secondary: #12122a;
  --bg-card: #1a1a3e;
  --bg-card-hover: #222255;
  --bg-glass: rgba(26, 26, 62, 0.6);
  --text-primary: #e8e8ff;
  --text-secondary: #9999cc;
  --text-muted: #6666aa;
  --accent: #5865f2;
  --accent-hover: #4752c4;
  --accent-glow: rgba(88, 101, 242, 0.4);
  --success: #43b581;
  --warning: #faa61a;
  --danger: #f04747;
  --pink: #eb459e;
  --border: rgba(88, 101, 242, 0.15);
  --border-hover: rgba(88, 101, 242, 0.4);
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  --shadow-glow: 0 0 30px rgba(88, 101, 242, 0.2);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  min-height: 100vh;
  overflow-x: hidden;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: var(--transition);
}
a:hover {
  color: var(--text-primary);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10, 10, 26, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 0 20px;
}
.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}
.navbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-primary);
}
.navbar-brand .logo-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--accent), var(--pink));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}
.navbar-brand span {
  background: linear-gradient(135deg, var(--accent), var(--pink));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}
.nav-links a {
  padding: 8px 16px;
  border-radius: 8px;
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.9rem;
  transition: var(--transition);
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--text-primary);
  background: var(--bg-card);
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.hamburger {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.5rem;
  cursor: pointer;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  font-family: "Inter", sans-serif;
}
.btn-primary {
  background: linear-gradient(135deg, var(--accent), #7c6cf0);
  color: white;
  box-shadow: 0 4px 15px var(--accent-glow);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px var(--accent-glow);
  color: white;
}
.btn-secondary {
  background: var(--bg-card);
  color: var(--text-primary);
  border: 1px solid var(--border);
}
.btn-secondary:hover {
  border-color: var(--accent);
  background: var(--bg-card-hover);
  color: white;
}
.btn-success {
  background: var(--success);
  color: white;
}
.btn-danger {
  background: var(--danger);
  color: white;
}
.btn-sm {
  padding: 6px 14px;
  font-size: 0.8rem;
}
.btn-lg {
  padding: 14px 32px;
  font-size: 1rem;
}
.btn-block {
  width: 100%;
  justify-content: center;
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 70px;
}
.hero::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background:
    radial-gradient(
      circle at 30% 50%,
      rgba(88, 101, 242, 0.08) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 70% 30%,
      rgba(235, 69, 158, 0.06) 0%,
      transparent 50%
    );
  animation: heroFloat 20s ease-in-out infinite;
}
@keyframes heroFloat {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(-2%, -2%);
  }
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.85rem;
  background: var(--bg-glass);
  border: 1px solid var(--border);
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 24px;
  backdrop-filter: blur(10px);
}
.hero-badge .pulse {
  width: 8px;
  height: 8px;
  background: var(--success);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.5;
    transform: scale(1.5);
  }
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 20px;
}
.hero h1 .gradient {
  background: linear-gradient(135deg, var(--accent), var(--pink), #7c6cf0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero p {
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 48px;
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}
.hero-stat {
  text-align: center;
}
.hero-stat .number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent);
  display: block;
}
.hero-stat .label {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* ===== SECTION ===== */
.section {
  padding: 80px 0;
  position: relative;
}
.section-header {
  text-align: center;
  margin-bottom: 50px;
}
.section-header h2 {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 12px;
}
.section-header p {
  color: var(--text-secondary);
  font-size: 1.05rem;
}

/* ===== CARDS ===== */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
}

.service-card {
  display: flex;
  flex-direction: column;
}
.service-card .card-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 18px;
}
.service-card .card-icon.setup {
  background: linear-gradient(
    135deg,
    rgba(88, 101, 242, 0.2),
    rgba(88, 101, 242, 0.05)
  );
  color: var(--accent);
}
.service-card .card-icon.bot {
  background: linear-gradient(
    135deg,
    rgba(235, 69, 158, 0.2),
    rgba(235, 69, 158, 0.05)
  );
  color: var(--pink);
}
.service-card .card-icon.panel {
  background: linear-gradient(
    135deg,
    rgba(67, 181, 129, 0.2),
    rgba(67, 181, 129, 0.05)
  );
  color: var(--success);
}

.service-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.service-card .description {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 18px;
  flex-grow: 1;
}

.service-card .features-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 20px;
}
.feature-tag {
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.75rem;
  background: rgba(88, 101, 242, 0.1);
  color: var(--accent);
  font-weight: 500;
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}
.price-group .current-price {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--accent);
}
.price-group .original-price {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-decoration: line-through;
  margin-left: 8px;
}
.card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.8rem;
  color: var(--text-muted);
}
.card-meta .rating {
  color: var(--warning);
}

/* ===== CATEGORIES ===== */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.category-card {
  text-align: center;
  padding: 36px 24px;
  cursor: pointer;
}
.category-card .icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
}
.category-card h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}
.category-card .count {
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* ===== FEATURES ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.feature-card {
  text-align: center;
  padding: 36px 20px;
}
.feature-card .icon {
  font-size: 2rem;
  margin-bottom: 14px;
  display: block;
}
.feature-card h4 {
  margin-bottom: 8px;
  font-size: 1rem;
}
.feature-card p {
  color: var(--text-secondary);
  font-size: 0.85rem;
  line-height: 1.5;
}

/* ===== TESTIMONIALS ===== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.testimonial-card {
  padding: 28px;
}
.testimonial-card .stars {
  color: var(--warning);
  margin-bottom: 12px;
  font-size: 0.9rem;
}
.testimonial-card .content {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 16px;
  font-style: italic;
}
.testimonial-card .author {
  display: flex;
  align-items: center;
  gap: 10px;
}
.testimonial-card .avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--pink));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
}
.testimonial-card .author-info .name {
  font-weight: 600;
  font-size: 0.9rem;
}
.testimonial-card .author-info .role {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ===== CTA ===== */
.cta-section {
  background: linear-gradient(
    135deg,
    rgba(88, 101, 242, 0.1),
    rgba(235, 69, 158, 0.05)
  );
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 60px;
  text-align: center;
  margin: 40px 0;
}
.cta-section h2 {
  font-size: 2rem;
  margin-bottom: 16px;
}
.cta-section p {
  color: var(--text-secondary);
  margin-bottom: 28px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  padding: 50px 0 30px;
  margin-top: 80px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand .description {
  color: var(--text-secondary);
  font-size: 0.85rem;
  line-height: 1.6;
  margin-top: 12px;
}
.footer h4 {
  font-size: 0.95rem;
  margin-bottom: 16px;
  color: var(--text-primary);
}
.footer-links {
  list-style: none;
}
.footer-links li {
  margin-bottom: 8px;
}
.footer-links a {
  color: var(--text-muted);
  font-size: 0.85rem;
}
.footer-links a:hover {
  color: var(--accent);
}
.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* ===== FORMS ===== */
.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  font-size: 0.9rem;
}
.form-control {
  width: 100%;
  padding: 12px 16px;
  border-radius: 10px;
  background: var(--bg-primary);
  border: 1px solid var(--border);
  color: var(--text-primary);
  font-family: "Inter", sans-serif;
  font-size: 0.9rem;
  transition: var(--transition);
}
.form-control:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}
textarea.form-control {
  min-height: 120px;
  resize: vertical;
}
select.form-control {
  cursor: pointer;
}

/* ===== AUTH PAGES ===== */
.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 100px 20px;
}
.auth-card {
  width: 100%;
  max-width: 440px;
}
.auth-card .card {
  padding: 40px;
}
.auth-card h1 {
  font-size: 1.6rem;
  text-align: center;
  margin-bottom: 8px;
}
.auth-card .subtitle {
  text-align: center;
  color: var(--text-secondary);
  margin-bottom: 30px;
  font-size: 0.9rem;
}
.auth-card .divider {
  text-align: center;
  color: var(--text-muted);
  margin: 24px 0;
  font-size: 0.85rem;
}

.alert {
  padding: 12px 16px;
  border-radius: 10px;
  margin-bottom: 20px;
  font-size: 0.85rem;
}
.alert-error {
  background: rgba(240, 71, 71, 0.1);
  border: 1px solid rgba(240, 71, 71, 0.3);
  color: var(--danger);
}
.alert-success {
  background: rgba(67, 181, 129, 0.1);
  border: 1px solid rgba(67, 181, 129, 0.3);
  color: var(--success);
}

/* ===== DASHBOARD ===== */
.dashboard-layout {
  display: flex;
  padding-top: 70px;
  min-height: 100vh;
}
.sidebar {
  width: 260px;
  background: var(--bg-secondary);
  border-right: 1px solid var(--border);
  padding: 24px 16px;
  position: fixed;
  top: 70px;
  bottom: 0;
  overflow-y: auto;
}
.sidebar-nav {
  list-style: none;
}
.sidebar-nav li {
  margin-bottom: 4px;
}
.sidebar-nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 10px;
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
}
.sidebar-nav a:hover,
.sidebar-nav a.active {
  background: var(--bg-card);
  color: var(--text-primary);
}
.sidebar-nav .badge {
  margin-left: auto;
  padding: 2px 8px;
  border-radius: 6px;
  background: var(--accent);
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
}
.main-content {
  flex: 1;
  margin-left: 260px;
  padding: 30px;
  max-width: 100%;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 30px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
  margin-bottom: 30px;
}
.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  transition: var(--transition);
}
.stat-card:hover {
  border-color: var(--border-hover);
}
.stat-card .stat-icon {
  font-size: 1.5rem;
  margin-bottom: 10px;
}
.stat-card .stat-value {
  font-size: 1.6rem;
  font-weight: 800;
}
.stat-card .stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* ===== TABLE ===== */
.table-wrapper {
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
table {
  width: 100%;
  border-collapse: collapse;
}
th {
  background: var(--bg-card);
  padding: 14px 16px;
  text-align: left;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
td {
  padding: 14px 16px;
  border-top: 1px solid var(--border);
  font-size: 0.9rem;
}
tr:hover td {
  background: rgba(88, 101, 242, 0.03);
}

.status-badge {
  padding: 4px 12px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
}
.status-pending {
  background: rgba(250, 166, 26, 0.15);
  color: var(--warning);
}
.status-processing {
  background: rgba(88, 101, 242, 0.15);
  color: var(--accent);
}
.status-completed {
  background: rgba(67, 181, 129, 0.15);
  color: var(--success);
}
.status-cancelled {
  background: rgba(240, 71, 71, 0.15);
  color: var(--danger);
}
.status-paid {
  background: rgba(67, 181, 129, 0.15);
  color: var(--success);
}
.status-unpaid {
  background: rgba(240, 71, 71, 0.15);
  color: var(--danger);
}

/* ===== ORDER DETAIL ===== */
.order-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
}
.order-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}
.info-item {
  padding: 16px;
  background: var(--bg-card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.info-item .label {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 4px;
}
.info-item .value {
  font-weight: 600;
  font-size: 1rem;
}

/* ===== CHAT ===== */
.chat-container {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.chat-header {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  font-weight: 600;
}
.chat-messages {
  height: 400px;
  overflow-y: auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.message {
  max-width: 70%;
  padding: 12px 16px;
  border-radius: 14px;
  font-size: 0.9rem;
  line-height: 1.5;
}
.message.sent {
  align-self: flex-end;
  background: var(--accent);
  color: white;
  border-bottom-right-radius: 4px;
}
.message.received {
  align-self: flex-start;
  background: var(--bg-primary);
  border-bottom-left-radius: 4px;
}
.message .meta {
  font-size: 0.7rem;
  opacity: 0.7;
  margin-top: 4px;
}
.chat-input {
  display: flex;
  gap: 10px;
  padding: 16px 20px;
  border-top: 1px solid var(--border);
}
.chat-input input {
  flex: 1;
}
.chat-empty {
  text-align: center;
  color: var(--text-muted);
  padding: 60px 20px;
}

/* ===== SERVICE DETAIL ===== */
.service-detail {
  padding-top: 100px;
}
.service-detail-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 30px;
}
.service-detail .service-header {
  margin-bottom: 24px;
}
.service-detail h1 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 12px;
}
.service-detail .meta-row {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.service-detail .meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}
.detail-content {
  line-height: 1.8;
  color: var(--text-secondary);
  white-space: pre-line;
}
.order-sidebar .card {
  position: sticky;
  top: 90px;
}
.order-sidebar .price {
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 4px;
}
.order-sidebar .original {
  font-size: 1rem;
  color: var(--text-muted);
  text-decoration: line-through;
}
.order-sidebar .discount {
  display: inline-block;
  padding: 4px 10px;
  background: rgba(240, 71, 71, 0.15);
  color: var(--danger);
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-left: 8px;
}

/* ===== SERVICES PAGE FILTER ===== */
.filter-bar {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 30px;
  padding: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.filter-bar .search-input {
  flex: 1;
  min-width: 200px;
}
.filter-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.filter-tab {
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 0.85rem;
  background: var(--bg-primary);
  color: var(--text-secondary);
  cursor: pointer;
  border: 1px solid var(--border);
  font-weight: 500;
  transition: var(--transition);
}
.filter-tab:hover,
.filter-tab.active {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
}

/* ===== 404 ===== */
.page-404 {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.page-404 h1 {
  font-size: 6rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--accent), var(--pink));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.page-404 p {
  color: var(--text-secondary);
  margin: 16px 0 30px;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.fade-in {
  animation: fadeInUp 0.6s ease-out;
}
.fade-in-delay-1 {
  animation: fadeInUp 0.6s ease-out 0.1s both;
}
.fade-in-delay-2 {
  animation: fadeInUp 0.6s ease-out 0.2s both;
}
.fade-in-delay-3 {
  animation: fadeInUp 0.6s ease-out 0.3s both;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.2rem;
  }
  .hero-stats {
    gap: 24px;
  }
  .categories-grid {
    grid-template-columns: 1fr;
  }
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  .service-grid {
    grid-template-columns: 1fr;
  }
  .service-detail-grid {
    grid-template-columns: 1fr;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .sidebar {
    display: none;
  }
  .main-content {
    margin-left: 0;
  }
  .nav-links {
    display: none;
  }
  .nav-actions {
    display: none; /* Hide default buttons on small screens if we want them inside menu, or keep them small */
  }
  .hamburger {
    display: block;
    position: absolute;
    right: 20px;
    top: 20px;
  }
  .nav-links.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: rgba(10, 10, 26, 0.98);
    backdrop-filter: blur(20px);
    padding: 20px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
  }
  .nav-links.active a {
    width: 100%;
    text-align: center;
    padding: 12px;
  }
  .mobile-only {
    display: block !important;
  }
  .cta-section {
    padding: 40px 20px;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .dashboard-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.8rem;
  }
  .hero-stat .number {
    font-size: 1.5rem;
  }
  .hero-buttons {
    flex-direction: column;
  }
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: var(--bg-card-hover);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent);
}

/* ===== PARTICLES BG ===== */
.particles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}
