/* === CSS Variables === */
:root {
    --primary-gradient: linear-gradient(90deg, #6366f1 0%, #8b5cf6 50%, #d946ef 100%);
    --secondary-gradient: linear-gradient(90deg, #3b82f6 0%, #2563eb 100%);
    --accent-gradient: linear-gradient(90deg, #ec4899 0%, #d946ef 50%, #8b5cf6 100%);
    --dark-bg: #0f172a;
    --dark-card: #1e293b;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    --white: #ffffff;
    --indigo-400: #818cf8;
    --indigo-500: #6366f1;
    --indigo-600: #4f46e5;
    --indigo-700: #4338ca;
    --indigo-900: #312e81;
    --purple-600: #9333ea;
    --green-400: #4ade80;
    --yellow-400: #facc15;
    --pink-600: #db2777;
    --blue-600: #2563eb;
}

/* === Reset & Base Styles === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

a {
    text-decoration: none;
    color: inherit;
}

body {
    font-family: 'Poppins', sans-serif;
    scroll-behavior: smooth;
    background-color: var(--dark-bg);
    color: #f8fafc;
    overflow-x: hidden;
}

/* === Typography === */
.text-xs { font-size: 0.75rem; }
.text-sm { font-size: 0.875rem; }
.text-base { font-size: 1rem; }
.text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.25rem; }
.text-2xl { font-size: 1.5rem; }
.text-3xl { font-size: 1.875rem; }
.text-4xl { font-size: 2.25rem; }
.text-5xl { font-size: 3rem; }
.text-6xl { font-size: 3.75rem; }

.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }

.leading-tight { line-height: 1.25; }

/* === Colors === */
.text-white { color: var(--white); }
.text-gray-300 { color: var(--gray-300); }
.text-gray-400 { color: var(--gray-400); }
.text-gray-500 { color: var(--gray-500); }
.text-indigo-400 { color: var(--indigo-400); }
.text-indigo-500 { color: var(--indigo-500); }
.text-green-400 { color: var(--green-400); }
.text-yellow-400 { color: var(--yellow-400); }

.bg-gray-800 { background-color: var(--gray-800); }
.bg-gray-900 { background-color: var(--gray-900); }
.bg-indigo-900 { background-color: var(--indigo-900); }
.bg-transparent { background-color: transparent; }

.bg-opacity-30 { background-color: rgba(67, 56, 202, 0.3); }
.bg-opacity-50 { background-color: rgba(31, 41, 55, 0.5); }
.bg-opacity-80 { background-color: rgba(17, 24, 39, 0.8); }
.bg-opacity-95 { background-color: rgba(17, 24, 39, 0.95); }

/* === Layout === */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

.w-full { width: 100%; }
.w-5 { width: 1.25rem; }
.w-6 { width: 1.5rem; }
.w-8 { width: 2rem; }
.w-10 { width: 2.5rem; }
.w-12 { width: 3rem; }
.w-16 { width: 4rem; }
.w-20 { width: 5rem; }
.w-28 { width: 7rem; }
.w-64 { width: 16rem; }
.h-1 { height: 0.25rem;}
.h-4 { height: 1rem;}
.h-5 { height: 1.25rem; }
.h-6 { height: 1.5rem; }
.h-8 { height: 2rem; }
.h-10 { height: 2.5rem; }
.h-12 { height: 3rem; }
.h-16 { height: 4rem; }
.h-20 { height: 5rem; }
.h-48 { height: 12rem; }

/* === Spacing === */
.p-3 { padding: 0.75rem; }
.p-4 { padding: 1rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-8 { padding-left: 2rem; padding-right: 2rem; }
.py-1 { padding-top: 0.25rem; padding-bottom: 0.25rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-6 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.py-12 {padding-top: 3rem; padding-bottom: 3rem;}
.py-20 { padding-top: 5rem; padding-bottom: 5rem; }
.py-32 { padding-top: 8rem; padding-bottom: 8rem; }

.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-12 { margin-bottom: 3rem; }
.mb-16 { margin-bottom: 4rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-12 { margin-top: 3rem; }
.mt-16 { margin-top: 4rem; }
.mt-20 { margin-top: 5rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.mr-1 { margin-right: 0.25rem; }
.mr-2 { margin-right: 0.5rem; }
.mr-3 { margin-right: 0.75rem; }

/* === Flexbox === */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-row { flex-direction: row; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.items-end { align-items: flex-end; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.justify-end { justify-content: flex-end; }

/* === Grid === */
.grid { display: grid; }
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.gap-4 { gap: 1rem; }
.gap-8 { gap: 2rem; }

/* === Positioning === */
.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }

.top-0 { top: 0; }
.left-0 { left: 0; }
.right-0 { right: 0; }
.bottom-0 { bottom: 0; }
.inset-0 { top: 0; right: 0; bottom: 0; left: 0; }

.z-10 { z-index: 10; }
.z-50 { z-index: 50; }

/* === Display === */
.block { display: block; }
.hidden { display: none; }

/* === Borders === */
.border { border-width: 1px; }
.border-b { border-bottom-width: 1px; }
.border-gray-700 { border-color: var(--gray-700); }
.border-gray-800 { border-color: var(--gray-800); }
.border-indigo-700 { border-color: var(--indigo-700); }

.rounded { border-radius: 0.25rem; }
.rounded-lg { border-radius: 0.5rem; }
.rounded-full { border-radius: 9999px; }
.rounded-xl { border-radius: 0.75rem; }
.rounded-2xl { border-radius: 1rem; }

/* === Effects === */
.backdrop-blur-lg { backdrop-filter: blur(16px); }
.shadow-lg { box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05); }

/* === Transitions === */
.transition { transition: all 0.3s ease; }

/* === Responsive === */
@media (min-width: 768px) {
    .md\:flex { display: flex; }
    .md\:hidden { display: none; }
    .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .md\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .md\:flex-row { flex-direction: row; }
    .md\:text-4xl { font-size: 2.25rem; }
    .md\:text-5xl { font-size: 3rem; }
    .md\:py-32 { padding-top: 8rem; padding-bottom: 8rem; }
    .md\:pt-40 { padding-top: 10rem; }
    .md\:pb-32 { padding-bottom: 8rem; }
    .md\:w-1\/2 { width: 50%; }
    .md\:mb-0 { margin-bottom: 0; }
    .md\:space-x-8 > * + * { margin-left: 2rem; }
}

@media (min-width: 1024px) {
    .lg\:text-6xl { font-size: 3.75rem; }
    .lg\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (min-width: 640px) {
    .sm\:flex-row { flex-direction: row; }
}
/* === Header === */
.header-top-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}   
.header-left-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.875rem;
}

.header-left-row > * + * {
    margin-left: 1.5rem;
}

.header-right-row {
    display: flex;
  align-items: center;
  justify-content: flex-end;
}

.header-right-row > * + * {
  margin-left: 1rem;
}

.desktop-hours {
    display: flex;
    align-items: center;
    font-size: 0.875rem;
    color: var(--gray-300);
}
.desktop-hours > * + * {
    margin-left: 0.5rem;
}


.header-social-row {
    display: flex;
    align-items: center;
}
.header-social-row > * + * {
    margin-left: 0.75rem;
}

.social-icon {
    color: var(--gray-300);
    transition: all 0.3s ease;
}

.social-icon:hover {
    transform: translateY(-3px);
    filter: brightness(1.2);
}

.facebook-icon:hover {
    color: #4267B2;
}

.instagram-icon:hover {
    color: #E1306C;
}

.telegram-icon:hover {
    color: #0088cc;
}
.header-gradient-line {
    height: 0.25rem;                
    width: 100%;                    
    background: var(--primary-gradient); 
}
.header-main-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
    padding-top: 1rem;
    padding-bottom: 1rem;   
}

.header-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.logo {
    width: 3rem;
    display: flex;
}
.header-logo-title {
    font-size: 2.25rem; 
    font-weight: 700;  
    background: var(--secondary-gradient); 
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.icon-xs {
    width: 1rem;   
    height: 1rem;  
}
.icon-s{
    width: 1.5rem;   
    height: 1.5rem;
}

.icon-m {
    width: 2rem;   
    height: 2rem;
}

.header-nav-row {
    display: flex;
    align-items: center;
}
.header-nav-row > * + * {
    margin-left: 2rem;
}

.main-header {
    background-color: rgba(31, 41, 55, 0.95);
    backdrop-filter: blur(4px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.nav-link {
    position: relative;
    transition: all 0.3s ease;
    color: var(--gray-300);
}

.nav-link.active {
    color: var(--white);
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background: var(--accent-gradient);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.desktop-cta {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.desktop-cta> * + * {
    margin-left: 1rem;
}
.mobile-nav {
    display: flex;
    flex-direction: column;
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
    gap: 0.5rem;
}
.mobile-nav > * + * {
    margin-top: 1rem;
}
.header-mobile-actions {
    display: flex;
    flex-direction: column;
    padding-top: 1rem;
    padding-bottom: 1rem;
    border-top: 1px solid var(--gray-700);
}
.header-mobile-actions > * + * {
    margin-top: 0.75rem;
}

/* autocoding */

.header-contact-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--gray-300);
    transition: all 0.3s ease;
}
.header-contact-link:hover {
    color: var(--indigo-400);
}

/* Header-specific styles */
.top-contact-bar {
    background-color: var(--gray-800);
    padding: 0.5rem;
}

.btn-primary {
    background: var(--secondary-gradient);
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    color: var(--white);
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
}

.mobile-hours {
  display: flex;
  align-items: center;
  gap: 0.5rem; 
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
 }

.mobile-menu {
    background-color: var(--gray-800);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    position: absolute;
    width: 100%;
    z-index: 100;
    transition: transform 0.3s ease-in-out;
}

.mobile-menu-button {
    color: var(--gray-300);
}

.mobile-menu.hidden {
    transform: translateY(-100%);
}


.mobile-contact-block {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--gray-700);
}
.mobile-contact-block > * + * {
    margin-top: 1rem;
}

/* Media Queries */
@media (max-width: 768px) {
    .desktop-nav, .desktop-cta, .desktop-hours {
        display: none;
    }
}

@media (min-width: 769px) {
    .mobile-menu-button {
        display: none;
    }
}

@media (max-width: 640px) {
    .sm-hidden {
        display: none;
    }
}

@media (max-width: 640px) {
    .top-contact-bar {
        display: none;
    }
}
/* === Header === */


/* === Custom Components === */
.gradient-text {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.gradient-text-secondary {
    background: var(--secondary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.accent-gradient-text {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.btn-gradient {
    background: var(--primary-gradient);
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
    color: var(--white);
    padding: 1rem 2rem;
    border: none;
    border-radius: 9999px;
    font-weight: 500;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
}

.btn-gradient:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(99, 102, 241, 0.3);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--indigo-500);
    color: #f8fafc;
    transition: all 0.3s ease;
    padding: 1rem 2rem;
    border-radius: 9999px;
    font-weight: 500;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
}

.btn-outline:hover {
    background: rgba(99, 102, 241, 0.1);
    transform: translateY(-3px);
}

.card {
    background: var(--dark-card);
    border-radius: 16px;
    transition: all 0.3s ease;
    padding: 2rem;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.2);
}

.service-card {
    overflow: hidden;
    position: relative;
    background-color: var(--gray-800);
    padding: 1.5rem;
    border-radius: 16px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary-gradient);
}

.glow {
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: rgba(99, 102, 241, 0.15);
    filter: blur(100px);
    z-index: 0;
}

.glow-1 {
    top: -250px;
    right: -100px;
    background: rgba(99, 102, 241, 0.15);
}

.glow-2 {
    left: -100px;
    background: rgba(217, 70, 239, 0.15);
}

.glow-3 {
    top: 40%;
    right: 10%;
    background: rgba(59, 130, 246, 0.15);
}

.marketplace-icon {
    filter: grayscale(100%) brightness(2);
    opacity: 0.6;
    transition: all 0.5s ease;
}

.marketplace-icon:hover {
    filter: grayscale(0%) brightness(1);
    opacity: 1;
}

.floating {
    animation: floating 3s ease-in-out infinite;
}

@keyframes floating {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.rotate {
    animation: rotate 10s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.blob {
    position: absolute;
    border-radius: 42% 58% 70% 30% / 45% 45% 55% 55%;
    animation: morph 5s linear infinite;
    z-index: 0;
    filter: blur(60px);
}

@keyframes morph {
    0% { border-radius: 42% 58% 70% 30% / 45% 45% 55% 55%; }
    50% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
    100% { border-radius: 42% 58% 70% 30% / 45% 45% 55% 55%; }
}

.gradient-border {
    position: relative;
    border-radius: 16px;
    padding: 4px;
    background: var(--primary-gradient);
}

.gradient-border-content {
    background: var(--dark-card);
    border-radius: 12px;
    height: 100%;
}

.stats-card {
    position: relative;
    overflow: hidden;
    background-color: var(--gray-800);
    background-opacity: 0.5;
    backdrop-filter: blur(12px);
    border-radius: 0.75rem;
    padding: 1rem;
    text-align: center;
}

.stats-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(99, 102, 241, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
    opacity: 0;
    transition: all 0.3s ease;
}

.stats-card:hover::after {
    opacity: 1;
}

.nav-link {
    position: relative;
    color: var(--gray-300);
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--white);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-gradient);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.testimonial-card {
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 10px;
    left: 20px;
    font-size: 80px;
    line-height: 1;
    font-weight: 700;
    opacity: 0.1;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.case-content {
    padding: 1.5rem;
}

.grid-pattern {
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 20px 20px;
}

.noise-bg {
    position: relative;
}

.noise-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.05;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    pointer-events: none;
}

/* === Form Styles === */
.form-input {
    width: 100%;
    background-color: var(--gray-800);
    border: 1px solid var(--gray-700);
    border-radius: 0.5rem;
    padding: 0.75rem 1rem;
    color: var(--white);
    transition: border-color 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: var(--indigo-500);
}

.form-textarea {
    width: 100%;
    background-color: var(--gray-800);
    border: 1px solid var(--gray-700);
    border-radius: 0.5rem;
    padding: 0.75rem 1rem;
    color: var(--white);
    transition: border-color 0.3s ease;
    resize: vertical;
}

.form-textarea:focus {
    outline: none;
    border-color: var(--indigo-500);
}

.form-label {
    display: block;
    color: var(--gray-400);
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

/* === Custom Scrollbar === */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--dark-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--indigo-600);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--indigo-700);
}

/* === Utility Classes === */
.overflow-hidden { overflow: hidden; }
.overflow-x-hidden { overflow-x: hidden; }
.text-center { text-align: center; }
.max-w-lg { max-width: 32rem; }
.max-w-2xl { max-width: 42rem; }
.max-w-4xl { max-width: 56rem; }
.space-y-4 > * + * { margin-top: 1rem; }
.space-x-4 > * + * { margin-left: 1rem; }
.space-x-8 > * + * { margin-left: 2rem; }

/* === Focus States === */
.focus\:outline-none:focus { outline: none; }
.focus\:border-indigo-500:focus { border-color: var(--indigo-500); }

/* === Hover States === */
.hover\:text-white:hover { color: var(--white); }
.hover\:bg-indigo-600:hover { background-color: var(--indigo-600); }

/* === Gradient Backgrounds === */
.bg-gradient-to-br {
    background: linear-gradient(to bottom right, var(--indigo-600), var(--purple-600));
}

.bg-gradient-to-t {
    background: linear-gradient(to top, var(--indigo-600), var(--purple-600));
}

/* === Transform Utilities === */
.transform { transform: translateZ(0); }
.-translate-y-1\/2 { transform: translateY(-50%); }
.translate-x-1\/2 { transform: translateX(50%); }
.-top-14 { top: -3.5rem; }
.-left-10 { left: -2.5rem; }
.-bottom-5 { bottom: -1.25rem; }
.-right-5 { right: -1.25rem; }
.-top-10 { top: -2.5rem; }
.-left-10 { left: -2.5rem; }

/* === Animation Overrides === */
.rotate-reverse {
    animation-direction: reverse;
    animation-duration: 15s;
}

/* === Progress Bars === */
.progress-78 { width: 78%; }
.progress-65 { width: 65%; }
.progress-92 { width: 92%; }

.progress-gradient {
    background: var(--primary-gradient);
}

/* === Chart Heights === */
.chart-40 { height: 40%; }
.chart-60 { height: 60%; }
.chart-45 { height: 45%; }
.chart-30 { height: 30%; }
.chart-70 { height: 70%; }
.chart-50 { height: 50%; }
.chart-55 { height: 55%; }
.chart-80 { height: 80%; }
.chart-65 { height: 65%; }
.chart-75 { height: 75%; }
.chart-85 { height: 85%; }
.chart-90 { height: 90%; }
.chart-100 { height: 100%; }

/* === Blob Backgrounds === */
.blob-left {
    background: linear-gradient(45deg, rgba(99, 102, 241, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
}

.blob-right {
    background: linear-gradient(45deg, rgba(217, 70, 239, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
}

/* === Блок 2: Услуги под ключ (OOCSS) === */
.section-services {
  position: relative;
  overflow: hidden;
  padding: 5rem 0;
}
@media (min-width: 768px) {
  .section-services {
    padding: 8rem 0;
  }
}
.container-services {
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  padding: 0 1rem;
  position: relative;
  z-index: 10;
}
.services-header {
  text-align: center;
  margin-bottom: 4rem;
}
.services-title {
  font-size: 1.875rem;
  font-weight: 700;
  margin-bottom: 1rem;
}
@media (min-width: 768px) {
  .services-title {
    font-size: 2.25rem;
  }
}
.services-subtitle {
  color: var(--gray-400);
  max-width: 42rem;
  margin: 0 auto;
}
.services-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 768px) {
  .services-list {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .services-list {
    grid-template-columns: repeat(2, 1fr);
  }
}
.service-card {
  background: var(--dark-card);
  border-radius: 0.75rem;
  padding: 1.5rem;
  transition: box-shadow 0.3s, transform 0.3s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.service-card:hover {
  box-shadow: 0 8px 32px rgba(99,102,241,0.15);
  transform: translateY(-4px) scale(1.03);
}
.service-icon-bg {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background: rgba(49,46,129,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}
.service-icon {
  width: 2rem;
  height: 2rem;
  color: var(--indigo-400);
}
.service-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.75rem;
}
.service-desc {
  color: var(--gray-400);
}
.services-footer {
  text-align: center;
  margin-top: 3rem;
}
.services-btn {
  color: var(--white);
  padding: 1rem 2rem;
  border-radius: 9999px;
  font-weight: 500;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  background: var(--primary-gradient);
  transition: background 0.3s;
  display: inline-flex;
  align-items: center;
}
.services-btn-icon {
  margin-right: 0.5rem;
}
.services-btn:hover {
  background: var(--accent-gradient);
}
/* Декоративные элементы (blob) уже описаны глобально */

/* Детали услуги (унификация списков внутри карточки) */
.service-details {
  margin-top: 1.5rem;
}
.service-details ul {
  margin-bottom: 1.5rem;
}
.service-details h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--indigo-400);
  margin-bottom: 0.5rem;
  margin-top: 1rem;
}

/* Теги форматов/особенностей услуги */
.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}
.service-tag {
  background: #1A1A1A;
  border: 1px solid #333;
  border-radius: 9999px;
  color: var(--gray-400);
  font-size: 0.95rem;
  padding: 0.5rem 1.25rem;
  display: inline-block;
  transition: background 0.2s, color 0.2s;
}
.service-tag:hover {
  background: var(--primary-gradient);
  color: var(--white);
}

.footer {
    background-color: var(--dark-bg);
    position: relative;
    color: var(--gray-300);
}

.footer-top {
    background-image: var(--primary-gradient);
    height: 6px;
}

.footer-content {
    padding: 48px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (min-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr 1fr 1fr;
    }
}

.company-section h2 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
}

.company-section p {
    color: var(--gray-400);
    margin-top: 16px;
    line-height: 1.6;
}

.social-icons {
    display: flex;
    gap: 16px;
    margin-top: 24px;
}


.social-icon svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.nav-section h2 {
    font-size: 20px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 24px;
}

.nav-links {
    list-style: none;
}

.nav-links li {
    margin-bottom: 12px;
}

.footer-link {
    color: var(--gray-300);
    text-decoration: none;
    transition: all 0.2s ease;
    position: relative;
}

.footer-link:hover {
    color: var(--white);
}

.footer-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 0;
    background-image: var(--accent-gradient);
    transition: width 0.3s ease;
}

.footer-link:hover::after {
    width: 100%;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 16px;
}

.contact-icon {
    width: 24px;
    height: 24px;
    margin-right: 12px;
    margin-top: 2px;
    color: var(--indigo-400);
}

.subscribe-form {
    margin-top: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.form-input {
    padding: 8px 16px;
    border-radius: 8px;
    background-color: var(--gray-800);
    border: 1px solid var(--gray-700);
    color: var(--white);
    font-size: 16px;
}

.form-input:focus {
    outline: none;
    border-color: var(--indigo-500);
    box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.3);
}

.subscribe-btn {
    padding: 8px 16px;
    border-radius: 8px;
    background-image: var(--primary-gradient);
    color: var(--white);
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.subscribe-btn:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

.copyright-bar {
    background-color: rgba(0, 0, 0, 0.2);
    padding: 16px 0;
}

.copyright-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.copyright-text {
    font-size: 14px;
    color: var(--gray-400);
}

.legal-links {
    display: flex;
    gap: 24px;
    margin-top: 16px;
}

.legal-link {
    font-size: 14px;
    color: var(--gray-400);
    text-decoration: none;
    transition: color 0.2s ease;
}

.legal-link:hover {
    color: var(--white);
}

@media (min-width: 768px) {
    .copyright-content {
        flex-direction: row;
        justify-content: space-between;
    }

    .legal-links {
        margin-top: 0;
    }
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.form-group label {
  color: #b3b8d0;
  font-size: 15px;
  font-weight: 500;
}
.form-input {
  background: #181a29;
  border: 1px solid #35395a;
  border-radius: 8px;
  padding: 12px 16px;
  color: #fff;
  font-size: 16px;
  transition: border 0.2s;
}
.form-input:focus {
  outline: none;
  border-color: #6366f1;
}
.form-submit-btn {
  background: linear-gradient(90deg, #6366f1 0%, #d946ef 100%);
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 14px 0;
  font-size: 17px;
  font-weight: 600;
  cursor: pointer;
  margin-top: 8px;
  transition: background 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 8px rgba(99,102,241,0.12);
}
.form-submit-btn:hover {
  background: linear-gradient(90deg, #4f46e5 0%, #a21caf 100%);
}

.form-status {
    display: none;
    margin-top: 12px;
    padding: 12px;
    border-radius: 6px;
    font-size: 0.95rem;
    background-color: #e6fbe6;
    border: 1px solid var(--green-400);
    color: var(--green-400);
    transition: all 0.3s ease;
  }
  
  .form-status.error {
    background-color: #ffe6e6;
    color: #a60000;
    border-color: #f44336; /* Красная рамка при ошибке */
  }

.form-status.success {
    background-color: rgba(74, 222, 128, 0.1);
    border: 1px solid var(--green-400);
    color: var(--green-400);
}