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

:root {
    --primary-color: #6366f1;
    --primary-dark: #4f46e5;
    --secondary-color: #8b5cf6;
    --accent-color: #ec4899;
    --text-primary: #0f172a;
    --text-secondary: #64748b;
    --text-light: #94a3b8;
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-dark: #0f172a;
    --border-color: #e2e8f0;
    --success-color: #10b981;
    --error-color: #ef4444;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

[data-theme="dark"] {
    --text-primary: #f1f5f9;
    --text-secondary: #cbd5e1;
    --text-light: #94a3b8;
    --bg-primary: #0f172a;
    --bg-secondary: #1e293b;
    --bg-dark: #020617;
    --border-color: #334155;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.3);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.4), 0 2px 4px -2px rgb(0 0 0 / 0.3);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.4), 0 4px 6px -4px rgb(0 0 0 / 0.3);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.5), 0 8px 10px -6px rgb(0 0 0 / 0.4);
}

html {
    scroll-behavior: smooth;
    cursor: default;
}

* {
    cursor: inherit;
}

a, button, .btn, input, textarea, select, label, .checkbox-label {
    cursor: pointer;
}

input[type="text"], input[type="tel"], input[type="email"], textarea {
    cursor: text;
}

body {
    font-family: 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: all 0.3s ease;
}

[data-theme="dark"] .navbar {
    background: rgba(15, 23, 42, 0.8);
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    gap: 16px;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
}

.logo span {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 32px;
    align-items: center;
}

.nav-menu a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu a:hover {
    color: var(--primary-color);
}

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

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

.btn-nav {
    background: var(--primary-color);
    color: white !important;
    padding: 10px 20px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn-nav:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-nav::after {
    display: none;
}

.language-switcher {
    position: relative;
    margin-left: 24px;
}

.language-switcher-mobile {
    display: none;
}

.language-switcher-desktop {
    display: block;
}

.theme-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: var(--bg-primary);
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.nav-controls {
    display: flex;
    align-items: center;
    gap: 8px;
}

.theme-toggle-desktop {
    display: flex;
}

.theme-toggle-mobile-menu {
    display: none;
}

.mobile-controls {
    display: none;
}

.mobile-controls-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-top: 1px solid var(--border-color);
    margin-top: 8px;
}

@media (max-width: 900px) {
    .theme-toggle-desktop {
        display: none;
    }
    
    .mobile-controls {
        display: block;
    }
    
    .theme-toggle-mobile-menu {
        display: flex;
        width: 40px;
        height: 40px;
    }
    
    .language-switcher-mobile {
        display: block;
        flex: 1;
    }
    
    .language-switcher-mobile .lang-btn {
        width: 100%;
        justify-content: space-between;
    }
}

.theme-toggle:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.theme-icon {
    position: absolute;
    transition: all 0.3s ease;
}

.sun-icon {
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

.moon-icon {
    opacity: 0;
    transform: rotate(90deg) scale(0.5);
}

[data-theme="dark"] .sun-icon {
    opacity: 0;
    transform: rotate(90deg) scale(0.5);
}

[data-theme="dark"] .moon-icon {
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

[data-theme="dark"] .lang-dropdown {
    background: var(--bg-secondary);
    border-color: var(--border-color);
}

[data-theme="dark"] .lang-option:hover {
    background: var(--bg-primary);
}

.lang-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    font-size: 14px;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

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

.lang-btn svg {
    transition: transform 0.3s ease;
}

.language-switcher.active .lang-btn svg {
    transform: rotate(180deg);
}

.lang-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    min-width: 160px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    overflow: hidden;
}

.language-switcher.active .lang-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-option {
    display: block;
    width: 100%;
    padding: 12px 16px;
    text-align: left;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 14px;
    color: var(--text-primary);
    transition: background 0.2s ease;
}

.lang-option:hover {
    background: var(--bg-secondary);
}

.lang-option.active {
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary-color);
    font-weight: 600;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 0 80px;
    overflow: hidden;
}

@media (prefers-reduced-motion: reduce) {
    .hero-background,
    .gradient-orb {
        animation: none !important;
    }
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05), rgba(236, 72, 153, 0.05));
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    opacity: 0.3;
    will-change: transform;
}

.orb-1 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--primary-color), transparent);
    top: -100px;
    left: -100px;
}

.orb-2 {
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, var(--accent-color), transparent);
    bottom: -80px;
    right: -80px;
}

.orb-3 {
    display: none;
}


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

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
    will-change: opacity;
    transform: translateZ(0);
}

.hero-title {
    font-size: clamp(36px, 8vw, 64px);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 20px;
    color: var(--text-secondary);
    margin-bottom: 48px;
    line-height: 1.6;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 48px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

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

.stat-number {
    font-size: 48px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
}

.btn {
    display: inline-block;
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    box-shadow: var(--shadow-lg);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

.btn-block {
    width: 100%;
}

.hero-icons {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.hero-icon {
    position: absolute;
    opacity: 0.12;
    will-change: transform;
}

.icon-code {
    color: var(--primary-color);
}

.icon-browser {
    color: var(--accent-color);
}

.icon-server {
    color: var(--secondary-color);
}

.icon-database {
    color: var(--primary-color);
}

.icon-design {
    color: var(--accent-color);
}

.icon-api {
    color: var(--secondary-color);
}

.icon-mobile {
    color: var(--primary-color);
}

.icon-cloud {
    color: var(--accent-color);
}

.icon-code {
    top: 15%;
    left: 10%;
    animation: floatIcon 15s ease-in-out infinite;
}

.icon-browser {
    top: 25%;
    right: 15%;
    animation: floatIcon 18s ease-in-out infinite 2s;
}

.icon-server {
    bottom: 30%;
    left: 8%;
    animation: floatIcon 20s ease-in-out infinite 4s;
}

.icon-database {
    top: 50%;
    right: 12%;
    animation: floatIcon 16s ease-in-out infinite 1s;
}

.icon-design {
    bottom: 20%;
    right: 8%;
    animation: floatIcon 17s ease-in-out infinite 3s;
}

.icon-api {
    top: 40%;
    left: 5%;
    animation: floatIcon 19s ease-in-out infinite 2.5s;
}

.icon-mobile {
    bottom: 40%;
    left: 15%;
    animation: floatIcon 14s ease-in-out infinite 1.5s;
}

.icon-cloud {
    top: 10%;
    right: 5%;
    animation: floatIcon 21s ease-in-out infinite 5s;
}

@keyframes floatIcon {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    25% {
        transform: translate(20px, -30px) rotate(5deg);
    }
    50% {
        transform: translate(-15px, -20px) rotate(-5deg);
    }
    75% {
        transform: translate(10px, 20px) rotate(3deg);
    }
}

@media (max-width: 768px) {
    .hero-icons {
        display: none;
    }
}

/* Section Styles */
section {
    padding: 100px 0;
    position: relative;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

section.fade-in {
    opacity: 1;
    transform: translateY(0);
}

section.fade-out {
    opacity: 0.95;
    transform: translateY(20px);
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-tag {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary-color);
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(32px, 6vw, 48px);
    font-weight: 800;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.section-description {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* About Section */
.about {
    background: var(--bg-secondary);
    position: relative;
    overflow: hidden;
}

[data-theme="dark"] .about {
    background: var(--bg-primary);
}

.about::before {
    content: '';
    position: absolute;
    top: 20%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.08), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    opacity: 0.6;
}

[data-theme="dark"] .about::before {
    background: radial-gradient(circle, rgba(139, 92, 246, 0.04), transparent 70%);
}

.about::after {
    content: '';
    position: absolute;
    bottom: 10%;
    right: -5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(236, 72, 153, 0.06), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    opacity: 0.6;
}

[data-theme="dark"] .about::after {
    background: radial-gradient(circle, rgba(236, 72, 153, 0.03), transparent 70%);
}

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

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

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

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

.about-card {
    background: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease, transform 0.1s ease-out;
    border: 1px solid var(--border-color);
    will-change: transform;
}

[data-theme="dark"] .about-card {
    background: var(--bg-secondary);
}

.about-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.card-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 24px;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-icon svg {
    width: 100%;
    height: 100%;
}

.about-card h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.about-card p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Services Section */
.services {
    position: relative;
    overflow: hidden;
    background: var(--bg-primary);
}

[data-theme="dark"] .services {
    background: var(--bg-secondary);
}

.services::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.06), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    opacity: 0.5;
}

[data-theme="dark"] .services::before {
    background: radial-gradient(circle, rgba(99, 102, 241, 0.03), transparent 70%);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    position: relative;
    z-index: 1;
}

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

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

.service-card {
    background: white;
    padding: 40px;
    border-radius: 16px;
    border: 2px solid var(--border-color);
    transition: all 0.3s ease, transform 0.1s ease-out;
    position: relative;
    overflow: hidden;
    will-change: transform;
}

[data-theme="dark"] .service-card {
    background: var(--bg-secondary);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.service-number {
    font-size: 72px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.1;
    line-height: 1;
    margin-bottom: 16px;
}

.service-card h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.service-card p {
    color: var(--text-secondary);
    margin-bottom: 24px;
    line-height: 1.7;
}

.service-features {
    list-style: none;
}

.service-features li {
    color: var(--text-secondary);
    padding: 8px 0;
    padding-left: 24px;
    position: relative;
}

.service-features li::before {
    content: '';
    position: absolute;
    left: 0;
    width: 16px;
    height: 16px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M20 6L9 17l-5-5' stroke='%2310b981' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

/* Pricing Section */
.pricing {
    background: var(--bg-secondary);
    position: relative;
    overflow: hidden;
}

[data-theme="dark"] .pricing {
    background: var(--bg-primary);
}

.pricing::before {
    content: '';
    position: absolute;
    top: 10%;
    right: -5%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.05), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    opacity: 0.5;
}

[data-theme="dark"] .pricing::before {
    background: radial-gradient(circle, rgba(99, 102, 241, 0.02), transparent 70%);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin-top: 64px;
    position: relative;
    z-index: 1;
}

.pricing-card {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: var(--shadow-sm);
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
}

[data-theme="dark"] .pricing-card {
    background: var(--bg-secondary);
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.pricing-card.featured {
    border-color: var(--primary-color);
    border-width: 3px;
    background: rgba(99, 102, 241, 0.02);
    position: relative;
}

[data-theme="dark"] .pricing-card.featured {
    background: rgba(99, 102, 241, 0.05);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    right: 24px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    box-shadow: var(--shadow-md);
}

.pricing-header {
    margin-bottom: 24px;
}

.pricing-header h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.pricing-subtitle {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.5;
}

.pricing-price {
    margin-bottom: 32px;
    padding-bottom: 32px;
    border-bottom: 2px solid var(--border-color);
}

.price-amount {
    display: block;
    font-size: 42px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 8px;
}

.price-period {
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
}

.pricing-features {
    list-style: none;
    margin-bottom: 32px;
    flex: 1;
}

.pricing-features li {
    padding: 12px 0;
    padding-left: 32px;
    position: relative;
    color: var(--text-secondary);
    line-height: 1.6;
}

.pricing-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 16px;
    width: 20px;
    height: 20px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M20 6L9 17l-5-5' stroke='%2310b981' stroke-width='2.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.pricing-tech {
    margin-bottom: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
}

.tech-label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tech-tag {
    padding: 6px 12px;
    background: var(--bg-secondary);
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
}

.tech-tag:first-child {
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary-color);
    border-color: rgba(99, 102, 241, 0.2);
    font-weight: 600;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    text-align: center;
}

.btn-outline:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

/* Разноцветные кнопки в pricing карточках - все с градиентом как на Enterprise */
.pricing-card .btn-outline,
.pricing-card .btn-primary {
    border-color: var(--secondary-color);
    color: var(--secondary-color);
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(236, 72, 153, 0.1));
}

.pricing-card .btn-outline:hover,
.pricing-card .btn-primary:hover {
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    color: white;
    border-color: transparent;
    transform: translateY(-2px);
}

.pricing-note {
    margin-top: 64px;
    text-align: center;
    padding: 24px;
    background: rgba(99, 102, 241, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(99, 102, 241, 0.1);
}

[data-theme="dark"] .pricing-note {
    background: rgba(99, 102, 241, 0.08);
    border-color: rgba(99, 102, 241, 0.15);
}

.pricing-note p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}


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

@media (max-width: 768px) {
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-card {
        padding: 32px 24px;
    }
    
    .price-amount {
        font-size: 36px;
    }
}

/* Process Section */
.process {
    background: var(--bg-primary);
    position: relative;
    overflow: hidden;
}

[data-theme="dark"] .process {
    background: var(--bg-secondary);
}

.process::before {
    content: '';
    position: absolute;
    top: -20%;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.04), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    opacity: 0.5;
}

[data-theme="dark"] .process::before {
    background: radial-gradient(circle, rgba(99, 102, 241, 0.02), transparent 70%);
}

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

.process-timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 0;
}

.process-timeline::before {
    content: '';
    position: absolute;
    left: 60px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--primary-color), var(--accent-color));
    border-radius: 2px;
}

.process-step {
    position: relative;
    padding-left: 140px;
    margin-bottom: 80px;
    opacity: 0;
    transform: translateX(-20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.process-step.visible {
    opacity: 1;
    transform: translateX(0);
}

.process-step:last-child {
    margin-bottom: 0;
}

.step-number {
    position: absolute;
    left: 0;
    top: 0;
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    font-size: 32px;
    font-weight: 800;
    color: white;
    box-shadow: var(--shadow-lg);
    z-index: 2;
    transition: all 0.3s ease;
}

.process-step:hover .step-number {
    transform: scale(1.1);
    box-shadow: var(--shadow-xl);
}

.step-content {
    background: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    position: relative;
}

[data-theme="dark"] .step-content {
    background: var(--bg-secondary);
}

.process-step:hover .step-content {
    transform: translateX(10px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.step-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 24px;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.process-step:hover .step-icon {
    background: rgba(99, 102, 241, 0.15);
    transform: scale(1.05);
}

.step-icon svg {
    width: 100%;
    height: 100%;
}

.step-content h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.step-content p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 16px;
}

@media (max-width: 768px) {
    .process-timeline::before {
        left: 40px;
    }
    
    .process-step {
        padding-left: 100px;
        margin-bottom: 60px;
    }
    
    .step-number {
        width: 80px;
        height: 80px;
        font-size: 24px;
    }
    
    .step-content {
        padding: 32px 24px;
    }
    
    .step-icon {
        width: 48px;
        height: 48px;
        margin-bottom: 20px;
    }
    
    .step-content h3 {
        font-size: 20px;
    }
}

/* Contact Section */
.contact {
    background: var(--bg-dark);
    color: white;
    position: relative;
    overflow: hidden;
}

[data-theme="dark"] .contact {
    background: var(--bg-primary);
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(99, 102, 241, 0.08), transparent 60%),
        radial-gradient(circle at 80% 70%, rgba(236, 72, 153, 0.08), transparent 60%);
    pointer-events: none;
    opacity: 0.7;
}

[data-theme="dark"] .contact::before {
    background: 
        radial-gradient(circle at 20% 30%, rgba(99, 102, 241, 0.04), transparent 60%),
        radial-gradient(circle at 80% 70%, rgba(236, 72, 153, 0.04), transparent 60%);
}

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

@keyframes backgroundShift {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.1);
    }
}

.contact .section-tag {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.contact .section-title,
.contact .section-description {
    color: white;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 64px;
    align-items: start;
    position: relative;
}

.contact-details {
    margin-top: 48px;
}

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

.contact-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    color: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-icon svg {
    width: 100%;
    height: 100%;
}

.contact-item h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    color: white;
}

.contact-item p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 16px;
}

.contact-item a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: white;
}

/* Form Styles */
.contact-form {
    background: rgba(255, 255, 255, 0.05);
    padding: 40px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

[data-theme="dark"] .contact-form {
    background: rgba(255, 255, 255, 0.03);
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: white;
    font-size: 14px;
}

.form-group .checkbox-label {
    display: flex;
    margin-bottom: 0;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    color: white;
    font-size: 16px;
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.form-group select {
    cursor: pointer;
}

.form-group select option {
    background: var(--bg-dark);
    color: white;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
    border-color: #ef4444;
    background: rgba(239, 68, 68, 0.1);
}

.form-group input.error:focus,
.form-group select.error:focus,
.form-group textarea.error:focus {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.error-message {
    display: block;
    margin-top: 6px;
    font-size: 13px;
    color: #ef4444;
    min-height: 18px;
    opacity: 0;
    transform: translateY(-5px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.error-message.show {
    opacity: 1;
    transform: translateY(0);
}

.form-group input:valid:not(:placeholder-shown),
.form-group textarea:valid:not(:placeholder-shown) {
    border-color: #10b981;
}

.form-group input:valid:not(:placeholder-shown):focus,
.form-group textarea:valid:not(:placeholder-shown):focus {
    border-color: #10b981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.checkbox-group {
    margin-bottom: 24px;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    font-weight: normal;
    margin-bottom: 0;
    gap: 14px;
    user-select: none;
}

.checkbox-label input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    margin: 0;
    padding: 0;
    pointer-events: none;
}

.checkbox-custom {
    width: 22px;
    height: 22px;
    min-width: 22px;
    flex-shrink: 0;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.05);
    position: relative;
    transition: all 0.3s ease;
    margin-top: 1px;
}

.checkbox-label input[type="checkbox"]:checked + .checkbox-custom {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.checkbox-label input[type="checkbox"]:checked + .checkbox-custom::after {
    content: '';
    position: absolute;
    left: 7px;
    top: 3px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.checkbox-label input[type="checkbox"]:focus + .checkbox-custom {
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
}

.checkbox-label input[type="checkbox"].error + .checkbox-custom {
    border-color: #ef4444;
    background: rgba(239, 68, 68, 0.1);
}

.checkbox-text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    line-height: 1.5;
}

.checkbox-text a {
    color: var(--primary-color);
    text-decoration: underline;
    transition: color 0.3s ease;
}

.checkbox-text a:hover {
    color: #818cf8;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 12px;
    height: 12px;
}

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
    border-radius: 6px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 6px;
    border: 2px solid var(--bg-secondary);
    transition: background 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
}

/* Firefox Scrollbar */
* {
    scrollbar-width: thin;
    scrollbar-color: var(--primary-color) var(--bg-secondary);
}

.btn-loader {
    display: none;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin-left: 8px;
}

.btn.loading .btn-loader {
    display: inline-block;
}

.btn.loading span:first-child {
    display: none;
}

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

/* Modal Popup */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.show {
    opacity: 1;
    visibility: visible;
}

body.modal-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
}

.modal-content {
    background: var(--bg-primary);
    border: 2px solid var(--border-color);
    border-radius: 16px;
    padding: 40px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    transform: scale(0.9);
    transition: transform 0.3s ease;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.modal-overlay.show .modal-content {
    transform: scale(1);
}

.modal-message {
    font-size: 18px;
    font-weight: 500;
    line-height: 1.6;
}

.modal-message.success {
    color: #10b981;
}

.modal-message.error {
    color: #ef4444;
}

/* Footer */
.footer {
    background: var(--bg-dark);
    color: white;
    padding: 48px 0 32px;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.5), transparent);
}

.footer-nav-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
    gap: 32px;
}

.footer-logo {
    flex-shrink: 0;
}

.footer-nav {
    display: flex;
    gap: 32px;
    align-items: center;
    flex-wrap: wrap;
}

.footer-nav a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.footer-nav a:hover {
    color: var(--primary-color);
}

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

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

.footer-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    margin: 32px 0 24px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
}

.footer-email {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
}

.footer-email-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-email-item svg {
    color: var(--primary-color);
    flex-shrink: 0;
}

.footer-email-item a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.footer-email-item a:hover {
    color: var(--primary-color);
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
    margin: 0;
}

[data-theme="dark"] .footer-copyright {
    color: var(--text-secondary);
}

/* Responsive Design */
@media (max-width: 900px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 24px;
        gap: 16px;
        box-shadow: var(--shadow-lg);
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        z-index: 999;
    }
    
    [data-theme="dark"] .nav-menu {
        background: var(--bg-secondary);
    }
    
    .theme-toggle-mobile-wrapper {
        display: block;
    }
    
    .theme-toggle-mobile-wrapper .theme-toggle {
        width: 100%;
        justify-content: flex-start;
        padding: 12px 16px;
        border: none;
        border-radius: 0;
        background: transparent;
    }
    
    .theme-toggle-mobile-wrapper .theme-toggle:hover {
        background: var(--bg-primary);
        max-height: calc(100vh - 70px);
        overflow-y: auto;
    }

    .nav-menu.active {
        transform: translateX(0);
    }

    .nav-menu li {
        width: 100%;
    }

    .nav-menu a {
        display: block;
        width: 100%;
        padding: 12px 16px;
        text-align: center;
    }

    .nav-menu .btn-nav {
        text-align: center;
        justify-content: center;
    }

    .language-switcher-desktop {
        display: none;
    }


    .mobile-menu-toggle {
        display: flex;
    }

    .nav-content {
        justify-content: space-between;
        gap: 16px;
    }

    .hero {
        padding: 100px 0 60px;
    }
    
    .hero-background {
        background: linear-gradient(135deg, rgba(99, 102, 241, 0.03), rgba(236, 72, 153, 0.03));
    }
    
    .gradient-orb {
        display: none;
    }

    .hero-stats {
        gap: 32px;
    }

    .stat-number {
        font-size: 36px;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    section {
        padding: 60px 0;
    }
}

@media (max-width: 768px) {
    .footer-nav-row {
        flex-direction: column;
        gap: 24px;
        align-items: center;
        justify-content: center;
    }
    
    .footer-logo {
        display: none;
    }

    .footer-nav {
        flex-direction: column;
        gap: 16px;
        align-items: center;
        justify-content: center;
        width: 100%;
    }
    
    .footer-bottom {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 16px;
        text-align: center;
    }
    
    .footer-email {
        flex-direction: column;
        gap: 12px;
        align-items: center;
        justify-content: center;
    }
    
    .footer-copyright {
        text-align: center;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 18px;
        margin-bottom: 32px;
    }
    
    .hero-stats {
        gap: 24px;
        margin-bottom: 32px;
    }
    
    .stat-number {
        font-size: 32px;
    }

    .about-card,
    .service-card,
    .step-content {
        padding: 32px 24px;
    }

    .contact-form {
        padding: 32px 24px;
    }
}

