/* ============================================
   KodLog — Полный редизайн в стиле КодЛог Скан
   Тёмная тема, градиенты, SVG иконки, инфографика
   ============================================ */

/* === Переопределение Hero секции === */
.hero {
    background: linear-gradient(135deg, #0f0c29 0%, #1a1a4e 40%, #24243e 100%) !important;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
}

.hero .hero-background {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 0;
}

.hero .hero-background .gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.15;
}

.hero .gradient-orb.orb-1 {
    width: 600px; height: 600px;
    background: #667eea;
    top: -200px; left: -100px;
    animation: orbFloat1 20s ease-in-out infinite;
}

.hero .gradient-orb.orb-2 {
    width: 500px; height: 500px;
    background: #764ba2;
    bottom: -150px; right: -100px;
    animation: orbFloat2 25s ease-in-out infinite;
}

.hero .gradient-orb.orb-3 {
    width: 400px; height: 400px;
    background: #f093fb;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    animation: orbFloat3 18s ease-in-out infinite;
}

@keyframes orbFloat1 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(30px, 40px); }
}
@keyframes orbFloat2 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-40px, -30px); }
}
@keyframes orbFloat3 {
    0%, 100% { transform: translate(-50%, -50%) scale(1); }
    50% { transform: translate(-50%, -50%) scale(1.1); }
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0.5rem 1.25rem;
    background: rgba(102, 126, 234, 0.15) !important;
    border: 1px solid rgba(102, 126, 234, 0.3) !important;
    border-radius: 50px !important;
    font-size: 0.85rem;
    font-weight: 600;
    color: #a5b4fc !important;
    position: relative;
}

.hero-badge::before {
    content: '';
    width: 8px;
    height: 8px;
    background: #667eea;
    border-radius: 50%;
    animation: scannerDotPulse 2s ease-in-out infinite;
}

.hero-title {
    color: white !important;
}

.hero-title .gradient-text {
    background: linear-gradient(135deg, #667eea 0%, #a78bfa 50%, #f093fb 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
}

.hero-subtitle {
    color: rgba(255, 255, 255, 0.7) !important;
}

.hero-stats .stat-item {
    border-color: rgba(255, 255, 255, 0.1) !important;
}

.hero-stats .stat-number {
    background: linear-gradient(135deg, #667eea, #a78bfa) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
}

.hero-stats .stat-label {
    color: rgba(255, 255, 255, 0.6) !important;
}

/* Hero Devices — новый стиль */
.device-desktop {
    background: linear-gradient(145deg, #2d3748, #1a202c) !important;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5), 0 0 40px rgba(102, 126, 234, 0.15) !important;
}

.device-desktop .screen-header {
    background: #111827 !important;
}

.device-desktop .screen-content {
    background: #0f172a !important;
}

.admin-sidebar {
    background: linear-gradient(180deg, #1e1b4b, #312e81) !important;
}

.admin-row {
    background: rgba(102, 126, 234, 0.15) !important;
}

.device-phone {
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 30px rgba(167, 139, 250, 0.1) !important;
}

.phone-frame {
    background: linear-gradient(145deg, #2d3748, #1a202c) !important;
}

.phone-screen {
    background: #111827 !important;
}

.app-header {
    background: linear-gradient(135deg, #667eea, #764ba2) !important;
}

.app-scanner {
    border-color: rgba(102, 126, 234, 0.5) !important;
    background: rgba(102, 126, 234, 0.05) !important;
}

.app-button {
    background: var(--primary-gradient) !important;
}

/* === Секция Problems — тёмная тема === */
.problems {
    background: linear-gradient(135deg, #0f0c29 0%, #1a1a4e 40%, #24243e 100%) !important;
    color: white;
    position: relative;
    overflow: hidden;
}

.problems::before {
    content: '';
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: radial-gradient(circle at 70% 30%, rgba(248, 113, 113, 0.06) 0%, transparent 50%),
                radial-gradient(circle at 30% 70%, rgba(102, 126, 234, 0.06) 0%, transparent 50%);
}

.problems .container {
    position: relative;
    z-index: 1;
}

.problems .section-title {
    color: white !important;
}

.problems .section-subtitle {
    color: rgba(255, 255, 255, 0.6) !important;
}

.problem-card {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.problem-card:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    border-color: rgba(248, 113, 113, 0.3) !important;
    transform: translateY(-5px);
}

.problem-card h3 {
    color: white !important;
}

.problem-card p {
    color: rgba(255, 255, 255, 0.6) !important;
}

.problem-icon {
    width: 56px !important;
    height: 56px !important;
    border-radius: 16px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 1.5rem !important;
    margin-bottom: 1rem !important;
}

/* === Секция Solution — тёмная тема === */
.solution {
    background: #0d0b21 !important;
    color: white;
    position: relative;
    overflow: hidden;
}

.solution::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(102, 126, 234, 0.08) 0%, transparent 60%);
}

.solution .container {
    position: relative;
    z-index: 1;
}

.solution .section-title {
    color: white !important;
}

.solution-description {
    color: rgba(255, 255, 255, 0.7) !important;
}

.solution-point .point-icon {
    width: 36px;
    height: 36px;
    background: var(--primary-gradient);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.solution-point .point-text strong {
    color: white !important;
}

.solution-point .point-text span {
    color: rgba(255, 255, 255, 0.6) !important;
}

/* Old diagram styles removed — replaced by .solution-modules grid */

/* === Секция Features — тёмная тема === */
.features {
    background: linear-gradient(180deg, #0d0b21 0%, #131136 50%, #0f0c29 100%) !important;
    color: white;
}

.features .section-title {
    color: white !important;
}

.features .section-subtitle {
    color: rgba(255, 255, 255, 0.6) !important;
}

.features-block-header h3 {
    color: white !important;
}

.features-block-header p {
    color: rgba(255, 255, 255, 0.6) !important;
}

.features-block-header .block-icon {
    background: rgba(102, 126, 234, 0.15) !important;
    border: 1px solid rgba(102, 126, 234, 0.3) !important;
}

.feature-card {
    background: rgba(255, 255, 255, 0.04) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--primary-gradient);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover {
    background: rgba(255, 255, 255, 0.08) !important;
    border-color: rgba(102, 126, 234, 0.3) !important;
    transform: translateY(-5px);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card h4 {
    color: white !important;
}

.feature-card p {
    color: rgba(255, 255, 255, 0.6) !important;
}

.feature-icon {
    background: rgba(102, 126, 234, 0.15) !important;
    border: none !important;
}

.feature-icon svg {
    stroke: #a5b4fc !important;
}

.feature-icon.green {
    background: rgba(74, 222, 128, 0.15) !important;
}

.feature-icon.green svg {
    stroke: #4ade80 !important;
}

/* === How It Works — тёмная тема === */
.how-it-works {
    background: linear-gradient(135deg, #0f0c29 0%, #1a1a4e 40%, #24243e 100%) !important;
    color: white;
    position: relative;
    overflow: hidden;
}

.how-it-works::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(circle at 50% 0%, rgba(102, 126, 234, 0.1) 0%, transparent 50%);
}

.how-it-works .container {
    position: relative;
    z-index: 1;
}

.how-it-works .section-title {
    color: white !important;
}

.how-it-works .section-subtitle {
    color: rgba(255, 255, 255, 0.6) !important;
}

.step-number {
    background: var(--primary-gradient) !important;
    color: white !important;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4) !important;
    border: 4px solid #1a1a4e !important;
}

.step-content h3 {
    color: white !important;
    font-size: 1.1rem !important;
}

.step-content p {
    color: rgba(255, 255, 255, 0.6) !important;
    font-size: 0.8rem !important;
}

.timeline-connector {
    background: linear-gradient(90deg, rgba(102, 126, 234, 0.3), rgba(167, 139, 250, 0.3)) !important;
}

/* === Screenshots — тёмная тема === */
.screenshots {
    background: #0d0b21 !important;
    color: white;
}

.screenshots .section-title {
    color: white !important;
}

.screenshots .section-subtitle {
    color: rgba(255, 255, 255, 0.6) !important;
}

.screenshot-label {
    color: rgba(255, 255, 255, 0.8) !important;
}

.carousel-btn {
    background: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    color: white !important;
}

.carousel-btn:hover {
    background: rgba(255, 255, 255, 0.2) !important;
}

.carousel-btn svg {
    stroke: white !important;
}

/* === Benefits — тёмная тема === */
.benefits {
    background: linear-gradient(135deg, #0f0c29 0%, #131136 50%, #24243e 100%) !important;
    color: white;
    position: relative;
    overflow: hidden;
}

.benefits .section-title {
    color: white !important;
}

.benefits .section-subtitle {
    color: rgba(255, 255, 255, 0.6) !important;
}

.benefit-card {
    background: rgba(255, 255, 255, 0.04) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    backdrop-filter: blur(10px);
}

.benefit-card:hover {
    background: rgba(255, 255, 255, 0.08) !important;
    border-color: rgba(102, 126, 234, 0.3) !important;
    transform: translateY(-5px);
}

.benefit-card h3 {
    color: white !important;
}

.benefit-card p {
    color: rgba(255, 255, 255, 0.6) !important;
}

.benefit-icon {
    width: 56px !important;
    height: 56px !important;
    background: rgba(102, 126, 234, 0.15) !important;
    border-radius: 16px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 1.5rem !important;
    margin: 0 auto 1rem !important;
}

/* === Audience — тёмная тема === */
.audience {
    background: #0d0b21 !important;
    color: white;
}

.audience .section-title {
    color: white !important;
}

.audience .section-subtitle {
    color: rgba(255, 255, 255, 0.6) !important;
}

.audience-card {
    background: rgba(255, 255, 255, 0.04) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.audience-card:hover {
    background: rgba(255, 255, 255, 0.08) !important;
    border-color: rgba(102, 126, 234, 0.3) !important;
    transform: translateY(-5px);
}

.audience-card h3 {
    color: white !important;
}

.audience-card p {
    color: rgba(255, 255, 255, 0.6) !important;
}

.audience-icon {
    width: 64px !important;
    height: 64px !important;
    background: rgba(102, 126, 234, 0.15) !important;
    border-radius: 18px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 1.75rem !important;
    margin-bottom: 1.25rem !important;
}

/* === Security — тёмная тема === */
.security {
    background: linear-gradient(135deg, #0f0c29 0%, #1a1a4e 40%, #24243e 100%) !important;
    color: white;
    position: relative;
    overflow: hidden;
}

.security::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(circle at 80% 50%, rgba(74, 222, 128, 0.06) 0%, transparent 50%);
}

.security .container {
    position: relative;
    z-index: 1;
}

.security .section-title {
    color: white !important;
}

.security .section-subtitle {
    color: rgba(255, 255, 255, 0.6) !important;
}

.security-item {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 1rem 1.25rem;
    margin-bottom: 0.75rem;
    transition: all 0.3s ease;
}

.security-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(74, 222, 128, 0.3);
}

.security-icon {
    width: 44px !important;
    height: 44px !important;
    background: rgba(74, 222, 128, 0.15) !important;
    border-radius: 12px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 1.25rem !important;
}

.security-info h4 {
    color: white !important;
}

.security-info p {
    color: rgba(255, 255, 255, 0.6) !important;
}

.security-badge-large {
    background: rgba(255, 255, 255, 0.04) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    color: white !important;
}

.security-badge-large svg {
    stroke: #4ade80 !important;
}

.security-badge-large span {
    color: #4ade80 !important;
}

/* === Integrations — тёмная тема === */
.integrations {
    background: #0d0b21 !important;
    color: white;
}

.integrations .section-title {
    color: white !important;
}

.integrations .section-subtitle {
    color: rgba(255, 255, 255, 0.6) !important;
}

.integration-card {
    background: rgba(255, 255, 255, 0.04) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.integration-card:hover {
    background: rgba(255, 255, 255, 0.08) !important;
    border-color: rgba(102, 126, 234, 0.3) !important;
    transform: translateY(-5px);
}

.integration-card span {
    color: rgba(255, 255, 255, 0.8) !important;
}

.integration-logo {
    color: white !important;
}

/* === Tech Stack — тёмная тема === */
.tech-stack {
    background: linear-gradient(135deg, #0f0c29 0%, #131136 50%, #24243e 100%) !important;
    color: white;
}

.tech-stack .section-title {
    color: white !important;
}

.tech-item {
    background: none !important;
    border: none !important;
}

.tech-item:hover {
    background: none !important;
    border: none !important;
}

.tech-item strong {
    color: white !important;
}

.tech-item span {
    color: rgba(255, 255, 255, 0.6) !important;
}

.tech-icon {
    background: rgba(102, 126, 234, 0.12) !important;
    border-radius: 50% !important;
    border: none !important;
}

.tech-icon svg {
    stroke: #a5b4fc !important;
}

/* === FAQ — тёмная тема === */
.faq {
    background: #0d0b21 !important;
    color: white;
}

.faq .section-title {
    color: white !important;
}

.faq .section-subtitle {
    color: rgba(255, 255, 255, 0.6) !important;
}

.faq-item {
    background: rgba(255, 255, 255, 0.04) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.faq-item:hover {
    border-color: rgba(102, 126, 234, 0.3) !important;
}

.faq-question h3 {
    color: white !important;
}

.faq-question svg {
    stroke: rgba(255, 255, 255, 0.6) !important;
}

.faq-answer p {
    color: rgba(255, 255, 255, 0.6) !important;
}

/* === Contact — тёмная тема === */
.contact {
    background: linear-gradient(135deg, #0f0c29 0%, #1a1a4e 40%, #24243e 100%) !important;
    color: white;
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(102, 126, 234, 0.08) 0%, transparent 50%);
}

.contact .container {
    position: relative;
    z-index: 1;
}

.contact .section-title {
    color: white !important;
}

.contact .section-subtitle {
    color: rgba(255, 255, 255, 0.6) !important;
}

.contact-benefit span {
    color: rgba(255, 255, 255, 0.8) !important;
}

.contact-benefit svg {
    stroke: #4ade80 !important;
}

.contact-form-container {
    background: rgba(255, 255, 255, 0.04) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    box-shadow: none !important;
}

.contact-form {
    background: transparent !important;
    border: none !important;
}

.contact-form label {
    color: rgba(255, 255, 255, 0.7) !important;
    font-size: 0.85rem !important;
}

.contact-form input,
.contact-form textarea {
    background: rgba(255, 255, 255, 0.06) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    color: white !important;
    border-radius: 12px !important;
    padding: 0.9rem 1rem !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 0.9rem !important;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.3) !important;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: rgba(102, 126, 234, 0.5) !important;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.15) !important;
    outline: none !important;
}

.contact-form .btn-block {
    width: 100% !important;
    background: var(--primary-gradient) !important;
    border: none !important;
    border-radius: 12px !important;
    padding: 1rem !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    color: white !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.5rem !important;
    transition: all 0.3s !important;
}

.contact-form .btn-block:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4) !important;
}

.contact-form .form-note {
    color: rgba(255, 255, 255, 0.35) !important;
    font-size: 0.8rem !important;
    text-align: center !important;
    margin-top: 1rem !important;
}

.contact-form .form-note a {
    color: #a5b4fc !important;
}

.form-note {
    color: rgba(255, 255, 255, 0.5) !important;
}

.form-note a {
    color: #a5b4fc !important;
}

/* === Navbar — тёмная тема === */
.navbar {
    background: rgba(15, 12, 41, 0.85) !important;
    backdrop-filter: blur(20px) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
}

.navbar.scrolled {
    background: rgba(15, 12, 41, 0.95) !important;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3) !important;
}

.logo span {
    color: white !important;
}

.nav-menu a {
    color: rgba(255, 255, 255, 0.75) !important;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: white !important;
}

.btn-nav {
    background: var(--primary-gradient) !important;
    color: white !important;
    border: none !important;
}

.hamburger span {
    background: white !important;
}

/* === Footer — тёмная тема === */
footer {
    background: #080620 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

/* === Pricing (hidden) — тёмная тема === */
.pricing {
    background: linear-gradient(135deg, #0f0c29 0%, #1a1a4e 40%, #24243e 100%) !important;
    color: white;
}

.pricing .section-title {
    color: white !important;
}

.pricing .section-subtitle {
    color: rgba(255, 255, 255, 0.6) !important;
}

.pricing-card {
    background: rgba(255, 255, 255, 0.04) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    color: white !important;
}

.pricing-card.featured {
    border-color: rgba(102, 126, 234, 0.5) !important;
    background: rgba(102, 126, 234, 0.08) !important;
}

.pricing-card h3,
.pricing-card .price-amount {
    color: white !important;
}

.pricing-card .pricing-desc {
    color: rgba(255, 255, 255, 0.6) !important;
}

.pricing-features li {
    color: rgba(255, 255, 255, 0.75) !important;
}

.pricing-features li svg {
    stroke: #4ade80 !important;
}

.pricing-trial {
    color: rgba(255, 255, 255, 0.8) !important;
}

/* === Общие стили для page-header на подстраницах === */
.page-header-dark {
    padding: 140px 0 80px;
    background: linear-gradient(135deg, #0f0c29 0%, #1a1a4e 40%, #24243e 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.page-header-dark::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(102, 126, 234, 0.12) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(167, 139, 250, 0.08) 0%, transparent 50%);
}

.page-header-dark .container {
    position: relative;
    z-index: 1;
}

.page-header-dark h1 {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 1rem;
    line-height: 1.15;
}

.page-header-dark h1 .gradient-text-accent {
    background: linear-gradient(135deg, #667eea 0%, #a78bfa 50%, #f093fb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-header-dark p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 700px;
    line-height: 1.7;
}

.page-header-dark .header-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0.5rem 1.25rem;
    background: rgba(102, 126, 234, 0.15);
    border: 1px solid rgba(102, 126, 234, 0.3);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #a5b4fc;
    margin-bottom: 1.5rem;
}

.page-header-dark .header-badge::before {
    content: '';
    width: 8px;
    height: 8px;
    background: #667eea;
    border-radius: 50%;
    animation: scannerDotPulse 2s ease-in-out infinite;
}

/* === Тёмные секции для подстраниц === */
.dark-section {
    background: linear-gradient(135deg, #0f0c29 0%, #1a1a4e 40%, #24243e 100%);
    color: white;
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.dark-section-alt {
    background: #0d0b21;
    color: white;
    padding: 5rem 0;
}

.dark-section .section-title,
.dark-section-alt .section-title {
    color: white;
}

.dark-section .section-subtitle,
.dark-section-alt .section-subtitle {
    color: rgba(255, 255, 255, 0.6);
}

/* Карточки в тёмной теме */
.dark-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 2.25rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.dark-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--primary-gradient);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.dark-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(102, 126, 234, 0.3);
    transform: translateY(-5px);
}

.dark-card:hover::before {
    opacity: 1;
}

.dark-card h3, .dark-card h4 {
    color: white;
}

.dark-card p {
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.7;
}

/* Иконки в тёмной теме */
.dark-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    flex-shrink: 0;
}

.dark-icon.icon-purple { background: rgba(102, 126, 234, 0.15); }
.dark-icon.icon-green { background: rgba(74, 222, 128, 0.15); }
.dark-icon.icon-blue { background: rgba(79, 172, 254, 0.15); }
.dark-icon.icon-orange { background: rgba(251, 146, 60, 0.15); }
.dark-icon.icon-red { background: rgba(248, 113, 113, 0.15); }
.dark-icon.icon-teal { background: rgba(45, 212, 191, 0.15); }
.dark-icon.icon-pink { background: rgba(240, 147, 251, 0.15); }

.dark-icon svg {
    width: 28px;
    height: 28px;
}

.dark-icon.icon-purple svg { stroke: #a5b4fc; }
.dark-icon.icon-green svg { stroke: #4ade80; }
.dark-icon.icon-blue svg { stroke: #67e8f9; }
.dark-icon.icon-orange svg { stroke: #fb923c; }
.dark-icon.icon-red svg { stroke: #f87171; }
.dark-icon.icon-teal svg { stroke: #2dd4bf; }
.dark-icon.icon-pink svg { stroke: #f0abfc; }

/* Статистика в стиле сканера */
.stats-row-dark {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin: 3rem 0;
}

.stat-card-dark {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.stat-card-dark:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-5px);
}

.stat-card-dark .stat-value {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #667eea, #a78bfa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.25rem;
}

.stat-card-dark .stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
}

/* CTA секция в тёмном стиле */
.cta-dark {
    padding: 5rem 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-dark::before {
    content: '';
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: radial-gradient(circle at 30% 50%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
}

.cta-dark .container {
    position: relative;
    z-index: 1;
}

.cta-dark h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.cta-dark p {
    font-size: 1.15rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.btn-cta-white {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2.5rem;
    background: white;
    color: #667eea;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-cta-white:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* Грид для модулей */
.modules-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.modules-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

/* Таблица в тёмной теме */
.dark-table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    overflow: hidden;
}

.dark-table thead {
    background: var(--primary-gradient);
}

.dark-table th {
    padding: 1.25rem 2rem;
    text-align: left;
    font-weight: 700;
    font-size: 0.95rem;
    color: white;
}

.dark-table td {
    padding: 1rem 2rem;
    font-size: 0.95rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.75);
}

.dark-table td:first-child {
    font-weight: 600;
    color: white;
}

.dark-table tbody tr {
    transition: background 0.2s ease;
}

.dark-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.04);
}

.dark-table tbody tr:last-child td {
    border-bottom: none;
}

/* Бейджи / теги */
.tag-dark {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0.4rem 1rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50px;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

/* Пайплайн / шаги */
.pipeline-dark {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    position: relative;
}

.pipeline-step-dark {
    text-align: center;
    position: relative;
}

.pipeline-num {
    width: 56px;
    height: 56px;
    background: var(--primary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    color: white;
    font-weight: 800;
    font-size: 1.25rem;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.pipeline-step-dark h4 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: white;
}

.pipeline-step-dark p {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
}

/* Мобильная адаптивность для новых элементов */
@media (max-width: 968px) {
    .modules-grid {
        grid-template-columns: 1fr;
    }
    
    .modules-grid-2 {
        grid-template-columns: 1fr;
    }
    
    .stats-row-dark {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .page-header-dark h1 {
        font-size: 2.25rem;
    }
    
    .cta-dark h2 {
        font-size: 2rem;
    }
    
    .nav-menu {
        background: #0f0c29 !important;
    }
    
    .nav-menu a {
        color: rgba(255, 255, 255, 0.8) !important;
    }
    
    .dark-table th,
    .dark-table td {
        padding: 0.75rem 1rem;
        font-size: 0.85rem;
    }
}

@media (max-width: 640px) {
    .stats-row-dark {
        grid-template-columns: 1fr;
    }
    
    .page-header-dark {
        padding: 120px 0 60px;
    }
    
    .page-header-dark h1 {
        font-size: 1.85rem;
    }
    
    .pipeline-dark {
        grid-template-columns: 1fr;
    }
}
