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

/* SF Pro Font Import */
@import url('https://fonts.cdnfonts.com/css/sf-pro-display');

body {
    font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

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

/* Header */
.header {
    background: #1a2332;
    padding: 15px 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: transform 0.3s ease;
}

.header.scrolled {
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

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

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

.logo-image {
    width: 40px;
    height: 40px;
    object-fit: contain;
    flex-shrink: 0;
}

.logo-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 16px;
    height: 16px;
    background: white;
    border-radius: 3px;
}

.logo-text {
    color: white;
    font-size: 24px;
    font-weight: 700;
}

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

.nav-link {
    color: #94a3b8;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-link.active,
.nav-link:hover {
    color: #006EE6;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(45deg, #006EE6, #0084ff);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 110, 230, 0.3);
}

.btn-secondary {
    background: white;
    color: #1a2332;
    border: 2px solid white;
}

.btn-dark {
    background: #1a2332;
    color: white;
}

.btn-icon {
    background: rgba(255, 255, 255, 0.2);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.search-btn {
    background: none;
    border: none;
    color: #94a3b8;
    font-size: 18px;
    cursor: pointer;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Hide mobile menu button on desktop */
.menu-btn {
    background: none;
    border: none;
    color: #94a3b8;
    font-size: 18px;
    cursor: pointer;
    width: 24px;
    height: 24px;
    display: none; /* Hidden by default on desktop */
    align-items: center;
    justify-content: center;
}

/* Hero Section */
.hero {
    background: #1a2332;
    padding: 140px 0 140px;
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('/img/credit-card-bg.jpg') center/cover;
    opacity: 0.6;
}

.hero-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(26, 35, 50, 0.9), rgba(26, 35, 50, 0.7));
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 16px;
    border-radius: 20px;
    color: #94a3b8;
    font-size: 14px;
    margin-bottom: 30px;
}

.badge-icon {
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    color: white;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-description {
    font-size: 18px;
    color: #94a3b8;
    margin-bottom: 40px;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.phone-contact {
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
}

.phone-icon {
    background: rgba(255, 255, 255, 0.1);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 100px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120'%3E%3Cpath d='M0,60 C300,120 900,0 1200,60 L1200,120 L0,120 Z' fill='%23ffffff'/%3E%3C/svg%3E") center bottom/cover no-repeat;
}

.section-badge {
    display: inline-block;
    background: #e6f3ff;
    color: #006EE6;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
}

/* Services Preview */
.services-preview {
    padding: 80px 0;
    background: #ecf0f3;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 20px;
}

.service-card {
    background: white;
    padding: 30px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    transition: transform 0.3s;
}

.service-card:hover {
    transform: translateY(-2px);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: #ecf0f3;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}

.service-content {
    flex: 1;
}

.service-title {
    font-size: 20px;
    font-weight: 600;
    color: #1a2332;
    margin-bottom: 15px;
}

.service-description {
    color: #64748b;
    line-height: 1.6;
}

/* About Section */
.about {
    padding: 100px 0;
    background: white;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    position: relative;
    align-items: start;
    min-height: 600px;
}

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

.about-left img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.about-right {
    padding-top: 20px;
    position: relative;
    z-index: 1;
}

.features-card {
    position: absolute;
    left: 300px;
    top: 300px;
    background: white;
    padding: 30px;
    width: 500px;
    z-index: 10;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 30px;
    position: relative;
}

.features-grid::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 1px;
    background: #e2e8f0;
    transform: translateX(-50%);
}

.features-column {
    padding: 0 15px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #64748b;
    margin-bottom: 15px;
    font-size: 14px;
}

.feature-item::before {
    content: '✓';
    color: #006EE6;
    font-weight: bold;
    font-size: 16px;
}

.about-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.about-stats {
    position: absolute;
    right: 50px;
    top: 300px;
    background: url('/img/credit-card.jpg') center/cover;
    width: 280px;
    height: 250px;
    display: flex;
    align-items: flex-end;
    padding: 30px;
    overflow: hidden;
    z-index: 5;
}

.about-stats::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 110, 230, 0.8), rgba(0, 132, 255, 0.6));
}

.stats-content {
    position: relative;
    z-index: 2;
    color: white;
    text-align: center;
    width: 100%;
}

.stats-number {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 10px;
}

.stats-label {
    font-size: 16px;
    opacity: 0.9;
}

/* Services Section */
.services {
    padding: 100px 0;
    background: #ecf0f3;
}

.services-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 60px;
}

.services-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.service-item {
    display: flex;
    align-items: center;
    padding: 30px;
    background: white;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

.service-item:hover,
.service-item.active {
    background: #006EE6;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 110, 230, 0.3);
}

.service-item:hover .service-item-title,
.service-item.active .service-item-title {
    color: white;
}

.service-item:hover .service-item-description,
.service-item.active .service-item-description {
    color: rgba(255, 255, 255, 0.9);
}

.service-item:hover .service-item-arrow,
.service-item.active .service-item-arrow {
    background: white;
    color: #006EE6;
}

.service-item-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, #006EE6, #0084ff);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 30px;
    position: relative;
    transition: all 0.3s ease;
}

.service-item:hover .service-item-icon,
.service-item.active .service-item-icon {
    background: white;
}

.icon-default,
.icon-hover {
    width: 24px;
    height: 24px;
    transition: opacity 0.3s ease;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.icon-hover {
    opacity: 0;
}

.service-item:hover .icon-default,
.service-item.active .icon-default {
    opacity: 0;
}

.service-item:hover .icon-hover,
.service-item.active .icon-hover {
    opacity: 1;
}

.service-item-content {
    flex: 1;
}

.service-item-title {
    font-size: 22px;
    font-weight: 600;
    color: #1a2332;
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.service-item-description {
    color: #64748b;
    line-height: 1.6;
    transition: color 0.3s ease;
}

.service-item-arrow {
    width: 40px;
    height: 40px;
    background: #f1f5f9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #64748b;
    transition: all 0.3s ease;
}

/* Clients Section */
.clients {
    padding: 100px 0;
    background: #1a2332;
    position: relative;
    overflow: hidden;
}

.clients-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M0,0 L100,100 M100,0 L0,100' stroke='rgba(0,110,230,0.1)' stroke-width='0.5'/%3E%3C/svg%3E");
}

.clients-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    align-items: center;
}

.clients-logos {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.client-logo {
    background: rgba(255, 255, 255, 0.1);
    padding: 40px 20px;
    border-radius: 15px;
    text-align: center;
    color: #94a3b8;
    font-weight: 600;
}

.clients-title {
    font-size: 36px;
    font-weight: 700;
    color: white;
    line-height: 1.3;
    margin-bottom: 20px;
}

.clients-link {
    display: inline-block;
    margin-top: 30px;
    background: #006EE6;
    color: white;
    padding: 15px 40px;
    border-radius: 25px;
    text-decoration: none;
    transition: all 0.3s;
}

.clients-link:hover {
    background: #0084ff;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 110, 230, 0.3);
}

/* Portfolio Section */
.portfolio {
    padding: 100px 0;
    background: white;
}

.portfolio-header {
    text-align: center;
    margin-bottom: 60px;
}

.portfolio-slider {
    margin-bottom: 30px;
}

.portfolio-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    max-width: 800px;
    margin: 0 auto;
}

.portfolio-item img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.portfolio-content {
    position: absolute;
    bottom: 30px;
    left: 30px;
    color: white;
}

.portfolio-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 15px;
}

.portfolio-tags {
    display: flex;
    gap: 10px;
}

.tag {
    background: rgba(255, 255, 255, 0.2);
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 14px;
}

.portfolio-arrow {
    position: absolute;
    top: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #1a2332;
}

.portfolio-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #e2e8f0;
    cursor: pointer;
    transition: background 0.3s;
}

.dot.active {
    background: #006EE6;
}

/* Process Section */
.process {
    padding: 100px 0;
    background: #f8fafc;
}

.process-content {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 80px;
    align-items: start;
    position: relative;
}

.process-left {
    position: relative;
}

.process-image {
    position: relative;
    margin-top: 20px;
}

.process-image img {
    width: 100%;
    height: 600px;
    object-fit: cover;
}

.process-badge {
    position: absolute;
    bottom: 30px;
    left: 30px;
    background: #1a2332;
    color: white;
    padding: 20px;
    border-radius: 50%;
    text-align: center;
    min-width: 120px;
}

.process-badge .badge-icon {
    font-size: 24px;
    margin-bottom: 10px;
    width: 24px;
    height: 24px;
}

.badge-text {
    font-size: 10px;
    line-height: 1.2;
}

.process-steps {
    position: relative;
    margin-top: 100px;
}

.process-steps::before {
    content: '';
    position: absolute;
    left: 10px;
    top: 35px;
    height: calc(100% - 200px);
    width: 2px;
    background: #e2e8f0;
    z-index: 1;
}

.step {
    position: relative;
    margin-bottom: 30px;
    padding: 30px;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-left: 70px;
}

.step:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.step-number {
    width: 80px;
    height: 80px;
    background: #e2e8f0;
    color: #94a3b8;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 20px;
    position: absolute;
    left: -100px;
    top: 20px;
    z-index: 3;
    border: 4px solid #f8fafc;
    transition: all 0.3s ease;
}


.step:hover .step-number {
    background: #006EE6;
    color: white;
}

.step-title {
    font-size: 24px;
    font-weight: 600;
    color: #1a2332;
    margin-bottom: 15px;
}

.step-description {
    color: #64748b;
    margin-bottom: 20px;
    line-height: 1.6;
    font-size: 16px;
}

.step-link {
    color: #006EE6;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.step-link:hover {
    text-decoration: underline;
}

/* FAQ */
.faq {
    padding: 100px 0;
    background: #ecf0f3;
}

.faq-content {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 60px;
    align-items: start;
}

.faq-item {
    background: white;
    border-bottom: 1px solid #e2e8f0;
    overflow: hidden;
}

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

.faq-question {
    display: flex;
    align-items: center;
    padding: 25px 30px;
    cursor: pointer;
    transition: background 0.3s;
}

.faq-question:hover {
    background: #ecf0f3;
}

.faq-number {
    color: #006EE6;
    font-weight: 600;
    margin-right: 15px;
}

.faq-text {
    flex: 1;
    font-weight: 600;
    color: #1a2332;
}

.faq-icon {
    width: 30px;
    height: 30px;
    background: #006EE6;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: transform 0.3s;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 30px;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding: 0 30px 25px;
}

.faq-answer p {
    color: #64748b;
    line-height: 1.6;
}

.faq-image {
    background: url('/img/faq-img.jpg') center/cover;
    position: relative;
    min-height: 430px;
    overflow: hidden;
}

.faq-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(26, 35, 50, 0.8), rgba(26, 35, 50, 0.6));
    display: flex;
    align-items: flex-start;
    padding: 40px;
}

.faq-image-title {
    font-size: 24px;
    color: white;
    font-weight: 600;
}

/* CTA Section */
.cta {
    background: #1a2332;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.cta-wave-top {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120' preserveAspectRatio='none'%3E%3Cpath d='M0,60 C300,0 900,120 1200,60 L1200,0 L0,0 Z' fill='%23ecf0f3'/%3E%3C/svg%3E") center top/cover no-repeat;
    z-index: 1;
}

.cta-content {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.cta-subtitle {
    color: #94a3b8;
    margin-bottom: 10px;
}

.cta-title {
    font-size: 36px;
    font-weight: 700;
    color: white;
    margin-bottom: 40px;
}

.cta-contacts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-item h4 {
    color: #94a3b8;
    margin-bottom: 10px;
}

.contact-item p {
    color: white;
    margin-bottom: 5px;
}

.cta-phone {
    background: #006EE6;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.phone-btn {
    background: none;
    border: none;
    font-size: 32px;
    cursor: pointer;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

/* Footer */
.footer {
    background: #1a2332;
    padding: 60px 0 0;
    color: white;
    position: relative;
    overflow: hidden;
}

.footer-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('https://images.unsplash.com/photo-1560472354-b33ff0c44a43?w=1200&h=600&fit=crop') center/cover;
    opacity: 0.1;
    z-index: 1;
}

.footer-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(26, 35, 50, 0.9), rgba(26, 35, 50, 0.8));
}

.footer .container {
    position: relative;
    z-index: 2;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-title {
    font-size: 20px;
    margin-bottom: 20px;
}

.footer-description {
    color: #94a3b8;
    line-height: 1.6;
    margin-bottom: 30px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: background 0.3s;
}

.social-link:hover {
    background: #006EE6;
}

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

.footer-subtitle {
    font-size: 16px;
    margin-bottom: 20px;
}

.footer-link {
    display: block;
    color: #94a3b8;
    text-decoration: none;
    margin-bottom: 10px;
    transition: color 0.3s;
}

.footer-link:hover {
    color: white;
}

.new-badge {
    background: #006EE6;
    color: white;
    padding: 2px 6px;
    border-radius: 8px;
    font-size: 10px;
    margin-left: 8px;
}

.newsletter-form {
    display: flex;
    gap: 10px;
}

.email-input {
    flex: 1;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    padding: 12px 20px;
    color: white;
}

.email-input::placeholder {
    color: #94a3b8;
}

.newsletter-btn {
    width: 45px;
    height: 45px;
    background: #006EE6;
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-bottom {
    background: linear-gradient(45deg, #006EE6, #0084ff);
    padding: 20px 0;
    margin-top: 0;
}

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

.copyright {
    color: white;
    font-weight: 500;
}

.footer-bottom-links {
    display: flex;
    align-items: center;
    gap: 20px;
}

.footer-bottom-link {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.footer-bottom-link:hover {
    color: white;
}

.footer-bottom-links span {
    color: rgba(255, 255, 255, 0.7);
}

.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: #006EE6;
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    box-shadow: 0 4px 20px rgba(0, 110, 230, 0.3);
    transition: all 0.3s ease;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.scroll-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 110, 230, 0.4);
}

/* Animation Classes */
.search-highlight {
    background: yellow;
    padding: 2px 4px;
    border-radius: 3px;
}

.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: scale(0);
    animation: ripple-animation 0.6s linear;
    pointer-events: none;
}

@keyframes ripple-animation {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

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

.animate-in {
    animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.error {
    border-color: #ef4444 !important;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1) !important;
}

.tooltip {
    position: absolute;
    background: #1a2332;
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 14px;
    z-index: 1000;
    transform: translateX(-50%);
    white-space: nowrap;
    pointer-events: none;
}

.tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top-color: #1a2332;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .about-content {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    
    .about-stats {
        grid-column: span 2;
        margin-top: 40px;
    }
    
    .process-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .process-left {
        order: 1;
    }
    
    .process-steps {
        order: 2;
    }
    
    .clients-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .faq-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .header-content {
        position: relative;
    }
    
    /* Show mobile menu button on mobile devices */
    .menu-btn {
        display: flex; /* Show on mobile */
    }
    
    .nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #1a2332;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
        z-index: 100;
    }
    
    .nav.active {
        display: flex;
    }
    
    .nav-link {
        padding: 10px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .nav-link:last-child {
        border-bottom: none;
    }
    
    .header-actions {
        gap: 10px;
    }
    
    .btn {
        padding: 10px 16px;
        font-size: 14px;
    }
    
    .hero {
        padding: 120px 0 80px;
    }
    
    .hero-title {
        font-size: 32px;
        line-height: 1.2;
    }
    
    .hero-description {
        font-size: 16px;
    }
    
    .hero-actions {
        flex-direction: column;
        gap: 20px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .service-card {
        padding: 30px 20px;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
        min-height: auto;
    }

    .features-card {
        position: static;
        width: 100%;
        margin-top: 30px;
    }
    
    .about-stats {
        position: static;
        width: 100%;
        height: 250px;
        margin-top: 30px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .about-actions {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .services-header {
        margin-bottom: 40px;
    }
    
    .service-item {
        flex-direction: column;
        text-align: center;
        padding: 25px 20px;
    }
    
    .service-item-icon {
        margin-right: 0;
        margin-bottom: 20px;
    }
    
    .service-item-arrow {
        margin-top: 20px;
    }
    
    .clients-logos {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .clients-title {
        font-size: 28px;
        margin-top: 40px;
    }
    
    .portfolio-content {
        bottom: 20px;
        left: 20px;
    }
    
    .portfolio-title {
        font-size: 20px;
    }
    
    .portfolio-arrow {
        top: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
    }
    
    .process-image {
        margin-top: 20px;
    }
    
    .process-steps {
        gap: 30px;
    }

    .process-steps::before {
        display: none;
    }
    
    .step {
        padding: 25px 20px;
        margin-left: 0;
    }
    
    .step-number {
        position: static;
        margin-bottom: 20px;
    }
    
    .cta-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    
    .cta-contacts {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .scroll-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 28px;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .service-card {
        padding: 25px 15px;
    }
    
    .btn {
        padding: 8px 12px;
        font-size: 13px;
    }
    
    .clients-logos {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .portfolio-item img {
        height: 250px;
    }
    
    .faq-question {
        padding: 20px 15px;
    }
    
    .faq-answer {
        padding: 0 15px 20px;
    }
}

/* Text Page Specific Styles */
/* Page Hero Section */
.page-hero {
    background: #1a2332;
    padding: 120px 0 120px;
    position: relative;
    overflow: hidden;
}

.page-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 110, 230, 0.1), rgba(0, 132, 255, 0.05));
}

.page-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.page-title {
    font-size: 42px;
    font-weight: 700;
    color: white;
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-subtitle {
    font-size: 18px;
    color: #94a3b8;
    line-height: 1.6;
}

/* Breadcrumbs */
.breadcrumbs {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
    font-size: 14px;
}

.breadcrumbs a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumbs a:hover {
    color: #006EE6;
}

.breadcrumbs span {
    color: #64748b;
}

.breadcrumbs .current {
    color: #006EE6;
}

/* Content Section */
.content-section {
    padding: 80px 0;
    background: white;
}

.content-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.content-block {
    margin-bottom: 40px;
}

/* Typography for Content */
.content-block h2 {
    font-size: 32px;
    font-weight: 700;
    color: #1a2332;
    margin-bottom: 25px;
    line-height: 1.3;
}

.content-block h3 {
    font-size: 24px;
    font-weight: 600;
    color: #1a2332;
    margin-bottom: 20px;
    margin-top: 30px;
    line-height: 1.4;
}

.content-block h4 {
    font-size: 20px;
    font-weight: 600;
    color: #1a2332;
    margin-bottom: 15px;
    margin-top: 25px;
}

.content-block p {
    font-size: 16px;
    color: #64748b;
    line-height: 1.8;
    margin-bottom: 20px;
}

.content-block strong {
    color: #475569;
    font-weight: 600;
}

/* Lists */
.content-block ul,
.content-block ol {
    margin: 20px 0;
    padding-left: 30px;
}

.content-block li {
    font-size: 16px;
    color: #64748b;
    line-height: 1.8;
    margin-bottom: 12px;
    position: relative;
}

.content-block ul li::before {
    content: '•';
    color: #006EE6;
    font-weight: bold;
    position: absolute;
    left: -20px;
}

/* Highlight Box */
.highlight-box {
    background: #f8fafc;
    border-left: 4px solid #006EE6;
    padding: 25px 30px;
    margin: 30px 0;
    border-radius: 0 8px 8px 0;
}

.highlight-box p {
    margin-bottom: 0;
    color: #475569;
}

.highlight-box strong {
    color: #1a2332;
}

/* Info Card */
.info-card {
    background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
    padding: 30px;
    border-radius: 12px;
    margin: 30px 0;
    border: 1px solid #bfdbfe;
}

.info-card-title {
    font-size: 20px;
    font-weight: 600;
    color: #1e40af;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.info-card-icon {
    width: 24px;
    height: 24px;
    background: #006EE6;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 14px;
    font-weight: bold;
}

.info-card p {
    color: #1e40af;
    margin-bottom: 10px;
}

.info-card p:last-child {
    margin-bottom: 0;
}

/* Добавьте эти стили в конец вашего styles.css файла */

/* Мобильные исправления */
@media (max-width: 768px) {
    /* About Section - полная переработка для мобильных */
    .about {
        padding: 60px 0;
    }
    
    .about-content {
        display: flex;
        flex-direction: column;
        gap: 30px;
        position: static;
        min-height: auto;
    }
    
    .about-left {
        width: 100%;
        position: static;
    }
    
    .about-left img {
        width: 100%;
        height: 300px;
        object-fit: cover;
        border-radius: 12px;
    }
    
    .about-right {
        padding-top: 0;
        position: static;
    }
    
    .section-title {
        font-size: 28px;
        line-height: 1.2;
    }
    
    .section-description {
        font-size: 16px;
        line-height: 1.6;
        margin-bottom: 30px;
    }

    .about-stats::before {
        display: none;
    }
    
    /* Features Card - сделаем статичной на мобильных */
    .features-card {
        position: static !important;
        width: 100% !important;
        margin: 30px 0 !important;
        padding: 25px 20px;
        left: auto !important;
        top: auto !important;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
        border-radius: 12px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .features-grid::after {
        display: none;
    }
    
    .features-column {
        padding: 0;
    }
    
    .feature-item {
        font-size: 14px;
        margin-bottom: 12px;
        padding-left: 20px;
    }
    
    /* About Stats - переделаем для мобильных */
    .about-stats {
        position: static !important;
        width: 100% !important;
        height: 200px;
        margin: 20px 0;
        right: auto !important;
        top: auto !important;
        border-radius: 12px;
    }
    
    /* FAQ Section - оптимизация */
    .faq {
        padding: 60px 0;
    }
    
    .faq-content {
        gap: 30px;
    }
    
    .faq-list {
        width: 100%;
    }
    
    .faq-item {
        margin-bottom: 10px;
        border-radius: 8px;
        border: 1px solid #e2e8f0;
    }
    
    .faq-question {
        padding: 18px 15px;
        font-size: 15px;
    }
    
    .faq-number {
        font-size: 14px;
        min-width: 25px;
    }
    
    .faq-text {
        font-size: 15px;
        padding-right: 10px;
    }
    
    .faq-icon {
        width: 26px;
        height: 26px;
        font-size: 16px;
        flex-shrink: 0;
    }
    
    .faq-answer {
        font-size: 14px;
        padding: 0 15px;
    }
    
    .faq-item.active .faq-answer {
        padding: 0 15px 18px;
    }
    
    .faq-image {
        min-height: 300px;
        border-radius: 12px;
        margin-top: 20px;
    }
    
    /* Footer - улучшения для мобильных */
    .footer {
        padding: 40px 0 0;
    }
    
    .footer-content {
        gap: 30px;
    }
    
    .footer-title {
        font-size: 18px;
        margin-bottom: 15px;
    }
    
    .footer-description {
        font-size: 13px;
        line-height: 1.7;
        padding: 0 10px;
    }
    
    /* Footer Bottom - оптимизация ссылок */
    .footer-bottom {
        padding: 20px 0;
    }
    
    .footer-bottom-content {
        padding: 0 15px;
    }
    
    .copyright {
        font-size: 13px;
        margin-bottom: 10px;
    }
    
    .footer-bottom-links {
        gap: 10px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .footer-bottom-link {
        font-size: 13px;
        padding: 5px;
    }
    
    .footer-bottom-links span {
        display: none; /* Скрываем точки-разделители на мобильных */
    }
    
    /* Hero Section - дополнительные улучшения */
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero-title {
        font-size: 28px;
        padding: 0 10px;
    }
    
    .hero-description {
        font-size: 16px;
        padding: 0 10px;
    }
    
    /* Process Section - улучшения */
    .process {
        padding: 60px 0;
    }
    
    .process-content {
        gap: 30px;
    }
    
    .process-image img {
        height: 400px;
        border-radius: 12px;
    }
    
    .step {
        margin-left: 0;
        margin-bottom: 20px;
        border-radius: 12px;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    }
    
    .step-number {
        width: 60px;
        height: 60px;
        font-size: 18px;
    }
    
    .step-title {
        font-size: 20px;
    }
    
    .step-description {
        font-size: 14px;
    }
    
    /* Clients/App Section */
    .clients {
        padding: 60px 0;
    }
    
    .clients-title {
        font-size: 26px;
        padding: 0 10px;
    }
    
    .clients-text p {
        font-size: 16px;
        padding: 0 10px;
    }
    
    .clients-link {
        margin-top: 20px;
        padding: 12px 30px;
        font-size: 15px;
    }
    
    /* Services Section */
    .services {
        padding: 60px 0;
    }
    
    .service-item {
        border-radius: 12px;
        margin-bottom: 15px;
    }
    
    .service-item-title {
        font-size: 18px;
    }
    
    .service-item-description {
        font-size: 14px;
    }
    
    /* Buttons - оптимизация размеров */
    .btn {
        padding: 10px 20px;
        font-size: 14px;
        border-radius: 20px;
    }
    
    .btn-icon {
        width: 18px;
        height: 18px;
        font-size: 12px;
    }
    
    /* General spacing improvements */
    .container {
        padding: 0 20px;
    }
    
    .section-badge {
        font-size: 12px;
        padding: 6px 12px;
        margin-bottom: 15px;
    }
}

/* Дополнительные исправления для очень маленьких экранов */
@media (max-width: 480px) {
    .hero-title {
        font-size: 24px;
    }
    
    .hero-description {
        font-size: 14px;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .about-left img {
        height: 250px;
    }
    
    .features-card {
        padding: 20px 15px;
    }
    
    .feature-item {
        font-size: 13px;
    }
    
    .faq-question {
        padding: 15px 12px;
    }
    
    .faq-text {
        font-size: 14px;
    }
    
    .clients-title {
        font-size: 22px;
    }
    
    .footer-description {
        font-size: 12px;
    }
    
    .footer-bottom-link {
        font-size: 12px;
    }
    
    /* Process steps */
    .step {
        padding: 20px 15px;
    }
    
    .step-title {
        font-size: 18px;
    }
    
    .step-description {
        font-size: 13px;
    }
    
    /* Service items */
    .service-item {
        padding: 20px 15px;
    }
    
    .service-item-icon {
        width: 50px;
        height: 50px;
    }
    
    .service-item-title {
        font-size: 16px;
    }
    
    .service-item-description {
        font-size: 13px;
    }
}

/* Исправление для кнопки скролла */
@media (max-width: 768px) {
    .scroll-top {
        bottom: 15px;
        right: 15px;
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}

/* Улучшение читаемости на мобильных */
@media (max-width: 768px) {
    body {
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }
    
    p {
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
}

/* Contact Page Specific Styles */

/* Contact Form Styles */
#contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

#contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

#contact-form label {
    display: block;
    margin-bottom: 8px;
    color: #475569;
    font-weight: 500;
}

#contact-form input,
#contact-form textarea,
#contact-form select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s;
    font-family: inherit;
}

#contact-form select {
    background: white;
    cursor: pointer;
}

#contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

#contact-form input:focus,
#contact-form textarea:focus,
#contact-form select:focus {
    outline: none;
    border-color: #006EE6;
    box-shadow: 0 0 0 3px rgba(0, 110, 230, 0.1);
}

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

#contact-form .required-note {
    color: #94a3b8;
    font-size: 14px;
    margin-top: 10px;
}

/* Contact Page Layout */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-form-section h2 {
    font-size: 32px;
    font-weight: 700;
    color: #1a2332;
    margin-bottom: 20px;
}

.contact-form-section > p {
    color: #64748b;
    margin-bottom: 40px;
    line-height: 1.6;
}

/* Contact Page Specific Styles */

/* Contact Form Styles */
#contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

#contact-form label {
    display: block;
    margin-bottom: 8px;
    color: #475569;
    font-weight: 500;
}

#contact-form input,
#contact-form textarea,
#contact-form select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s;
    font-family: inherit;
}

#contact-form select {
    background: white;
    cursor: pointer;
}

#contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

#contact-form input:focus,
#contact-form textarea:focus,
#contact-form select:focus {
    outline: none;
    border-color: #006EE6;
    box-shadow: 0 0 0 3px rgba(0, 110, 230, 0.1);
}

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

#contact-form .required-note {
    color: #94a3b8;
    font-size: 14px;
    margin-top: 10px;
}

/* Honeypot fields - скрытые поля от ботов */
.honey-pot {
    position: absolute;
    left: -9999px;
    top: -9999px;
    height: 0;
    width: 0;
    opacity: 0;
    overflow: hidden;
}

/* Contact Page Layout */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-form-section h2 {
    font-size: 32px;
    font-weight: 700;
    color: #1a2332;
    margin-bottom: 20px;
}

.contact-form-section > p {
    color: #64748b;
    margin-bottom: 40px;
    line-height: 1.6;
}

/* Contact Information Box */
.contact-info-box {
    background: #f8fafc;
    padding: 40px;
    border-radius: 16px;
    margin-bottom: 30px;
}

.contact-info-box h3 {
    font-size: 24px;
    font-weight: 600;
    color: #1a2332;
    margin-bottom: 30px;
}

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

.contact-info-item:last-child {
    margin-bottom: 0;
}

.contact-icon-wrapper {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon-wrapper.email {
    background: linear-gradient(45deg, #006EE6, #0084ff);
}

.contact-icon-wrapper.time {
    background: linear-gradient(45deg, #10b981, #34d399);
}

.contact-icon-wrapper.hours {
    background: linear-gradient(45deg, #f59e0b, #fbbf24);
}

.contact-info-content h4 {
    font-size: 16px;
    font-weight: 600;
    color: #1a2332;
    margin-bottom: 8px;
}

.contact-info-content p {
    color: #64748b;
    font-size: 15px;
    line-height: 1.8;
}

.contact-info-content a {
    color: #006EE6;
    text-decoration: none;
    font-size: 15px;
    transition: color 0.3s;
}

.contact-info-content a:hover {
    color: #0084ff;
    text-decoration: underline;
}

/* FAQ Link Box */
.faq-link-box {
    background: linear-gradient(135deg, #e6f3ff, #f0f9ff);
    padding: 30px;
    border-radius: 16px;
    border: 1px solid #bfdbfe;
}

.faq-link-box h3 {
    font-size: 20px;
    font-weight: 600;
    color: #1e40af;
    margin-bottom: 15px;
}

.faq-link-box p {
    color: #1e40af;
    margin-bottom: 20px;
    line-height: 1.6;
}

.faq-link-box .btn {
    background: white;
    color: #006EE6;
    padding: 12px 30px;
    display: inline-block;
    text-decoration: none;
    border: 2px solid transparent;
    transition: all 0.3s;
}

.faq-link-box .btn:hover {
    border-color: #006EE6;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 110, 230, 0.2);
}

/* Success Notification */
.success-notification {
    position: fixed;
    top: 100px;
    right: 20px;
    background: #10b981;
    color: white;
    padding: 16px 24px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    z-index: 10000;
    animation: slideInRight 0.3s ease;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Submit Button States */
#contact-form button[type="submit"] {
    width: fit-content;
    padding: 14px 40px;
    font-size: 16px;
    transition: all 0.3s;
}

#contact-form button[type="submit"]:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

#contact-form button[type="submit"].success {
    background: #10b981;
}

/* Responsive Design */
@media (max-width: 768px) {
    .contact-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    #contact-form .form-row {
        grid-template-columns: 1fr;
    }
    
    .contact-info-box {
        padding: 30px 20px;
    }
    
    .faq-link-box {
        padding: 25px 20px;
    }
    
    .contact-form-section h2 {
        font-size: 28px;
    }
    
    #contact-form button[type="submit"] {
        width: 100%;
    }
    
    .faq-link-box .btn {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .contact-form-section h2 {
        font-size: 24px;
    }
    
    .contact-info-box {
        padding: 25px 15px;
    }
    
    .contact-info-box h3 {
        font-size: 20px;
    }
    
    .contact-icon-wrapper {
        width: 40px;
        height: 40px;
    }
    
    .contact-icon-wrapper svg {
        width: 20px;
        height: 20px;
    }
    
    .success-notification {
        right: 10px;
        left: 10px;
        top: 80px;
    }
}