/* Общие стили и кастомные классы */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --bg: #fbfbfd;
    --surface: #ffffff;
    --text: #1d1d1f;
    --secondary: #6e6e73;
    --tertiary: #c7c7cc;
    --accent: #0071e3;
    --accent-hover: #0077ed;
    --border: #e5e5e7;
    --soft: #f5f5f7;
    --radius-card: 22px;
    --radius-btn: 12px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Inter', sans-serif;
    scroll-behavior: smooth;
    background-color: #f8fafc; /* gray-50 */
    color: #1f2937; /* gray-800 */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1.6;
    /* Предотвращение горизонтальной прокрутки из-за анимаций/теней */
    overflow-x: hidden;
}

/* Утилиты */
.container {
    max-width: 1280px; /* max-w-7xl */
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem; /* px-4 */
    padding-right: 1rem; /* px-4 */
}
.container-narrow {
    max-width: 1024px; /* max-w-5xl */
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem; /* px-4 */
    padding-right: 1rem; /* px-4 */
}
.text-center { text-align: center; }
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}
.hidden { display: none !important; } /* Используется JS для переключения */
.block { display: block !important; } /* Используется JS для переключения */
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.font-extrabold { font-weight: 800; }
.font-medium { font-weight: 500; }
.font-light { font-weight: 300; }
.italic { font-style: italic; }
.group:hover .icon-pulse { animation: pulse 1.5s infinite cubic-bezier(0.4, 0, 0.6, 1); }


/* Градиентный текст */
.gradient-text {
    background: linear-gradient(60deg, #2563eb, #7c3aed); /* blue-600 to violet-600 */
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* Тени */
.soft-shadow { box-shadow: 0 12px 45px rgba(0, 8, 44, 0.06); }
.soft-shadow-hover { box-shadow: 0 16px 55px rgba(0, 8, 44, 0.09); }
.smooth-shadow { box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1); } /* Пример тени */

/* Эффекты при наведении */
.hover-effect { transition: transform 0.3s ease, box-shadow 0.3s ease; }
.hover-effect:hover { transform: translateY(-6px); box-shadow: 0 16px 55px rgba(0, 8, 44, 0.09); }

/* Компоненты */

/* --- Навигация --- */
.main-nav {
    position: sticky;
    top: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px); /* backdrop-blur-lg */
    -webkit-backdrop-filter: blur(10px);
    z-index: 50;
    border-bottom: 1px solid rgba(243, 244, 246, 0.8); /* border-gray-100/80 */
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.05), 0 1px 2px -1px rgba(0, 0, 0, 0.05); /* shadow-sm */
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 4rem; /* h-16 */
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 0.5rem; /* space-x-2 */
    text-decoration: none;
    flex-shrink: 0;
}

.logo-icon-wrapper {
    width: 2rem; /* w-8 */
    height: 2rem; /* h-8 */
    background-image: linear-gradient(to bottom right, #2563eb, #4f46e5); /* from-blue-600 to-indigo-600 */
    border-radius: 0.5rem; /* rounded-lg */
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1); /* shadow-md */
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.logo-link:hover .logo-icon-wrapper {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1); /* shadow-lg */
    transform: scale(1.05);
}

.logo-icon {
    color: #ffffff;
    font-size: 1rem; /* text-base */
}

.logo-text-main {
    font-size: 1.25rem; /* text-xl */
    font-weight: 700; /* font-bold */
    color: #1f2937; /* text-gray-800 */
    transition: color 0.15s ease-in-out;
}
.logo-link:hover .logo-text-main {
     color: #4f46e5; /* text-indigo-600 */
}

.logo-text-secondary {
    font-size: 1.25rem; /* text-xl */
    font-weight: 300; /* font-light */
    color: #9ca3af; /* text-gray-400 */
    display: none; /* hidden by default */
}

.desktop-menu {
    display: none; /* hidden by default */
    align-items: center;
    gap: 1.25rem; /* space-x-5 */
}

.nav-link {
    color: #4b5563; /* text-gray-600 */
    text-decoration: none;
    transition: color 0.15s ease-in-out;
    font-weight: 500; /* font-medium */
    font-size: 0.875rem; /* text-sm */
    white-space: nowrap; /* Предотвратить перенос текста */
}
.nav-link:hover {
    color: #2563eb; /* text-blue-600 */
}
.nav-link-lg-only {
    display: none; /* hidden lg:inline */
}

.nav-button {
    margin-left: 1rem; /* ml-4 */
    padding: 0.5rem 1rem; /* px-4 py-2 */
    font-size: 0.875rem; /* text-sm */
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap; /* Предотвратить перенос текста */
}

.btn {
    border-radius: 0.5rem; /* rounded-lg */
    text-decoration: none;
    transition: all 0.3s ease-in-out;
    font-weight: 600; /* font-semibold */
    display: inline-flex; /* for icon alignment */
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: none;
    white-space: nowrap; /* Текст кнопки не переносится */
}
.btn:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1); /* hover:shadow-lg */
    transform: scale(1.03); /* hover:scale-[1.03] */
}
/* Предотвращаем уменьшение при активном состоянии, если не нужно */
.btn:active {
    transform: scale(1); /* Можно убрать, если нужно небольшое нажатие */
}

.btn-primary {
    background-image: linear-gradient(to right, #2563eb, #4f46e5); /* from-blue-600 to-indigo-600 */
    color: #ffffff;
}
.btn-primary:hover {
     background-image: linear-gradient(to right, #1d4ed8, #4338ca); /* hover:from-blue-700 hover:to-indigo-700 */
}

.btn-secondary {
    background-color: #ffffff;
    color: #374151; /* text-gray-700 */
    border: 1px solid #e5e7eb; /* border-gray-200 */
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05); /* shadow-sm */
}
.btn-secondary:hover {
    background-color: #f9fafb; /* hover:bg-gray-50 */
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1); /* hover:shadow-md */
}

.btn-dark {
    background-color: #1f2937; /* bg-gray-800 */
    color: #ffffff;
}
.btn-dark:hover {
    background-color: #111827; /* hover:bg-gray-900 */
    transform: translateY(-2px); /* hover:-translate-y-0.5 */
}

.btn-light {
    background-color: #f3f4f6; /* bg-gray-100 */
    color: #1f2937; /* text-gray-800 */
}
.btn-light:hover {
    background-color: #e5e7eb; /* hover:bg-gray-200 */
     transform: translateY(-2px); /* hover:-translate-y-0.5 */
}


.btn-icon {
    margin-right: 0.375rem; /* mr-1.5 */
    font-size: 0.75rem; /* text-xs */
    opacity: 0.9;
    flex-shrink: 0; /* Иконка не сжимается */
}
.btn-icon-secondary {
     margin-right: 0.5rem; /* mr-2 */
     font-size: 0.875rem; /* text-sm */
     color: #3b82f6; /* text-blue-500 */
     flex-shrink: 0;
}


.mobile-menu-toggle {
    display: flex; /* visible by default */
    align-items: center;
}

.burger-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem; /* p-2 */
    border-radius: 0.375rem; /* rounded-md */
    color: #6b7280; /* text-gray-500 */
    background: none;
    border: none;
    cursor: pointer;
    transition: background-color 0.15s ease-in-out, color 0.15s ease-in-out;
}
.burger-button:hover {
    color: #374151; /* hover:text-gray-700 */
    background-color: #f3f4f6; /* hover:bg-gray-100 */
}
.burger-button:focus {
    outline: none;
    box-shadow: 0 0 0 2px #3b82f6 inset; /* focus:ring-2 focus:ring-inset focus:ring-blue-500 */
}

.burger-icon {
    height: 1.5rem; /* h-6 */
    width: 1.5rem; /* w-6 */
    stroke: currentColor;
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    bottom: 0;
    right: 0;
    width: 16rem; /* w-64 */
    background-color: #ffffff;
    box-shadow: -10px 0 25px -5px rgba(0, 0, 0, 0.1); /* Тень слева при открытии */
    padding: 1.25rem; /* p-5 */
    z-index: 60; /* Выше чем main-nav */
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
    overflow-y: auto; /* Прокрутка если контент не влезает */
    height: 100vh; /* Занимаем всю высоту экрана */
}
.mobile-menu.open {
    transform: translateX(0);
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem; /* mb-6 */
}

.mobile-menu-title {
    font-size: 1.125rem; /* text-lg */
    font-weight: 600; /* font-semibold */
    color: #1f2937; /* text-gray-800 */
}

.mobile-menu-close-btn {
    padding: 0.25rem; /* p-1 */
    color: #6b7280; /* text-gray-500 */
    background: none;
    border: none;
    cursor: pointer;
    transition: color 0.15s ease-in-out;
}
.mobile-menu-close-btn:hover {
    color: #374151; /* hover:text-gray-700 */
}

.close-icon {
    height: 1.25rem; /* h-5 */
    width: 1.25rem; /* w-5 */
    stroke: currentColor;
}

.mobile-menu-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem; /* space-y-3 */
}

.mobile-menu-link {
    display: block; /* Чтобы занимала всю ширину */
    padding: 0.5rem 0.75rem; /* py-2 px-3 */
    border-radius: 0.375rem; /* rounded-md */
    font-size: 1rem; /* text-base */
    font-weight: 500; /* font-medium */
    color: #374151; /* text-gray-700 */
    text-decoration: none;
    transition: background-color 0.15s ease-in-out, color 0.15s ease-in-out;
}
.mobile-menu-link:hover {
    background-color: #f3f4f6; /* hover:bg-gray-100 */
    color: #2563eb; /* hover:text-blue-600 */
}

/* Стили для кнопки "Попробовать" в мобильном меню */
.mobile-menu-button.btn { /* Уточняем селектор */
    display: flex; /* Используем flex для выравнивания */
    background-image: linear-gradient(to right, #2563eb, #4f46e5);
    color: #ffffff;
    border: none;
    padding: 0.625rem 1.25rem;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%; /* Занимает всю доступную ширину в колонке */
    margin-top: 0.5rem; /* Небольшой отступ сверху */
    text-align: center;
}

.mobile-menu-button .btn-icon {
    color: #ffffff;
}

/* --- Hero Section --- */
.hero-section {
    position: relative;
    padding-top: 6rem; /* pt-24 */
    padding-bottom: 7rem; /* pb-28 */
    background-image: linear-gradient(to bottom, #ffffff, rgba(239, 246, 255, 0.2), rgba(238, 242, 255, 0.3)); /* from-white via-blue-50/20 to-indigo-50/30 */
    overflow: hidden;
}

.hero-bg-blur-1, .hero-bg-blur-2 {
    position: absolute;
    width: 18rem; /* w-72 */
    height: 18rem; /* h-72 */
    border-radius: 9999px; /* rounded-full */
    filter: blur(72px); /* blur-3xl */
    animation: pulse 8s cubic-bezier(0.4, 0, 0.6, 1) infinite;
    z-index: 1; /* Под контентом */
}
.hero-bg-blur-1 {
    top: -10rem; /* -top-40 */
    left: -10rem; /* -left-40 */
    background-color: rgba(96, 165, 250, 0.1); /* bg-blue-400/10 */
    opacity: 0.6;
}
.hero-bg-blur-2 {
    bottom: -15rem; /* -bottom-60 */
    right: -5rem; /* -right-20 */
    background-color: rgba(165, 180, 252, 0.1); /* bg-indigo-400/10 */
    opacity: 0.7;
    animation-duration: 10s;
    animation-delay: 2s;
}

@keyframes pulse {
  0%, 100% { opacity: inherit; transform: scale(1); }
  50% { opacity: 0.85; transform: scale(1.1); }
}

.hero-container {
    position: relative;
    z-index: 10; /* Над блюром */
}

.hero-content {
    text-align: center;
    max-width: 64rem; /* max-w-4xl */
    margin-left: auto;
    margin-right: auto;
}

.hero-title {
    font-size: 2.25rem; /* text-4xl */
    font-weight: 800; /* font-extrabold */
    color: #111827; /* text-gray-900 */
    line-height: 1.2; /* leading-tight */
    margin-bottom: 1.25rem; /* mb-5 */
}

.hero-br { display: none; } /* hidden sm:inline */

.hero-subtitle {
    margin-top: 1rem; /* mt-4 */
    max-width: 42rem; /* max-w-2xl */
    margin-left: auto;
    margin-right: auto;
    font-size: 1rem; /* text-base */
    color: #4b5563; /* text-gray-600 */
    margin-bottom: 2rem; /* mb-8 */
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0.75rem; /* gap-3 */
}

.btn-hero {
    width: 100%; /* На мобильных кнопка широкая */
    padding: 0.75rem 1.5rem; /* px-6 py-3 */
    border-radius: 0.75rem; /* rounded-xl */
    font-size: 1rem; /* text-base */
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1); /* shadow-lg */
}
.btn-hero:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1); /* hover:shadow-xl */
    transform: translateY(-4px); /* hover:-translate-y-1 */
}
.btn-secondary.btn-hero {
    margin-top: 0.5rem; /* mt-2 sm:mt-0 */
}


.hero-users {
    margin-top: 4rem; /* mt-16 */
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem; /* space-x-4 */
    opacity: 0.9;
}

.user-avatars {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}
.user-avatars > * {
    margin-left: -0.75rem; /* -space-x-3 */
}
.user-avatars > *:first-child {
    margin-left: 0;
}

.avatar {
    display: inline-block;
    height: 2.5rem; /* h-10 */
    width: 2.5rem; /* w-10 */
    border-radius: 9999px; /* rounded-full */
    box-shadow: 0 0 0 2px #ffffff, 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1); /* ring-2 ring-white shadow-md */
    transition: transform 0.3s ease;
}
.avatar-delay-1 { transition-delay: 0.075s; }
.avatar-delay-2 { transition-delay: 0.150s; }
.avatar-delay-3 { transition-delay: 0.200s; }

.group:hover .avatar {
    transform: scale(1.1);
}

.avatar-count {
    background-color: #eef2ff; /* bg-indigo-50 */
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4338ca; /* text-indigo-700 */
    font-weight: 600; /* font-semibold */
    font-size: 0.75rem; /* text-xs */
}

.user-text {
    color: #4b5563; /* text-gray-600 */
    font-size: 0.75rem; /* text-xs */
    font-weight: 500; /* font-medium */
    text-align: left;
    line-height: 1.4; /* leading-snug */
}
/* Задаем z-index для правильного наложения */
.avatar:nth-child(1) { z-index: 5; }
.avatar:nth-child(2) { z-index: 4; }
.avatar:nth-child(3) { z-index: 3; }
.avatar:nth-child(4) { z-index: 2; }
.avatar:nth-child(5) { z-index: 1; }
.why-us-icon-emerald { background-color: #d1fae5; color: #059669; box-shadow: 0 0 0 4px #ecfdf5; }
.why-us-icon-rose { background-color: #ffe4e6; color: #e11d48; box-shadow: 0 0 0 4px #fff1f2; }
.why-us-item .why-us-icon-amber { background-color: #fef3c7; color: #d97706; box-shadow: 0 0 0 4px #fffbeb; }
.why-us-item .why-us-icon-fuchsia { background-color: #fae8ff; color: #c026d3; box-shadow: 0 0 0 4px #fdf4ff; }

.why-us-icon {
    font-size: 1.5rem; /* text-2xl */
}

.why-us-title {
    font-size: 1.125rem; /* text-lg */
    font-weight: 600; /* font-semibold */
    color: #111827; /* text-gray-900 */
    margin-bottom: 0.25rem; /* mb-1 */
}

.why-us-text {
    color: #4b5563; /* text-gray-600 */
    font-size: 0.875rem; /* text-sm */
}

/* --- Features Section --- */
.features-section {
    padding-top: 4rem; /* py-16 */
    padding-bottom: 4rem;
    background-image: linear-gradient(to bottom, rgba(249, 250, 251, 0.3), #ffffff); /* from-gray-50/30 to-white */
}

.section-header {
     margin-bottom: 3rem; /* mb-12 */
     max-width: 42rem; /* max-w-2xl */
     margin-left: auto;
     margin-right: auto;
}
.section-subtitle {
    margin-top: 1rem; /* mt-4 */
    font-size: 1rem; /* text-base */
    color: #4b5563; /* text-gray-600 */
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr)); /* grid-cols-1 */
    gap: 1.5rem; /* gap-6 */
}

.feature-card {
    background-color: #ffffff;
    padding: 1.5rem; /* p-6 */
    border-radius: 1rem; /* rounded-2xl */
    border: 1px solid rgba(243, 244, 246, 0.8); /* border-gray-100/80 */
}

.feature-card-icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 3rem; /* h-12 */
    width: 3rem; /* w-12 */
    border-radius: 0.75rem; /* rounded-xl */
    color: #4b5563; /* Placeholder */
    margin-bottom: 1rem; /* mb-4 */
    transition: transform 0.3s ease;
}
.feature-card-icon-blue { background-image: linear-gradient(to bottom right, #eff6ff, #dbeafe); color: #2563eb; }
.feature-card-icon-indigo { background-image: linear-gradient(to bottom right, #eef2ff, #e0e7ff); color: #4f46e5; }
.feature-card-icon-emerald { background-image: linear-gradient(to bottom right, #ecfdf5, #d1fae5); color: #059669; }
.feature-card-icon-amber { background-image: linear-gradient(to bottom right, #fffbeb, #fef3c7); color: #d97706; }
.feature-card-icon-rose { background-image: linear-gradient(to bottom right, #fff1f2, #ffe4e6); color: #e11d48; }
.feature-card-icon-fuchsia { background-image: linear-gradient(to bottom right, #fdf4ff, #fae8ff); color: #c026d3; }

.feature-card:hover .feature-card-icon-wrapper {
    transform: scale(1.1) rotate(-6deg);
}

.feature-card-icon {
    font-size: 1.25rem; /* text-xl */
}

.feature-card-title {
    font-size: 1.125rem; /* text-lg */
    font-weight: 600; /* font-semibold */
    color: #111827; /* text-gray-900 */
    margin-bottom: 0.5rem; /* mb-2 */
}

.feature-card-text {
    color: #4b5563; /* text-gray-600 */
    font-size: 0.875rem; /* text-sm */
}


/* --- Use Cases Section --- */
.use-cases-section {
    padding-top: 4rem; /* py-16 */
    padding-bottom: 4rem;
    background-color: #ffffff;
}

.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr)); /* grid-cols-1 */
    gap: 1.5rem; /* gap-6 */
}

.usecase-card {
    border: 1px solid #e5e7eb; /* border-gray-200 */
    background: white;
    padding: 1.5rem; /* p-6 */
    border-radius: 1rem; /* rounded-2xl */
    text-align: center;
    transition: border-color 0.3s ease;
}
.usecase-card:hover {
    border-color: #cbd5e1; /* gray-300 */
}

.usecase-icon-container {
    display: flex;
    justify-content: center;
    margin-bottom: 1rem; /* mb-4 */
    transition: transform 0.3s ease;
}
.usecase-card:hover .usecase-icon-container {
     transform: scale(1.1);
}
.usecase-icon-blue { color: #3b82f6; }
.usecase-icon-emerald { color: #10b981; }
.usecase-icon-indigo { color: #6366f1; }
.usecase-icon-rose { color: #f43f5e; }


.usecase-icon {
    width: 2.5rem; /* w-10 */
    height: 2.5rem; /* h-10 */
}

.usecase-title {
    font-weight: 600; /* font-semibold */
    color: #1f2937; /* text-gray-800 */
    margin-bottom: 0.5rem; /* mb-2 */
    font-size: 1rem; /* text-base */
}

.usecase-text {
    color: #4b5563; /* text-gray-600 */
    font-size: 0.875rem; /* text-sm */
}


/* --- How It Works Section --- */
.how-it-works-section {
    padding-top: 4rem; /* py-16 */
    padding-bottom: 4rem;
    background-image: linear-gradient(to bottom, #ffffff, rgba(249, 250, 251, 0.5), #ffffff); /* from-white via-gray-50/50 to-white */
}

.steps-grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr)); /* grid-cols-1 */
    gap: 2.5rem; /* gap-10 */
}

.steps-connector {
    display: none; /* hidden by default */
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 0.125rem; /* h-0.5 */
    transform: translateY(-50%);
    margin-top: -3rem; /* Adjusted margin-top (-mt-12 relative to icons) */
    z-index: 5; /* Behind the steps */
}
.steps-connector svg {
    display: block; /* Ensure SVG takes space */
    height: 2px;
}

.step-item {
    position: relative;
    text-align: center;
    z-index: 10;
}

.step-number-wrapper {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 4rem; /* w-16 */
    height: 4rem; /* h-16 */
    border-radius: 9999px; /* rounded-full */
    background-color: #ffffff;
    margin-bottom: 1rem; /* mb-4 */
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1); /* shadow-lg */
    border: 1px solid #f3f4f6; /* border-gray-100 */
}

.step-number-glow {
    position: absolute;
    inset: -0.375rem; /* -inset-1.5 */
    background-image: linear-gradient(to bottom right, #60a5fa, #818cf8); /* from-blue-400 to-indigo-500 */
    border-radius: 9999px; /* rounded-full */
    filter: blur(12px); /* blur-lg */
    opacity: 0.25;
}

.step-number {
    position: relative;
    width: 3.5rem; /* w-14 */
    height: 3.5rem; /* h-14 */
    border-radius: 9999px; /* rounded-full */
    background-image: linear-gradient(to bottom right, #3b82f6, #4f46e5); /* from-blue-500 to-indigo-600 */
    color: #ffffff;
    font-weight: 700; /* font-bold */
    font-size: 1.25rem; /* text-xl */
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-content {
    padding-left: 1rem;
    padding-right: 1rem;
}

.step-icon-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 0.75rem; /* mb-3 */
}
.step-icon-blue { color: #3b82f6; }
.step-icon-indigo { color: #6366f1; }
.step-icon-emerald { color: #10b981; }

.step-icon {
    width: 2rem; /* w-8 */
    height: 2rem; /* h-8 */
}

.step-title {
    font-size: 1rem; /* text-base */
    font-weight: 600; /* font-semibold */
    color: #111827; /* text-gray-900 */
    margin-bottom: 0.5rem; /* mb-2 */
}

.step-text {
    color: #4b5563; /* text-gray-600 */
    font-size: 0.875rem; /* text-sm */
}

.how-it-works-cta {
     display: flex;
     flex-direction: column;
     justify-content: center;
     align-items: center;
     gap: 0.75rem; /* gap-3 */
     padding-top: 4rem; /* pt-16 */
}


/* --- Global Network Section --- */
.global-network-section {
    padding-top: 1.5rem; /* py-6 */
    padding-bottom: 1.5rem;
    background-image: linear-gradient(to bottom, #ffffff, rgba(249, 250, 251, 0.5), #ffffff); /* from-white via-gray-50/50 to-white */
}

.global-network-grid {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr)); /* grid-cols-1 */
    gap: 2.5rem; /* gap-10 */
    align-items: center;
}

.global-network-text { /* No specific styles needed unless nested */ }

.global-network-subtitle {
    margin-bottom: 1.5rem; /* mb-6 */
}
.text-highlight-indigo { font-weight: 600; color: #4f46e5; }
.text-highlight-blue { font-weight: 600; color: #2563eb; }
.text-highlight-green { font-weight: 600; color: #16a34a; }

.check-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem; /* space-y-3 */
    color: #374151; /* text-gray-700 */
    font-size: 0.875rem; /* text-sm */
}
.check-list-item {
    display: flex;
    align-items: flex-start;
}
.check-list-icon {
    color: #3b82f6; /* text-blue-500 */
    margin-right: 0.625rem; /* mr-2.5 */
    margin-top: 0.25rem; /* mt-1 */
    flex-shrink: 0;
    font-size: 0.75rem; /* text-xs */
}
.check-list-green .check-list-icon { color: #22c55e; } /* text-green-500 */
.check-list-blue .check-list-icon { color: #3b82f6; } /* text-blue-500 */

.global-network-map {
    position: relative;
    margin-top: 2.5rem; /* mt-10 */
}

.map-svg {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 8px rgba(0, 0, 0, 0.04)) drop-shadow(0 4px 3px rgba(0, 0, 0, 0.1)); /* drop-shadow-lg */
}

.map-dot { transition: transform 0.3s ease, fill 0.3s ease; cursor: pointer; }
.map-dot:hover { transform: scale(1.5); fill: #ef4444; /* red-500 */ }

.map-caption {
    font-size: 0.75rem; /* text-xs */
    text-align: center;
    color: #9ca3af; /* text-gray-400 */
    margin-top: 0.5rem; /* mt-2 */
    font-style: italic;
}

/* --- App Showcase Section --- */
.app-showcase-section {
    padding-top: 6rem; /* py-2-index: 4; }
.avatar:nth-child(2) { z-index: 3; }
.avatar:nth-child(3) { z-index: 2; }
.avatar-count { z-index: 1; }

.avatar-delay-1 { transition-delay: 0.075s; }
.avatar-delay-2 { transition-delay: 0.150s; }
.avatar-delay-3 { transition-delay: 0.200s; }

.group:hover .avatar {
    transform: scale(1.1);
}

.avatar-count {
    background-color: #eef2ff; /* bg-indigo-50 */
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4338ca; /* text-indigo-700 */
    font-weight: 600; /* font-semibold */
    font-size: 0.75rem; /* text-xs */
    /* Убираем object-fit, т.к. это не img */
}

.user-text {
    color: #4b5563; /* text-gray-600 */
    font-size: 0.75rem; /* text-xs */
    font-weight: 500; /* font-medium */
    text-align: left;
    line-height: 1.4; /* leading-snug */
}

/* Glow Button Effect */
.glow-button { position: relative; overflow: hidden; z-index: 1; }
.glow-button::before {
    content: ''; position: absolute; top: 50%; left: 50%; z-index: -1;
    width: 250%; padding-bottom: 250%;
    background: radial-gradient(circle, rgba(255,255,255,0.25) 0%, rgba(255,255,255,0) 70%);
    border-radius: 50%; transform: translate(-50%, -50%) scale(0);
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94); opacity: 0;
}
.glow-button:hover::before { transform: translate(-50%, -50%) scale(1); opacity: 1; }


/* --- Why Choose Us Section --- */
.why-us-section {
    padding-top: 4rem; /* py-16 */
    padding-bottom: 4rem;
    background-color: #ffffff;
}

.section-title {
    font-size: 1.875rem; /* text-3xl */
    font-weight: 700; /* font-bold */
    color: #111827; /* text-gray-900 */
    margin-bottom: 2.5rem; /* mb-10 */
}

.why-us-grid {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr)); /* grid-cols-1 */
    gap: 1.5rem; /* gap-6 */
    text-align: center;
}

.why-us-item {
    padding: 1rem; /* p-4 */
}

.why-us-icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 3.5rem; /* h-14 */
    width: 3.5rem; /* w-14 */
    border-radius: 9999px; /* rounded-full */
    margin-bottom: 1rem; /* mb-4 */
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 1); /* Белое кольцо без прозрачности */
}
.why-us-icon-blue { background-color: #dbeafe; color: #2563eb; box-shadow: 0 0 0 4px #eff6ff; }
.why-us-icon-indigo { background-color: #e0e7ff; color: #4f46e5; box-shadow: 0 0 0 4px #eef2ff; }
.why-us-icon-emerald { background-color: #d1fae5; color: #059669; box-shadow: 0 0 0 4px #ecfdf5; }
.why-us-icon-rose { background-color: #ffe4e6; color: #e11d48; box-shadow: 0 0 0 4px #fff1f2; }
.why-us-item .why-us-icon-amber { background-color: #fef3c7; color: #d97706; box-shadow: 0 0 0 4px #fffbeb; }
.why-us-item .why-us-icon-fuchsia { background-color: #fae8ff; color: #c026d3; box-shadow: 0 0 0 4px #fdf4ff; }

.why-us-icon {
    font-size: 1.5rem; /* text-2xl */
}

.why-us-title {
    font-size: 1.125rem; /* text-lg */
    font-weight: 600; /* font-semibold */
    color: #111827; /* text-gray-900 */
    margin-bottom: 0.25rem; /* mb-1 */
}

.why-us-text {
    color: #4b5563; /* text-gray-600 */
    font-size: 0.875rem; /* text-sm */
}

/* --- Features Section --- */
.features-section {
    padding-top: 4rem; /* py-16 */
    padding-bottom: 4rem;
    background-image: linear-gradient(to bottom, rgba(249, 250, 251, 0.3), #ffffff); /* from-gray-50/30 to-white */
}

.section-header {
     margin-bottom: 3rem; /* mb-12 */
     max-width: 42rem; /* max-w-2xl */
     margin-left: auto;
     margin-right: auto;
}
.section-subtitle {
    margin-top: 1rem; /* mt-4 */
    font-size: 1rem; /* text-base */
    color: #4b5563; /* text-gray-600 */
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr)); /* grid-cols-1 */
    gap: 1.5rem; /* gap-6 */
}

.feature-card {
    background-color: #ffffff;
    padding: 1.5rem; /* p-6 */
    border-radius: 1rem; /* rounded-2xl */
    border: 1px solid rgba(243, 244, 246, 0.8); /* border-gray-100/80 */
}

.feature-card-icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 3rem; /* h-12 */
    width: 3rem; /* w-12 */
    border-radius: 0.75rem; /* rounded-xl */
    color: #4b5563; /* Placeholder */
    margin-bottom: 1rem; /* mb-4 */
    transition: transform 0.3s ease;
}
.feature-card-icon-blue { background-image: linear-gradient(to bottom right, #eff6ff, #dbeafe); color: #2563eb; }
.feature-card-icon-indigo { background-image: linear-gradient(to bottom right, #eef2ff, #e0e7ff); color: #4f46e5; }
.feature-card-icon-emerald { background-image: linear-gradient(to bottom right, #ecfdf5, #d1fae5); color: #059669; }
.feature-card-icon-amber { background-image: linear-gradient(to bottom right, #fffbeb, #fef3c7); color: #d97706; }
.feature-card-icon-rose { background-image: linear-gradient(to bottom right, #fff1f2, #ffe4e6); color: #e11d48; }
.feature-card-icon-fuchsia { background-image: linear-gradient(to bottom right, #fdf4ff, #fae8ff); color: #c026d3; }

.feature-card:hover .feature-card-icon-wrapper {
    transform: scale(1.1) rotate(-6deg);
}

.feature-card-icon {
    font-size: 1.25rem; /* text-xl */
}

.feature-card-title {
    font-size: 1.125rem; /* text-lg */
    font-weight: 600; /* font-semibold */
    color: #111827; /* text-gray-900 */
    margin-bottom: 0.5rem; /* mb-2 */
}

.feature-card-text {
    color: #4b5563; /* text-gray-600 */
    font-size: 0.875rem; /* text-sm */
}


/* --- Use Cases Section --- */
.use-cases-section {
    padding-top: 4rem; /* py-16 */
    padding-bottom: 4rem;
    background-color: #ffffff;
}

.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr)); /* grid-cols-1 */
    gap: 1.5rem; /* gap-6 */
}

.usecase-card {
    border: 1px solid #e5e7eb; /* border-gray-200 */
    background: white;
    padding: 1.5rem; /* p-6 */
    border-radius: 1rem; /* rounded-2xl */
    text-align: center;
    transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}
.usecase-card:hover {
    border-color: #cbd5e1; /* gray-300 */
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.usecase-icon-container {
    display: flex;
    justify-content: center;
    margin-bottom: 1rem; /* mb-4 */
    transition: transform 0.3s ease;
}
.usecase-card:hover .usecase-icon-container {
     transform: scale(1.1);
}
.usecase-icon-blue { color: #3b82f6; }
.usecase-icon-emerald { color: #10b981; }
.usecase-icon-indigo { color: #6366f1; }
.usecase-icon-rose { color: #f43f5e; }


.usecase-icon {
    width: 2.5rem; /* w-10 */
    height: 2.5rem; /* h-10 */
}

.usecase-title {
    font-weight: 600; /* font-semibold */
    color: #1f2937; /* text-gray-800 */
    margin-bottom: 0.5rem; /* mb-2 */
    font-size: 1rem; /* text-base */
}

.usecase-text {
    color: #4b5563; /* text-gray-600 */
    font-size: 0.875rem; /* text-sm */
}


/* --- How It Works Section --- */
.how-it-works-section {
    padding-top: 4rem; /* py-16 */
    padding-bottom: 4rem;
    background-image: linear-gradient(to bottom, #ffffff, rgba(249, 250, 251, 0.5), #ffffff); /* from-white via-gray-50/50 to-white */
}

.steps-grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr)); /* grid-cols-1 */
    gap: 2.5rem; /* gap-10 */
}

.steps-connector {
    display: none; /* hidden by default */
    position: absolute;
    top: 2.5rem; /* Позиция чуть ниже верха кружка */
    left: 16.66%; /* Начало линии */
    width: 66.66%; /* Длина линии */
    height: 2px; /* Толщина линии */
    z-index: 5; /* Под кружками */
}
.steps-connector svg {
    display: block; /* Ensure SVG takes space */
    height: 2px;
    width: 100%; /* SVG на всю ширину родителя */
}
.steps-connector line {
    /* Переопределяем атрибуты SVG через CSS, если нужно */
    stroke: #cbd5e1;
    stroke-width: 2;
    stroke-dasharray: 8 8;
    /* Убираем x1/x2, т.к. SVG теперь сам растягивается */
}


.step-item {
    position: relative;
    text-align: center;
    z-index: 10; /* Над линией */
}

.step-number-wrapper {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 4rem; /* w-16 */
    height: 4rem; /* h-16 */
    border-radius: 9999px; /* rounded-full */
    background-color: #ffffff; /* Фон для тени */
    margin-bottom: 1rem; /* mb-4 */
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1); /* shadow-lg */
    border: 1px solid #f3f4f6; /* border-gray-100 */
}

.step-number-glow {
    position: absolute;
    inset: -0.375rem; /* -inset-1.5 */
    background-image: linear-gradient(to bottom right, #60a5fa, #818cf8); /* from-blue-400 to-indigo-500 */
    border-radius: 9999px; /* rounded-full */
    filter: blur(12px); /* blur-lg */
    opacity: 0.25;
    z-index: -1; /* Позади основного круга */
}

.step-number {
    position: relative;
    width: 3.5rem; /* w-14 */
    height: 3.5rem; /* h-14 */
    border-radius: 9999px; /* rounded-full */
    background-image: linear-gradient(to bottom right, #3b82f6, #4f46e5); /* from-blue-500 to-indigo-600 */
    color: #ffffff;
    font-weight: 700; /* font-bold */
    font-size: 1.25rem; /* text-xl */
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-content {
    padding-left: 1rem;
    padding-right: 1rem;
}

.step-icon-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 0.75rem; /* mb-3 */
    margin-top: 0.5rem; /* Небольшой отступ сверху */
}
.step-icon-blue { color: #3b82f6; }
.step-icon-indigo { color: #6366f1; }
.step-icon-emerald { color: #10b981; }

.step-icon {
    width: 2rem; /* w-8 */
    height: 2rem; /* h-8 */
}

.step-title {
    font-size: 1rem; /* text-base */
    font-weight: 600; /* font-semibold */
    color: #111827; /* text-gray-900 */
    margin-bottom: 0.5rem; /* mb-2 */
}

.step-text {
    color: #4b5563; /* text-gray-600 */
    font-size: 0.875rem; /* text-sm */
}

.how-it-works-cta {
     display: flex;
     flex-direction: column;
     justify-content: center;
     align-items: center;
     gap: 0.75rem; /* gap-3 */
     padding-top: 4rem; /* pt-16 */
}


/* --- Global Network Section --- */
.global-network-section {
    padding-top: 1.5rem; /* py-6 */
    padding-bottom: 1.5rem;
    background-image: linear-gradient(to bottom, #ffffff, rgba(249, 250, 251, 0.5), #ffffff); /* from-white via-gray-50/50 to-white */
}

.global-network-grid {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr)); /* grid-cols-1 */
    gap: 2.5rem; /* gap-10 */
    align-items: center;
}

.global-network-text { /* No specific styles needed from lg:pr-8 unless nested */ }

.global-network-subtitle {
    margin-bottom: 1.5rem; /* mb-6 */
}
.text-highlight-indigo { font-weight: 600; color: #4f46e5; }
.text-highlight-blue { font-weight: 600; color: #2563eb; }
.text-highlight-green { font-weight: 600; color: #16a34a; }

.check-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem; /* space-y-3 */
    color: #374151; /* text-gray-700 */
    font-size: 0.875rem; /* text-sm */
}
.check-list-item {
    display: flex;
    align-items: flex-start; /* Иконка и текст выровнены по верху */
}
.check-list-icon {
    color: #3b82f6; /* text-blue-500 */
    margin-right: 0.625rem; /* mr-2.5 */
    /* margin-top: 0.25rem; mt-1 - убираем, чтобы иконка была вровень с началом текста */
    flex-shrink: 0;
    font-size: 0.875rem; /* Увеличим иконку немного */
    line-height: 1.6; /* Выравниваем по высоте строки текста */
}
.check-list-green .check-list-icon { color: #22c55e; } /* text-green-500 */
.check-list-blue .check-list-icon { color: #3b82f6; } /* text-blue-500 */

.global-network-map {
    position: relative;
    margin-top: 2.5rem; /* mt-10 */
}

.map-svg {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 8px rgba(0, 0, 0, 0.04)) drop-shadow(0 4px 3px rgba(0, 0, 0, 0.1)); /* drop-shadow-lg */
}

.map-dot { transition: transform 0.3s ease, fill 0.3s ease; cursor: pointer; }
.map-dot:hover { transform: scale(1.5); fill: #ef4444; /* red-500 */ }

.map-caption {
    font-size: 0.75rem; /* text-xs */
    text-align: center;
    color: #9ca3af; /* text-gray-400 */
    margin-top: 0.5rem; /* mt-2 */
    font-style: italic;
}

/* --- App Showcase Section --- */
.app-showcase-section {
    padding-top: 6rem; /* py-24 */
    padding-bottom: 6rem;
    background-color: #ffffff;
    overflow: hidden; /* Чтобы блюр не вылезал за пределы секции */
}

.app-showcase-grid {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr)); /* grid-cols-1 */
    gap: 3rem; /* gap-12 */
    align-items: center;
}

.app-showcase-image-wrapper {
    position: relative;
    order: 2; /* order-last на мобильных */
    /* Добавим немного отступов, чтобы картинка не прилипала к краям */
    padding: 0 1rem;
}

.app-showcase-image {
    display: block; /* Убираем лишние отступы под картинкой */
    border-radius: 1rem; /* rounded-2xl */
    border: 1px solid #f3f4f6; /* border-gray-100 */
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 500px; /* Ограничим макс. ширину на мобильных */
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.15); /* Усилим тень */
}

.app-showcase-blur-1, .app-showcase-blur-2 {
    position: absolute;
    border-radius: 9999px; /* rounded-full */
    filter: blur(48px); /* blur-2xl */
    z-index: 5; /* Под картинкой */
}
.app-showcase-blur-1 {
    bottom: -3rem; /* -bottom-12 */
    left: -1rem; /* Сдвинем */
    width: 12rem; /* w-48 */
    height: 12rem; /* h-48 */
    background-color: rgba(59, 130, 246, 0.08); /* bg-blue-500/8 */
    animation: pulse 9s cubic-bezier(0.4, 0, 0.6, 1) infinite alternate;
}
.app-showcase-blur-2 {
    top: -3rem; /* -top-12 */
    right: -1rem; /* Сдвинем */
    width: 14rem; /* w-56 */
    height: 14rem; /* h-56 */
    background-color: rgba(99, 102, 241, 0.08); /* bg-indigo-500/8 */
    animation: pulse 11s cubic-bezier(0.4, 0, 0.6, 1) infinite alternate;
    animation-delay: 1s;
}

.app-showcase-text {
    order: 1; /* Текст первым на мобильных */
    text-align: center; /* <<< ИСПРАВЛЕНО: Центрируем текст */
    padding: 0 1rem; /* Небольшие отступы по бокам */
}

.app-showcase-subtitle {
    font-size: 1rem; /* Сделаем чуть меньше на мобильных */
    margin-bottom: 2rem; /* mb-8 */
    max-width: 30rem; /* Ограничим ширину подзаголовка */
    margin-left: auto;
    margin-right: auto;
}

.app-platform-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem; /* space-y-5 */
    max-width: 30rem; /* Ограничим ширину списка */
    margin-left: auto;
    margin-right: auto; /* Центрируем список */
}

.app-platform-item {
    display: flex;
    align-items: center;
    gap: 1rem; /* space-x-4 */
    padding: 1rem; /* p-4 */
    background-color: rgba(249, 250, 251, 0.7); /* bg-gray-50/70 */
    border-radius: 0.75rem; /* rounded-xl */
    border: 1px solid #f3f4f6; /* border-gray-100 */
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
    text-align: left; /* Текст внутри элемента слева */
}
.app-platform-item:hover {
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1); /* hover:shadow-sm */
    border-color: #e5e7eb; /* hover:border-gray-200 */
}

.app-platform-icon-wrapper {
    flex-shrink: 0;
    width: 2.5rem; /* w-10 */
    height: 2.5rem; /* h-10 */
    border-radius: 0.5rem; /* rounded-lg */
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.375rem; /* space-x-1.5 */
}
.app-platform-icon-desktop { background-color: #dbeafe; } /* bg-blue-100 */
.app-platform-icon-mobile { background-color: rgba(236, 253, 245, 0.8); } /* bg-green-50/80 */
.app-platform-icon-other { background-color: #eef2ff; } /* bg-indigo-50 */

.app-platform-icon { font-size: 1.25rem; /* text-xl */ }
.fa-windows { color: #2563eb; }
.fa-apple.app-platform-icon-apple { color: #1f2937; }
.fa-android.app-platform-icon-android { color: #16a34a; }
.fa-linux.app-platform-icon-linux { color: #4f46e5; }
.fa-network-wired.app-platform-icon-router { color: #6366f1; font-size: 1.125rem; }

.app-platform-title {
    font-weight: 500; /* font-medium */
    color: #1f2937; /* text-gray-800 */
    font-size: 0.875rem; /* Уменьшим немного для мобильных */
}
.app-platform-text {
    color: #4b5563; /* text-gray-600 */
    font-size: 0.8rem; /* Уменьшим немного для мобильных */
    line-height: 1.5;
}

.app-showcase-cta {
    margin-top: 2.5rem; /* Увеличим отступ */
    display: flex;
    justify-content: center; /* Центрируем кнопку */
}
/* Стили кнопки CTA наследуются от .btn-hero */


/* --- Секция Баланса (Pricing Section) --- */
.pricing-section {
    padding-top: 4rem; /* py-16 */
    padding-bottom: 4rem;
    background-image: linear-gradient(to bottom, #ffffff, rgba(239, 246, 255, 0.3), rgba(239, 246, 255, 0.5));
}

/* Сетка для баланса и триала */
.pricing-grid-balance {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 1.5rem;
    align-items: stretch;
    max-width: 64rem;
    margin-left: auto;
    margin-right: auto;
}

/* Общие стили для карточек в этой секции */
.pricing-card, .balance-info-card {
    position: relative;
    display: flex;
    flex-direction: column; /* Важно для margin-top: auto у кнопки */
    background-color: #ffffff;
    padding: 1.5rem;
    border-radius: 1.5rem;
    border: 1px solid #e5e7eb;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    text-align: center; /* Центрируем содержимое по умолчанию */
}
.pricing-card {
    order: 2; /* Обычная карточка */
}
.balance-info-card {
    order: 2; /* Карточка баланса тоже вторая */
}
.pricing-card:hover, .balance-info-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 60px rgba(0, 8, 44, 0.08);
}

/* Выделенная карточка триала */
.pricing-highlight {
    border-color: #4f46e5;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2), 0 12px 45px rgba(0, 8, 44, 0.06);
    z-index: 10;
    order: 1; /* Первая на мобильных */
}
.pricing-highlight:hover {
    border-color: #4338ca;
    transform: scale(1.04) translateY(-6px);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.25), 0 18px 60px rgba(99, 102, 241, 0.15);
}

/* Бейджи */
.pricing-badge-wrapper {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    z-index: 10;
}
.pricing-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.125rem 0.625rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
}
.badge-green {
    background-color: #dcfce7;
    color: #166534;
    box-shadow: 0 0 0 1px inset #bbf7d0;
}

.pricing-badge-highlight-wrapper {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 15;
}
.pricing-badge-highlight {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 1rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
    background-image: linear-gradient(to right, #2563eb, #4f46e5);
    color: #ffffff;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
}

/* Заголовки и цены */
.pricing-title {
    font-size: 1.25rem;
    font-weight: 600;
    text-align: center;
    color: #111827;
    margin-bottom: 1rem;
}
.pricing-title-highlight {
    margin-top: 1.5rem; /* Отступ из-за верхнего бейджа */
}

.pricing-price-wrapper {
    text-align: center;
    color: #111827;
    margin-bottom: 1.25rem;
}
.pricing-price {
    font-size: 2.25rem;
    font-weight: 700;
}
.pricing-period {
    font-size: 1rem;
    color: #6b7280;
}
.pricing-price-large { font-size: 3rem; }
.pricing-period-large { font-size: 1.125rem; }

/* Описания */
.pricing-description, .balance-description {
    text-align: center;
    color: #4b5563;
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
    min-height: 4rem; /* Примерная высота для выравнивания */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 0.5rem; /* Небольшие отступы на мобильных */
}

/* Списки фич */
.pricing-features, .balance-features {
    margin-bottom: 2rem;
    flex-grow: 1; /* Занимает доступное пространство */
    font-size: 0.875rem;
    text-align: left; /* Текст в списке слева */
    padding-left: 0.5rem; /* Небольшой отступ слева */
}

/* Иконки в списках */
.check-list-icon {
    font-size: 0.875rem; /* Размер иконки как текст */
    margin-right: 0.5rem; /* Отступ справа */
}

/* Кнопки в секции pricing */
.pricing-button, .balance-button {
    /* Стили по умолчанию (для мобильных) */
    display: inline-flex; /* Строчно-блочный элемент с flex-свойствами */
    width: auto;         /* Ширина по содержимому */
    max-width: 100%;     /* Не шире родителя */
    margin-top: auto;    /* Прижимает кнопку книзу */
    padding: 0.75rem 1.5rem; /* Базовые отступы */
    justify-content: center; /* Центрируем иконку+текст внутри */
    font-size: 1rem;
    /* text-align: center; - не нужно */
    /* Стили .btn наследуются */
}

/* Кнопка баланса */
.balance-button {
    /* Наследует .btn и .btn-dark */
}
.app-showcase-section {
    padding-top: 100px;
    padding-bottom: 100px;
    background-color: var(--bg);
    overflow: hidden;
}

.app-showcase-grid {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 3rem;
    align-items: center;
}

.app-showcase-image-wrapper {
    position: relative;
    order: 2;
}

.app-showcase-image {
    border-radius: var(--radius-card);
    border: 1px solid var(--border);
    position: relative;
    z-index: 10;
    width: 100%;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.08);
}

.app-showcase-blur-1,
.app-showcase-blur-2 {
    position: absolute;
    border-radius: 9999px;
    filter: blur(48px);
    z-index: 5;
}

.app-showcase-blur-1 {
    bottom: -3rem;
    left: -3rem;
    width: 12rem;
    height: 12rem;
    background-color: rgba(59, 130, 246, 0.05);
}

.app-showcase-blur-2 {
    top: -3rem;
    right: -3rem;
    width: 14rem;
    height: 14rem;
    background-color: rgba(99, 102, 241, 0.05);
}

.app-showcase-text {
    order: 1;
    text-align: center;
}

.app-showcase-subtitle {
    font-size: 1.125rem;
    margin-bottom: 2rem;
}

.app-platform-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.app-platform-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background-color: var(--soft);
    border-radius: 16px;
    border: 1px solid var(--border);
    transition: all 0.2s ease;
}

.app-platform-item:hover {
    background-color: #ffffff;
    border-color: var(--accent);
}

.app-showcase-image-wrapper {
    position: relative;
    order: 2; /* order-last on mobile */
}

.app-showcase-image {
    border-radius: 1rem; /* rounded-2xl */
    border: 1px solid #f3f4f6; /* border-gray-100 */
    position: relative;
    z-index: 10;
    width: 100%;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
}

.app-showcase-blur-1, .app-showcase-blur-2 {
    position: absolute;
    border-radius: 9999px; /* rounded-full */
    filter: blur(48px); /* blur-2xl */
    z-index: 5;
}
.app-showcase-blur-1 {
    bottom: -3rem; left: -3rem; width: 12rem; height: 12rem; background-color: rgba(59, 130, 246, 0.05);
}
.app-showcase-blur-2 {
    top: -3rem; right: -3rem; width: 14rem; height: 14rem; background-color: rgba(99, 102, 241, 0.05);
}

.app-showcase-text {
    order: 1; /* text first on mobile */
    text-align: center; /* <<< ИСПРАВЛЕНО: Центрируем текст на мобильных */
}

.app-showcase-subtitle {
    font-size: 1.125rem; /* text-lg */
    margin-bottom: 2rem; /* mb-8 */
}

.app-platform-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem; /* space-y-5 */
}

.app-platform-item {
    display: flex;
    align-items: center;
    gap: 1rem; /* space-x-4 */
    padding: 1rem; /* p-4 */
    background-color: rgba(249, 250, 251, 0.7); /* bg-gray-50/70 */
    border-radius: 0.75rem; /* rounded-xl */
    border: 1px solid #f3f4f6; /* border-gray-100 */
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
}
.app-platform-item:hover {
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
    border-color: #e5e7eb;
}

.app-platform-icon-wrapper {
    flex-shrink: 0;
    width: 2.5rem; height: 2.5rem; border-radius: 0.5rem;
    display: flex; align-items: center; justify-content: center; gap: 0.375rem;
}
.app-platform-icon-desktop { background-color: #dbeafe; }
.app-platform-icon-mobile { background-color: rgba(236, 253, 245, 0.8); }
.app-platform-icon-other { background-color: #eef2ff; }

.app-platform-icon { font-size: 1.25rem; }
.fa-windows { color: #2563eb; }
.fa-apple.app-platform-icon-apple { color: #1f2937; }
.fa-android.app-platform-icon-android { color: #16a34a; }
.fa-linux.app-platform-icon-linux { color: #4f46e5; }
.fa-network-wired.app-platform-icon-router { color: #6366f1; font-size: 1.125rem; }

.app-platform-title {
    font-weight: 500; color: #1f2937;
}
.app-platform-text {
    color: #4b5563; font-size: 0.875rem;
}

.app-showcase-cta {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}


/* --- Секция Баланса (замена Pricing Grid) --- */

.pricing-section {
    padding-top: 100px;
    padding-bottom: 100px;
    background-color: var(--bg);
}

/* Сетка для баланса и триала */
.pricing-grid-balance {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 1.5rem;
    align-items: stretch; /* Растягиваем карточки по высоте */
    max-width: 64rem;
    margin-left: auto;
    margin-right: auto;
}

/* Базовые стили для обеих карточек в секции */
.pricing-card, .balance-info-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background-color: var(--surface);
    padding: 2.5rem 2rem;
    border-radius: var(--radius-card);
    border: 1px solid var(--border);
    transition: all 0.3s ease;
    text-align: center;
}

/* Порядок карточек на мобильных */
.pricing-card { order: 2; }
.balance-info-card { order: 2; }

.pricing-card:hover, .balance-info-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08); /* Default hover shadow */
    border-color: var(--border);
}

/* Выделенная карточка (Триал) */
.pricing-highlight {
    border-color: var(--accent);
    box-shadow: 0 4px 20px rgba(0, 113, 227, 0.08);
    z-index: 10;
    order: 1;
}

.pricing-highlight:hover {
    border-color: var(--accent);
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 113, 227, 0.15);
}

/* Бейджи */
.pricing-badge-wrapper { position: absolute; top: 0.75rem; right: 0.75rem; z-index: 10; }
.pricing-badge { display: inline-flex; align-items: center; padding: 0.125rem 0.625rem; border-radius: 9999px; font-size: 0.75rem; font-weight: 600; }
.badge-green { background-color: #dcfce7; color: #166534; box-shadow: 0 0 0 1px inset #bbf7d0; }

.pricing-badge-highlight-wrapper { position: absolute; top: 0; left: 50%; transform: translate(-50%, -50%); z-index: 15; }
.pricing-badge-highlight { display: inline-flex; align-items: center; padding: 0.25rem 1rem; border-radius: 9999px; font-size: 0.875rem; font-weight: 600; background-image: linear-gradient(to right, #2563eb, #4f46e5); color: #ffffff; box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1); }

/* Заголовки карточек */
.pricing-title { font-size: 1.25rem; font-weight: 600; text-align: center; color: var(--text); margin-bottom: 1rem; }
.pricing-title-highlight { margin-top: 1.5rem; }

/* Цена */
.pricing-price-wrapper { text-align: center; color: var(--text); margin-bottom: 1.25rem; }
.pricing-price { font-size: 2.25rem; font-weight: 700; color: var(--text); }
.pricing-period { font-size: 1rem; color: var(--secondary); }
.pricing-price-large { font-size: 3rem; }
.pricing-period-large { font-size: 1.125rem; }

/* Описание в карточках */
.pricing-description, .balance-description {
    text-align: center;
    color: var(--secondary);
    font-size: 0.9375rem;
    margin-bottom: 2rem;
    display: block;
}

/* Списки фич */
.pricing-features, .balance-features {
    margin-bottom: 2rem;
    flex-grow: 1;
    font-size: 0.9375rem;
    text-align: left;
    padding-left: 0;
    list-style: none;
}
.pricing-features li, .balance-features li {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
}
.pricing-features li span, .balance-features li span {
    text-align: left;
}

/* --- ИСПРАВЛЕНИЕ КНОПОК в Pricing --- */
/* Базовые стили для кнопок (МОБИЛЬНЫЕ) */
.pricing-button, .balance-button {
    display: inline-flex;
    width: 100%;
    margin-top: auto;
    padding: 0.875rem 1.5rem;
    justify-content: center;
    font-size: 1rem;
    border-radius: var(--radius-btn);
}
/* Специфичные отступы для кнопки триала */
.pricing-button-highlight {
    padding-top: 0.875rem;
    padding-bottom: 0.875rem;
}
/* Иконка в кнопке баланса */
.balance-button i {
     margin-right: 0.5rem;
     font-size: 0.875rem;
}

/* Примечания под кнопками */
.pricing-note, .balance-note {
    text-align: center;
    font-size: 0.8125rem;
    color: var(--secondary);
    margin-top: 1rem;
    min-height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Гарантия */
.pricing-guarantee {
    text-align: center; /* <<< ИСПРАВЛЕНО: Центрируем текст */
    margin-top: 2.5rem;
    color: #4b5563;
    font-size: 0.875rem;
    width: 100%;
}
.guarantee-icon { color: #22c55e; margin-right: 0.25rem; font-size: 0.75rem; }

/* Стили для карточки Баланса */

.balance-icon-wrapper { display: flex; align-items: center; justify-content: center; height: 3.5rem; width: 3.5rem; border-radius: 9999px; margin-bottom: 1rem; background-color: var(--soft); color: var(--text); margin-left: auto; margin-right: auto; }
.balance-icon-wrapper i { font-size: 1.5rem; }
.balance-title { font-size: 1.25rem; font-weight: 600; color: var(--text); margin-bottom: 0.5rem; text-align: center; }
.balance-cost { background-color: var(--bg); padding: 1.25rem; border-radius: 1rem; margin-bottom: 2rem; border: 1px solid var(--border); display: flex; flex-direction: column; gap: 1rem; align-items: center; text-align: center; }
.balance-cost-item { display: flex; flex-direction: column; }
.balance-cost-label { font-size: 0.75rem; color: var(--secondary); margin-bottom: 0.25rem; text-transform: uppercase; letter-spacing: 0.05em; font-weight: 500; }
.balance-cost-price { font-size: 1.5rem; font-weight: 700; color: var(--text); }
.mb-2 { margin-bottom: 0.5rem; }
/* .balance-features стили заданы выше */
/* .balance-button стили заданы выше */
/* .balance-note стили заданы выше */
.balance-auto-renew-info { font-size: 0.875rem; color: #4b5563; margin-top: 1rem; padding: 0.75rem; background-color: #f9fafb; border-radius: 0.5rem; border: 1px dashed #e5e7eb; }


/* --- Testimonials Section --- */
.testimonials-section {
    padding-top: 100px;
    padding-bottom: 100px;
    background-color: var(--bg);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.testimonial-card {
    background-color: var(--surface);
    border-radius: var(--radius-card);
    border: 1px solid var(--border);
    padding: 32px;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    border-color: var(--accent);
    transform: translateY(-8px);
}

.testimonial-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    margin-right: 16px;
    object-fit: cover;
}

.testimonial-name {
    font-weight: 600;
    color: var(--text);
    font-size: 16px;
}

.testimonial-title {
    font-size: 14px;
    color: var(--secondary);
}

.testimonial-rating {
    margin-left: auto;
    color: #ff9500;
    display: flex;
    gap: 2px;
}

.testimonial-quote {
    color: var(--text);
    line-height: 1.6;
    font-size: 16px;
}

.testimonial-border { display: none; }
.testimonial-quote::before { display: none; }

/* --- Final CTA Section --- */
.final-cta-section {
    padding-top: 4rem; /* py-16 */
    padding-bottom: 4rem;
    background-image: linear-gradient(to bottom right, #1f2937, #111827, #000000); /* from-gray-800 via-gray-900 to-black */
}

.final-cta-title { font-size: 1.875rem; font-weight: 800; color: #ffffff; margin-bottom: 1.25rem; }
.final-cta-br { display: inline; }
.final-cta-text { font-size: 1rem; color: #d1d5db; margin-bottom: 2rem; max-width: 42rem; margin-left: auto; margin-right: auto; }
.btn-cta { display: inline-block; padding: 0.875rem 2rem; border-radius: 0.75rem; font-size: 1rem; font-weight: 700; box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1); }
.btn-cta:hover { box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25); background-image: linear-gradient(to right, #1d4ed8, #4338ca); transform: scale(1.05); }
.btn-cta .btn-icon { font-size: 0.875rem; margin-right: 0.5rem; }
.final-cta-note { font-size: 0.75rem; color: #6b7280; margin-top: 1rem; }

/* --- Footer --- */
.footer { background-color: #111827; color: #9ca3af; padding-top: 3rem; padding-bottom: 3rem; }
.footer-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; }
.footer-about { grid-column: span 2 / span 2; }
.footer-logo-link { display: flex; align-items: center; gap: 0.625rem; margin-bottom: 1rem; text-decoration: none; }
.footer-logo-icon-wrapper { width: 1.75rem; height: 1.75rem; background-image: linear-gradient(to bottom right, #2563eb, #4f46e5); border-radius: 0.5rem; display: flex; align-items: center; justify-content: center; flex-shrink: 0; box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1); }
.footer-logo-icon { color: #ffffff; font-size: 0.875rem; }
.footer-logo-text { font-size: 1.125rem; font-weight: 600; color: #ffffff; }
.footer-description { font-size: 0.875rem; margin-bottom: 1.25rem; padding-right: 1rem; line-height: 1.6; }
.footer-socials { display: flex; gap: 1rem; }
.footer-social-link { color: #9ca3af; text-decoration: none; transition: color 0.3s ease, transform 0.3s ease; display: inline-block; }
.footer-social-link:hover { color: #ffffff; transform: scale(1.1); }
.footer-social-link i { font-size: 1.125rem; }
.footer-menu { grid-column: span 1 / span 1; }
.footer-menu-title { color: #ffffff; font-weight: 600; margin-bottom: 0.75rem; font-size: 0.875rem; letter-spacing: 0.05em; text-transform: uppercase; }
.footer-menu-list { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 0.5rem; font-size: 0.875rem; }
.footer-menu-link { color: inherit; text-decoration: none; transition: color 0.3s ease; }
.footer-menu-link:hover { color: #ffffff; }

button.footer-menu-link {
    display: block;
    width: 100%;
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    font: inherit;
    color: inherit;
    cursor: pointer;
    text-align: left;
}
.footer-copyright { border-top: 1px solid rgba(55, 65, 81, 0.5); margin-top: 2.5rem; padding-top: 1.5rem; text-align: center; font-size: 0.75rem; }


/* --- Адаптивность --- */

/* sm: 640px */
@media (min-width: 640px) {
    .container { padding-left: 1.5rem; padding-right: 1.5rem; }
    .container-narrow { padding-left: 1.5rem; padding-right: 1.5rem; }
    .logo-text-secondary { display: inline; }
    .nav-button { padding: 0.625rem 1.25rem; }
    .nav-button .btn-icon { font-size: 0.875rem; }
    .mobile-menu { width: 18rem; }
    .hero-title { font-size: 3rem; margin-bottom: 1.5rem; }
    .hero-br { display: inline; }
    .hero-subtitle { font-size: 1.125rem; margin-bottom: 2.5rem; }
    .hero-buttons { flex-direction: row; gap: 1rem; }
    .btn-hero { width: auto; padding: 1rem 2rem; font-size: 1.125rem; }
    .btn-secondary.btn-hero { margin-top: 0; }
    .hero-users { gap: 1.5rem; }
    .avatar { height: 3rem; width: 3rem; }
    .avatar-count { font-size: 0.875rem; }
    .user-text { font-size: 0.875rem; }
    .section-title { font-size: 2.25rem; }
    .section-subtitle { font-size: 1.125rem; }
    .why-us-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .use-cases-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .usecase-title { font-size: 1.125rem; }
    .usecase-icon { width: 3rem; height: 3rem; }
    .how-it-works-cta { flex-direction: row; gap: 1rem; }
    .check-list { font-size: 1rem; }

    /* --- ИСПРАВЛЕНИЕ КНОПОК Pricing (sm+) --- */
    .pricing-button, .balance-button {
        display: block;    /* Кнопка снова блочная */
        width: 100%;       /* На всю ширину карточки */
        max-width: 100%;   /* Снимаем ограничение */
        padding: 0.75rem 1.5rem; /* Можно настроить отступы для sm+ */
        font-size: 1.125rem; /* Увеличиваем шрифт */
    }
    .pricing-button-highlight {
        padding-top: 0.875rem; /* Возвращаем специфичные отступы для sm+ */
        padding-bottom: 0.875rem;
    }

    .pricing-price-large { font-size: 3.75rem; }
    .pricing-period-large { font-size: 1.25rem; }
    .pricing-description, .balance-description { font-size: 1rem; }
    .pricing-features, .balance-features { font-size: 1rem; }
    .pricing-note { font-size: 0.75rem; }
    .testimonial-avatar { width: 3rem; height: 3rem; }
    .testimonial-name { font-size: 1rem; }
    .testimonial-title { font-size: 0.875rem; }
    .testimonial-quote { font-size: 1rem; }
    .testimonial-quote::before { font-size: 3rem; }
    .final-cta-title { font-size: 2.25rem; }
    .final-cta-br { display: none; }
    .final-cta-text { font-size: 1.125rem; }
    .btn-cta { padding: 1rem 2.5rem; font-size: 1.125rem; }

    .app-showcase-image { border-radius: 1.5rem; }
    .testimonial-avatar { width: 3rem; height: 3rem; }
    .testimonial-name { font-size: 1rem; }
    .testimonial-title { font-size: 0.875rem; }
    .testimonial-quote { font-size: 1rem; }
}

/* md: 768px */
@media (min-width: 768px) {
    .nav-container { height: 5rem; }
    .logo-icon-wrapper { width: 2.25rem; height: 2.25rem; }
    .logo-icon { font-size: 1.125rem; }
    .logo-text-main, .logo-text-secondary { font-size: 1.5rem; }
    .desktop-menu { display: flex; }
    .mobile-menu-toggle { display: none; }
    .mobile-menu { display: none; }
    .hero-section { padding-top: 8rem; padding-bottom: 9rem; }
    .hero-bg-blur-1, .hero-bg-blur-2 { width: 24rem; height: 24rem; }
    .hero-users { margin-top: 5rem; }
    .why-us-section { padding-top: 5rem; padding-bottom: 5rem; }
    .section-title { margin-bottom: 3rem; }
    .why-us-grid { gap: 2rem; }
    .features-section { padding-top: 6rem; padding-bottom: 6rem; }
    .section-header { margin-bottom: 4rem; }
    .features-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; }
    .feature-card { padding: 2rem; }
    .feature-card-icon-wrapper { height: 3.5rem; width: 3.5rem; margin-bottom: 1.5rem; }

    .app-showcase-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4rem; }
    .app-showcase-image-wrapper { order: 1; }
    .app-showcase-text { order: 2; text-align: left; }
    .app-showcase-subtitle { margin-left: 0; margin-right: 0; }
    .app-platform-list { margin-left: 0; margin-right: 0; }
    .app-showcase-cta { justify-content: flex-start; }

    .feature-card-icon { font-size: 1.5rem; }
    .feature-card-title { font-size: 1.25rem; margin-bottom: 0.75rem; }
    .feature-card-text { font-size: 1rem; }
    .use-cases-section { padding-top: 6rem; padding-bottom: 6rem; }
    .use-cases-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; }
    .how-it-works-section { padding-top: 6rem; padding-bottom: 6rem; }
    .steps-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
    .steps-connector { display: block; }
    .step-number-wrapper { width: 5rem; height: 5rem; margin-bottom: 1.25rem; }
    .step-number { width: 4rem; height: 4rem; font-size: 1.5rem; }
    .step-icon-wrapper { margin-bottom: 1rem; }
    .step-icon { width: 2.5rem; height: 2.5rem; }
    .step-title { font-size: 1.125rem; }
    .global-network-section { padding-top: 3.5rem; padding-bottom: 3.5rem; }
    .global-network-grid { gap: 4rem; }
    .global-network-subtitle { margin-bottom: 2rem; }
    .app-showcase-grid { gap: 4rem; }
    .app-showcase-image { border-radius: 1.5rem; }
    .app-platform-icon-wrapper { width: 3rem; height: 3rem; }
    .app-platform-icon { font-size: 1.5rem; }
    .fa-network-wired.app-platform-icon-router { font-size: 1.25rem; }
    .pricing-section { padding-top: 6rem; padding-bottom: 6rem; }
    .pricing-grid-balance {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 2rem;
        align-items: stretch;
    }
    .pricing-highlight { order: 1; }
    .balance-info-card { order: 2; }

    /* .pricing-grid { gap: 2rem; } -- Старая сетка, если осталась */
    .pricing-badge-wrapper { top: 1rem; right: 1rem; }
    .pricing-price-wrapper { margin-bottom: 1.5rem; }
    .pricing-price { font-size: 3rem; }
    .pricing-period { font-size: 1.25rem; }
    .pricing-price-large { font-size: 3.75rem; }
    .pricing-period-large { font-size: 1.5rem; }
    .pricing-description, .balance-description { margin-bottom: 2rem; }
    .pricing-features, .balance-features { margin-bottom: 2.5rem; }
    .pricing-button, .balance-button { font-size: 1.125rem; } /* Размер шрифта кнопки */
    .pricing-button-highlight { padding-top: 1rem; padding-bottom: 1rem; } /* Отступы кнопки триала */
    .pricing-note { margin-top: 1rem; }
    .pricing-guarantee { margin-top: 3rem; }
    .testimonials-section { padding-top: 6rem; padding-bottom: 6rem; }
    .testimonials-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; }
    .testimonial-card { padding: 2rem; }
    .testimonial-header { margin-bottom: 1.25rem; }
    .final-cta-section { padding-top: 5rem; padding-bottom: 5rem; }
    .final-cta-title { margin-bottom: 1.5rem; }
    .final-cta-text { margin-bottom: 2.5rem; }
    .final-cta-note { margin-top: 1.5rem; }
    .footer { padding-top: 4rem; padding-bottom: 4rem; }
    .footer-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2.5rem; }
    .footer-logo-icon-wrapper { width: 2rem; height: 2rem; }
    .footer-logo-icon { font-size: 1rem; }
    .footer-logo-text { font-size: 1.25rem; }
    .footer-description { margin-bottom: 1.5rem; }
    .footer-socials { gap: 1.25rem; }
    .footer-menu-title { margin-bottom: 1rem; }
    .footer-copyright { margin-top: 3rem; padding-top: 2rem; }
}

/* lg: 1024px */
@media (min-width: 1024px) {
    .container { padding-left: 2rem; padding-right: 2rem; }
    .container-narrow { padding-left: 2rem; padding-right: 2rem; }
    .desktop-menu { gap: 1.75rem; }
    .nav-link { font-size: 1rem; }
    .nav-link-lg-only { display: inline; }
    .nav-button { font-size: 1rem; }
    .hero-section { padding-top: 9rem; padding-bottom: 10rem; }
    .hero-title { font-size: 3.75rem; }
    .hero-subtitle { font-size: 1.25rem; }
    .why-us-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } /* <<< ИЗМЕНЕНО: 3 колонки */
    /* Перераспределяем элементы why-us для лучшего вида в 3 колонках, если их 6 */
     .why-us-grid .why-us-item:nth-child(4) { grid-column: 1 / 2; }
     .why-us-grid .why-us-item:nth-child(5) { grid-column: 2 / 3; }
     .why-us-grid .why-us-item:nth-child(6) { grid-column: 3 / 4; }

    .features-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .use-cases-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .global-network-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .global-network-text { padding-right: 2rem; }
    .global-network-map { margin-top: 0; }
    .app-showcase-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .app-showcase-image-wrapper { order: 1; } /* image first on lg */
    .app-showcase-text {
        order: 2; /* text second on lg */
        text-align: left; /* <<< ИСПРАВЛЕНО: Возвращаем выравнивание слева на десктопе */
    }
    .app-showcase-image { transform: rotate(-3deg); }

    /* Старая сетка тарифов (если вдруг используется где-то еще) */
    /* .pricing-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } */
    /* .pricing-highlight { order: 2; } */ /* Highlighted card second */
    /* .pricing-card:nth-child(1) { order: 1; } */
    /* .pricing-card:nth-child(3) { order: 3; } */

    /* Новая сетка баланса */
     .pricing-grid-balance {
         /* Можно оставить 2 колонки или сделать по-другому */
         /* grid-template-columns: 1fr 1.5fr; */ /* Например: триал уже, баланс шире */
     }

    .testimonials-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .footer-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 3rem; }
    .footer-about { grid-column: span 2 / span 2; }
}

/* --- Footer Legal --- */
.footer-legal {
    margin-top: 0.75rem;
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.45);
    line-height: 1.4;
    font-weight: 400;
}

/* --- Cookie Popup --- */
.cookie-popup {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    width: calc(100% - 4rem);
    max-width: 400px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 1.25rem;
    padding: 1.5rem;
    z-index: 10000;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1), 0 0 0 1px inset rgba(255, 255, 255, 0.5);
    transform: translateY(150%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.6s ease, visibility 0.6s;
}

.cookie-popup.visible {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.cookie-popup-inner {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cookie-popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cookie-popup-title-group {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.cookie-icon {
    font-size: 1.85rem;
    line-height: 1;
    display: inline-block;
    filter: drop-shadow(0 2px 4px rgba(139, 90, 43, 0.25));
    /* нативный цветной эмодзи; без принудительного color */
}

.cookie-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1d1d1f;
    margin: 0;
}

.cookie-popup-body {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.cookie-short-text {
    font-size: 0.875rem;
    color: #4b5563;
    margin: 0;
    line-height: 1.5;
}

.cookie-details-content {
    font-size: 0.8rem;
    color: #6b7280;
    margin-top: 0.5rem;
    padding-top: 0.5rem;
    border-top: 1px solid #e5e5e7;
    line-height: 1.5;
    transition: all 0.3s ease;
}

.cookie-details-content.hidden {
    display: none;
}

.cookie-details-btn {
    background: none;
    border: none;
    padding: 0;
    color: #0071e3;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    text-align: left;
    margin-top: 0.25rem;
}

.cookie-details-btn:hover {
    text-decoration: underline;
}

.cookie-popup-actions {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.cookie-action-btn {
    width: 100%;
    padding: 0.75rem 1rem;
    border-radius: 0.75rem;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    transition: all 0.2s ease;
}

.cookie-outline-btn {
    background: transparent;
    border: 1px solid #d1d5db;
    color: #4b5563;
}

.cookie-outline-btn:hover {
    background: #f3f4f6;
    color: #1d1d1f;
}

@media (max-width: 639px) {
    .cookie-popup {
        bottom: 1rem;
        left: 1rem;
        width: calc(100% - 2rem);
    }
}

/* Sticky CTA Button */
.sticky-cta {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1.5rem;
    background-image: linear-gradient(135deg, #0071e3, #0077ed);
    color: white !important;
    text-decoration: none;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 0.9375rem;
    box-shadow: 0 10px 30px rgba(0, 113, 227, 0.35);
    z-index: 999;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.sticky-cta:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 40px rgba(0, 113, 227, 0.45);
    filter: brightness(1.1);
}

.sticky-cta i {
    font-size: 0.75rem;
    opacity: 0.9;
}

@media (max-width: 639px) {
    .sticky-cta {
        bottom: 1.25rem;
        left: 1.25rem;
        right: 1.25rem;
        width: auto;
        padding: 1rem;
        font-size: 1rem;
        justify-content: center;
        border-radius: 1rem;
        box-shadow: 0 10px 25px rgba(0, 113, 227, 0.4);
    }
}

/* --- Legal document modals --- */
.legal-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.55);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 10040;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.legal-modal-overlay.is-open {
    opacity: 1;
    visibility: visible;
}

.legal-modal {
    position: fixed;
    inset: 0;
    z-index: 10050;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 1.5rem;
    padding-top: max(1.5rem, env(safe-area-inset-top));
    overflow-y: auto;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.legal-modal.is-open {
    pointer-events: auto;
    opacity: 1;
    visibility: visible;
}

.legal-modal-panel {
    width: 100%;
    max-width: 42rem;
    max-height: min(85vh, 52rem);
    margin: auto;
    background: #fff;
    border-radius: 1rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(0, 0, 0, 0.06);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.legal-modal-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.25rem 1.25rem 0.75rem;
    border-bottom: 1px solid #e5e7eb;
    flex-shrink: 0;
}

.legal-modal-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: #111827;
    margin: 0;
    line-height: 1.35;
}

.legal-modal-close {
    flex-shrink: 0;
    width: 2.25rem;
    height: 2.25rem;
    border: none;
    border-radius: 0.5rem;
    background: #f3f4f6;
    color: #374151;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s ease, color 0.15s ease;
}

.legal-modal-close:hover {
    background: #e5e7eb;
    color: #111827;
}

.legal-modal-body {
    padding: 1rem 1.25rem 1.25rem;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.legal-section {
    margin-bottom: 1.25rem;
}

.legal-section:last-child {
    margin-bottom: 0;
}

.legal-section h3 {
    font-size: 0.95rem;
    font-weight: 600;
    color: #1f2937;
    margin: 0 0 0.5rem;
}

.legal-section p {
    font-size: 0.875rem;
    color: #4b5563;
    line-height: 1.6;
    margin: 0;
}

.legal-section a {
    color: #0071e3;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.legal-section a:hover {
    color: #005bb5;
}

.legal-inline-link {
    color: #0071e3;
    text-decoration: underline;
    text-underline-offset: 2px;
    cursor: pointer;
}

.legal-inline-link:hover {
    color: #005bb5;
}