:root {
    --primary-blue: #2c7be5;
    --primary-light: #e8f2ff;
    --primary-dark: #1a5bb8;
    --danger-color: #dc3545;
    --success-color: #28a745;
    --warning-color: #ffc107;
    --text-dark: #2c3e50;
    --text-light: #6c757d;
    --border-light: #e9ecef;
    --glow-color: rgba(44, 123, 229, 0.5);
    --bg-dark: #0a0e1a;
    --bg-card: rgba(15, 23, 42, 0.75);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: linear-gradient(135deg, #0a0e1a 0%, #0f172a 50%, #1a1f2e 100%);
    min-height: 100vh;
    font-family: 'Segoe UI', 'Poppins', system-ui, -apple-system, sans-serif;
    color: #fff;
    overflow-x: hidden;
    position: relative;
}

/* Единый базовый стиль для всех описательных текстов */
.description-text, 
.floating-card p,
.tool-description,
.process-text,
.footer-description,
.footer-links a,
.footer-contact,
.footer-bottom p,
.free-trial-badge span,
.hero-description,
.tariff-description,
.story-text {
    font-size: 0.9rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.7);
}

/* Анимированный фон */
.particles-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.particle {
    position: absolute;
    background: rgba(44, 123, 229, 0.3);
    border-radius: 50%;
    pointer-events: none;
    animation: floatParticle linear infinite;
}

@keyframes floatParticle {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% { opacity: 0.5; }
    90% { opacity: 0.5; }
    100% {
        transform: translateY(-100vh) rotate(360deg);
        opacity: 0;
    }
}

/* Анимированные волны */
.waves {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 200px;
    z-index: 0;
    pointer-events: none;
    opacity: 0.3;
}

.wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(90deg, transparent, rgba(44, 123, 229, 0.05), transparent);
    animation: waveMove 8s ease-in-out infinite;
}

.wave:nth-child(2) {
    bottom: 20px;
    animation-delay: -2s;
    opacity: 0.5;
}

.wave:nth-child(3) {
    bottom: 40px;
    animation-delay: -4s;
    opacity: 0.3;
}

@keyframes waveMove {
    0%, 100% {
        transform: translateX(-100%) scaleY(1);
    }
    50% {
        transform: translateX(0%) scaleY(1.2);
    }
}

.orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.3;
    animation: orbPulse 6s ease-in-out infinite;
    pointer-events: none;
}

.orb-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--primary-blue), transparent);
    top: -200px;
    right: -200px;
}

.orb-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--primary-dark), transparent);
    bottom: -250px;
    left: -250px;
    animation-delay: -3s;
}

.orb-3 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, #4A90E2, transparent);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: -1.5s;
}

@keyframes orbPulse {
    0%, 100% { opacity: 0.2; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(1.1); }
}

/* Светящиеся линии */
.glow-line {
    position: fixed;
    background: linear-gradient(90deg, transparent, var(--primary-blue), transparent);
    height: 1px;
    width: 100%;
    animation: lineMove 10s linear infinite;
    pointer-events: none;
}

.glow-line:nth-child(1) { top: 20%; animation-delay: 0s; }
.glow-line:nth-child(2) { top: 40%; animation-delay: -3s; width: 80%; left: 10%; }
.glow-line:nth-child(3) { top: 60%; animation-delay: -6s; width: 60%; left: 20%; }
.glow-line:nth-child(4) { top: 80%; animation-delay: -9s; width: 90%; left: 5%; }

@keyframes lineMove {
    0% {
        transform: translateX(-100%);
        opacity: 0;
    }
    10% {
        opacity: 0.5;
    }
    90% {
        opacity: 0.5;
    }
    100% {
        transform: translateX(100%);
        opacity: 0;
    }
}

/* Навигация */
.navbar {
    background: rgba(10, 14, 26, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(44, 123, 229, 0.2);
    padding: 0.8rem 0;
    z-index: 100;
}

.navbar .container-custom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.navbar-brand {
    font-size: 1.6rem;
    font-weight: 700;
    background: linear-gradient(135deg, #ffffff 0%, var(--primary-light) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    white-space: nowrap;
    margin-right: 2rem;
}

.navbar-collapse {
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar-nav {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0 auto;
}

.nav-link {
    color: rgba(255,255,255,0.85) !important;
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
    position: relative;
    font-size: 0.95rem;
    white-space: nowrap;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary-blue) !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--primary-blue);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 70%;
}

.btn-outline-glow {
    border: 1px solid var(--primary-blue);
    background: transparent;
    color: var(--primary-blue);
    border-radius: 10px;
    padding: 0.4rem 1.2rem;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-outline-glow:hover {
    background: var(--primary-blue);
    color: white;
    box-shadow: 0 0 15px rgba(44,123,229,0.5);
    transform: translateY(-2px);
}

.btn-primary-glow {
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-dark));
    border: none;
    color: white;
    border-radius: 10px;
    padding: 0.5rem 1.5rem;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(44, 123, 229, 0.3);
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary-glow::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.btn-primary-glow:hover::before {
    left: 100%;
}

.btn-primary-glow:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(44, 123, 229, 0.4);
    color: white;
}

/* Основной контент */
.container-custom {
    width: 90%;
    max-width: 1600px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.hero-section {
    padding: 130px 0 80px;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 2.6rem;
    font-weight: 700;
    background: linear-gradient(135deg, #fff, var(--primary-light));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0;
    line-height: 1.2;
}

.hero-title-line {
    font-size: 2.6rem;
    font-weight: 700;
    background: linear-gradient(135deg, #fff, var(--primary-light));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1.2rem;
    line-height: 1.2;
}

.hero-description {
    margin-bottom: 1.8rem;
    max-width: 90%;
}

.floating-card {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    border-radius: 32px;
    border: 1px solid rgba(44,123,229,0.2);
    padding: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.floating-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    border-color: rgba(44,123,229,0.5);
}

.floating-card h4 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: white;
}

.icon-lg {
    font-size: 2.8rem;
    color: var(--primary-blue);
    margin-bottom: 1.2rem;
    display: inline-block;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary-blue), transparent);
}

/* Блок истории - разделенный на две колонки */
.story-section {
    padding: 2rem 0 4rem;
}

.story-card {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.9), rgba(10, 14, 26, 0.95));
    backdrop-filter: blur(10px);
    border-radius: 32px;
    border: 1px solid rgba(44, 123, 229, 0.3);
    padding: 2rem;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.story-card:hover {
    border-color: rgba(44, 123, 229, 0.6);
    box-shadow: 0 0 30px rgba(44, 123, 229, 0.1);
}

.story-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-blue), var(--primary-dark), var(--primary-blue), transparent);
    animation: shimmerLine 3s linear infinite;
}

/* Левая колонка - динамическая абстракция с текстом */
.story-visual {
    position: relative;
    height: 100%;
    min-height: 480px;
    border-radius: 24px;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.3);
}

.visual-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.ai-node {
    position: absolute;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, var(--primary-blue), transparent);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: pulseGlow 2s ease-in-out infinite;
    filter: blur(12px);
    opacity: 0.5;
}

/* Круги с текстом */
.tech-circle {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(44, 123, 229, 0.15);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(44, 123, 229, 0.4);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary-blue);
    text-shadow: 0 0 5px rgba(44,123,229,0.5);
    transition: all 0.3s ease;
    animation: floatCircle 4s ease-in-out infinite;
    z-index: 10;
}

.tech-circle:hover {
    transform: scale(1.05);
    border-color: var(--primary-blue);
    box-shadow: 0 0 15px rgba(44,123,229,0.3);
    color: white;
}

.circle-1 { width: 70px; height: 70px; top: 8%; left: 5%; animation-delay: 0s; }
.circle-2 { width: 60px; height: 60px; top: 15%; right: 10%; animation-delay: 0.5s; }
.circle-3 { width: 80px; height: 80px; bottom: 20%; left: 2%; animation-delay: 1s; }
.circle-4 { width: 65px; height: 65px; bottom: 10%; right: 15%; animation-delay: 1.5s; }
.circle-5 { width: 55px; height: 55px; top: 45%; left: 15%; animation-delay: 2s; }
.circle-6 { width: 75px; height: 75px; top: 60%; right: 5%; animation-delay: 2.5s; }
.circle-7 { width: 60px; height: 60px; top: 30%; left: 25%; animation-delay: 3s; }
.circle-8 { width: 70px; height: 70px; bottom: 40%; right: 25%; animation-delay: 3.5s; }

@keyframes floatCircle {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-8px);
    }
}

.seo-wave {
    position: absolute;
    bottom: 20%;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary-blue), var(--primary-light), var(--primary-blue), transparent);
    animation: waveFlow 3s ease-in-out infinite;
}

.data-point {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--primary-blue);
    border-radius: 50%;
    animation: floatPoint 4s linear infinite;
    box-shadow: 0 0 8px var(--primary-blue);
}

.data-line {
    position: absolute;
    width: 1px;
    height: 100%;
    background: linear-gradient(180deg, transparent, var(--primary-blue), transparent);
    left: 30%;
    top: 0;
    animation: linePulse 2s ease-in-out infinite;
}

.data-line-2 {
    left: 70%;
    animation-delay: 1s;
}

.data-line-3 {
    left: 50%;
    animation-delay: 0.5s;
}

.flowing-particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: var(--primary-blue);
    border-radius: 50%;
    animation: flowParticle 6s linear infinite;
}

.circuit-line {
    position: absolute;
    border: 1px solid rgba(44, 123, 229, 0.3);
    border-radius: 50%;
    animation: rotateCircuit 20s linear infinite;
}

.circuit-line-1 {
    width: 220px;
    height: 220px;
    top: 5%;
    left: 5%;
    border-color: rgba(44, 123, 229, 0.2);
}

.circuit-line-2 {
    width: 300px;
    height: 300px;
    bottom: 0%;
    right: 0%;
    border-color: rgba(44, 123, 229, 0.15);
    animation-direction: reverse;
}

.circuit-line-3 {
    width: 180px;
    height: 180px;
    top: 60%;
    left: 20%;
    border-color: rgba(44, 123, 229, 0.25);
    animation-duration: 15s;
}

@keyframes pulseGlow {
    0%, 100% {
        opacity: 0.4;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        opacity: 0.8;
        transform: translate(-50%, -50%) scale(1.2);
    }
}

@keyframes waveFlow {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

@keyframes floatPoint {
    0% {
        transform: translateY(-20px) translateX(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(100%) translateX(30px);
        opacity: 0;
    }
}

@keyframes linePulse {
    0%, 100% {
        opacity: 0.2;
    }
    50% {
        opacity: 0.6;
    }
}

@keyframes flowParticle {
    0% {
        transform: translateX(-20px) translateY(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateX(100%) translateY(50px);
        opacity: 0;
    }
}

@keyframes rotateCircuit {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Правая колонка */
.story-content {
    padding: 1rem 0 1rem 2rem;
}

.story-title {
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(135deg, #fff, var(--primary-light));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1.5rem;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
}

.story-title i {
    font-size: 2rem;
    color: var(--primary-blue);
}

.story-text {
    margin-bottom: 1rem;
}

.story-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 2rem;
}

.feature-item {
    background: rgba(44, 123, 229, 0.1);
    border-radius: 16px;
    padding: 1rem;
    border: 1px solid rgba(44, 123, 229, 0.2);
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-3px);
    border-color: rgba(44, 123, 229, 0.5);
    background: rgba(44, 123, 229, 0.15);
}

.feature-icon {
    font-size: 1.5rem;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
    display: inline-block;
}

.feature-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: white;
    margin-bottom: 0.25rem;
}

.feature-desc {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.3;
}

.hero-stats {
    display: flex;
    gap: 3rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.hero-stat-item {
    text-align: center;
}

.hero-stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-blue);
    display: block;
    line-height: 1;
}

.hero-stat-label {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.6);
    margin-top: 0.3rem;
}

/* Категории инструментов */
.tools-category {
    margin-bottom: 3rem;
}

.category-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid rgba(44,123,229,0.3);
    display: inline-block;
}

.tool-item {
    background: rgba(15, 23, 42, 0.5);
    border-radius: 16px;
    padding: 1.2rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(44,123,229,0.1);
    margin-bottom: 1rem;
    position: relative;
    overflow: hidden;
}

.tool-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(44,123,229,0.1), transparent);
    transition: left 0.5s ease;
}

.tool-item:hover::before {
    left: 100%;
}

.tool-item:hover {
    background: rgba(44,123,229,0.1);
    border-color: rgba(44,123,229,0.3);
    transform: translateX(5px);
}

.tool-item a {
    color: rgba(255,255,255,0.9);
    text-decoration: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.tool-header {
    display: flex;
    align-items: center;
    gap: 12px;
}

.tool-item i {
    font-size: 1.3rem;
    color: var(--primary-blue);
    width: 30px;
}

.tool-item .tool-name {
    font-size: 1rem;
    font-weight: 600;
    color: white;
}

.tool-description {
    margin-left: 42px;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1rem;
}

.free-trial-badge {
    background: linear-gradient(135deg, rgba(44,123,229,0.2), rgba(26,91,184,0.1));
    border-radius: 12px;
    padding: 0.5rem 1rem;
    text-align: center;
    margin-top: 1rem;
    border: 1px solid rgba(44,123,229,0.3);
    animation: badgeGlow 2s ease-in-out infinite;
}

@keyframes badgeGlow {
    0%, 100% {
        box-shadow: 0 0 5px rgba(44, 123, 229, 0.3);
        border-color: rgba(44, 123, 229, 0.3);
    }
    50% {
        box-shadow: 0 0 20px rgba(44, 123, 229, 0.5);
        border-color: rgba(44, 123, 229, 0.6);
    }
}

.free-trial-badge i {
    color: var(--primary-blue);
    margin-right: 0.5rem;
}

.process-text {
    margin-top: 0.5rem;
}

/* Тарифные карточки */
.tariffs-section {
    margin: 4rem 0;
}

.tariff-card {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    border-radius: 32px;
    border: 1px solid rgba(44,123,229,0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    height: 100%;
}

.tariff-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 40px rgba(0,0,0,0.3);
    border-color: rgba(44,123,229,0.5);
}

.tariff-card.popular {
    border: 2px solid var(--primary-blue);
    box-shadow: 0 0 30px rgba(44,123,229,0.2);
}

.popular-badge {
    position: absolute;
    top: 20px;
    right: -30px;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-dark));
    color: white;
    padding: 0.3rem 2rem;
    font-size: 0.7rem;
    font-weight: 600;
    transform: rotate(45deg);
    z-index: 10;
}

.tariff-header {
    padding: 2rem 1.5rem 1.5rem;
    text-align: center;
    border-bottom: 1px solid rgba(44,123,229,0.2);
}

.tariff-header h5 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: white;
}

.tariff-price {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-blue);
    margin: 1rem 0;
}

.tariff-price small {
    font-size: 1rem;
    font-weight: 400;
    color: rgba(255,255,255,0.6);
}

.tariff-features {
    padding: 1.5rem;
    list-style: none;
    margin: 0;
}

.tariff-features li {
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.8);
}

.tariff-features li i {
    font-size: 1.1rem;
    width: 24px;
}

.tariff-features li i.mdi-check {
    color: var(--success-color);
}

.tariff-features li i.mdi-close {
    color: var(--danger-color);
}

.tariff-footer {
    padding: 1rem 1.5rem 2rem;
    text-align: center;
}

/* Технологичные кнопки "Выбрать тариф" - единый стиль */
.btn-tariff-tech {
    background: transparent;
    border: 1.5px solid rgba(44, 123, 229, 0.5);
    color: var(--primary-blue);
    border-radius: 14px;
    padding: 0.7rem 1.5rem;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    width: 100%;
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    text-decoration: none;
    cursor: pointer;
    backdrop-filter: blur(5px);
    letter-spacing: 0.3px;
}

.btn-tariff-tech i {
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.btn-tariff-tech::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(44, 123, 229, 0.2), rgba(44, 123, 229, 0.4), rgba(44, 123, 229, 0.2), transparent);
    transition: left 0.6s ease;
}

.btn-tariff-tech:hover {
    border-color: var(--primary-blue);
    background: linear-gradient(135deg, rgba(44, 123, 229, 0.15), rgba(44, 123, 229, 0.05));
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(44, 123, 229, 0.3);
}

.btn-tariff-tech:hover::before {
    left: 100%;
}

.btn-tariff-tech:hover i {
    transform: translateX(5px);
}

.btn-tariff-tech:active {
    transform: translateY(0);
}

/* Кнопка "Текущий тариф" (заблокированная) */
.btn-tariff-current {
    background: rgba(44, 123, 229, 0.1);
    border: 1px solid rgba(44, 123, 229, 0.3);
    color: rgba(255, 255, 255, 0.6);
    border-radius: 14px;
    padding: 0.7rem 1.5rem;
    font-weight: 600;
    font-size: 0.95rem;
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    cursor: not-allowed;
    backdrop-filter: blur(5px);
}

.btn-tariff-current i {
    font-size: 1.1rem;
    color: var(--success-color);
}

.current-tariff-badge {
    display: inline-block;
    background: rgba(40,167,69,0.2);
    color: var(--success-color);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    margin-top: 0.5rem;
}

/* Динамичный футер */
.footer-dynamic {
    position: relative;
    background: linear-gradient(180deg, rgba(10, 14, 26, 0.95) 0%, rgba(5, 8, 18, 0.98) 100%);
    backdrop-filter: blur(10px);
    padding: 3rem 0 1.5rem;
    margin-top: 4rem;
    overflow: hidden;
}

.footer-dynamic::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-blue), var(--primary-dark), var(--primary-blue), transparent);
    animation: shimmerLine 3s linear infinite;
}

@keyframes shimmerLine {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

.footer-dynamic::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(44,123,229,0.3), transparent);
}

.footer-logo {
    font-size: 1.6rem;
    font-weight: 700;
    background: linear-gradient(135deg, #ffffff, var(--primary-light));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    margin-bottom: 1rem;
    position: relative;
}

.footer-description {
    color: rgba(255,255,255,0.5);
}

.footer-title {
    color: white;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1.2rem;
    position: relative;
    display: inline-block;
}

.footer-title:after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 30px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-blue), transparent);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.6rem;
}

.footer-links a {
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--primary-blue);
    transform: translateX(5px);
}

.footer-contact {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.footer-contact:hover {
    color: var(--primary-blue);
    transform: translateX(5px);
}

.footer-contact i {
    color: var(--primary-blue);
    width: 20px;
}

.footer-bottom {
    border-top: 1px solid rgba(44,123,229,0.2);
    padding-top: 1.5rem;
    margin-top: 2rem;
    text-align: center;
}

.footer-bottom p {
    margin-bottom: 0;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-link {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(44,123,229,0.1);
    border-radius: 50%;
    color: var(--primary-blue);
    transition: all 0.3s ease;
    border: 1px solid rgba(44,123,229,0.2);
}

.social-link:hover {
    background: var(--primary-blue);
    color: white;
    transform: translateY(-3px) rotate(360deg);
    border-color: transparent;
}

/* Адаптивность */
@media (max-width: 1200px) {
    .hero-title, .hero-title-line {
        font-size: 2.2rem;
    }
    .navbar-brand {
        font-size: 1.4rem;
    }
    .nav-link {
        padding: 0.5rem 0.8rem;
    }
}

@media (max-width: 992px) {
    .navbar-collapse {
        position: absolute;
        top: 100%;
        left: 5%;
        right: 5%;
        width: 90%;
        background: rgba(10, 14, 26, 0.95);
        backdrop-filter: blur(10px);
        border-radius: 16px;
        padding: 1rem;
        margin-top: 0.5rem;
        border: 1px solid rgba(44,123,229,0.2);
        flex-direction: column;
    }
    .navbar-nav {
        flex-direction: column;
        width: 100%;
        margin: 0 0 1rem 0;
    }
    .nav-link {
        text-align: center;
        padding: 0.75rem;
    }
    .hero-title, .hero-title-line {
        font-size: 1.8rem;
        white-space: normal;
    }
    .hero-description {
        max-width: 100%;
    }
    .hero-stat-number {
        font-size: 2.5rem;
    }
    .story-content {
        padding: 1rem 0 0 0;
        margin-top: 2rem;
    }
    .story-features {
        grid-template-columns: 1fr;
    }
    .story-visual {
        min-height: 480px;
    }
}

@media (max-width: 768px) {
    .container-custom {
        width: 95%;
    }
    .hero-title, .hero-title-line {
        font-size: 1.6rem;
    }
    .hero-section {
        padding: 110px 0 50px;
    }
    .section-title {
        font-size: 1.8rem;
    }
    .tools-grid {
        grid-template-columns: 1fr;
    }
    .footer-dynamic {
        text-align: center;
    }
    .footer-title:after {
        left: 50%;
        transform: translateX(-50%);
    }
    .footer-contact {
        justify-content: center;
    }
    .social-links {
        justify-content: center;
    }
    .hero-stats {
        gap: 2rem;
    }
    .hero-stat-number {
        font-size: 2.2rem;
    }
    .description-text, 
    .floating-card p,
    .tool-description,
    .process-text,
    .footer-description,
    .footer-links a,
    .footer-contact,
    .footer-bottom p,
    .free-trial-badge span,
    .hero-description,
    .tariff-description,
    .story-text {
        font-size: 0.85rem;
    }
    .feature-title {
        font-size: 0.85rem;
    }
    .feature-desc {
        font-size: 0.7rem;
    }
    .tech-circle {
        font-size: 0.65rem;
    }
    .circle-1, .circle-2, .circle-3, .circle-4, .circle-5, .circle-6, .circle-7, .circle-8 {
        width: 50px;
        height: 50px;
    }
    .btn-tariff-tech, .btn-tariff-current {
        padding: 0.6rem 1.2rem;
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .hero-title, .hero-title-line {
        font-size: 1.4rem;
    }
    .btn-primary-glow, .btn-outline-glow, .btn-tariff-tech, .btn-tariff-current {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }
    .navbar-brand {
        font-size: 1.2rem;
    }
    .hero-stat-number {
        font-size: 1.8rem;
    }
    .hero-stat-label {
        font-size: 0.75rem;
    }
    .tariff-price {
        font-size: 1.8rem;
    }
    .story-title {
        font-size: 1.3rem;
    }
    .description-text, 
    .floating-card p,
    .tool-description,
    .process-text,
    .footer-description,
    .footer-links a,
    .footer-contact,
    .footer-bottom p,
    .free-trial-badge span,
    .hero-description,
    .tariff-description,
    .story-text {
        font-size: 0.8rem;
    }
    .tech-circle {
        font-size: 0.55rem;
        width: 45px;
        height: 45px;
    }
}

/* Анимации появления */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Прелоадер */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #0a0e1a;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(44,123,229,0.3);
    border-top-color: var(--primary-blue);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.rotating-icon-small {
    display: inline-block;
    animation: rotate3D 6s ease-in-out infinite;
}

@keyframes rotate3D {
    0%, 100% {
        transform: rotateY(0deg) rotateX(0deg);
    }
    25% {
        transform: rotateY(10deg) rotateX(5deg);
    }
    75% {
        transform: rotateY(-10deg) rotateX(-5deg);
    }
}

.dot-animation {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 20px 0;
}

.dot {
    width: 6px;
    height: 6px;
    background: var(--primary-blue);
    border-radius: 50%;
    animation: bounceDot 1.4s ease-in-out infinite;
}

.dot:nth-child(1) { animation-delay: 0s; }
.dot:nth-child(2) { animation-delay: 0.2s; }
.dot:nth-child(3) { animation-delay: 0.4s; }
.dot:nth-child(4) { animation-delay: 0.6s; }
.dot:nth-child(5) { animation-delay: 0.8s; }

@keyframes bounceDot {
    0%, 80%, 100% {
        transform: scale(0.6);
        opacity: 0.3;
    }
    40% {
        transform: scale(1.2);
        opacity: 1;
    }
}

.navbar-toggler {
    border-color: rgba(44,123,229,0.5);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(44, 123, 229, 0.8)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}
