/* СЛК54 — Чистый PHP лендинг | Wow дизайн */

:root {
  --bg: #0A0B0E;
  --bg-elev: #121418;
  --bg-card: #171A20;
  --text: #E5E5E7;
  --text-muted: #A1A1A6;
  --accent: #E07A3D;
  --accent-dark: #C25F28;
  --border: #262A33;
  --white: #FFFFFF;
}

* {
  box-sizing: border-box;
}

body {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, .display {
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* Navbar */
.nav {
  backdrop-filter: blur(20px);
  background: rgba(10, 11, 14, 0.92);
  border-bottom: 1px solid var(--border);
  transition: all 0.3s ease;
}

.nav.scrolled {
  background: rgba(10, 11, 14, 0.98);
}

/* Hero */
.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.52) contrast(1.08);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(10,11,14,0.5) 0%,
    rgba(10,11,14,0.65) 35%,
    rgba(10,11,14,0.88) 72%,
    rgba(10,11,14,0.96) 100%
  );
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 980px;
  padding: 0 24px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 36px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.01em;
  border-radius: 9999px;
  transition: all 0.25s cubic-bezier(0.23, 1, 0.32, 1);
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
  box-shadow: 0 10px 30px -10px rgba(224, 122, 61, 0.5);
}

.btn-primary:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 20px 40px -10px rgba(224, 122, 61, 0.6);
}

.btn-secondary {
  background: rgba(255,255,255,0.08);
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.25);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.45);
  transform: translateY(-2px);
}

/* Cards */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  transition: transform 0.4s cubic-bezier(0.23, 1.0, 0.32, 1), 
              box-shadow 0.4s cubic-bezier(0.23, 1.0, 0.32, 1);
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 30px 70px -15px rgba(0, 0, 0, 0.6);
  border-color: rgba(224, 122, 61, 0.25);
}

/* Advantages icons styling */
.advantages-icon {
  width: 56px;
  height: 56px;
  object-fit: contain;
  background: rgba(255,255,255,0.06);
  border-radius: 12px;
  padding: 10px;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.15));
}

/* Stats */
.stat {
  text-align: center;
}

.stat-number {
  font-size: 42px;
  font-weight: 700;
  line-height: 1;
  color: var(--white);
}

/* Process steps */
.step {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 32px;
  border-radius: 24px;
  transition: all 0.3s ease;
}

.step-number {
  width: 56px;
  height: 56px;
  border-radius: 9999px;
  background: var(--bg-elev);
  border: 2px solid var(--accent);
  color: var(--accent);
  font-size: 22px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Products */
.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1), border-color 0.3s;
}

.product-card:hover {
  transform: translateY(-6px);
  border-color: rgba(224, 122, 61, 0.3);
}

.product-card img {
  transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.product-card:hover img {
  transform: scale(1.07);
}

/* Testimonials */
.testimonial {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 36px;
  border-radius: 24px;
  min-height: 280px;
}

.testimonial-slider {
  position: relative;
}

/* Form */
.input {
  width: 100%;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 15px 18px;
  border-radius: 14px;
  font-size: 15px;
  transition: all 0.2s;
}

.input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(224, 122, 61, 0.1);
}

/* Mobile menu */
.mobile-menu {
  display: none;
}

.mobile-menu.open {
  display: block;
  animation: slideDown 0.25s ease forwards;
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Reveal animations */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.7s cubic-bezier(0.23, 1.0, 0.32, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Floating button */
.fab {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 100;
}

/* Testimonials scroller */
#testimonials-scroller {
  scrollbar-width: none; /* Firefox */
  cursor: grab;
}
#testimonials-scroller::-webkit-scrollbar {
  display: none;
}
#testimonials-scroller:active {
  cursor: grabbing;
}

.testimonial {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 22px 20px;
  border-radius: 18px;
  min-height: 240px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

/* Misc */
.section {
  scroll-margin-top: 90px;
}

.divider {
  height: 1px;
  background: linear-gradient(to right, transparent, var(--border), transparent);
}

/* Honeypot — hide from humans, keep in DOM for bots */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* Clickable product / service cards as buttons */
button.product-card,
button.card {
  cursor: pointer;
  font: inherit;
  color: inherit;
  appearance: none;
  -webkit-appearance: none;
}

button.product-card:focus-visible,
button.card:focus-visible,
.open-modal:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.lead-form button[disabled] {
  opacity: 0.7;
  cursor: wait;
}

/* Select inputs match .input */
select.input {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23A1A1A6' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}