/* =========================
   RESET
========================= */
* {
  box-sizing: border-box;
}

html,
body {
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background: #0b0f19;
  color: #fff;
}

/* =========================
   LAYOUT
========================= */
.container {
  max-width: 1100px;
  margin: auto;
  padding: 20px;
}

.container-second {
  max-width: 1100px;
  margin: auto;
}

/* =========================
   HEADER
========================= */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-weight: 700;
}

.nav {
  display: flex;
  gap: 20px;
}

.nav a {
  color: #ccc;
  text-decoration: none;
}

.nav a:hover {
  color: #fff;
}

.burger {
  display: none;
  font-size: 24px;
  cursor: pointer;
}

/* =========================
   BUTTONS
========================= */
.btn {
  padding: 12px 18px;
  border-radius: 12px;
  text-decoration: none;
  color: #fff;
  background: linear-gradient(135deg, #2563eb, #4f46e5);
}

.btn.big {
  padding: 16px 28px;
  font-size: 18px;
}

.btn.ghost {
  background: transparent;
  border: 1px solid #555;
}

.phone-btn {
  padding: 0;
  border: none;
  background: none;
  color: #4da6ff;
  font-size: 18px;
  cursor: pointer;
}

/* =========================
   HERO
========================= */
.hero {
  padding: 100px 20px;
  text-align: center;
}

.hero h1 {
  font-size: 34px;
}

.hero p {
  color: #aaa;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
  margin-top: 20px;
}

/* =========================
   SECTIONS
========================= */
.stats {
  display: flex;
  justify-content: space-around;
  margin-top: 40px;
  text-align: center;
}

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  margin-top: 60px;
}

.pricing {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.cta {
  padding: 80px 20px;
  text-align: center;
}

.footer {
  padding: 30px;
  text-align: center;
  color: #888;
}

/* =========================
   FILTERS
========================= */
.filters {
  margin: 20px 0;
}

.filters button {
  margin-right: 10px;
  padding: 8px 12px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
}

/* =========================
   CARDS
========================= */
.glass {
  padding: 30px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
}

.glass-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.job-card {
  cursor: pointer;
  transition: 0.2s;
}

.job-card:hover {
  transform: scale(1.02);
}

/* =========================
   CONTACT
========================= */
.contact-box {
  margin-top: 20px;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
  margin-top: 10px;
}

.contact-card {
  padding: 15px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  transition: 0.3s;
}

.contact-card:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.08);
}

.name {
  margin-bottom: 8px;
  font-weight: 600;
}

.phone {
  display: inline-block;
  color: #00bcd4;
  text-decoration: none;
  font-weight: 500;
}

.phone:hover {
  text-decoration: underline;
}

/* =========================
   MODALS
========================= */
.modal,
.contact-modal {
  display: none;
  position: fixed;
  inset: 0;
}

.modal {
  z-index: 9999;
  background: rgba(0, 0, 0, 0.7);
}

.contact-modal {
  z-index: 10000;
  padding: 20px;
  justify-content: center;
  align-items: center;
  background: rgba(0, 0, 0, 0.75);
}

.modal-content {
  position: relative;
  width: 90%;
  max-width: 500px;
  max-height: 80vh;
  margin: 10% auto;
  padding: 30px;
  overflow-y: auto;
  border-radius: 16px;
  background: #0f172a;
}

.contact-modal-content {
  position: relative;
  width: 100%;
  max-width: 360px;
  padding: 30px 20px;
  border-radius: 24px;
  background: #08142f;
  color: #fff;
  text-align: center;
}

.close,
.close-contact {
  position: absolute;
  cursor: pointer;
}

.close {
  top: 10px;
  right: 15px;
  font-size: 24px;
}

.close-contact {
  top: 12px;
  right: 18px;
  font-size: 30px;
}

.contact-links {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}

.contact-links a {
  padding: 14px;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #3d5afe, #5a4bff);
}

/* =========================
   ANIMATIONS
========================= */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  animation: fade 1s forwards;
}

.delay {
  animation-delay: 0.3s;
}

.delay2 {
  animation-delay: 0.6s;
}

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

/* =========================
   MOBILE
========================= */
@media (max-width: 768px) {
  .features,
  .pricing {
    grid-template-columns: 1fr;
  }

  .stats {
    flex-direction: column;
    gap: 20px;
  }

  .nav {
    display: none;
    position: absolute;
    top: 60px;
    right: 0;
    width: 200px;
    padding: 20px;
    flex-direction: column;
    background: #111;
  }

  .nav.active {
    display: flex;
  }

  .burger {
    display: block;
  }
}