:root {
    --bg: #0b0f14;
    --panel: #0f1720;
    --muted: #99a0ad;
    --accent: #3ee0ff;
    /* neon cyan */
    --accent-2: #7c5cff;
    /* purple */
    --glass: rgba(255, 255, 255, 0.04);
    --card: #0e1620;
    --radius: 16px;
    --container: 1100px;
}

* {
    box-sizing: border-box
}

/* html,
body {
    height: 100%
} */

body {
    height: 100%;
    margin: 0;
    font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, 'sans-serif';
    background: linear-gradient(180deg, var(--bg) 0%, #071018 100%);
    color: #e6eef6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1.45;
}

.wrap {
    max-width: var(--container);
    margin: 0 auto;
    padding: 36px
}

/* Loader overlay */
#loader {
    position: fixed;
    inset: 0;
    background: linear-gradient(135deg, rgba(12, 16, 22, 0.98), rgba(2, 6, 10, 0.98));
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    flex-direction: column
}

.logo-mark {
    font-weight: 800;
    font-size: 22px;
    letter-spacing: 0.6px;
    color: var(--accent);
    display: flex;
    align-items: center;
    gap: 12px
}

.spinner {
    width: 84px;
    height: 84px;
    border-radius: 50%;
    background: conic-gradient(from 120deg, var(--accent) 0 25%, transparent 25% 100%);
    filter: blur(6px);
    position: relative
}

.spinner::after {
    content: '';
    position: absolute;
    inset: 10px;
    border-radius: 50%;
    background: var(--panel);
}

.loader-sub {
    margin-top: 18px;
    color: var(--muted);
    font-weight: 500
}

/* Header */
header {
    position: sticky;
    top: 0;
    background: linear-gradient(180deg, rgba(10, 14, 20, 0.6), rgba(10, 14, 20, 0.2));
    backdrop-filter: blur(6px);
    z-index: 50
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 36px;
    /* max-width: 100%; */
    max-width: var(--container);
    margin: 0 auto
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px
}

.brand .mark {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #041018
}

.logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

nav a {
    color: var(--muted);
    text-decoration: none;
    margin: 0 10px;
    font-weight: 500
}

.cta {
    padding: 10px 16px;
    border-radius: 12px;
    background: linear-gradient(90deg, var(--accent), var(--accent-2));
    box-shadow: 0 8px 30px rgba(124, 92, 255, 0.12);
    color: #041018;
    font-weight: 700;
    border: none;
    cursor: pointer
}

/* Hero */
.hero {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 28px;
    align-items: center;
    padding: 60px 0
}

.hero-left h1 {
    font-size: 38px;
    margin: 0 0 14px
}

.hero-left p {
    color: var(--muted);
    margin: 0 0 22px
}

.hero-cta {
    display: flex;
    gap: 12px;
    align-items: center
}

.btn-neon {
    background: transparent;
    border: 2px solid rgba(62, 224, 255, 0.08);
    padding: 14px 20px;
    border-radius: 12px;
    color: var(--accent);
    font-weight: 700;
    cursor: pointer;
    position: relative;
    overflow: hidden
}

.btn-neon::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 12px;
    box-shadow: 0 0 30px rgba(62, 224, 255, 0.2);
    opacity: 0;
    transition: opacity .25s
}

.btn-neon:hover::after {
    opacity: 1
}

.btn-primary {
    padding: 14px 20px;
    border-radius: 12px;
    background: linear-gradient(90deg, var(--accent), var(--accent-2));
    color: #041018;
    border: none;
    font-weight: 700;
    cursor: pointer
}

.hero-right {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent);
    border-radius: 14px;
    padding: 24px;
    box-shadow: 0 8px 40px rgba(2, 6, 10, 0.6)
}

.mock-screen {
    height: 240px;
    border-radius: 10px;
    background: linear-gradient(180deg, #08121a, #071018);
    display: flex;
    flex-direction: column;
    padding: 18px
}

.mock-top {
    display: flex;
    gap: 8px;
    align-items: center
}

.mock-content {
  flex:1;
  display:flex;
  align-items:center;
  justify-content:center;
  color:var(--muted);
  font-weight:600;
  opacity:0;
  transition: opacity 0.3s ease-in-out;
}
.mock-content.show {
  opacity:1;
}
.option:hover {
  background: rgba(255,255,255,0.08) !important;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.07)
}

/* Services */
.services {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin: 36px 0
}

.service-card {
    background: var(--card);
    padding: 18px;
    border-radius: 14px;
    box-shadow: 0 6px 24px rgba(2, 6, 10, 0.6);
    transition: transform .22s, box-shadow .22s
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(2, 6, 10, 0.7)
}

.service-card h3 {
    margin: 8px 0 6px
}

.service-card p {
    margin: 0;
    color: var(--muted);
    font-size: 14px
}

/* Cases */
.cases {
    margin: 36px 0
}

.case-list {
    display: flex;
    gap: 14px;
    overflow: auto;
    padding-bottom: 6px
}

.case {
    min-width: 260px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent);
    padding: 12px;
    border-radius: 12px
}

.case img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    border-radius: 8px
}

/* Process */
.process {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    flex-wrap: wrap;
    margin: 36px 0
}

.step:nth-last-child(2),
.step:last-child {
    grid-column: span 2; /* растянутся на две колонки */
}
.step {
    flex: 1 1 160px;
    background: var(--glass);
    padding: 16px;
    border-radius: 12px
}

/* Pricing */
.pricing {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin: 36px 0
}

.price-card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent);
    padding: 20px;
    border-radius: 12px
}

.price-card h4 {
    margin: 0 0 6px
}

.price-card .price {
    font-size: 20px;
    font-weight: 800;
    margin: 12px 0
}

/* Testimonials & Contact */
.testimonials-wrap {
    position: relative;
}

.testimonials {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 10px 0;
    scrollbar-width: none;
}
.testimonials::-webkit-scrollbar {
    display: none;
}

.testimonial {
    min-width: 100px;
    max-width: 300px;
    background: var(--card);
    padding: 18px;
    border-radius: 12px;
    flex-shrink: 0;
}

/* Стрелки с градиентом */
.scroll-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 28px;
    font-weight: bold;
    color: #fff;
    cursor: pointer;
    padding: 40px 20px; /* ширина "градиентной" зоны */
    user-select: none;
    transition: opacity 0.2s;
}

.scroll-btn.left {
    left: 0;
    background: linear-gradient(to right, rgba(11,15,20,0.8), transparent);
}

.scroll-btn.right {
    right: 0;
    background: linear-gradient(to left, rgba(11,15,20,0.8), transparent);
}

.scroll-btn:hover {
    opacity: 0.8;
}



footer {
    padding: 40px 0;
    color: var(--muted)
}

/* Responsive */
@media (max-width:980px) {
    .hero {
        grid-template-columns: 1fr;
    }

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

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

@media (max-width:620px) {
    .services {
        grid-template-columns: 1fr
    }

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

    .nav {
        padding: 12px
    }

    .wrap {
        padding: 20px
    }

    .hero-left h1 {
        font-size: 26px
    }
}

/* small util */
.muted {
    color: var(--muted)
}

.pill {
    display: inline-block;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.03);
    font-weight: 600
}

.lang-form {
  margin: 12px 0;
  display: inline-block;
}

.lang-select {
  appearance: none;
  background: var(--card);
  color: #e6eef6;
  padding: 6px 12px;
  border-radius: 999px; /* пилюля */
  border: 1px solid rgba(255,255,255,0.08);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  outline: none;
  transition: border-color 0.25s, box-shadow 0.25s;
  min-width: 120px;
}

/* hover + focus */
.lang-select:hover,
.lang-select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 12px rgba(62,224,255,0.25);
}

.lang-select option {
  background: var(--panel);
  color: #e6eef6;
  padding: 8px;
}

.contact-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin: 24px 0;
}

.contact-card {
  background: var(--card);
  padding: 18px;
  border-radius: 14px;
  box-shadow: 0 6px 24px rgba(2,6,10,0.6);
  transition: transform .22s, box-shadow .22s;
}

.contact-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 40px rgba(2,6,10,0.7);
}

.contact-card h3 {
  margin: 0 0 6px;
  color: var(--accent);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-form input,
.contact-form textarea {
  background: var(--panel);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 12px;
  border-radius: 10px;
  color: #e6eef6;
  font-size: 15px;
  font-family: inherit;
  outline: none;
  transition: border-color .25s, box-shadow .25s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 12px rgba(62,224,255,0.25);
}

.contact-form button {
  align-self: flex-start;
}

.service-select {
  appearance: none; /* убираем системный стиль */
  background: var(--card);
  color: #e6eef6;
  padding: 10px 16px;
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.08);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  outline: none;
  transition: border-color 0.25s, box-shadow 0.25s;
  min-width: 160px;

  /* стрелка своя */
  background-image: linear-gradient(45deg, transparent 50%, var(--accent) 50%),
                    linear-gradient(135deg, var(--accent) 50%, transparent 50%);
  background-position: calc(100% - 18px) calc(50% - 3px),
                       calc(100% - 12px) calc(50% - 3px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

.service-select:hover,
.service-select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 12px rgba(62,224,255,0.25);
}

.service-select option {
  background: var(--panel);
  color: #e6eef6;
  padding: 10px;
}

/* чтобы dropdown выглядел как часть меню */
.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-content {
  display: none;
  position: absolute;
  background: var(--card);
  min-width: 140px;
  border-radius: 10px;
  box-shadow: 0 6px 24px rgba(2,6,10,0.6);
  left: -15px;
}

.dropdown-content a {
  display: block;
  padding: 10px 14px;
  color: var(--muted);
  text-decoration: none;
}

.dropdown-content a:hover {
  background: rgba(255,255,255,0.05);
  color: var(--accent);
}

.dropdown:hover .dropdown-content {
  display: block;
}
