/* =========================
   RESET
========================= */

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

html {
  scroll-behavior: smooth;
}

body {

  font-family:
    Arial,
    Helvetica,
    sans-serif;

  background: #080b12;

  color: #f4f7fb;

  line-height: 1.6;

  min-height: 100vh;
}

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

button,
input,
textarea,
select {
  font: inherit;
}


/* =========================
   HEADER
========================= */

.header {

  width: 100%;

  min-height: 72px;

  padding: 15px 6%;

  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 20px;

  background: #0d111a;

  border-bottom: 1px solid #1c2431;

  position: sticky;

  top: 0;

  z-index: 100;
}


.logo {

  font-size: 25px;

  font-weight: 800;

  letter-spacing: -1px;
}

.logo span,
.footer-logo span {
  color: #6d7cff;
}


.nav {

  display: flex;

  align-items: center;

  gap: 25px;
}


.nav a {

  color: #aeb7c8;

  font-size: 14px;

  transition: 0.2s;
}


.nav a:hover {
  color: white;
}


.header-buttons {

  display: flex;

  align-items: center;

  gap: 15px;
}


.login-link {

  color: #b9c2d1;

  font-size: 14px;
}


/* =========================
   BUTTONS
========================= */

.btn {

  display: inline-flex;

  align-items: center;

  justify-content: center;

  padding: 11px 18px;

  border-radius: 9px;

  border: none;

  background: #6d7cff;

  color: white;

  font-weight: 700;

  cursor: pointer;

  transition:
    transform 0.2s,
    background 0.2s;
}


.btn:hover {

  transform: translateY(-2px);

  background: #7d8aff;
}


.btn.secondary {

  background: #151b27;

  border: 1px solid #293244;

  color: #e9edf5;
}


/* =========================
   HERO
========================= */

.hero {

  min-height: 620px;

  display: flex;

  align-items: center;

  justify-content: center;

  text-align: center;

  padding: 80px 6%;

  background:

    radial-gradient(
      circle at 50% 20%,
      #172044 0,
      #080b12 55%
    );
}


.hero-content {

  max-width: 850px;

  margin: auto;
}


.badge {

  display: inline-block;

  padding: 6px 12px;

  border-radius: 50px;

  background: #151d35;

  border: 1px solid #28355d;

  color: #9eabff;

  font-size: 12px;

  font-weight: 700;

  margin-bottom: 18px;
}


.hero h1 {

  font-size: clamp(
    42px,
    7vw,
    76px
  );

  line-height: 1.05;

  letter-spacing: -3px;

  margin-bottom: 25px;
}


.hero p {

  max-width: 650px;

  margin: auto;

  color: #a9b3c4;

  font-size: 18px;
}


.hero-buttons {

  margin-top: 35px;

  display: flex;

  justify-content: center;

  gap: 15px;

  flex-wrap: wrap;
}


/* =========================
   SECTIONS
========================= */

.categories-section,
.services-section {

  max-width: 1200px;

  margin: auto;

  padding: 90px 6%;
}


.section-header {

  margin-bottom: 40px;
}


.section-header h2 {

  font-size: 36px;

  margin-bottom: 10px;
}


.section-header p {

  color: #8e99aa;

  max-width: 650px;
}


/* =========================
   CATEGORIES
========================= */

.categories-grid {

  display: grid;

  grid-template-columns:
    repeat(3, 1fr);

  gap: 18px;
}


.category-card {

  padding: 28px;

  background: #0e131d;

  border: 1px solid #202938;

  border-radius: 15px;

  transition: 0.25s;
}


.category-card:hover {

  transform: translateY(-5px);

  border-color: #4755a8;

  background: #111827;
}


.category-icon {

  font-size: 32px;

  margin-bottom: 18px;
}


.category-card h3 {

  margin-bottom: 5px;
}


.category-card p {

  color: #8f99a9;

  font-size: 14px;
}


/* =========================
   SERVICES
========================= */

.services-grid {

  display: grid;

  grid-template-columns:
    repeat(3, 1fr);

  gap: 20px;
}


.service-card {

  padding: 24px;

  background: #0e131d;

  border: 1px solid #202938;

  border-radius: 15px;

  transition: 0.2s;
}


.service-card:hover {

  border-color: #4654a4;

  transform: translateY(-3px);
}


.service-category {

  display: inline-block;

  color: #9ba8ff;

  background: #171d35;

  padding: 5px 9px;

  border-radius: 6px;

  font-size: 11px;

  font-weight: 700;

  margin-bottom: 15px;
}


.service-card h3 {

  font-size: 20px;

  margin-bottom: 10px;
}


.service-card p {

  color: #929dae;

  font-size: 14px;

  margin-bottom: 15px;

  display: -webkit-box;

  -webkit-line-clamp: 3;

  -webkit-box-orient: vertical;

  overflow: hidden;
}


.service-card strong {

  font-size: 20px;
}


.center-button {

  text-align: center;

  margin-top: 35px;
}


/* =========================
   EMPTY STATE
========================= */

.empty-state {

  width: 100%;

  padding: 55px 25px;

  text-align: center;

  background: #0d121c;

  border: 1px dashed #2a3445;

  border-radius: 16px;

  grid-column: 1 / -1;
}


.empty-icon {

  font-size: 45px;

  margin-bottom: 15px;
}


.empty-state h2,
.empty-state h3 {

  margin-bottom: 10px;
}


.empty-state p {

  color: #8f99a9;

  margin-bottom: 25px;
}


/* =========================
   PAGE
========================= */

.page {

  width: 100%;

  max-width: 1200px;

  margin: auto;

  padding: 70px 6%;
}


.page-header {

  margin-bottom: 35px;
}


.page-header h1 {

  font-size: 42px;

  margin-bottom: 8px;
}


.page-header p {

  color: #909bad;
}


/* =========================
   SEARCH
========================= */

.search-box {

  margin-bottom: 35px;
}


.search-box input {

  width: 100%;

  padding: 16px 18px;

  border-radius: 10px;

  border: 1px solid #293344;

  background: #0e131d;

  color: white;

  outline: none;
}


.search-box input:focus {

  border-color: #6474e8;
}


/* =========================
   FORMS
========================= */

.form-container {

  max-width: 650px;

  margin: auto;

  padding: 35px;

  background: #0e131d;

  border: 1px solid #222c3b;

  border-radius: 18px;
}


.form-container h1 {

  margin-bottom: 10px;
}


.form-container > p {

  color: #8f99a9;

  margin-bottom: 30px;
}


.form-container form {

  display: flex;

  flex-direction: column;

  gap: 10px;
}


.form-container label {

  margin-top: 10px;

  font-size: 14px;

  font-weight: 700;
}


.form-container input,
.form-container textarea,
.form-container select {

  width: 100%;

  padding: 13px 14px;

  background: #080c13;

  border: 1px solid #293344;

  border-radius: 8px;

  color: white;

  outline: none;
}


.form-container textarea {

  min-height: 140px;

  resize: vertical;
}


.form-container input:focus,
.form-container textarea:focus,
.form-container select:focus {

  border-color: #6676e8;
}


.form-container button {

  margin-top: 20px;
}


/* =========================
   SERVICE DETAIL
========================= */

.detail-card {

  max-width: 850px;

  margin: auto;

  padding: 40px;

  background: #0e131d;

  border: 1px solid #252f40;

  border-radius: 18px;
}


.detail-card h1 {

  font-size: 42px;

  margin: 15px 0 25px;
}


.detail-description {

  color: #aeb7c6;

  font-size: 17px;

  white-space: pre-wrap;

  margin-bottom: 35px;
}


.detail-info {

  display: grid;

  grid-template-columns:
    repeat(2, 1fr);

  gap: 20px;

  padding: 25px 0;

  border-top: 1px solid #242e3d;

  border-bottom: 1px solid #242e3d;
}


.detail-info div {

  display: flex;

  flex-direction: column;

  gap: 5px;
}


.detail-info small {

  color: #7e899a;
}


.detail-info strong {

  font-size: 19px;
}


.detail-actions {

  display: flex;

  gap: 12px;

  flex-wrap: wrap;

  margin-top: 30px;
}


/* =========================
   PROFILE
========================= */

.profile-card {

  max-width: 650px;

  margin: auto;

  padding: 50px;

  text-align: center;

  background: #0e131d;

  border: 1px solid #242d3d;

  border-radius: 18px;
}


.profile-avatar {

  width: 90px;

  height: 90px;

  margin: auto auto 20px;

  display: flex;

  align-items: center;

  justify-content: center;

  border-radius: 50%;

  background: #1a2140;

  color: #9aa6ff;

  font-size: 35px;

  font-weight: 800;
}


.profile-card p {

  color: #8f99a9;

  margin: 10px 0 25px;
}


/* =========================
   MESSAGES
========================= */

.messages-container {

  max-width: 800px;

  margin: auto;
}


.message-header {

  padding: 20px;

  background: #101621;

  border: 1px solid #273142;

  border-radius: 12px;

  margin-bottom: 20px;
}


.message-header p {

  color: #8994a5;
}


#conversation {

  min-height: 180px;

  padding: 20px;

  background: #0d121b;

  border: 1px solid #222d3d;

  border-radius: 12px;

  margin-bottom: 15px;
}


.message {

  max-width: 80%;

  margin-left: auto;

  margin-bottom: 10px;

  padding: 10px 14px;

  background: #5968d9;

  border-radius: 10px;
}


.messages-container textarea {

  width: 100%;

  min-height: 110px;

  padding: 14px;

  background: #0d121b;

  color: white;

  border: 1px solid #293344;

  border-radius: 10px;

  resize: vertical;

  outline: none;
}


/* =========================
   DASHBOARD
========================= */

.dashboard-header {

  margin-bottom: 30px;
}


.dashboard-header p {

  color: #8f99a9;
}


.dashboard-grid {

  display: grid;

  grid-template-columns:
    repeat(2, 1fr);

  gap: 20px;

  margin-bottom: 35px;
}


.dashboard-card {

  padding: 30px;

  background: #0e131d;

  border: 1px solid #242e3e;

  border-radius: 15px;
}


.dashboard-card strong {

  display: block;

  font-size: 40px;

  margin: 10px 0;
}


.dashboard-card p {

  color: #8994a5;
}


.dashboard-header + .dashboard-grid + .btn {

  margin-bottom: 50px;
}


/* =========================
   CTA
========================= */

.cta {

  max-width: 1000px;

  margin: 30px auto 90px;

  padding: 70px 30px;

  text-align: center;

  border-radius: 20px;

  background:
    linear-gradient(
      135deg,
      #121a35,
      #10131d
    );

  border: 1px solid #293455;
}


.cta h2 {

  font-size: 38px;

  margin-bottom: 12px;
}


.cta p {

  max-width: 650px;

  margin: 0 auto 30px;

  color: #939dae;
}


/* =========================
   FOOTER
========================= */

footer {

  padding: 50px 6%;

  text-align: center;

  background: #06080d;

  border-top: 1px solid #1c2430;
}


.footer-logo {

  font-size: 24px;

  font-weight: 800;

  margin-bottom: 10px;
}


footer p {

  color: #737e8e;

  font-size: 13px;

  margin: 7px;
}


.footer-links {

  display: flex;

  justify-content: center;

  gap: 20px;

  flex-wrap: wrap;

  margin: 20px 0;
}


.footer-links a {

  color: #929daf;

  font-size: 13px;
}


/* =========================
   MOBILE
========================= */

@media (max-width: 850px) {

  .header {

    flex-wrap: wrap;

    padding: 14px 5%;
  }


  .nav {

    order: 3;

    width: 100%;

    justify-content: center;

    overflow-x: auto;

    padding-top: 8px;
  }


  .nav a {

    white-space: nowrap;

    font-size: 12px;
  }


  .categories-grid,
  .services-grid {

    grid-template-columns: 1fr 1fr;
  }


  .hero h1 {

    letter-spacing: -2px;
  }

}


@media (max-width: 600px) {

  .header-buttons {

    gap: 8px;
  }


  .login-link {

    display: none;
  }


  .header .btn {

    padding: 9px 12px;

    font-size: 12px;
  }


  .hero {

    min-height: 560px;

    padding: 60px 5%;
  }


  .hero h1 {

    font-size: 43px;
  }


  .hero p {

    font-size: 15px;
  }


  .categories-section,
  .services-section {

    padding: 65px 5%;
  }


  .categories-grid,
  .services-grid,
  .dashboard-grid {

    grid-template-columns: 1fr;
  }


  .page {

    padding: 50px 5%;
  }


  .page-header h1 {

    font-size: 34px;
  }


  .detail-card {

    padding: 25px;
  }


  .detail-card h1 {

    font-size: 32px;
  }


  .detail-info {

    grid-template-columns: 1fr;
  }


  .form-container {

    padding: 25px 20px;
  }


  .cta {

    margin: 20px 5% 60px;

    padding: 55px 20px;
  }


  .cta h2 {

    font-size: 30px;
  }

}
