:root {
            --bg-color: #06040a;
            --card-bg: rgba(15, 12, 25, 0.8);
            --card-border: rgba(255, 255, 255, 0.08);
            --accent-color: #8c62ff;
            --accent-hover: #7c4dff;
            --accent-glow: rgba(124, 77, 255, 0.5);
            --text-main: #ffffff;
            --text-muted: #b0aec3;
            --text-dim: #8e8a9e;
            --success-color: #00e676;
            --success-glow: rgba(0, 230, 118, 0.3);
            --header-bg: rgba(6, 4, 10, 0.9);
            
            --max-width: 1200px;
        }

        * {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
            font-family: 'Montserrat', sans-serif;
            scroll-behavior: smooth;
            -webkit-tap-highlight-color: transparent;
            letter-spacing: -0.01em; /* Улучшаем кернинг для предотвращения слипания букв */
        }

        html, body { overflow-x: hidden; }

        body {
            background-color: var(--bg-color);
            color: var(--text-main);
            min-height: 100vh;
            overflow-x: hidden;
            position: relative;
            line-height: 1.5;
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
        }

        /* Decorative Orbs */
        .orb {
            position: absolute;
            border-radius: 50%;
            filter: blur(140px);
            z-index: 0;
            pointer-events: none;
            opacity: 0.45;
        }

        .orb-1 {
            width: 600px;
            height: 600px;
            background: radial-gradient(circle, #4a148c 0%, rgba(74, 20, 140, 0) 70%);
            top: -200px;
            left: -150px;
        }

        .orb-2 {
            width: 700px;
            height: 700px;
            background: radial-gradient(circle, #1a237e 0%, rgba(26, 35, 126, 0) 70%);
            top: 600px;
            right: -200px;
        }

        .orb-3 {
            width: 500px;
            height: 500px;
            background: radial-gradient(circle, #311b92 0%, rgba(49, 27, 146, 0) 70%);
            bottom: -100px;
            left: -100px;
        }

        /* Header Navigation */
        header {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            background: var(--header-bg);
            backdrop-filter: blur(15px);
            -webkit-backdrop-filter: blur(15px);
            border-bottom: 1px solid var(--card-border);
            z-index: 100;
            transition: all 0.3s ease;
        }

        .header-container {
            max-width: var(--max-width);
            margin: 0 auto;
            padding: 15px 20px;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .logo {
            display: flex;
            align-items: center;
            text-decoration: none;
            transition: transform 0.3s ease;
        }

        .logo:hover {
            transform: scale(1.05);
        }

        .logo img {
            height: 45px;
            width: auto;
            display: block;
            filter: brightness(0) invert(1) drop-shadow(0 0 8px rgba(124, 77, 255, 0.5));
        }

        /* Footer Logo specific */
        .footer-logo {
            display: inline-block;
        }

        .footer-logo img {
            height: 40px;
            width: auto;
            filter: brightness(0) invert(1) opacity(0.8);
            transition: all 0.3s ease;
        }

        .footer-logo:hover img {
            opacity: 1;
        }

        nav {
            display: flex;
            gap: 30px;
        }

        nav a {
            color: var(--text-muted);
            text-decoration: none;
            font-size: 14px;
            font-weight: 500;
            transition: color 0.2s ease;
        }

        nav a:hover {
            color: var(--text-main);
        }

        .header-cta {
            background: rgba(255, 255, 255, 0.05);
            border: 1px solid rgba(255, 255, 255, 0.15);
            color: var(--text-main);
            padding: 10px 20px;
            border-radius: 10px;
            font-size: 13px;
            font-weight: 600;
            cursor: pointer;
            font-family: inherit;
            text-decoration: none;
            transition: all 0.2s ease;
        }

        @media (prefers-reduced-motion: reduce) {
            *, *::before, *::after {
                scroll-behavior: auto !important;
                animation-duration: 0.01ms !important;
                animation-iteration-count: 1 !important;
                transition-duration: 0.01ms !important;
            }
        }

        .coverage-section {
            width: 100%;
            max-width: var(--max-width);
            margin: 0 auto;
            padding: 30px 20px 70px;
            position: relative;
            z-index: 1;
        }

        .coverage-card {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 35px;
            padding: 35px;
            border: 1px solid var(--card-border);
            border-radius: 24px;
            background: linear-gradient(120deg, rgba(124,77,255,.12), rgba(0,230,118,.04));
        }

        .coverage-card h2 { margin: 12px 0; font-size: 28px; line-height: 1.2; }
        .coverage-card p { max-width: 760px; color: var(--text-muted); line-height: 1.7; }
        .coverage-card .btn-secondary { flex: 0 0 auto; }

        .lead-consent {
            display: flex;
            align-items: flex-start;
            gap: 9px;
            margin: 12px 0 15px;
            color: var(--text-muted);
            font-size: 12px;
            line-height: 1.45;
            text-align: left;
        }

        .lead-consent input { width: 17px; height: 17px; margin-top: 1px; flex: 0 0 auto; accent-color: var(--accent-color); }
        .lead-consent a { color: #b388ff; }

        @media (max-width: 760px) {
            .coverage-card { flex-direction: column; align-items: flex-start; padding: 25px; }
            .coverage-card h2 { font-size: 23px; }
        }

        .header-cta:hover {
            background: var(--accent-color);
            border-color: var(--accent-color);
            box-shadow: 0 0 15px var(--accent-glow);
        }

        /* Hero Section */
        .hero {
            padding: 160px 20px 80px 20px;
            width: 100%;
            max-width: var(--max-width);
            margin: 0 auto;
            display: flex;
            flex-direction: column;
            align-items: center;
            text-align: center;
            position: relative;
            z-index: 1;
            min-height: 100dvh;
        }

        .hero-info {
            text-align: center;
            width: 100%;
            max-width: 800px;
        }

        .hero-info .hero-actions {
            justify-content: center;
        }

        .hero-badge {
            background: rgba(124, 77, 255, 0.08);
            border: 1px solid rgba(124, 77, 255, 0.2);
            color: #b388ff;
            padding: 6px 16px;
            border-radius: 50px;
            font-size: 12px;
            font-weight: 600;
            letter-spacing: 1px;
            display: inline-block;
            margin-bottom: 25px;
            text-transform: uppercase;
        }

        .hero-info h1 {
            font-size: 54px;
            font-weight: 800;
            line-height: 1.1;
            margin-bottom: 25px;
            color: #ffffff; /* Уходим от слишком яркого градиента в тексте для читаемости */
            text-shadow: 0 4px 20px rgba(0,0,0,0.8);
            letter-spacing: -0.02em;
        }

        .hero-info p {
            font-size: 19px;
            line-height: 1.5;
            color: #e0e0e0;
            margin-bottom: 40px;
            font-weight: 400;
            text-shadow: 0 2px 10px rgba(0,0,0,0.5);
        }

        .hero-actions {
            display: flex;
            gap: 20px;
        }

        .btn-primary {
            background: linear-gradient(135deg, var(--accent-color) 0%, #512da8 100%);
            color: white;
            padding: 16px 32px;
            border-radius: 12px;
            font-size: 16px;
            font-weight: 600;
            border: none;
            cursor: pointer;
            box-shadow: 0 8px 25px rgba(124, 77, 255, 0.3);
            text-decoration: none;
            transition: all 0.3s ease;
            display: inline-flex;
            align-items: center;
            gap: 10px;
        }

        .btn-primary:hover {
            transform: translateY(-2px);
            box-shadow: 0 12px 30px rgba(124, 77, 255, 0.5);
            background: linear-gradient(135deg, #8c62ff 0%, #5e35b1 100%);
        }

        .btn-secondary {
            background: rgba(255, 255, 255, 0.03);
            border: 1px solid rgba(255, 255, 255, 0.1);
            color: var(--text-main);
            padding: 16px 32px;
            border-radius: 12px;
            font-size: 16px;
            font-weight: 600;
            cursor: pointer;
            text-decoration: none;
            transition: all 0.2s ease;
        }

        .btn-secondary:hover {
            background: rgba(255, 255, 255, 0.08);
            border-color: rgba(255, 255, 255, 0.2);
        }

        .hero-image-container {
            position: relative;
            display: flex;
            justify-content: center;
            align-items: center;
        }

        .hero-image-wrapper {
            background: var(--card-bg);
            border: 1px solid var(--card-border);
            padding: 15px;
            border-radius: 30px;
            box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
            backdrop-filter: blur(10px);
            position: relative;
            overflow: hidden;
            width: 100%;
            max-width: 460px;
        }

        .hero-image-wrapper img {
            width: 100%;
            height: auto;
            border-radius: 20px;
            display: block;
        }

        /* Stats / Trust Section */
        .stats {
            max-width: var(--max-width);
            margin: 0 auto;
            padding: 40px 20px;
            z-index: 1;
            position: relative;
        }

        .stats-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 30px;
            background: rgba(255, 255, 255, 0.02);
            border: 1px solid var(--card-border);
            padding: 40px 30px;
            border-radius: 24px;
            backdrop-filter: blur(5px);
        }

        .stat-card {
            text-align: center;
        }

        .stat-num {
            font-size: 36px;
            font-weight: 800;
            color: #b388ff;
            margin-bottom: 10px;
            background: linear-gradient(135deg, #b388ff 0%, var(--accent-color) 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        .stat-label {
            font-size: 13px;
            color: var(--text-muted);
            font-weight: 500;
            line-height: 1.4;
        }

        /* How it Works Section */
        .steps-section {
            padding: 100px 20px;
            max-width: var(--max-width);
            margin: 0 auto;
            position: relative;
            z-index: 1;
            text-align: center;
        }

        .section-title {
            font-size: 40px;
            font-weight: 800;
            margin-bottom: 20px;
            color: #ffffff;
            letter-spacing: -0.01em;
            text-shadow: 0 5px 15px rgba(0,0,0,0.3);
        }

        .section-subtitle {
            font-size: 18px;
            color: #b0aec3;
            margin-bottom: 60px;
            max-width: 700px;
            margin-left: auto;
            margin-right: auto;
            line-height: 1.6;
        }

        .steps-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 25px;
        }

        .step-card {
            background: var(--card-bg);
            border: 1px solid var(--card-border);
            padding: 35px 25px;
            border-radius: 20px;
            text-align: left;
            position: relative;
            transition: all 0.3s ease;
        }

        .step-card:hover {
            transform: translateY(-5px);
            border-color: rgba(124, 77, 255, 0.2);
            box-shadow: 0 15px 30px rgba(124, 77, 255, 0.05);
        }

        .step-num-badge {
            width: 45px;
            height: 45px;
            background: rgba(124, 77, 255, 0.1);
            border: 1px solid rgba(124, 77, 255, 0.25);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 700;
            color: #b388ff;
            font-size: 18px;
            margin-bottom: 25px;
        }

        .step-card h3 {
            font-size: 19px;
            font-weight: 700;
            margin-bottom: 12px;
            color: #ffffff;
        }

        .step-card p {
            font-size: 15px;
            color: #b0aec3;
            line-height: 1.6;
            font-weight: 400;
        }

        /* Director Section */
        .director-section {
            padding: 100px 20px;
            max-width: var(--max-width);
            margin: 0 auto;
            position: relative;
            z-index: 1;
        }

        .director-grid {
            display: grid;
            grid-template-columns: 1fr;
            gap: 40px;
            align-items: center;
        }

        .director-img-wrapper {
            background: var(--card-bg);
            border: 1px solid var(--card-border);
            padding: 15px;
            border-radius: 24px;
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
            max-width: 400px;
            margin: 0 auto;
        }

        .director-img-wrapper img {
            width: 100%;
            height: auto;
            border-radius: 16px;
            display: block;
        }

        .director-info h2 {
            font-size: 32px;
            font-weight: 800;
            margin-bottom: 10px;
            background: linear-gradient(135deg, #ffffff 0%, #b388ff 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        .director-title {
            color: #b388ff;
            font-size: 16px;
            font-weight: 600;
            margin-bottom: 25px;
            letter-spacing: 0.5px;
        }

        .director-bio {
            font-size: 15px;
            line-height: 1.7;
            color: var(--text-muted);
            margin-bottom: 20px;
        }

        .director-quote {
            border-left: 3px solid var(--accent-color);
            padding-left: 20px;
            margin-top: 30px;
            font-style: italic;
            color: white;
            font-size: 16px;
            line-height: 1.6;
        }

        /* Calculator Section */
        .calc-section {
            padding: 80px 20px;
            background: radial-gradient(circle at 50% 50%, rgba(33, 18, 77, 0.2) 0%, rgba(8, 5, 14, 0) 70%);
            position: relative;
            z-index: 1;
        }

        .calc-container {
            max-width: 650px;
            margin: 0 auto;
        }

        .calc-card {
            background: rgba(20, 16, 35, 0.85);
            border: 1px solid rgba(255, 255, 255, 0.1);
            backdrop-filter: blur(25px);
            -webkit-backdrop-filter: blur(25px);
            border-radius: 24px;
            padding: 45px 35px;
            box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6), inset 0 0 20px rgba(124, 77, 255, 0.05);
            text-align: center;
        }

        .progress-container {
            width: 100%;
            height: 6px;
            background: rgba(255, 255, 255, 0.05);
            border-radius: 10px;
            margin-bottom: 35px;
            overflow: hidden;
            display: none;
        }

        .progress-bar {
            height: 100%;
            width: 0%;
            background: linear-gradient(90deg, var(--accent-color), #b388ff);
            box-shadow: 0 0 10px var(--accent-glow);
            border-radius: 10px;
            transition: width 0.4s ease;
        }

        .calc-step {
            display: none;
            opacity: 0;
            transform: translateY(15px);
            transition: opacity 0.4s ease, transform 0.4s ease;
        }

        .calc-step.active {
            display: block;
            opacity: 1;
            transform: translateY(0);
        }

        .step-title-calc {
            font-size: 20px;
            font-weight: 600;
            line-height: 1.4;
            margin-bottom: 30px;
            text-align: left;
        }

        .options-list {
            display: flex;
            flex-direction: column;
            gap: 12px;
        }

        .option-card {
            background: rgba(255, 255, 255, 0.02);
            border: 1px solid var(--card-border);
            padding: 18px 24px;
            border-radius: 14px;
            cursor: pointer;
            transition: all 0.25s ease;
            display: flex;
            align-items: center;
            gap: 15px;
            font-size: 15px;
            font-weight: 500;
            text-align: left;
        }

        .option-card:hover {
            background: rgba(255, 255, 255, 0.04);
            border-color: rgba(255, 255, 255, 0.15);
            transform: translateX(4px);
        }

        .option-card.selected {
            background: rgba(124, 77, 255, 0.15);
            border-color: rgba(124, 77, 255, 0.4);
            box-shadow: 0 0 15px rgba(124, 77, 255, 0.1);
        }

        .radio-dot {
            width: 18px;
            height: 18px;
            border: 2px solid rgba(255, 255, 255, 0.3);
            border-radius: 50%;
            display: inline-block;
            position: relative;
            flex-shrink: 0;
        }

        .option-card.selected .radio-dot {
            border-color: var(--accent-color);
        }

        .option-card.selected .radio-dot::after {
            content: '';
            width: 10px;
            height: 10px;
            background: var(--accent-color);
            border-radius: 50%;
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
        }

        /* Lead Form Slide */
        .form-group {
            margin-bottom: 20px;
            text-align: left;
        }

        .form-group label {
            display: block;
            font-size: 13px;
            color: var(--text-muted);
            margin-bottom: 8px;
            font-weight: 500;
        }

        .input-control {
            width: 100%;
            background: rgba(255, 255, 255, 0.03);
            border: 1px solid var(--card-border);
            padding: 16px 20px;
            border-radius: 12px;
            color: var(--text-main);
            font-size: 16px;
            outline: none;
            transition: all 0.3s ease;
        }

        .input-control:focus {
            border-color: var(--accent-color);
            background: rgba(255, 255, 255, 0.05);
            box-shadow: 0 0 15px rgba(124, 77, 255, 0.15);
        }

        .result-highlight {
            background: rgba(0, 230, 118, 0.08);
            border: 1px dashed rgba(0, 230, 118, 0.3);
            border-radius: 16px;
            padding: 20px;
            margin-bottom: 25px;
            text-align: center;
        }

        .result-highlight h3 {
            color: var(--success-color);
            font-size: 18px;
            font-weight: 700;
            margin-bottom: 6px;
        }

        .result-highlight p {
            font-size: 13px;
            color: var(--text-muted);
            line-height: 1.5;
        }

        .btn-submit {
            width: 100%;
            background: linear-gradient(135deg, var(--success-color) 0%, #00b0ff 100%);
            border: none;
            color: var(--bg-color);
            padding: 16px 30px;
            font-size: 16px;
            font-weight: 700;
            border-radius: 14px;
            cursor: pointer;
            box-shadow: 0 8px 25px var(--success-glow);
            transition: all 0.3s ease;
            margin-top: 10px;
        }

        .btn-submit:hover {
            transform: translateY(-2px);
            box-shadow: 0 12px 30px rgba(0, 230, 118, 0.5);
            filter: brightness(1.1);
        }

        /* Success screen checkmark */
        .success-checkmark {
            width: 80px;
            height: 80px;
            margin: 0 auto 30px auto;
            border-radius: 50%;
            background: rgba(0, 230, 118, 0.1);
            border: 1.5px solid var(--success-color);
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--success-color);
            font-size: 40px;
            box-shadow: 0 0 30px var(--success-glow);
        }

        .nav-buttons {
            display: flex;
            justify-content: space-between;
            margin-top: 25px;
            gap: 15px;
        }

        .btn-back {
            background: transparent;
            border: 1px solid rgba(255, 255, 255, 0.15);
            color: var(--text-muted);
            padding: 12px 24px;
            font-size: 14px;
            font-weight: 600;
            border-radius: 12px;
            cursor: pointer;
            transition: all 0.2s ease;
        }

        .btn-back:hover {
            background: rgba(255, 255, 255, 0.05);
            color: white;
        }

        /* Case Studies / Reviews Section */
        .cases-section {
            padding: 100px 20px;
            max-width: var(--max-width);
            margin: 0 auto;
            position: relative;
            z-index: 1;
        }

        .cases-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 30px;
            margin-top: 40px;
        }

        .case-card {
            background: var(--card-bg);
            border: 1px solid var(--card-border);
            padding: 40px 30px;
            border-radius: 24px;
            text-align: left;
            position: relative;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
        }

        .case-header {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            margin-bottom: 25px;
        }

        .case-avatar-info h4 {
            font-size: 18px;
            font-weight: 700;
            margin-bottom: 5px;
        }

        .case-avatar-info p {
            font-size: 13px;
            color: var(--text-muted);
        }

        .case-badge {
            white-space: nowrap;
            background: rgba(0, 230, 118, 0.08);
            border: 1px solid rgba(0, 230, 118, 0.2);
            color: var(--success-color);
            padding: 6px 14px;
            border-radius: 50px;
            font-size: 12px;
            font-weight: 700;
        }

        .case-html, body { overflow-x: hidden; }

        body {
            font-size: 15px;
            line-height: 1.6;
            color: var(--text-muted);
            margin-bottom: 25px;
            font-style: italic;
        }

        .case-footer-info {
            border-top: 1px solid rgba(255, 255, 255, 0.05);
            padding-top: 20px;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .case-stat-box h5 {
            font-size: 12px;
            text-transform: uppercase;
            color: var(--text-muted);
            margin-bottom: 4px;
        }

        .case-stat-box p {
            font-size: 18px;
            font-weight: 700;
            color: white;
        }

        /* Inline Contact Form Section */
        .contact-section {
            padding: 100px 20px;
            max-width: var(--max-width);
            margin: 0 auto;
            position: relative;
            z-index: 1;
        }

        .contact-wrapper {
            background: linear-gradient(135deg, rgba(33, 18, 77, 0.3) 0%, rgba(18, 14, 30, 0.7) 100%);
            border: 1px solid rgba(124, 77, 255, 0.15);
            padding: 60px 40px;
            border-radius: 30px;
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 50px;
            align-items: center;
        }

        .contact-info h2 {
            font-size: 32px;
            font-weight: 800;
            margin-bottom: 20px;
        }

        .contact-info p {
            font-size: 15px;
            line-height: 1.6;
            color: var(--text-muted);
            margin-bottom: 30px;
        }

        .contact-details {
            display: flex;
            flex-direction: column;
            gap: 15px;
        }

        .contact-item {
            display: flex;
            align-items: center;
            gap: 12px;
            font-size: 15px;
            font-weight: 600;
        }

        .contact-item span {
            color: var(--accent-color);
        }

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

        /* Footer */
        footer {
            border-top: 1px solid var(--card-border);
            padding: 40px 20px;
            text-align: center;
            background: rgba(8, 5, 14, 0.95);
            position: relative;
            z-index: 1;
        }

        .footer-content {
            max-width: var(--max-width);
            margin: 0 auto;
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 20px;
        }

        .footer-logo {
            display: flex;
            align-items: center;
        }

        .footer-logo img {
            height: 35px;
            width: auto;
        }

        .partner-cabinet-link {
            color: var(--accent-color);
            font-size: 13px;
            font-weight: 600;
            text-decoration: none;
            transition: color 0.2s ease;
            cursor: pointer;
        }

        .partner-cabinet-link:hover {
            color: #b388ff;
            text-decoration: underline;
        }

        .footer-legal {
            font-size: 12px;
            color: var(--text-muted);
            line-height: 1.6;
            max-width: 800px;
            margin: 0 auto;
            text-align: center;
            border-top: 1px solid rgba(255, 255, 255, 0.05);
            padding-top: 20px;
        }

        /* Modals & Popups styling */
        .modal {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0,0,0,0.8);
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            z-index: 1000;
            display: flex;
            justify-content: center;
            align-items: center;
            opacity: 0;
            pointer-events: none;
            transition: all 0.3s ease;
        }

        .modal.active {
            opacity: 1;
            pointer-events: auto;
        }

        .modal-card {
            background: rgba(20, 16, 35, 0.9);
            border: 1px solid var(--card-border);
            width: 90%;
            max-width: 450px;
            padding: 40px 30px;
            border-radius: 24px;
            position: relative;
        }

        .modal-card-large {
            max-width: 750px;
        }

        .close-modal {
            position: absolute;
            top: 20px;
            right: 20px;
            background: transparent;
            border: none;
            color: var(--text-muted);
            font-size: 24px;
            cursor: pointer;
        }

        .close-modal:hover {
            color: white;
        }

        /* Partner Panel Layout */
        .partner-grid {
            display: grid;
            grid-template-columns: 1fr 1.2fr;
            gap: 30px;
            margin-top: 10px;
        }

        .partner-lead-form {
            background: rgba(255, 255, 255, 0.02);
            border: 1px solid var(--card-border);
            padding: 20px;
            border-radius: 16px;
        }

        .partner-history {
            display: flex;
            flex-direction: column;
            height: 380px;
        }

        .history-table-wrapper {
            flex-grow: 1;
            overflow-y: auto;
            border: 1px solid var(--card-border);
            border-radius: 12px;
            background: rgba(0, 0, 0, 0.2);
            margin-bottom: 15px;
        }

        .history-table {
            width: 100%;
            border-collapse: collapse;
            font-size: 12px;
            text-align: left;
        }

        .history-table th {
            background: rgba(124, 77, 255, 0.1);
            color: #b388ff;
            padding: 12px 10px;
            font-weight: 600;
            border-bottom: 1px solid var(--card-border);
            position: sticky;
            top: 0;
        }

        .history-table td {
            padding: 10px;
            border-bottom: 1px solid rgba(255, 255, 255, 0.03);
            color: var(--text-main);
        }

        .history-table tr:hover {
            background: rgba(255, 255, 255, 0.02);
        }

        .history-empty {
            color: var(--text-muted);
            text-align: center;
            padding: 40px 20px;
            font-size: 13px;
        }

        .partner-stats {
            display: flex;
            justify-content: space-between;
            background: rgba(124, 77, 255, 0.05);
            border: 1px solid rgba(124, 77, 255, 0.15);
            padding: 12px 16px;
            border-radius: 12px;
            margin-bottom: 15px;
            font-size: 13px;
            font-weight: 600;
        }

        .partner-stats span {
            color: var(--success-color);
        }

        /* Bitrix Form styling override to match Dark Glassmorphism */
        /* Эти стили автоматически применятся к форме Битрикс24, так как у нее отключен встроенный стиль */
        .b24-form {
            background: transparent !important;
            padding: 0 !important;
            font-family: 'Montserrat', sans-serif !important;
        }
        .b24-form-header {
            display: none !important;
        }
        .b24-form-control-container {
            margin-bottom: 15px !important;
        }
        .b24-form-control {
            background: rgba(255, 255, 255, 0.03) !important;
            border: 1px solid var(--card-border) !important;
            padding: 16px 20px !important;
            border-radius: 12px !important;
            color: var(--text-main) !important;
            font-size: 16px !important;
            font-family: 'Montserrat', sans-serif !important;
            outline: none !important;
            transition: all 0.3s ease !important;
        }
        .b24-form-control:focus {
            border-color: var(--accent-color) !important;
            background: rgba(255, 255, 255, 0.05) !important;
            box-shadow: 0 0 15px rgba(124, 77, 255, 0.15) !important;
        }
        .b24-form-btn {
            background: linear-gradient(135deg, var(--success-color) 0%, #00b0ff 100%) !important;
            border: none !important;
            color: var(--bg-color) !important;
            padding: 16px 30px !important;
            font-size: 16px !important;
            font-weight: 700 !important;
            border-radius: 14px !important;
            cursor: pointer !important;
            box-shadow: 0 8px 25px var(--success-glow) !important;
            transition: all 0.3s ease !important;
            text-transform: none !important;
            width: 100% !important;
            margin-top: 10px !important;
        }
        .b24-form-btn:hover {
            transform: translateY(-2px) !important;
            box-shadow: 0 12px 30px rgba(0, 230, 118, 0.5) !important;
            filter: brightness(1.1) !important;
        }
        .b24-form-signature {
            display: none !important;
        }

        /* SEO Info Section */
        .info-section {
            padding: 100px 20px;
            max-width: var(--max-width);
            margin: 0 auto;
            position: relative;
            z-index: 1;
        }

        .info-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 25px;
            margin-top: 50px;
        }

        .info-card {
            background: var(--card-bg);
            border: 1px solid var(--card-border);
            padding: 35px 28px;
            border-radius: 20px;
            transition: all 0.3s ease;
        }

        .info-card:hover {
            transform: translateY(-5px);
            border-color: rgba(124, 77, 255, 0.2);
            box-shadow: 0 15px 30px rgba(124, 77, 255, 0.05);
        }

        .info-card h3 {
            font-size: 19px;
            font-weight: 700;
            margin-bottom: 14px;
            color: #ffffff;
        }

        .info-card p {
            font-size: 15px;
            color: var(--text-muted);
            line-height: 1.7;
        }

        .info-text {
            max-width: 820px;
            margin: 0 auto;
            text-align: center;
            color: var(--text-muted);
            font-size: 16px;
            line-height: 1.8;
        }

        .info-text strong { color: #ffffff; font-weight: 600; }
        .info-text p { margin-bottom: 18px; }

        /* FAQ Section */
        .faq-section {
            padding: 100px 20px;
            max-width: 860px;
            margin: 0 auto;
            position: relative;
            z-index: 1;
        }

        /* Blog / Articles Section */
        .blog-section {
            padding: 100px 20px;
            max-width: var(--max-width);
            margin: 0 auto;
            position: relative;
            z-index: 1;
        }

        .blog-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 25px;
            margin-top: 50px;
        }

        .blog-card {
            background: var(--card-bg);
            border: 1px solid var(--card-border);
            border-radius: 20px;
            overflow: hidden;
            text-decoration: none;
            transition: all 0.3s ease;
            display: flex;
            flex-direction: column;
        }

        .blog-card:hover {
            transform: translateY(-5px);
            border-color: rgba(124, 77, 255, 0.2);
            box-shadow: 0 15px 30px rgba(124, 77, 255, 0.05);
        }

        .blog-card-tag {
            background: rgba(124, 77, 255, 0.08);
            color: #b388ff;
            padding: 6px 16px;
            border-radius: 50px;
            font-size: 11px;
            font-weight: 600;
            letter-spacing: 0.5px;
            text-transform: uppercase;
            margin: 25px 25px 0 25px;
            display: inline-block;
            align-self: flex-start;
        }

        .blog-card-body {
            padding: 15px 25px 25px 25px;
            flex-grow: 1;
            display: flex;
            flex-direction: column;
        }

        .blog-card h3 {
            font-size: 17px;
            font-weight: 700;
            margin-bottom: 10px;
            color: #ffffff;
            line-height: 1.4;
        }

        .blog-card p {
            font-size: 14px;
            color: var(--text-muted);
            line-height: 1.6;
            flex-grow: 1;
        }

        .blog-card-meta {
            font-size: 12px;
            color: var(--text-dim);
            margin-top: 15px;
        }

        .faq-list {
            margin-top: 50px;
            display: flex;
            flex-direction: column;
            gap: 14px;
        }

        .faq-item {
            background: var(--card-bg);
            border: 1px solid var(--card-border);
            border-radius: 16px;
            overflow: hidden;
            transition: border-color 0.3s ease;
        }

        .faq-item[open] {
            border-color: rgba(124, 77, 255, 0.3);
        }

        .faq-question {
            padding: 22px 28px;
            font-size: 16px;
            font-weight: 600;
            color: #ffffff;
            cursor: pointer;
            list-style: none;
            display: flex;
            justify-content: space-between;
            align-items: center;
            gap: 16px;
        }

        .faq-question::-webkit-details-marker { display: none; }

        .faq-question::after {
            content: '+';
            font-size: 24px;
            font-weight: 300;
            color: var(--accent-color);
            transition: transform 0.3s ease;
            flex-shrink: 0;
        }

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

        .faq-answer {
            padding: 0 28px 24px 28px;
            font-size: 15px;
            color: var(--text-muted);
            line-height: 1.7;
        }

        /* Responsive Layouts */
        @media (max-width: 992px) {
            .hero {
                padding-top: 130px;
                gap: 40px;
            }
            .stats-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 20px;
            }
            .steps-grid {
                grid-template-columns: repeat(2, 1fr);
            }
            .info-grid {
                grid-template-columns: repeat(2, 1fr);
            }
            .blog-grid {
                grid-template-columns: repeat(2, 1fr);
            }
            .director-grid {
                grid-template-columns: 1fr;
                gap: 40px;
            }
            .contact-wrapper {
                grid-template-columns: 1fr;
                padding: 40px 20px;
                gap: 40px;
            }
            .partner-grid {
                grid-template-columns: 1fr;
            }
        }

        @media (max-width: 768px) {
            nav {
                display: none;
            }
            .cases-grid {
                grid-template-columns: 1fr;
            }
        }

        @media (max-width: 576px) {
            * {
                box-sizing: border-box;
            }
            .header-container {
                padding: 10px 15px;
                width: 100%;
            }
            .hero {
                padding: 100px 15px 40px 15px;
                width: 100%;
                min-height: auto; /* Allow content to dictate height on very small screens */
            }
            .hero-info h1 {
                font-size: 26px;
                width: 100%;
                text-align: center;
            }
            .hero-info p {
                font-size: 16px;
                margin-bottom: 30px;
                width: 100%;
                text-align: center;
            }
            .hero-actions {
                flex-direction: column;
                align-items: center;
                gap: 12px;
                width: 100%;
            }
            .btn-primary, .btn-secondary {
                width: 100% !important;
                justify-content: center;
                padding: 14px 20px;
                display: flex;
            }
            .stats, .steps-section, .director-section, .cases-section, .contact-section, .info-section, .faq-section, .blog-section {
                padding: 40px 15px;
                width: 100%;
                max-width: 100%;
            }
            .stats-grid, .steps-grid, .cases-grid, .info-grid, .blog-grid {
                grid-template-columns: 1fr;
                gap: 15px;
                width: 100%;
            }
            .stat-card {
                width: 100%;
                padding: 20px;
            }
            .calc-card {
                padding: 25px 15px;
                width: 100%;
            }
            .modal-card {
                width: calc(100% - 30px);
                margin: 0 15px;
                padding: 25px 15px;
            }
            .section-title {
                font-size: 28px;
                text-align: center;
            }
            .section-subtitle {
                font-size: 15px;
                margin-bottom: 30px;
                text-align: center;
            }
        }
