:root {
            --bg-dark: #212121;
            --surface: #1a1a1a;
            --surface-card: #2c2c2c;
            --text-white: #FFFFFF;
            --accent-blue: #007BFF;
            --accent-hover: #0056b3;
            --text-light-gray: #BDBDBD;
            --border-color: #383838;
            --font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }

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

        html {
            scroll-behavior: smooth;
        }

        body {
            background-color: var(--bg-dark);
            color: var(--text-white);
            font-family: var(--font-family);
            line-height: 1.6;
            overflow-x: hidden;
        }

        /* Header & Logo */
        header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 1.5rem 7%;
            background-color: rgba(33, 33, 33, 0.95);
            position: fixed;
            width: 100%;
            top: 0;
            z-index: 1000;
            border-bottom: 1px solid var(--border-color);
            backdrop-filter: blur(10px);
        }

        /* ========== HERO ABSTRACT 3D ========== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9rem 7% 6rem;
  gap: 4rem;
  overflow: hidden;
  background: #0f0f13;
}

.hero-bg-glow {
  position: absolute;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(15, 123, 255, 0.18) 0%, transparent 70%);
  top: 10%;
  right: 5%;
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 560px;
  flex-shrink: 0;
}

.hero-badge {
  display: inline-block;
  background: rgba(15, 123, 255, 0.12);
  color: #7eb6ff;
  border: 1px solid rgba(15, 123, 255, 0.25);
  padding: 0.45rem 1.15rem;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 1.6rem;
  letter-spacing: 0.02em;
}

.hero h1 {
  font-size: clamp(2.5rem, 4.8vw, 3.7rem);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 1.4rem;
  color: #fff;
}

.hero-lead {
  font-size: 1.15rem;
  line-height: 1.6;
  color: #a0a0b0;
  margin-bottom: 2.4rem;
  max-width: 480px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Visual scene */
.hero-visual {
  position: relative;
  z-index: 2;
  flex: 1;
  max-width: 580px;
  height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.abstract-scene {
  position: relative;
  width: 100%;
  height: 100%;
  perspective: 1200px;
}

/* Glass cards */
.glass-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 18px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 
    0 20px 50px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.main-card {
  width: 320px;
  height: 240px;
  top: 50%;
  left: 50%;
  transform: translate(-45%, -55%) rotateY(-12deg) rotateX(6deg);
  z-index: 3;
  transition: transform 0.6s ease;
}

.main-card:hover {
  transform: translate(-45%, -55%) rotateY(-6deg) rotateX(3deg) scale(1.02);
}

.secondary-card {
  width: 160px;
  height: 130px;
  top: 18%;
  right: 8%;
  transform: rotateY(15deg) rotateX(-8deg);
  z-index: 2;
  animation: float 7s ease-in-out infinite;
}

.tertiary-card {
  width: 140px;
  height: 100px;
  bottom: 12%;
  left: 5%;
  transform: rotateY(-18deg) rotateX(10deg);
  z-index: 2;
  animation: float 6s ease-in-out infinite reverse;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
}

.card-header {
  display: flex;
  gap: 7px;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.dot.red { background: #ff5f56; }
.dot.yellow { background: #ffbd2e; }
.dot.green { background: #27c93f; }

.card-body {
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.code-line {
  height: 8px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 4px;
}
.code-line.accent {
  background: linear-gradient(90deg, #0f7bff, #7c5cff);
}

/* Mini chart */
.mini-chart {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  height: 100%;
  padding: 18px 16px 14px;
  gap: 8px;
}
.mini-chart .bar {
  flex: 1;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 4px 4px 0 0;
}
.mini-chart .bar.accent {
  background: linear-gradient(180deg, #0f7bff, #7c5cff);
}

/* Pulse circle */
.pulse-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0f7bff, #7c5cff);
  box-shadow: 0 0 20px rgba(15, 123, 255, 0.5);
  animation: pulse 2.5s ease-in-out infinite;
  flex-shrink: 0;
}

.mini-text {
  display: flex;
  flex-direction: column;
  gap: 7px;
  flex: 1;
}

/* Spheres */
.sphere {
  position: absolute;
  border-radius: 50%;
  filter: blur(1px);
  z-index: 1;
}
.sphere-1 {
  width: 90px;
  height: 90px;
  background: radial-gradient(circle at 30% 30%, #5b9dff, #0f7bff 60%, transparent);
  top: 8%;
  left: 25%;
  opacity: 0.7;
  animation: float 8s ease-in-out infinite;
}
.sphere-2 {
  width: 50px;
  height: 50px;
  background: radial-gradient(circle at 30% 30%, #b794ff, #7c5cff 60%, transparent);
  bottom: 22%;
  right: 18%;
  opacity: 0.6;
  animation: float 6.5s ease-in-out infinite reverse;
}
.sphere-3 {
  width: 28px;
  height: 28px;
  background: radial-gradient(circle at 30% 30%, #7eb6ff, #0f7bff);
  top: 42%;
  right: 2%;
  opacity: 0.8;
  animation: float 5s ease-in-out infinite;
}

/* Floating lines */
.floating-line {
  position: absolute;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(15, 123, 255, 0.4), transparent);
  z-index: 0;
}
.line-1 {
  width: 180px;
  top: 30%;
  left: 10%;
  transform: rotate(-25deg);
}
.line-2 {
  width: 120px;
  bottom: 28%;
  right: 12%;
  transform: rotate(15deg);
}

/* Animations */
@keyframes float {
  0%, 100% { transform: translateY(0) rotateY(15deg) rotateX(-8deg); }
  50% { transform: translateY(-14px) rotateY(15deg) rotateX(-8deg); }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.12); opacity: 0.85; }
}

/* Responsive */
@media (max-width: 992px) {
  .hero {
    flex-direction: column;
    text-align: center;
    padding-top: 8rem;
    gap: 3rem;
  }
  .hero-content {
    max-width: 100%;
  }
  .hero-actions {
    justify-content: center;
  }
  .hero-visual {
    max-width: 420px;
    height: 360px;
  }
  .main-card {
    width: 260px;
    height: 200px;
  }
}

@media (max-width: 576px) {
  .hero-visual {
    height: 300px;
    padding-top: 100px;
  }
  .secondary-card,
  .tertiary-card {
    display: none;
  }
}

/* ========== FOUNDER ========== */
.founder {
  padding: 7rem 7%;
  background-color: var(--bg-dark);
  display: flex;
  align-items: center;
  justify-content: center;
}

.founder-box {
  display: flex;
  align-items: flex-start;
  gap: 2.5rem;
  background: linear-gradient(145deg, #252525, #1e1e1e);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 3rem;
  max-width: 920px;
  width: 100%;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.founder-photo-wrap {
  flex-shrink: 0;
}

.founder-photo {
  width: 140px;
  height: 140px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid rgba(15, 123, 255, 0.4);
  box-shadow: 0 0 0 6px rgba(15, 123, 255, 0.1);
}

.founder-content h3 {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
  color: #fff;
}

.founder-role {
  color: #0f7bff;
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 1.4rem;
}

.founder-content p {
  color: #b0b0b0;
  font-size: 1.02rem;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.founder-links {
  display: flex;
  gap: 1rem;
  margin-top: 1.8rem;
  flex-wrap: wrap;
}

.founder-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.4rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.25s ease;
}

.founder-btn.linkedin {
  background: rgba(10, 102, 194, 0.15);
  color: #70b5f9;
  border: 1px solid rgba(10, 102, 194, 0.3);
}

.founder-btn.linkedin:hover {
  background: rgba(10, 102, 194, 0.25);
  transform: translateY(-2px);
}

.founder-btn.whatsapp {
  background: rgba(37, 211, 102, 0.12);
  color: #25d366;
  border: 1px solid rgba(37, 211, 102, 0.3);
}

.founder-btn.whatsapp:hover {
  background: rgba(37, 211, 102, 0.22);
  transform: translateY(-2px);
}

/* Мобильная версия */
@media (max-width: 700px) {
  .founder-box {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2.2rem;
  }
  
  .founder-photo {
    width: 120px;
    height: 120px;
  }
  
  .founder-links {
    justify-content: center;
  }
}
/* ========== REVIEWS SCREENSHOTS ========== */
.reviews {
  padding: 7rem 7%;
  background-color: var(--surface);
}

.reviews-screenshots {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  max-width: 1200px;
  margin: 0 auto;
}

.review-shot {
  background: #1a1a1a;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.review-shot:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.review-shot img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* Адаптив */
@media (max-width: 992px) {
  .reviews-screenshots {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .reviews-screenshots {
    grid-template-columns: 1fr;
  }
}

        .logo {
            display: flex;
            align-items: center;
            text-decoration: none;
            font-weight: 700;
            font-size: 1.5rem;
        }

        .yerassyl {
            color: var(--text-white);
            margin-right: 8px;
        }

        .sites {
            position: relative;
            color: var(--text-white);
            padding: 4px 12px;
            z-index: 1;
            text-transform: lowercase;
            font-size: 1.3rem;
        }

        .sites::before {
            content: '';
            position: absolute;
            top: 0;
            left: -8px;
            width: calc(100% + 16px);
            height: 100%;
            background-color: var(--accent-blue);
            transform: skewX(-15deg);
            z-index: -1;
            border-radius: 4px;
        }

        /* Simplified Menu */
        nav ul {
            list-style: none;
            display: flex;
        }

        nav ul li {
            margin-left: 2.5rem;
        }

        nav ul li a {
            text-decoration: none;
            color: var(--text-light-gray);
            font-weight: 500;
            transition: color 0.3s;
            font-size: 1rem;
        }

        nav ul li a:hover {
            color: var(--text-white);
        }

        .lang-switch {
            display: inline-flex;
            gap: 0.4rem;
            align-items: center;
            margin-left: 1.5rem;
            padding: 0.35rem;
            border: 1px solid var(--border-color);
            border-radius: 999px;
            background: rgba(255, 255, 255, 0.03);
        }

        .lang-switch button {
            appearance: none;
            border: none;
            background: transparent;
            color: var(--text-light-gray);
            font-weight: 700;
            font-size: 0.82rem;
            letter-spacing: 0.04em;
            padding: 0.45rem 0.8rem;
            border-radius: 999px;
            cursor: pointer;
        }

        .lang-switch button.active {
            background: var(--accent-blue);
            color: var(--text-white);
        }

        /* Hero Section */
        .hero {
            padding: 10rem 7% 8rem;
            display: flex;
            flex-direction: row;
            align-items: center;
            justify-content: space-between;
            gap: 4rem;
            max-width: 1600px;
            margin: 0 auto;
            min-height: 100vh;
        }

        .hero-content {
            flex: 1;
            max-width: 600px;
        }

        .hero-badge {
            display: inline-block;
            background: rgba(0, 123, 255, 0.15);
            color: var(--accent-blue);
            padding: 0.5rem 1rem;
            border-radius: 50px;
            font-weight: 600;
            font-size: 0.9rem;
            margin-bottom: 1.5rem;
            border: 1px solid rgba(0, 123, 255, 0.3);
        }

        .hero h1 {
            font-size: 3.5rem;
            line-height: 1.2;
            margin-bottom: 1.5rem;
        }

        .hero p {
            font-size: 1.25rem;
            color: var(--text-light-gray);
            margin-bottom: 2.5rem;
        }

        .hero-actions {
            display: flex;
            flex-wrap: wrap;
            gap: 1rem;
            align-items: center;
        }

        .btn-secondary {
            background-color: transparent;
            border: 1px solid rgba(255, 255, 255, 0.18);
            box-shadow: none;
        }

        .btn-secondary:hover {
            background-color: rgba(255, 255, 255, 0.06);
            box-shadow: none;
        }

        .btn {
            display: inline-block;
            background-color: var(--accent-blue);
            color: var(--text-white);
            padding: 0.9rem 2.5rem;
            border-radius: 6px;
            text-decoration: none;
            font-weight: 600;
            font-size: 1.1rem;
            transition: background-color 0.3s, transform 0.2s, box-shadow 0.3s;
            border: none;
            cursor: pointer;
            box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
        }

        .btn:hover {
            background-color: var(--accent-hover);
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(0, 123, 255, 0.4);
        }

        /* Dynamic Browser Animation */
        .hero-visual {
            flex: 1;
            width: 100%;
            max-width: 650px;
            position: relative;
            perspective: 1000px;
        }

        .browser-window {
            background-color: var(--surface-card);
            border: 1px solid var(--border-color);
            border-radius: 12px;
            overflow: hidden;
            box-shadow: 0 25px 50px rgba(0,0,0,0.5);
            transform: rotateY(-5deg) rotateX(5deg);
            transition: transform 0.5s ease;
        }

        .browser-window:hover {
            transform: rotateY(0deg) rotateX(0deg);
        }

        .browser-header {
            background-color: #383838;
            padding: 12px 16px;
            display: flex;
            gap: 8px;
            align-items: center;
        }

        .dot {
            width: 12px;
            height: 12px;
            border-radius: 50%;
        }

        .dot.red { background-color: #ff5f56; }
        .dot.yellow { background-color: #ffbd2e; }
        .dot.green { background-color: #27c93f; }

        .browser-content {
            height: 400px;
            background-color: #121212;
            position: relative;
            overflow: hidden;
        }

        .scrolling-site {
            padding: 20px;
            animation: scrollSite 15s ease-in-out infinite alternate;
        }

        @keyframes scrollSite {
            0%, 10% { transform: translateY(0); }
            45%, 55% { transform: translateY(-40%); }
            90%, 100% { transform: translateY(-75%); }
        }

        .mock-hero {
            height: 150px;
            background: linear-gradient(135deg, rgba(0, 123, 255, 0.2), rgba(0, 123, 255, 0.05));
            border-radius: 8px;
            margin-bottom: 20px;
            display: flex;
            flex-direction: column;
            justify-content: center;
            padding: 20px;
            border: 1px solid rgba(0, 123, 255, 0.3);
        }

        .mock-title {
            width: 60%;
            height: 20px;
            background: #fff;
            border-radius: 4px;
            margin-bottom: 12px;
            opacity: 0.9;
        }
        
        .mock-subtitle {
            width: 40%;
            height: 12px;
            background: var(--text-light-gray);
            border-radius: 4px;
            margin-bottom: 20px;
            opacity: 0.7;
        }

        .mock-btn {
            width: 120px;
            height: 30px;
            background: var(--accent-blue);
            border-radius: 4px;
        }

        .mock-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 15px;
            margin-bottom: 20px;
        }

        .mock-card {
            height: 100px;
            background: var(--surface);
            border-radius: 8px;
            border: 1px solid var(--border-color);
            padding: 15px;
        }

        .mock-card-line {
            height: 8px;
            background: #444;
            border-radius: 4px;
            margin-bottom: 8px;
        }

        .mock-banner {
            height: 200px;
            background: #1a1a1a;
            border-radius: 8px;
            border: 1px solid var(--border-color);
            display: flex;
            align-items: center;
            justify-content: center;
            overflow: hidden;
            position: relative;
        }

        .mock-banner::after {
            content: '';
            position: absolute;
            width: 150%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255,255,255,0.05), transparent);
            transform: skewX(-20deg);
            animation: shimmer 3s infinite;
        }

        @keyframes shimmer {
            0% { left: -150%; }
            100% { left: 150%; }
        }

        /* Tariffs Section */
        .tariffs {
            padding: 7rem 7%;
            background-color: var(--surface);
        }

        .section-title {
            text-align: center;
            font-size: 2.5rem;
            margin-bottom: 1rem;
        }

        .section-subtitle {
            text-align: center;
            color: var(--text-light-gray);
            font-size: 1.1rem;
            margin-bottom: 4rem;
        }

        .tariffs-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 2rem;
        }

        .tariff-card {
            background-color: var(--bg-dark);
            border: 1px solid var(--border-color);
            border-radius: 12px;
            padding: 2.5rem;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
            position: relative;
        }

        .tariff-card.featured {
            border-color: var(--accent-blue);
            background: linear-gradient(180deg, rgba(0, 123, 255, 0.05) 0%, var(--bg-dark) 100%);
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
        }

        .tariff-card:hover {
            transform: translateY(-5px);
            border-color: var(--accent-blue);
        }

        .tariff-header h3 {
            font-size: 1.5rem;
            margin-bottom: 0.5rem;
        }

        .tariff-header p {
            color: var(--text-light-gray);
            font-size: 0.95rem;
            margin-bottom: 1.5rem;
            min-height: 45px;
        }

        .price {
            font-size: 2rem;
            font-weight: 700;
            color: var(--accent-blue);
            margin-bottom: 1.5rem;
        }

        .tariff-features {
            list-style: none;
            margin-bottom: 2rem;
        }

        .tariff-features li {
            padding: 0.5rem 0;
            color: var(--text-light-gray);
            border-bottom: 1px solid rgba(255,255,255,0.05);
            font-size: 0.95rem;
        }

        .tariff-footer p {
            font-size: 0.85rem;
            color: var(--text-light-gray);
            margin-top: 1rem;
            font-style: italic;
        }

        .service-badge {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            margin-bottom: 1rem;
            color: var(--accent-blue);
            font-weight: 600;
            font-size: 0.95rem;
        }

        .service-badge::before {
            content: '';
            width: 10px;
            height: 10px;
            border-radius: 50%;
            background: var(--accent-blue);
            box-shadow: 0 0 18px rgba(0, 123, 255, 0.7);
        }

        .service-note {
            color: var(--text-light-gray);
            font-size: 0.95rem;
            line-height: 1.6;
        }

        /* Calculator Section */
        .calculator {
            padding: 7rem 7%;
            background-color: var(--bg-dark);
        }

        .calc-container {
            max-width: 800px;
            margin: 0 auto;
            background-color: var(--surface-card);
            padding: 3rem;
            border-radius: 12px;
            border: 1px solid var(--border-color);
            box-shadow: 0 10px 30px rgba(0,0,0,0.3);
        }

        .calc-row {
            margin-bottom: 2rem;
        }

        .calc-row label {
            display: block;
            margin-bottom: 0.8rem;
            color: var(--text-white);
            font-weight: 600;
            font-size: 1.1rem;
        }

        .calc-select {
            width: 100%;
            padding: 1rem;
            background-color: var(--surface);
            border: 1px solid var(--border-color);
            color: var(--text-white);
            border-radius: 6px;
            font-size: 1rem;
            outline: none;
            cursor: pointer;
        }

        .calc-select:focus {
            border-color: var(--accent-blue);
        }

        .calc-checkboxes {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 1rem;
        }

        .calc-checkbox-label {
            display: flex;
            align-items: center;
            gap: 10px;
            color: var(--text-light-gray);
            font-weight: 400 !important;
            cursor: pointer;
            font-size: 0.95rem;
        }

        .calc-checkbox-label input {
            width: 18px;
            height: 18px;
            accent-color: var(--accent-blue);
            cursor: pointer;
        }

        .calc-result-box {
            margin-top: 3rem;
            padding-top: 2rem;
            border-top: 1px solid var(--border-color);
            text-align: center;
        }

        .calc-result-text {
            font-size: 1.2rem;
            color: var(--text-light-gray);
            margin-bottom: 0.5rem;
        }

        .calc-total {
            font-size: 3rem;
            font-weight: 700;
            color: var(--accent-blue);
        }
        
        .calc-btn-wrap {
            margin-top: 2rem;
        }

        .automation-services {
            padding: 7rem 7%;
            background: radial-gradient(circle at top, rgba(0, 123, 255, 0.12), transparent 42%), var(--surface);
        }

        .automation-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 2rem;
        }

        .automation-card {
            background: linear-gradient(180deg, rgba(0, 123, 255, 0.05) 0%, rgba(26, 26, 26, 0.98) 100%);
            border: 1px solid var(--border-color);
            border-radius: 14px;
            padding: 2rem;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.22);
            transition: transform 0.3s, border-color 0.3s;
        }

        .automation-card:hover {
            transform: translateY(-5px);
            border-color: var(--accent-blue);
        }

        .automation-card h3 {
            font-size: 1.4rem;
            margin-bottom: 1rem;
        }

        .automation-card ul {
            list-style: none;
            margin-top: 1rem;
        }

        .automation-card li {
            color: var(--text-light-gray);
            padding: 0.4rem 0;
            border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        }

        .automation-card li:last-child {
            border-bottom: none;
        }

        .automation-price {
            margin-top: 1.4rem;
            color: var(--accent-blue);
            font-weight: 700;
            letter-spacing: 0.02em;
        }

        .contact-form-section {
            padding: 7rem 7%;
            background: linear-gradient(180deg, rgba(0, 123, 255, 0.08), rgba(26, 26, 26, 0.98));
        }

        .contact-form {
            background-color: var(--surface-card);
            padding: 3rem;
            border-radius: 14px;
            border: 1px solid var(--border-color);
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
        }

        .lead-modal {
            position: fixed;
            inset: 0;
            display: none;
            align-items: center;
            justify-content: center;
            padding: 1.5rem;
            background: rgba(0, 0, 0, 0.72);
            backdrop-filter: blur(10px);
            z-index: 2100;
        }

        .lead-modal.open {
            display: flex;
        }

        .lead-modal-panel {
            position: relative;
            width: min(760px, 100%);
            max-height: calc(100vh - 3rem);
            overflow-y: auto;
            background: linear-gradient(180deg, rgba(33, 33, 33, 0.98), rgba(21, 21, 21, 0.98));
            border: 1px solid rgba(255, 255, 255, 0.08);
            border-radius: 24px;
            box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
            padding: 1.5rem;
        }

        .contact-form-shell {
            max-width: 100%;
        }

        .lead-modal-head {
            margin-bottom: 2rem;
        }

        .lead-modal-kicker {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            margin-bottom: 1rem;
            color: var(--accent-blue);
            font-weight: 700;
        }

        .lead-modal-kicker::before {
            content: '';
            width: 10px;
            height: 10px;
            border-radius: 50%;
            background: var(--accent-blue);
            box-shadow: 0 0 18px rgba(0, 123, 255, 0.7);
        }

        .lead-modal-head h3 {
            font-size: clamp(1.8rem, 3vw, 2.6rem);
            line-height: 1.15;
            margin-bottom: 0.85rem;
        }

        .lead-modal-head p {
            color: var(--text-light-gray);
            font-size: 1.02rem;
            max-width: 58ch;
        }

        .lead-points {
            display: grid;
            grid-template-columns: repeat(3, minmax(0, 1fr));
            gap: 1rem;
            margin-top: 1.5rem;
        }

        .lead-point {
            padding: 1rem 1.1rem;
            min-height: 86px;
            display: flex;
            align-items: center;
            border-radius: 14px;
            border: 1px solid rgba(255, 255, 255, 0.06);
            background: rgba(255, 255, 255, 0.03);
            color: var(--text-light-gray);
        }

        .modal-icon-close {
            position: absolute;
            top: 1rem;
            right: 1rem;
            width: 2.75rem;
            height: 2.75rem;
            border: 1px solid rgba(255, 255, 255, 0.12);
            border-radius: 999px;
            background: rgba(255, 255, 255, 0.04);
            color: var(--text-white);
            font-size: 1.4rem;
            line-height: 1;
            cursor: pointer;
        }

        .modal-icon-close:hover {
            background: rgba(255, 255, 255, 0.12);
        }

        .lead-modal-note {
            margin-top: 1rem;
            color: var(--text-light-gray);
            text-align: center;
            font-size: 0.95rem;
        }

        .privacy-policy {
            padding: 7rem 7%;
            background-color: var(--surface);
        }

        .privacy-check {
            display: flex;
            align-items: flex-start;
            gap: 0.75rem;
            margin: 1.25rem 0 0.5rem;
            color: var(--text-light-gray);
            font-size: 0.95rem;
        }

        .privacy-check input {
            margin-top: 0.2rem;
            accent-color: var(--accent-blue);
        }

        .privacy-check a {
            color: var(--text-white);
        }

        body.modal-open {
            overflow: hidden;
        }

        .contact-form .btn {
            width: 100%;
            justify-content: center;
            text-align: center;
        }

        .form-message {
            margin-top: 1rem;
            text-align: center;
            font-weight: 600;
            min-height: 1.5em;
        }

        .success-modal {
            position: fixed;
            inset: 0;
            background: rgba(0, 0, 0, 0.72);
            display: none;
            align-items: center;
            justify-content: center;
            padding: 1.5rem;
            z-index: 2000;
        }

        .success-modal.open {
            display: flex;
        }

        .success-modal-card {
            max-width: 480px;
            width: 100%;
            background: linear-gradient(180deg, #1f1f1f, #161616);
            border: 1px solid var(--border-color);
            border-radius: 18px;
            padding: 2rem;
            text-align: center;
            box-shadow: 0 25px 60px rgba(0, 0, 0, 0.45);
        }

        .success-modal-card h3 {
            font-size: 1.7rem;
            margin-bottom: 1rem;
        }

        .success-modal-card p {
            color: var(--text-light-gray);
            margin-bottom: 1.5rem;
        }

        .modal-close {
            margin-top: 0.5rem;
        }

        /* Portfolio Section */
        .portfolio {
            padding: 7rem 7%;
            background-color: var(--surface);
        }

        .portfolio-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
            gap: 2rem;
        }

        .portfolio-card {
            background-color: var(--bg-dark);
            border: 1px solid var(--border-color);
            border-radius: 10px;
            overflow: hidden;
            transition: transform 0.3s;
        }

        .portfolio-card:hover {
            transform: translateY(-5px);
            border-color: var(--accent-blue);
        }

        .portfolio-img {
            height: 200px;
            background: linear-gradient(135deg, #1f4068, #162447);
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--text-white);
            font-weight: 600;
            font-size: 1.2rem;
        }

        .portfolio-content {
            padding: 1.5rem;
        }

        .portfolio-content h4 {
            font-size: 1.2rem;
            margin-bottom: 0.5rem;
        }

        .portfolio-content p {
            color: var(--text-light-gray);
            font-size: 0.9rem;
        }

        /* Advantages Section */
        .advantages {
            padding: 7rem 7%;
            background-color: var(--bg-dark);
        }

        .adv-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 2rem;
        }

        .adv-card {
            background-color: var(--surface-card);
            padding: 2rem;
            border-radius: 8px;
            border: 1px solid var(--border-color);
            transition: border-color 0.3s;
        }

        .adv-card:hover {
            border-color: var(--accent-blue);
        }

        .adv-card h4 {
            font-size: 1.2rem;
            margin-bottom: 0.8rem;
            color: var(--text-white);
        }

        .adv-card p {
            color: var(--text-light-gray);
            font-size: 0.95rem;
        }

        /* Reviews Section */
        .reviews {
            padding: 7rem 7%;
            background-color: var(--surface);
        }

        .reviews-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
            gap: 2rem;
        }

        .review-card {
            background-color: var(--bg-dark);
            padding: 2.5rem;
            border-radius: 8px;
            border: 1px solid var(--border-color);
            display: flex;
            flex-direction: column;
            justify-content: space-between;
        }

        .review-text {
            color: var(--text-light-gray);
            font-size: 0.95rem;
            margin-bottom: 1.5rem;
            font-style: italic;
        }

        .review-author h5 {
            font-size: 1.1rem;
            color: var(--text-white);
        }

        .review-author span {
            font-size: 0.85rem;
            color: var(--accent-blue);
        }

        /* Founder Section */
        .founder {
            padding: 7rem 7%;
            background-color: var(--bg-dark);
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .founder-box {
            background-color: var(--surface-card);
            border: 1px solid var(--border-color);
            border-radius: 12px;
            padding: 4rem;
            max-width: 900px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.3);
        }

        .founder-box h3 {
            font-size: 2rem;
            margin-bottom: 1.5rem;
            color: var(--text-white);
        }

        .founder-box p {
            color: var(--text-light-gray);
            font-size: 1.05rem;
            margin-bottom: 1rem;
            line-height: 1.8;
        }

        /* FAQ Section */
        .faq {
            padding: 7rem 7%;
            background-color: var(--surface);
        }

        .faq-list {
            max-width: 850px;
            margin: 0 auto;
        }

        .faq-item {
            background-color: var(--bg-dark);
            border: 1px solid var(--border-color);
            border-radius: 8px;
            margin-bottom: 1rem;
            overflow: hidden;
            transition: border-color 0.3s;
        }

        .faq-item:hover {
            border-color: var(--accent-blue);
        }

        .faq-question {
            padding: 1.5rem 1.8rem;
            font-size: 1.15rem;
            color: var(--text-white);
            font-weight: 600;
            cursor: pointer;
            display: flex;
            justify-content: space-between;
            align-items: center;
            user-select: none;
        }

        .faq-question::after {
            content: '+';
            font-size: 1.5rem;
            color: var(--accent-blue);
            transition: transform 0.3s;
        }

        .faq-item.active .faq-question::after {
            transform: rotate(45deg);
        }

        .faq-answer {
            max-height: 0;
            overflow: hidden;
            padding: 0 1.8rem;
            color: var(--text-light-gray);
            font-size: 0.95rem;
            line-height: 1.6;
            transition: max-height 0.3s ease, padding 0.3s ease;
        }

        .faq-item.active .faq-answer {
            max-height: 300px;
            padding: 0 1.8rem 1.5rem 1.8rem;
        }

        /* Contacts & Footer */
        .contact {
            padding: 7rem 7%;
            text-align: center;
            background-color: var(--bg-dark);
        }

        .contact-info {
            font-size: 1.3rem;
            margin: 2rem 0;
            color: var(--text-light-gray);
        }

        .contact-info a {
            color: var(--accent-blue);
            text-decoration: none;
        }

        .contact-info a:hover {
            text-decoration: underline;
        }

        footer {
            padding: 3rem 7%;
            border-top: 1px solid var(--border-color);
            text-align: center;
            color: var(--text-light-gray);
            font-size: 0.9rem;
            background-color: var(--surface);
        }

        .cases-section {
    padding: 5rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

/*! BEHANCE PORTFOLIO SECTION */

.behance-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 2rem;
    justify-content: center;
}

.behance-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    
    /* Задаем правильную пропорцию для карточки (например, 16 на 10 или 4 на 3) */
    aspect-ratio: 16 / 10;
    position: relative;
}

.behance-card:hover {
    transform: translateY(-6px);
    border-color: rgba(0, 113, 227, 0.4);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 20px rgba(0, 113, 227, 0.15);
}

.behance-card iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    background: #0f131c;
}

.behance-card {
    display: block;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    aspect-ratio: 16 / 10;
    position: relative;
    text-decoration: none;
}

/* Отключаем прямые клики по фрейму, чтобы срабатывала ссылка */
.behance-card iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    background: #0f131c;
    pointer-events: none; 
}

/* Невидимый слой сверху, который ловит клик и плавно подсвечивает карточку */
.card-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 113, 227, 0);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.card-overlay span {
    background: #0071e3;
    color: #fff;
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 500;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(0, 113, 227, 0.4);
}

/* Эффект при наведении мышки */
.behance-card:hover {
    transform: translateY(-6px);
    border-color: rgba(0, 113, 227, 0.6);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 25px rgba(0, 113, 227, 0.2);
}

.behance-card:hover .card-overlay {
    background: rgba(8, 10, 15, 0.4);
    backdrop-filter: blur(2px);
}

.behance-card:hover .card-overlay span {
    opacity: 1;
    transform: translateY(0);
}

.centered-card {
    grid-column: 1 / -1;
    max-width: 600px;
    margin: 0 auto;
    width: 100%;
}

@media (max-width: 768px) {
    .behance-grid {
        grid-template-columns: 1fr;
    }
}

        @media (max-width: 992px) {
            .hero {
                flex-direction: column;
                text-align: center;
                padding-top: 8rem;
            }
            .hero-content {
                max-width: 100%;
            }
            .hero-actions {
                justify-content: center;
            }
            .hero-visual {
                margin-top: 2rem;
                
            }
        }

        @media (max-width: 768px) {
            .hero h1 { font-size: 2.5rem; }
            nav { display: none; }
            .founder-box { padding: 2rem; }
            .browser-content { height: 300px; }
            .calc-checkboxes { grid-template-columns: 1fr; }
            .lead-points { grid-template-columns: 1fr; }
            .contact-form { padding: 2rem; }
            .automation-services, .contact-form-section { padding: 5rem 7%; }
        }

