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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: #000;
  color: #fff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header / Nav */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.logo {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.5px;
  text-decoration: none;
  color: #fff;
}

.logo span {
  color: #666;
}

.nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav a {
  color: #888;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}

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

.nav-cta {
  background: #fff;
  color: #000 !important;
  padding: 10px 24px;
  border-radius: 8px;
  font-weight: 600 !important;
  transition: opacity 0.2s;
}

.nav-cta:hover {
  opacity: 0.9;
  color: #000 !important;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  color: #fff;
}

/* Sections common */
.section {
  padding: 100px 0;
}

.section-label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #555;
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 700;
  letter-spacing: -1px;
  margin-bottom: 16px;
  line-height: 1.15;
}

.section-subtitle {
  font-size: 18px;
  color: #666;
  max-width: 600px;
  line-height: 1.6;
}

/* Hero */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 70px;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero__bg-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.04) 0%, transparent 70%);
  top: 20%;
  right: -10%;
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.hero h1 {
  font-size: clamp(36px, 7vw, 72px);
  font-weight: 700;
  letter-spacing: -2px;
  line-height: 1.05;
  margin-bottom: 24px;
}

.hero h1 em {
  font-style: normal;
  background: linear-gradient(135deg, #fff 0%, #666 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: clamp(16px, 2vw, 20px);
  color: #666;
  max-width: 560px;
  line-height: 1.7;
  margin-bottom: 40px;
}

.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
}

.btn-primary {
  background: #fff;
  color: #000;
}

.btn-primary:hover {
  background: #e5e5e5;
  transform: translateY(-1px);
}

.btn-secondary {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.15);
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.3);
}

.hero__stats {
  display: flex;
  gap: 48px;
  margin-top: 64px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.hero__stat-value {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.hero__stat-label {
  font-size: 13px;
  color: #555;
  margin-top: 2px;
}

/* Directions */
.directions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
  position: relative;
}

.direction-card {
  background: #0d0d0d;
  border: 1px solid #1a1a1a;
  border-radius: 20px;
  padding: 40px 32px;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.direction-card:hover {
  border-color: #333;
  transform: translateY(-4px);
}

.direction-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(255,255,255,0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 22px;
}

.direction-card h3 {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.3px;
  margin-bottom: 8px;
}

.direction-card p {
  font-size: 14px;
  color: #666;
  line-height: 1.7;
}

.direction-card .arrow {
  position: absolute;
  right: 24px;
  top: 40px;
  color: #333;
  font-size: 24px;
}

.direction-connector {
  display: none;
}

/* Why Choose Us */
.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 48px;
}

.why-card {
  background: #0d0d0d;
  border: 1px solid #1a1a1a;
  border-radius: 16px;
  padding: 32px;
  transition: all 0.3s;
}

.why-card:hover {
  border-color: #333;
}

.why-card__icon {
  font-size: 28px;
  margin-bottom: 16px;
}

.why-card h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}

.why-card p {
  font-size: 14px;
  color: #666;
  line-height: 1.7;
}

.why-card .highlight {
  color: #999;
  font-size: 13px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

/* Process */
.process {
  position: relative;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 48px;
}

.process-card {
  background: #0d0d0d;
  border: 1px solid #1a1a1a;
  border-radius: 16px;
  padding: 28px 24px;
  transition: all 0.3s;
  position: relative;
}

.process-card:hover {
  border-color: #333;
}

.process-card__number {
  font-size: 32px;
  font-weight: 800;
  color: #222;
  line-height: 1;
  margin-bottom: 12px;
  letter-spacing: -1px;
}

.process-card h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 6px;
}

.process-card p {
  font-size: 13px;
  color: #555;
  line-height: 1.6;
}

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 48px;
}

.pricing-card {
  background: #0d0d0d;
  border: 1px solid #1a1a1a;
  border-radius: 20px;
  padding: 32px 24px;
  transition: all 0.3s;
  position: relative;
}

.pricing-card:hover {
  border-color: #333;
  transform: translateY(-4px);
}

.pricing-card.featured {
  border-color: #333;
  background: #111;
}

.pricing-card__name {
  font-size: 14px;
  color: #666;
  font-weight: 500;
  margin-bottom: 4px;
}

.pricing-card__price {
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -1px;
  margin-bottom: 16px;
}

.pricing-card__price span {
  font-size: 16px;
  font-weight: 400;
  color: #555;
}

.pricing-card__features {
  list-style: none;
  margin-bottom: 24px;
}

.pricing-card__features li {
  font-size: 13px;
  color: #777;
  padding: 6px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.pricing-card__features li::before {
  content: "+";
  color: #fff;
  font-weight: 600;
}

.pricing-card .btn {
  width: 100%;
  justify-content: center;
  padding: 12px;
  font-size: 14px;
}

/* Contacts */
.contacts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 48px;
}

.contact-card {
  background: #0d0d0d;
  border: 1px solid #1a1a1a;
  border-radius: 16px;
  padding: 28px 24px;
  text-align: center;
  transition: all 0.3s;
  text-decoration: none;
  color: inherit;
}

.contact-card:hover {
  border-color: #333;
  transform: translateY(-2px);
}

.contact-card__icon {
  font-size: 32px;
  margin-bottom: 12px;
}

.contact-card h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 4px;
}

.contact-card p {
  font-size: 13px;
  color: #555;
}

/* Footer */
.footer {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 40px 0;
}

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

.footer p {
  font-size: 13px;
  color: #444;
}

.footer a {
  color: #666;
  text-decoration: none;
  font-size: 13px;
}

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

/* Chat Widget */
.chat-widget {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
}

.chat-toggle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 24px rgba(255,255,255,0.1);
  transition: all 0.2s;
  font-size: 24px;
}

.chat-toggle:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 32px rgba(255,255,255,0.15);
}

.chat-toggle.active {
  background: #111;
  color: #fff;
  border: 1px solid #333;
}

.chat-panel {
  position: absolute;
  bottom: 68px;
  right: 0;
  width: 360px;
  height: 480px;
  background: #0d0d0d;
  border: 1px solid #222;
  border-radius: 16px;
  display: none;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 16px 64px rgba(0,0,0,0.8);
}

.chat-panel.open {
  display: flex;
}

.chat-header {
  padding: 16px 20px;
  border-bottom: 1px solid #1a1a1a;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.chat-header h4 {
  font-size: 15px;
  font-weight: 600;
}

.chat-header-status {
  font-size: 12px;
  color: #22c55e;
  display: flex;
  align-items: center;
  gap: 6px;
}

.chat-header-status::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22c55e;
}

.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.chat-messages::-webkit-scrollbar {
  width: 4px;
}

.chat-messages::-webkit-scrollbar-track {
  background: transparent;
}

.chat-messages::-webkit-scrollbar-thumb {
  background: #333;
  border-radius: 4px;
}

.chat-message {
  max-width: 80%;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 14px;
  line-height: 1.5;
}

.chat-message--user {
  background: #fff;
  color: #000;
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}

.chat-message--bot {
  background: #1a1a1a;
  color: #ccc;
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}

.chat-message--admin {
  background: #1a3a1a;
  color: #8f8;
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}

.chat-message__time {
  font-size: 11px;
  color: #555;
  margin-top: 4px;
  text-align: right;
}

.chat-input-area {
  padding: 12px 16px;
  border-top: 1px solid #1a1a1a;
  display: flex;
  gap: 8px;
}

.chat-input-area input {
  flex: 1;
  background: #1a1a1a;
  border: 1px solid #2a2a2a;
  border-radius: 10px;
  padding: 10px 14px;
  color: #fff;
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s;
}

.chat-input-area input:focus {
  border-color: #444;
}

.chat-input-area input::placeholder {
  color: #555;
}

.chat-input-area button {
  background: #fff;
  color: #000;
  border: none;
  border-radius: 10px;
  padding: 10px 16px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: opacity 0.2s;
}

.chat-input-area button:hover {
  opacity: 0.9;
}

/* Inline Chat Section */
.inline-chat {
  background: #0d0d0d;
  border: 1px solid #1a1a1a;
  border-radius: 20px;
  margin-top: 48px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 400px;
}

.inline-chat__messages {
  flex: 1;
  overflow-y: auto;
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.inline-chat__messages::-webkit-scrollbar {
  width: 4px;
}

.inline-chat__messages::-webkit-scrollbar-track {
  background: transparent;
}

.inline-chat__messages::-webkit-scrollbar-thumb {
  background: #333;
  border-radius: 4px;
}

.inline-chat__input {
  padding: 16px 24px;
  border-top: 1px solid #1a1a1a;
  display: flex;
  gap: 8px;
}

.inline-chat__input input {
  flex: 1;
  background: #1a1a1a;
  border: 1px solid #2a2a2a;
  border-radius: 10px;
  padding: 12px 16px;
  color: #fff;
  font-size: 15px;
  outline: none;
  transition: border-color 0.2s;
}

.inline-chat__input input:focus {
  border-color: #444;
}

.inline-chat__input input::placeholder {
  color: #555;
}

.inline-chat__input button {
  background: #fff;
  color: #000;
  border: none;
  border-radius: 10px;
  padding: 12px 24px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: opacity 0.2s;
}

.inline-chat__input button:hover {
  opacity: 0.9;
}

/* Admin badge */
.admin-badge {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 999;
}

.admin-badge a {
  font-size: 12px;
  color: #333;
  text-decoration: none;
  transition: color 0.2s;
}

.admin-badge a:hover {
  color: #666;
}

/* Responsive */
@media (max-width: 992px) {
  .directions-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .direction-card:last-child {
    grid-column: span 2;
  }

  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav {
    display: none;
  }

  .nav.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: rgba(0,0,0,0.98);
    padding: 24px 20px;
    gap: 20px;
    border-bottom: 1px solid #1a1a1a;
    backdrop-filter: blur(20px);
  }

  .nav.open a {
    font-size: 16px;
  }

  .mobile-toggle {
    display: block;
  }

  .hero__content {
    text-align: center;
  }

  .hero p {
    margin-left: auto;
    margin-right: auto;
  }

  .hero__actions {
    justify-content: center;
  }

  .hero__stats {
    justify-content: center;
  }

  .directions-grid {
    grid-template-columns: 1fr;
  }

  .direction-card:last-child {
    grid-column: span 1;
  }

  .direction-card .arrow {
    display: none;
  }

  .why-grid {
    grid-template-columns: 1fr;
  }

  .process-grid {
    grid-template-columns: 1fr;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .contacts-grid {
    grid-template-columns: 1fr;
  }

  .chat-panel {
    width: calc(100vw - 32px);
    height: 60vh;
    right: -8px;
  }

  .hero__stats {
    flex-direction: column;
    gap: 24px;
  }

  .section {
    padding: 60px 0;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

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

  .hero__stat-value {
    font-size: 22px;
  }
}
