/* ============================================
   Site Styles - Технологии и Решения
   New Design System with Accent Colors
   ============================================ */

/* ============================================
   CSS Custom Properties
   ============================================ */
:root {
    --color-primary: #1e3a5f;
    --color-primary-dark: #152a45;
    --color-primary-light: #2d5a8a;
    --color-accent: #0ea5e9;
    --color-accent-hover: #0284c7;
    --color-accent-light: #e0f2fe;
    --color-text: #1f2937;
    --color-text-muted: #6b7280;
    --color-text-light: #9ca3af;
    --color-bg-light: #f8fafc;
    --color-bg-alt: #f1f5f9;
    --color-border: #e5e7eb;
    --color-border-light: #f3f4f6;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
}

body {
    color: var(--color-text);
}

/* ============================================
   Hero Section - Improved with decorative elements
   ============================================ */
.hero-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 50%, #3b82f6 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(14,165,233,0.15) 0%, transparent 70%);
    pointer-events: none;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(59,130,246,0.2) 0%, transparent 70%);
    pointer-events: none;
}

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

.hero-section h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.hero-section .lead {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
    opacity: 0.95;
}

.hero-section .btn-primary,
.hero-section .btn-lg {
    background-color: var(--color-accent) !important;
    border-color: var(--color-accent) !important;
    color: white !important;
    font-weight: 600;
    padding: 14px 32px;
    font-size: 1.1rem;
    border-radius: var(--radius-md);
    box-shadow: 0 4px 14px rgba(14,165,233,0.4);
    transition: all 0.3s ease;
}

.hero-section .btn-primary:hover,
.hero-section .btn-lg:hover {
    background-color: var(--color-accent-hover) !important;
    border-color: var(--color-accent-hover) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(14,165,233,0.5);
}

/* Hero Bullets */
.hero-bullets {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem 2rem;
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-bullets li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.1rem;
    color: rgba(255,255,255,0.95);
}

.hero-bullets li i {
    color: var(--color-accent);
    font-size: 1.2rem;
}

/* Hero CTA Wrapper */
.hero-cta-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.hero-section .btn-outline-light {
    border: 2px solid rgba(255,255,255,0.8);
    color: white;
    background: transparent;
    font-weight: 600;
    padding: 12px 28px;
    font-size: 1.05rem;
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
}

.hero-section .btn-outline-light:hover {
    background: rgba(255,255,255,0.15);
    border-color: white;
    transform: translateY(-2px);
}

/* Hero Trust Badge */
.hero-trust-badge {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.7);
    margin-top: 1rem;
    margin-bottom: 0;
}

.hero-trust-badge i {
    color: var(--color-accent);
    margin-right: 0.25rem;
}

/* ============================================
   Stats Section - Dark gradient background
   ============================================ */
.stats-section {
    padding: 70px 0;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    color: white;
}

.stat-item {
    padding: 20px;
    text-align: center;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.5rem;
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.8);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

/* Stats Context */
.stats-context {
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.15);
}

.stats-context p {
    color: rgba(255,255,255,0.7);
    font-size: 1rem;
    font-style: italic;
}

/* ============================================
   Process Section - How We Work
   ============================================ */
.process-section {
    background: var(--color-bg-light);
}

.process-section h2 {
    color: var(--color-primary);
}

.process-steps {
    position: relative;
}

.process-step {
    background: white;
    border-radius: var(--radius-lg);
    padding: 2rem 1.5rem;
    height: 100%;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    position: relative;
    text-align: center;
}

.process-step:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
}

.process-step-number {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--color-accent) 0%, #3b82f6 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1.25rem;
    box-shadow: 0 4px 14px rgba(14,165,233,0.35);
}

.process-step-title {
    color: var(--color-primary);
    font-weight: 600;
    font-size: 1.15rem;
    margin-bottom: 0.75rem;
}

.process-step-desc {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0;
}

@media (max-width: 991px) {
    .process-step {
        padding: 1.5rem 1.25rem;
    }

    .process-step-number {
        width: 48px;
        height: 48px;
        font-size: 1.25rem;
    }
}

/* ============================================
   CTA Section - Bright accent gradient
   ============================================ */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--color-accent) 0%, #3b82f6 100%);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    pointer-events: none;
}

.cta-section h2 {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
}

.cta-section .lead {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    color: rgba(255,255,255,0.95) !important;
}

.cta-section .btn-primary {
    background-color: white !important;
    color: var(--color-primary) !important;
    border-color: white !important;
    font-weight: 600;
    padding: 14px 32px;
    font-size: 1.05rem;
    border-radius: var(--radius-md);
    box-shadow: 0 4px 14px rgba(0,0,0,0.15);
}

.cta-section .btn-primary:hover {
    background-color: var(--color-bg-light) !important;
    border-color: var(--color-bg-light) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

/* bg-primary sections (CTA in other templates) */
.bg-primary.text-white {
    background: linear-gradient(135deg, var(--color-accent) 0%, #3b82f6 100%) !important;
}

.bg-primary.text-white .btn-light {
    background-color: white;
    color: var(--color-primary);
    font-weight: 600;
    padding: 12px 28px;
    border-radius: var(--radius-md);
    box-shadow: 0 4px 14px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
}

.bg-primary.text-white .btn-light:hover {
    background-color: var(--color-bg-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

/* ============================================
   Feature/Service Cards
   ============================================ */
.feature-card,
.service-card {
    transition: all 0.3s ease;
    height: 100%;
    border: none;
    box-shadow: var(--shadow-md);
    border-radius: var(--radius-lg);
    background: white;
    overflow: hidden;
}

.feature-card:hover,
.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.feature-card .card-title,
.service-card .card-title {
    color: var(--color-primary);
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
}

.feature-card .card-text,
.service-card .card-text {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

.service-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--color-accent-light) 0%, #dbeafe 100%);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.service-icon i {
    font-size: 28px;
    color: var(--color-primary);
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    background: linear-gradient(135deg, var(--color-accent) 0%, #3b82f6 100%);
}

.service-card:hover .service-icon i {
    color: white;
}

/* Service Card Badges */
.service-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.service-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 4px 10px;
    background: var(--color-bg-alt);
    color: var(--color-text-muted);
    font-size: 0.75rem;
    font-weight: 500;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.service-badge i {
    font-size: 0.7rem;
    color: var(--color-accent);
}

.service-card:hover .service-badge {
    background: var(--color-accent-light);
    color: var(--color-primary);
}

/* Service Card Link Improvement */
.service-card .card-body .text-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    transition: all 0.2s ease;
}

.service-card:hover .card-body .text-primary {
    gap: 0.5rem;
}

.service-icon-large {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--color-accent) 0%, #3b82f6 100%);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(14,165,233,0.3);
}

.service-icon-large i {
    font-size: 36px;
    color: white;
}

.service-sidebar {
    position: sticky;
    top: 100px;
}

.service-sidebar .card {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: none;
}

.service-content h3 {
    color: var(--color-primary);
    font-weight: 600;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.service-content ul { padding-left: 1.5rem; }
.service-content li { margin-bottom: 0.5rem; }

/* ============================================
   Clients Section
   ============================================ */
.clients-section {
    padding: 60px 0;
    background: white;
}

.clients-section h2 {
    color: var(--color-text-muted);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
}

.client-logo {
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 80px;
}

.client-name {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-text-muted);
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.client-logo:hover .client-name {
    opacity: 1;
}

/* ============================================
   Case Preview Cards
   ============================================ */
.case-preview-card {
    transition: all 0.3s ease;
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-sm);
    border-radius: var(--radius-lg);
    background: white;
    position: relative;
    overflow: hidden;
}

.case-preview-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--color-accent) 0%, #3b82f6 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.case-preview-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.case-preview-card:hover::before {
    opacity: 1;
}

.case-preview-card .card-title {
    color: var(--color-primary);
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.case-preview-card a {
    color: var(--color-accent);
    text-decoration: none;
    font-weight: 500;
}

.case-preview-card a:hover {
    color: var(--color-accent-hover);
}

/* ============================================
   Game Cards
   ============================================ */
.game-card {
    transition: all 0.3s ease;
    border: none;
    box-shadow: var(--shadow-md);
    border-radius: var(--radius-lg);
    background: white;
    overflow: hidden;
}

.game-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.game-card .card-title {
    color: var(--color-primary);
    font-weight: 600;
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.game-card-image {
    overflow: hidden;
    border-radius: 8px 8px 0 0;
}

.game-card-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.game-card:hover .game-card-image img {
    transform: scale(1.05);
}

.game-card-format { margin-bottom: 0.5rem; }

.game-card-format .badge {
    background: linear-gradient(135deg, var(--color-accent) 0%, #3b82f6 100%) !important;
    font-weight: 500;
    padding: 6px 12px;
    border-radius: 6px;
}

.game-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.game-meta-item {
    display: inline-flex;
    align-items: center;
    color: var(--color-text-muted);
    font-size: 0.875rem;
}

.game-meta-item svg {
    color: var(--color-accent);
}

.game-sidebar {
    position: sticky;
    top: 100px;
}

.game-meta-block,
.game-price-block {
    background: white;
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-md);
}

.game-meta-block h5,
.game-price-block h5 {
    color: var(--color-primary);
    font-weight: 600;
    border-bottom: 2px solid var(--color-accent);
    padding-bottom: 0.5rem;
}

.game-meta-row {
    display: flex;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--color-border-light);
}

.game-meta-row:last-child { border-bottom: none; }

.game-meta-icon {
    color: var(--color-accent);
    margin-right: 0.75rem;
    flex-shrink: 0;
}

.game-meta-label {
    color: var(--color-text-muted);
    font-size: 0.875rem;
    flex-grow: 1;
}

.game-meta-value {
    color: var(--color-text);
    font-weight: 500;
}

.game-price-item {
    padding: 1rem 0;
    border-bottom: 1px solid var(--color-border-light);
}

.game-price-item:last-child { border-bottom: none; }

.game-price-title {
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 0.25rem;
}

.game-price-desc {
    font-size: 0.8rem;
    color: var(--color-text-light);
    margin-bottom: 0.5rem;
}

.game-price-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-accent);
}

.related-games-section {
    background: var(--color-bg-light);
}

.related-games-section h2 {
    color: var(--color-primary);
    font-weight: 700;
}

/* ============================================
   FAQ Section
   ============================================ */
.faq-section {
    padding: 80px 0;
    background: white;
}

.faq-section .faq-header {
    text-align: center;
    margin-bottom: 3rem;
}

.faq-section .faq-header h2 {
    color: var(--color-primary);
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.faq-section .faq-header p {
    color: var(--color-text-muted);
    font-size: 1.1rem;
}

.accordion-item {
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md) !important;
    margin-bottom: 0.75rem;
    overflow: hidden;
    transition: all 0.2s ease;
}

.accordion-item:hover {
    border-color: var(--color-accent-light);
}

.accordion-button {
    font-weight: 500;
    color: var(--color-text);
    background-color: white;
    padding: 1.25rem;
}

.accordion-button:not(.collapsed) {
    background-color: var(--color-accent-light);
    color: var(--color-primary);
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: transparent;
}

.accordion-body {
    color: var(--color-text-muted);
    line-height: 1.7;
    padding: 1.25rem;
    background: white;
}

/* ============================================
   Footer - Unified with site colors
   ============================================ */
.site-footer {
    background: linear-gradient(180deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    color: white;
    padding-top: 60px;
    padding-bottom: 30px;
}

.site-footer h5 {
    color: white;
    font-weight: 600;
    margin-bottom: 1.25rem;
}

.site-footer p,
.site-footer a {
    color: rgba(255,255,255,0.8);
}

.site-footer a:hover {
    color: white;
}

.site-footer .text-muted {
    color: rgba(255,255,255,0.6) !important;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li { margin-bottom: 0.5rem; }

.footer-links a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: color 0.15s ease;
}

.footer-links a:hover { color: white; }

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 0.75rem;
}

.footer-contact-item i {
    color: var(--color-accent);
    margin-right: 0.75rem;
    margin-top: 0.25rem;
}

/* ============================================
   Global Button Overrides
   ============================================ */
.btn-primary {
    background-color: var(--color-accent);
    border-color: var(--color-accent);
    font-weight: 500;
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: var(--color-accent-hover);
    border-color: var(--color-accent-hover);
}

.btn-outline-primary {
    color: var(--color-accent);
    border-color: var(--color-accent);
}

.btn-outline-primary:hover {
    background-color: var(--color-accent);
    border-color: var(--color-accent);
    color: white;
}

/* ============================================
   Cards - Generic improvements
   ============================================ */
.card.h-100 {
    transition: all 0.3s ease;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.card.h-100:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.card.h-100 .card-title a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color 0.15s ease;
}

.card.h-100 .card-title a:hover {
    color: var(--color-accent);
}

/* ============================================
   Page Header (index pages with bg-light)
   ============================================ */
.bg-light.py-5 h1 {
    color: var(--color-primary);
}

.bg-light.py-5 .lead {
    color: var(--color-text-muted);
}

/* ============================================
   Navbar
   ============================================ */
.navbar {
    box-shadow: var(--shadow-sm);
}

.navbar-brand {
    font-weight: 600;
    color: var(--color-primary) !important;
}

.nav-link {
    font-weight: 500;
    transition: color 0.15s ease;
}

.nav-link:hover {
    color: var(--color-accent) !important;
}

.nav-link.active {
    color: var(--color-accent) !important;
    font-weight: 600;
}

/* Navbar scroll shadow */
.navbar.scrolled {
    box-shadow: var(--shadow-md);
}

/* ============================================
   Breadcrumbs
   ============================================ */
.breadcrumb-item a {
    color: var(--color-accent);
    text-decoration: none;
}

.breadcrumb-item a:hover {
    color: var(--color-accent-hover);
}

/* ============================================
   Utilities
   ============================================ */
.section-padding { padding: 80px 0; }
.section-padding-sm { padding: 60px 0; }
.section-padding-lg { padding: 100px 0; }

.text-accent { color: var(--color-accent) !important; }

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 768px) {
    .hero-section { padding: 70px 0; }
    .hero-section h1 { font-size: 2rem; }
    .hero-section .lead { font-size: 1rem; }
    .hero-bullets { flex-direction: column; gap: 0.75rem; }
    .hero-bullets li { font-size: 1rem; justify-content: center; }
    .hero-cta-wrapper { flex-direction: column; gap: 0.75rem; }
    .hero-cta-wrapper .btn { width: 100%; }
    .cta-section h2 { font-size: 1.75rem; }
    .section-padding { padding: 60px 0; }
    .stat-number { font-size: 2.5rem; }
    .faq-section { padding: 60px 0; }
}

@media (max-width: 991px) {
    .game-sidebar,
    .service-sidebar {
        position: static;
        margin-top: 2rem;
    }
}

/* ============================================
   Game Page Content Sections
   ============================================ */
.game-content h3 {
    color: var(--color-primary);
    font-weight: 700;
    font-size: 1.5rem;
    margin-top: 2.5rem;
    margin-bottom: 1.25rem;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid var(--color-accent);
    display: inline-block;
}

.game-content h3:first-child {
    margin-top: 0;
}

.game-content p {
    color: var(--color-text);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.game-content .lead {
    font-size: 1.15rem;
    color: var(--color-text-muted);
}

/* Feature cards in game context - more compact */
.game-content .feature-card {
    border-left: 4px solid var(--color-accent);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.game-content .feature-card .card-body {
    padding: 1.25rem;
}

.game-content .feature-card .card-title {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: var(--color-primary);
}

.game-content .feature-card .card-text {
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Competency section with different accent */
.competency-section .feature-card {
    border-left-color: #10b981;
}

.competency-section .feature-card .card-title {
    color: #047857;
}

/* Game sidebar improvements */
.game-sidebar-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.game-sidebar-image img {
    border-radius: var(--radius-lg);
}

/* Video embed in game page */
.game-video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    overflow: hidden;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    margin: 2rem 0;
}

.game-video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Task/Competency icon numbers */
.feature-card-numbered {
    position: relative;
    padding-left: 1rem;
}

.feature-card-numbered::before {
    content: counter(feature-counter);
    counter-increment: feature-counter;
    position: absolute;
    left: -1.5rem;
    top: 1.25rem;
    width: 2rem;
    height: 2rem;
    background: linear-gradient(135deg, var(--color-accent) 0%, #3b82f6 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
}

/* Counter reset for feature lists */
.feature-list-numbered {
    counter-reset: feature-counter;
}

/* Games Index Page Hero */
.games-hero {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 50%, #3b82f6 100%);
    padding: 80px 0;
    color: white;
    text-align: center;
}

.games-hero h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.games-hero .lead {
    font-size: 1.15rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* ============================================
   Images with Text Block (Ключевые задачи)
   ============================================ */
.images-with-text-section {
    background: var(--color-bg-light);
}

.images-with-text-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.image-text-item {
    background: white;
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    flex: 1 1 280px;
    max-width: 350px;
    text-align: center;
}

.image-text-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.image-text-row {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.image-text-image {
    flex-shrink: 0;
}

.image-text-image img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border: 4px solid var(--color-accent-light);
}

.image-text-content {
    text-align: center;
}

.image-text-content h4 {
    color: var(--color-primary);
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.image-text-content p {
    color: var(--color-text-muted);
    line-height: 1.6;
    margin: 0;
    font-size: 0.95rem;
}

@media (max-width: 768px) {
    .images-with-text-list {
        flex-direction: column;
        align-items: center;
    }

    .image-text-item {
        max-width: 100%;
    }
}

/* ============================================
   Circle Images Row Block (Развиваемые компетенции)
   ============================================ */
.circle-images-section {
    background: white;
}

.circle-images-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.circle-image-item {
    text-align: center;
    flex: 0 0 auto;
}

.circle-image-item img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border: 3px solid var(--color-accent-light);
    transition: all 0.3s ease;
}

.circle-image-item:hover img {
    transform: scale(1.1);
    border-color: var(--color-accent);
}

.circle-image-caption {
    margin-top: 0.75rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-text);
    max-width: 130px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 768px) {
    .circle-images-row {
        gap: 1.5rem;
    }

    .circle-image-item img {
        width: 100px;
        height: 100px;
    }
}

/* ============================================
   Photo Gallery Block
   ============================================ */
.photo-gallery-section {
    background: var(--color-bg-alt);
}

.photo-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
}

.photo-gallery-item {
    overflow: hidden;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.photo-gallery-item:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
}

.photo-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@media (max-width: 576px) {
    .photo-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ============================================
   Portfolio/Product Cards
   ============================================ */
.product-card {
    transition: all 0.3s ease;
    border: none;
    box-shadow: var(--shadow-md);
    border-radius: var(--radius-lg);
    background: white;
    overflow: hidden;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.product-card .card-title {
    color: var(--color-primary);
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.product-card-image {
    overflow: hidden;
    border-radius: 8px 8px 0 0;
}

.product-card-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover .product-card-image img {
    transform: scale(1.05);
}

.product-card-placeholder {
    height: 180px;
    background: linear-gradient(135deg, var(--color-bg-light) 0%, var(--color-bg-alt) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-light);
}

.product-card-placeholder-sm {
    height: 140px;
    background: linear-gradient(135deg, var(--color-bg-light) 0%, var(--color-bg-alt) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-light);
}

.product-card-category { margin-bottom: 0.5rem; }

.product-card-category .badge {
    background: var(--color-primary) !important;
    font-weight: 500;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
}

.product-card-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
}

/* Technology Tags */
.tech-tag {
    font-size: 0.7rem !important;
    padding: 2px 6px !important;
    border-radius: 3px !important;
    font-weight: 500;
    background: var(--color-bg-alt) !important;
    color: var(--color-text-muted) !important;
    border: 1px solid var(--color-border) !important;
}

.tech-tag-lg {
    font-size: 0.85rem !important;
    padding: 6px 12px !important;
    border-radius: 6px !important;
    font-weight: 500;
    background: var(--color-accent-light) !important;
    color: var(--color-primary) !important;
    border: 1px solid var(--color-accent-light) !important;
}

/* Product Page Content */
.product-content h3 {
    color: var(--color-primary);
    font-weight: 700;
    font-size: 1.5rem;
    margin-top: 2.5rem;
    margin-bottom: 1.25rem;
}

.product-content p {
    color: var(--color-text);
    line-height: 1.8;
    margin-bottom: 1rem;
}

/* Category Filters */
.category-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.category-filter .btn {
    border-radius: 20px;
    padding: 8px 20px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.category-filter .btn:hover {
    transform: translateY(-2px);
}

/* Portfolio Hero */
.portfolio-hero {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 50%, #3b82f6 100%);
    padding: 80px 0;
    color: white;
    text-align: center;
}

.portfolio-hero h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.portfolio-hero .lead {
    font-size: 1.15rem;
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto;
}

/* Related Products Section */
.related-products-section {
    background: var(--color-bg-light);
}

.related-products-section h2 {
    color: var(--color-primary);
    font-weight: 700;
}

@media (max-width: 768px) {
    .product-card-placeholder {
        height: 140px;
    }

    .product-card-tech {
        display: none;
    }
}

/* ============================================
   User Flow Timeline
   ============================================ */
.user-flow-section {
    background: white;
}

.user-flow-section h2 {
    color: var(--color-primary);
    font-weight: 700;
}

.user-flow-timeline {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    overflow-x: auto;
    padding: 1rem 0;
}

.flow-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
    min-width: 140px;
    max-width: 200px;
    position: relative;
}

.flow-step-number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    box-shadow: 0 4px 15px rgba(0, 86, 179, 0.3);
    z-index: 2;
}

.flow-step-number i {
    font-size: 1.4rem;
}

.flow-step-content {
    flex: 1;
}

.flow-step-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
}

.flow-step-desc {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin: 0;
    line-height: 1.4;
}

.flow-step-arrow {
    position: absolute;
    top: 30px;
    right: -30px;
    color: var(--color-primary);
    font-size: 1.5rem;
    opacity: 0.5;
    z-index: 1;
}

@media (max-width: 768px) {
    .user-flow-timeline {
        flex-direction: column;
        align-items: stretch;
    }

    .flow-step {
        flex-direction: row;
        text-align: left;
        max-width: 100%;
        padding: 1rem 0;
        border-bottom: 1px solid var(--color-border);
    }

    .flow-step:last-child {
        border-bottom: none;
    }

    .flow-step-number {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
        margin-bottom: 0;
        margin-right: 1rem;
        flex-shrink: 0;
    }

    .flow-step-arrow {
        display: none;
    }

    .flow-step-content {
        text-align: left;
    }
}

/* ============================================
   User Stories Cards
   ============================================ */
.user-stories-section h2 {
    color: var(--color-primary);
    font-weight: 700;
}

.user-story-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.user-story-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.user-story-persona {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--color-accent-light);
}

.persona-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--color-accent-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    font-size: 1.5rem;
}

.persona-name {
    font-weight: 600;
    color: var(--color-primary);
    font-size: 1.1rem;
}

.user-story-action {
    font-size: 1rem;
    color: var(--color-text);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.user-story-benefit {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--color-text-muted);
    background: var(--color-bg-light);
    padding: 0.75rem;
    border-radius: var(--radius-md);
}

.user-story-benefit i {
    flex-shrink: 0;
    margin-top: 2px;
}

/* ============================================
   Blog Article Styles
   ============================================ */
.blog-article {
    background: white;
}

.blog-article-header {
    padding: 80px 0 50px;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 50%, #3b82f6 100%);
    color: white;
}

.blog-article-date {
    display: inline-block;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.7);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 400;
}

.blog-article-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    color: white;
}

.blog-article-intro {
    font-size: 1.2rem;
    line-height: 1.7;
    color: rgba(255,255,255,0.9);
}

.blog-article-intro p {
    margin-bottom: 0;
    color: inherit;
}

.blog-article-image {
    padding: 40px 0;
    background: var(--color-bg-light);
}

.blog-article-image-wrapper {
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 24px rgba(0,0,0,0.1);
}

.blog-article-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-article-content {
    padding: 60px 0;
}

.blog-article-footer {
    padding: 40px 0 80px;
    border-top: 1px solid var(--color-border);
}

@media (max-width: 768px) {
    .blog-article-header {
        padding: 60px 0 36px;
    }
    .blog-article-title {
        font-size: 1.75rem;
    }
    .blog-article-intro {
        font-size: 1.05rem;
    }
    .blog-article-content {
        padding: 40px 0;
    }
    .blog-article-image {
        padding: 24px 0;
    }
}

/* ============================================
   Article Section Block
   ============================================ */
.article-section {
    margin-bottom: 2.5rem;
}

.article-section-heading {
    color: var(--color-primary);
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid var(--color-accent);
    display: inline-block;
}

.article-section-content {
    color: var(--color-text);
    line-height: 1.8;
}

.article-section-content p {
    margin-bottom: 1rem;
}

.article-section-content ul,
.article-section-content ol {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

.article-section-content li {
    margin-bottom: 0.5rem;
    line-height: 1.7;
}

.article-section-content strong {
    color: var(--color-primary);
}

/* ============================================
   Article Text Block
   ============================================ */
.article-text {
    color: var(--color-text);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.article-text p {
    margin-bottom: 1rem;
}

.article-text ul,
.article-text ol {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

.article-text li {
    margin-bottom: 0.5rem;
}

/* ============================================
   Quote Block
   ============================================ */
.article-quote {
    position: relative;
    margin: 2.5rem 0;
    padding: 2rem 2rem 2rem 2.5rem;
    background: linear-gradient(135deg, var(--color-accent-light) 0%, #dbeafe 100%);
    border-left: 4px solid var(--color-accent);
    border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
}

.article-quote-icon {
    position: absolute;
    top: -12px;
    left: 20px;
    color: var(--color-accent);
    background: white;
    padding: 4px;
    border-radius: 50%;
}

.article-quote-text {
    font-size: 1.15rem;
    font-style: italic;
    line-height: 1.7;
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.article-quote-footer {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.article-quote-author {
    font-weight: 600;
    color: var(--color-text);
    font-style: normal;
}

.article-quote-source {
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

/* ============================================
   Tip Block
   ============================================ */
.article-tip {
    display: flex;
    gap: 1rem;
    margin: 2rem 0;
    padding: 1.25rem 1.5rem;
    border-radius: var(--radius-lg);
    border-left: 4px solid;
}

.article-tip--tip {
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
    border-left-color: #10b981;
}

.article-tip--tip .article-tip-icon {
    color: #10b981;
}

.article-tip--tip .article-tip-title {
    color: #047857;
}

.article-tip--info {
    background: linear-gradient(135deg, var(--color-accent-light) 0%, #dbeafe 100%);
    border-left-color: var(--color-accent);
}

.article-tip--info .article-tip-icon {
    color: var(--color-accent);
}

.article-tip--info .article-tip-title {
    color: var(--color-primary);
}

.article-tip--warning {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border-left-color: #f59e0b;
}

.article-tip--warning .article-tip-icon {
    color: #f59e0b;
}

.article-tip--warning .article-tip-title {
    color: #92400e;
}

.article-tip--important {
    background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
    border-left-color: #ef4444;
}

.article-tip--important .article-tip-icon {
    color: #ef4444;
}

.article-tip--important .article-tip-title {
    color: #b91c1c;
}

.article-tip-icon {
    flex-shrink: 0;
    margin-top: 2px;
}

.article-tip-content {
    flex: 1;
}

.article-tip-title {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.article-tip-text {
    margin: 0;
    line-height: 1.6;
    color: var(--color-text);
}

/* ============================================
   Checklist Block
   ============================================ */
.article-checklist {
    margin: 2rem 0;
    padding: 1.5rem;
    background: var(--color-bg-light);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
}

.article-checklist-title {
    color: var(--color-primary);
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--color-accent);
}

.article-checklist-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.article-checklist-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--color-border-light);
}

.article-checklist-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.article-checklist-item:first-child {
    padding-top: 0;
}

.article-checklist-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.article-checklist-icon svg {
    width: 14px;
    height: 14px;
}

.article-checklist-text {
    color: var(--color-text);
    line-height: 1.5;
    padding-top: 2px;
}

/* ============================================
   Highlight Box Block
   ============================================ */
.article-highlight {
    margin: 2.5rem 0;
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.article-highlight--summary {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    color: white;
}

.article-highlight--summary .article-highlight-header {
    color: rgba(255,255,255,0.9);
}

.article-highlight--summary .article-highlight-label {
    color: white;
}

.article-highlight--summary .article-highlight-content {
    color: rgba(255,255,255,0.95);
}

.article-highlight--key {
    background: linear-gradient(135deg, var(--color-accent) 0%, #3b82f6 100%);
    color: white;
}

.article-highlight--key .article-highlight-header {
    color: rgba(255,255,255,0.9);
}

.article-highlight--key .article-highlight-label {
    color: white;
}

.article-highlight--key .article-highlight-content {
    color: rgba(255,255,255,0.95);
}

.article-highlight--example {
    background: white;
    border: 2px solid var(--color-border);
}

.article-highlight--example .article-highlight-header {
    color: var(--color-text-muted);
}

.article-highlight--example .article-highlight-label {
    color: var(--color-primary);
}

.article-highlight--example .article-highlight-content {
    color: var(--color-text);
}

.article-highlight-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.article-highlight-label {
    font-weight: 600;
}

.article-highlight-content {
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.7;
}

/* ============================================
   Numbered List Block
   ============================================ */
.article-numbered-list {
    margin: 2rem 0;
}

.article-numbered-list-title {
    color: var(--color-primary);
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 1.25rem;
}

.article-numbered-list-items {
    list-style: none;
    padding: 0;
    margin: 0;
    counter-reset: numbered-list;
}

.article-numbered-list-item {
    display: flex;
    gap: 1rem;
    padding: 1.25rem;
    margin-bottom: 0.75rem;
    background: white;
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
    transition: all 0.2s ease;
}

.article-numbered-list-item:hover {
    border-color: var(--color-accent-light);
    box-shadow: var(--shadow-sm);
}

.article-numbered-list-number {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--color-accent) 0%, #3b82f6 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
}

.article-numbered-list-content {
    flex: 1;
    padding-top: 4px;
}

.article-numbered-list-item-title {
    display: block;
    color: var(--color-primary);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.article-numbered-list-item-desc {
    margin: 0;
    color: var(--color-text-muted);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* ============================================
   Service Categories (3-Column Layout)
   ============================================ */
.category-header {
    padding-bottom: 1rem;
    border-bottom: 3px solid var(--color-accent);
    margin-bottom: 1.5rem;
}

.category-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--color-accent) 0%, #3b82f6 100%);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(14, 165, 233, 0.35);
}

.category-icon i {
    font-size: 28px;
    color: white;
}

/* Service Link Cards in category columns */
.service-link-card .card {
    transition: all 0.25s ease;
    border-left: 3px solid transparent;
}

.service-link-card:hover .card {
    transform: translateX(6px);
    border-left-color: var(--color-accent);
    box-shadow: var(--shadow-lg);
}

.service-icon-sm {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--color-accent-light) 0%, #dbeafe 100%);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.25s ease;
}

.service-icon-sm i {
    font-size: 22px;
    color: var(--color-primary);
    transition: all 0.25s ease;
}

.service-link-card:hover .service-icon-sm {
    background: linear-gradient(135deg, var(--color-accent) 0%, #3b82f6 100%);
}

.service-link-card:hover .service-icon-sm i {
    color: white;
}

/* ============================================
   Category Badges (Service Page)
   ============================================ */
.category-badge-wrapper {
    background: var(--color-bg-light);
    margin-bottom: -20px;
    position: relative;
    z-index: 1;
}

.category-badge {
    font-size: 0.8rem;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.badge.bg-development {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%) !important;
    color: white;
}

.badge.bg-security {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
    color: white;
}

.badge.bg-training {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%) !important;
    color: white;
}

/* ============================================
   Pricing Cards (Service Packages)
   ============================================ */
.pricing-section {
    padding: 80px 0;
}

.pricing-card {
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    position: relative;
    transition: all 0.3s ease;
    overflow: visible;
}

.pricing-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
}

.pricing-popular {
    border: 2px solid var(--color-accent);
    box-shadow: 0 0 0 4px var(--color-accent-light);
}

.pricing-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--color-accent) 0%, #3b82f6 100%);
    color: white;
    padding: 6px 20px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(14, 165, 233, 0.4);
}

.pricing-name {
    color: var(--color-primary);
    font-weight: 700;
}

.pricing-price {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--color-accent);
}

.pricing-desc {
    font-size: 0.95rem;
    line-height: 1.6;
}

.pricing-features {
    text-align: left;
}

.pricing-features li {
    padding: 10px 0;
    border-bottom: 1px solid var(--color-border-light);
    font-size: 0.9rem;
    color: var(--color-text);
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features li i {
    font-size: 1rem;
}

/* ============================================
   Deliverables Cards
   ============================================ */
.deliverables-section {
    padding: 80px 0;
}

.deliverable-card {
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: all 0.25s ease;
    border-left: 4px solid var(--color-accent);
}

.deliverable-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.deliverable-icon {
    width: 52px;
    height: 52px;
    background: var(--color-accent-light);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.deliverable-icon i {
    font-size: 26px;
    color: var(--color-accent);
}

/* ============================================
   Results/Metrics Section
   ============================================ */
.results-section {
    padding: 80px 0;
}

.result-metric {
    padding: 1.5rem 0;
}

.result-number {
    font-weight: 700;
    line-height: 1;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.result-label {
    font-size: 1rem;
    line-height: 1.4;
}

.result-link {
    display: inline-block;
    margin-top: 0.75rem;
    transition: color 0.2s ease;
}

.result-link:hover {
    color: white !important;
}

/* ============================================
   Mini Contact Form (Service Sidebar)
   ============================================ */
.mini-contact-form .form-control {
    border-radius: var(--radius-md);
    padding: 12px 16px;
    border: 1px solid var(--color-border);
    transition: all 0.2s ease;
}

.mini-contact-form .form-control:focus {
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px var(--color-accent-light);
}

.mini-contact-form .btn {
    padding: 12px 20px;
    font-weight: 600;
}

/* ============================================
   Responsive - Services
   ============================================ */
@media (max-width: 991px) {
    .category-header {
        text-align: center;
    }

    .category-icon {
        margin: 0 auto;
    }

    .service-link-card:hover .card {
        transform: translateY(-4px);
        border-left-color: transparent;
    }
}

@media (max-width: 768px) {
    .pricing-section,
    .deliverables-section,
    .results-section {
        padding: 60px 0;
    }

    .pricing-price {
        font-size: 1.5rem;
    }

    .result-number {
        font-size: 2.5rem !important;
    }

    .category-badge-wrapper {
        padding-top: 1rem;
    }
}

/* ============================================
   Technology Pages
   ============================================ */
.tech-hero {
    background: linear-gradient(135deg, var(--color-primary) 0%, #1e40af 50%, #3b82f6 100%);
    padding: 80px 0;
    color: white;
}

.tech-hero h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.tech-hero .lead {
    font-size: 1.15rem;
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto;
}

.tech-page-hero {
    background: var(--color-bg-light);
    padding: 60px 0;
}

.tech-page-hero h1 {
    color: var(--color-primary);
}

/* Technology Cards */
.tech-card {
    border: none;
    box-shadow: var(--shadow-md);
    border-radius: var(--radius-lg);
    transition: all 0.3s ease;
    overflow: hidden;
}

.tech-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
}

.tech-card .card-title {
    color: var(--color-primary);
    font-weight: 600;
    margin-bottom: 0;
}

.tech-logo {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-md);
    overflow: hidden;
    flex-shrink: 0;
    background: white;
    box-shadow: var(--shadow-sm);
}

.tech-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.tech-logo-lg {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    flex-shrink: 0;
    background: white;
    box-shadow: var(--shadow-md);
    padding: 8px;
}

.tech-logo-lg img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.tech-logo-placeholder {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, var(--color-accent-light) 0%, #dbeafe 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    font-size: 1.5rem;
    flex-shrink: 0;
}

/* Technology Category Badges */
.badge.bg-language {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%) !important;
    color: white;
}

.badge.bg-framework {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
    color: white;
}

.badge.bg-database {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%) !important;
    color: white;
}

.badge.bg-ai_ml {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%) !important;
    color: white;
}

.badge.bg-devops {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%) !important;
    color: white;
}

.badge.bg-integration {
    background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%) !important;
    color: white;
}

/* Technology Content */
.tech-content {
    color: var(--color-text);
    line-height: 1.8;
}

.tech-content p {
    margin-bottom: 1rem;
}

.tech-content ul {
    padding-left: 1.5rem;
}

.tech-content li {
    margin-bottom: 0.5rem;
}

/* Use Cases List */
.use-cases-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.use-cases-list li {
    font-size: 1rem;
    color: var(--color-text);
}

/* Clickable Tech Tags */
a.tech-tag-link {
    text-decoration: none;
    transition: all 0.2s ease;
}

a.tech-tag-link:hover {
    transform: translateY(-2px);
}

a.tech-tag-link .tech-tag,
a.tech-tag-link .tech-tag-lg {
    cursor: pointer;
    transition: all 0.2s ease;
}

a.tech-tag-link:hover .tech-tag {
    background: var(--color-accent-light) !important;
    color: var(--color-primary) !important;
    border-color: var(--color-accent) !important;
}

a.tech-tag-link:hover .tech-tag-lg {
    background: var(--color-primary) !important;
    color: white !important;
    box-shadow: var(--shadow-md);
}

@media (max-width: 768px) {
    .tech-hero {
        padding: 60px 0;
    }

    .tech-hero h1 {
        font-size: 2rem;
    }

    .tech-page-hero {
        padding: 40px 0;
    }

    .tech-logo-lg {
        width: 60px;
        height: 60px;
    }
}

/* ============================================
   Hero Section with AI-generated background image
   ============================================ */
.hero-section.hero-with-image {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.hero-section.hero-with-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: auto;
    height: auto;
    background: linear-gradient(135deg, rgba(30, 58, 95, 0.8) 0%, rgba(45, 90, 138, 0.7) 50%, rgba(59, 130, 246, 0.6) 100%);
    z-index: 0;
    pointer-events: none;
}

.hero-section.hero-with-image::after {
    content: none;
    display: none;
}

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

/* ============================================
   Portfolio Preview Section
   ============================================ */
.portfolio-preview-section {
    background: var(--color-bg-light);
}

.portfolio-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.3s ease;
}

.portfolio-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
}

.portfolio-card-image {
    height: 180px;
    overflow: hidden;
}

.portfolio-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.portfolio-card:hover .portfolio-card-image img {
    transform: scale(1.05);
}

.portfolio-card-placeholder {
    height: 180px;
    background: linear-gradient(135deg, var(--color-primary) 0%, #3b82f6 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.portfolio-card-placeholder i {
    font-size: 48px;
    color: rgba(255, 255, 255, 0.5);
}

/* ============================================
   Technologies Cloud Section (Compact)
   ============================================ */
.technologies-cloud-section {
    background: var(--color-bg-light);
}

.tech-cloud-compact {
    max-width: 800px;
    margin: 0 auto;
}

.tech-tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 12px;
    background: white;
    border: 1px solid var(--color-border);
    border-radius: 16px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--color-text);
    transition: all 0.2s ease;
}

.tech-tag:hover {
    background: var(--color-accent-light);
    border-color: var(--color-accent);
    color: var(--color-primary);
    transform: translateY(-2px);
}

.tech-tag-logo {
    width: 18px;
    height: 18px;
    border-radius: 3px;
    object-fit: contain;
}

@media (max-width: 768px) {
    .portfolio-card-image,
    .portfolio-card-placeholder {
        height: 150px;
    }

    .tech-tag {
        padding: 6px 12px;
        font-size: 0.85rem;
    }
}

/* ============================================
   Hero Split-Screen Layout (60/40)
   Premium design with large visual + text card
   ============================================ */
.hero-split {
    display: grid;
    grid-template-columns: 60% 40%;
    min-height: 100vh;
    background: #0f172a;
}

/* Left side - Visual */
.hero-visual {
    position: relative;
    background: linear-gradient(135deg, #1e3a5f 0%, #2d5a8a 50%, #3b82f6 100%);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-visual-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(15, 23, 42, 0.4) 0%,
        rgba(30, 58, 95, 0.3) 50%,
        rgba(59, 130, 246, 0.2) 100%
    );
}

/* Right side - Content */
.hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 60px 50px;
    background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
}

/* Card container */
.hero-card {
    background: rgba(30, 41, 59, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 48px 40px;
    backdrop-filter: blur(10px);
    box-shadow:
        0 25px 50px -12px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.05);
}

/* Badges Container */
.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 24px;
}

/* Category Badge */
.hero-category-badge span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(34, 197, 94, 0.15);
    border: 1px solid rgba(34, 197, 94, 0.3);
    border-radius: 8px;
    padding: 6px 14px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #86efac;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.hero-category-badge span::before {
    content: '◆';
    font-size: 0.6rem;
    color: #22c55e;
}

/* Main Badge */
.hero-badge span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2) 0%, rgba(139, 92, 246, 0.2) 100%);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 100px;
    padding: 8px 20px;
    font-size: 0.875rem;
    font-weight: 500;
    color: #93c5fd;
    letter-spacing: 0.02em;
}

.hero-badge span::before {
    content: '★';
    color: #fbbf24;
}

/* Title */
.hero-split .hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    color: #ffffff;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

/* Subtitle */
.hero-split .hero-subtitle {
    font-size: 1.125rem;
    line-height: 1.7;
    color: #94a3b8;
    margin-bottom: 28px;
}

/* Bullets */
.hero-split .hero-bullets {
    list-style: none;
    padding: 0;
    margin: 0 0 32px 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.hero-split .hero-bullets li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 1rem;
    color: #e2e8f0;
    line-height: 1.5;
}

.hero-split .hero-bullets .bullet-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-split .hero-bullets .bullet-icon i {
    color: #22c55e;
    font-size: 1.125rem;
}

.hero-split .hero-bullets .bullet-text {
    flex: 1;
}

/* CTA Buttons */
.hero-split .hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 24px;
}

.hero-split .hero-btn-primary {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    border: none;
    border-radius: 12px;
    padding: 16px 32px;
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 14px rgba(59, 130, 246, 0.4);
}

.hero-split .hero-btn-primary:hover {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.5);
    color: #ffffff;
}

.hero-split .hero-btn-secondary {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 16px 32px;
    font-size: 1rem;
    font-weight: 500;
    color: #e2e8f0;
    transition: all 0.3s ease;
}

.hero-split .hero-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.3);
    color: #ffffff;
}

/* Trust Badge */
.hero-split .hero-trust {
    display: flex;
    align-items: center;
    font-size: 0.875rem;
    color: #64748b;
    margin: 0;
}

.hero-split .hero-trust i {
    color: #22c55e;
}

/* Mini Steps */
.hero-mini-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.mini-step {
    display: flex;
    align-items: center;
    gap: 10px;
}

.mini-step-num {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    border-radius: 50%;
    font-size: 0.875rem;
    font-weight: 600;
    color: #ffffff;
}

.mini-step-text {
    font-size: 0.9rem;
    font-weight: 500;
    color: #94a3b8;
}

.mini-step-arrow {
    color: rgba(255, 255, 255, 0.2);
    font-size: 0.75rem;
}

/* Responsive - Tablet */
@media (max-width: 1200px) {
    .hero-split {
        grid-template-columns: 55% 45%;
    }

    .hero-content {
        padding: 40px 30px;
    }

    .hero-card {
        padding: 36px 30px;
    }

    .hero-split .hero-title {
        font-size: 2rem;
    }
}

/* Responsive - Mobile */
@media (max-width: 991px) {
    .hero-split {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .hero-visual {
        min-height: 300px;
        order: 1;
    }

    .hero-content {
        order: 2;
        padding: 40px 24px;
    }

    .hero-card {
        padding: 32px 24px;
        border-radius: 20px;
    }

    .hero-split .hero-title {
        font-size: 1.75rem;
    }

    .hero-split .hero-subtitle {
        font-size: 1rem;
    }

    .hero-split .hero-cta {
        flex-direction: column;
    }

    .hero-split .hero-btn-primary,
    .hero-split .hero-btn-secondary {
        width: 100%;
        justify-content: center;
        padding: 14px 24px;
    }

    .hero-mini-steps {
        flex-wrap: wrap;
        gap: 12px;
    }

    .mini-step-arrow {
        display: none;
    }
}

/* Responsive - Small Mobile */
@media (max-width: 576px) {
    .hero-visual {
        min-height: 220px;
    }

    .hero-content {
        padding: 32px 16px;
    }

    .hero-card {
        padding: 24px 20px;
        border-radius: 16px;
    }

    .hero-badge span {
        font-size: 0.8rem;
        padding: 6px 14px;
    }

    .hero-split .hero-title {
        font-size: 1.5rem;
    }

    .hero-split .hero-bullets li {
        font-size: 0.9rem;
    }

    .mini-step-text {
        font-size: 0.8rem;
    }
}

/* ============================================
   Quick Select Section - Services Page
   ============================================ */
.quick-select-section {
    background: var(--color-bg-light);
    padding: 60px 0;
}

.quick-select-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2rem 1.5rem;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    height: 100%;
    border: 2px solid transparent;
}

.quick-select-tile:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: var(--color-accent);
}

.quick-select-tile .tile-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--color-accent) 0%, #3b82f6 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.quick-select-tile .tile-icon i {
    font-size: 28px;
    color: white;
}

.quick-select-tile .tile-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 0.75rem;
}

.quick-select-tile .tile-pains {
    list-style: none;
    padding: 0;
    margin: 0 0 1rem 0;
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

.quick-select-tile .tile-pains li {
    margin-bottom: 0.25rem;
}

.quick-select-tile .tile-cta {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-accent);
    margin-top: auto;
}

.quick-select-tile:hover .tile-cta {
    color: var(--color-accent-hover);
}

/* ============================================
   Service Catalog Accordion - Services Page
   ============================================ */
.service-catalog-section {
    padding: 80px 0;
}

.service-catalog-accordion .accordion-item {
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg) !important;
    margin-bottom: 1rem;
    overflow: hidden;
}

.service-catalog-accordion .accordion-button {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-primary);
    padding: 1.25rem 1.5rem;
    background: white;
}

.service-catalog-accordion .accordion-button:not(.collapsed) {
    background: var(--color-bg-light);
    color: var(--color-primary);
    box-shadow: none;
}

.service-catalog-accordion .accordion-button:focus {
    box-shadow: none;
    border-color: var(--color-accent);
}

.service-catalog-accordion .category-icon {
    font-size: 1.75rem;
    color: var(--color-accent);
}

.service-catalog-accordion .category-name {
    flex-grow: 1;
}

.service-catalog-accordion .services-count {
    font-size: 0.75rem;
    font-weight: 500;
}

.service-catalog-accordion .accordion-body {
    padding: 1.5rem;
    background: var(--color-bg-light);
}

.service-catalog-card {
    background: white;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.service-catalog-card:hover {
    border-color: var(--color-accent);
    box-shadow: var(--shadow-md);
}

.service-catalog-card .card-header-row {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.service-catalog-card .service-icon-wrap {
    width: 40px;
    height: 40px;
    background: var(--color-accent-light);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.service-catalog-card .service-icon-wrap i {
    font-size: 20px;
    color: var(--color-accent);
}

.service-catalog-card .card-title {
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
    line-height: 1.3;
}

.service-catalog-card .card-title a {
    color: var(--color-primary);
    text-decoration: none;
}

.service-catalog-card .card-title a:hover {
    color: var(--color-accent);
}

.service-catalog-card .card-description {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    margin-bottom: 0.75rem;
    line-height: 1.5;
}

.service-catalog-card .card-results {
    list-style: none;
    padding: 0;
    margin: 0 0 0.75rem 0;
    font-size: 0.85rem;
}

.service-catalog-card .card-results li {
    margin-bottom: 0.35rem;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.service-catalog-card .card-results i {
    font-size: 14px;
    margin-top: 2px;
}

.service-catalog-card .card-timeline {
    font-size: 0.85rem;
    color: var(--color-accent);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.service-catalog-card .card-ctas {
    display: flex;
    gap: 0.5rem;
    margin-top: auto;
}

.service-catalog-card .card-ctas .btn {
    flex: 1;
    font-size: 0.85rem;
}

/* ============================================
   Cases Filter Section - Services Page
   ============================================ */
.cases-filter-section {
    padding: 80px 0;
}

.case-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.btn-filter {
    background: white;
    border: 1px solid var(--color-border);
    color: var(--color-text);
    border-radius: 20px;
    padding: 8px 20px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.btn-filter:hover,
.btn-filter.active {
    background: var(--color-accent);
    border-color: var(--color-accent);
    color: white;
}

.case-filter-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    height: 100%;
    box-shadow: var(--shadow-md);
    position: relative;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.case-filter-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.case-filter-card .case-category {
    background: var(--color-accent-light);
    color: var(--color-primary);
    font-size: 0.75rem;
    font-weight: 500;
    padding: 4px 12px;
    border-radius: 12px;
    display: inline-block;
    margin-bottom: 0.75rem;
}

.case-filter-card .case-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
}

.case-filter-card .case-description {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    line-height: 1.5;
    flex-grow: 1;
}

.case-filter-card .case-metric {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--color-border-light);
}

.case-filter-card .metric-num {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-accent);
}

.case-filter-card .metric-label {
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

.case-item {
    transition: opacity 0.2s ease;
}

/* ============================================
   CTA Brief Form Section - Services Page
   ============================================ */
.cta-brief-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
}

.cta-brief-section .trust-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.5rem;
}

.cta-brief-section .trust-badge-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

.cta-brief-section .trust-badge-item i {
    font-size: 1.25rem;
    color: var(--color-accent);
}

.brief-form-card {
    background: white;
    border-radius: var(--radius-xl);
    padding: 2rem;
    box-shadow: var(--shadow-xl);
}

.brief-form-card .form-title {
    color: var(--color-primary);
    font-weight: 600;
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
}

.brief-form-card .form-label {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-text);
    margin-bottom: 0.35rem;
}

.brief-form-card .form-control,
.brief-form-card .form-select {
    border-radius: var(--radius-md);
    padding: 12px 16px;
    border-color: var(--color-border);
}

.brief-form-card .form-control:focus,
.brief-form-card .form-select:focus {
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px var(--color-accent-light);
}

.brief-form-card .form-check-label {
    color: var(--color-text-muted);
}

.brief-form-card .form-check-label a {
    color: var(--color-accent);
}

.brief-form-card .form-success {
    text-align: center;
    padding: 2rem;
}

.brief-form-card .form-success .success-icon {
    width: 64px;
    height: 64px;
    background: #dcfce7;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.brief-form-card .form-success .success-icon i {
    font-size: 2rem;
    color: #10b981;
}

/* Responsive - Services Page */
@media (max-width: 768px) {
    .quick-select-tile {
        padding: 1.5rem 1rem;
    }

    .quick-select-tile .tile-icon {
        width: 48px;
        height: 48px;
    }

    .quick-select-tile .tile-icon i {
        font-size: 22px;
    }

    .service-catalog-accordion .accordion-button {
        font-size: 1.1rem;
        padding: 1rem;
    }

    .service-catalog-accordion .category-icon {
        font-size: 1.5rem;
    }

    .cta-brief-section {
        padding: 60px 0;
    }

    .brief-form-card {
        padding: 1.5rem;
    }

    .cta-brief-section .trust-badges {
        flex-direction: column;
        gap: 0.75rem;
    }
}

/* ============================================
   SEO Optimization - Utility Classes
   (Replacing inline styles for better performance)
   ============================================ */

/* Section icon circles (replaces style="width: 40px; height: 40px;") */
.section-icon-circle {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
}

/* Section icon with larger font (replaces style="font-size: 1.2rem;") */
.section-icon-lg {
    font-size: 1.2rem;
}

/* Sticky sidebar positioning (replaces style="top: 2rem;") */
.sticky-sidebar {
    top: 2rem;
}

/* Blog card image cover - consistent height for blog index cards */
.blog-card-img-cover {
    object-fit: cover;
    height: 200px;
}

/* Product card image cover (replaces style="object-fit: cover; height: 225px;") */
.product-card-img-cover {
    object-fit: cover;
    height: 225px;
}

/* Portfolio card image cover (replaces style="object-fit: cover; height: 240px;") */
.portfolio-card-img-cover {
    object-fit: cover;
    height: 240px;
}

/* Product sidebar image cover (replaces style="object-fit: cover; height: 300px;") */
.product-sidebar-img-cover {
    object-fit: cover;
    height: 300px;
}

/* Client logo image (replaces style="max-height: 60px; opacity: 0.6;") */
.client-logo-img {
    max-height: 60px;
    opacity: 0.6;
}

/* Placeholder icon large (replaces style="font-size: 2rem;") */
.placeholder-icon-lg {
    font-size: 2rem;
}

/* Games icon gradient background (replaces inline gradient style) */
.service-icon-games {
    background: linear-gradient(135deg, #8b5cf6 0%, #6366f1 100%);
}
