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

:root {
    --primary-color: #0066FF;
    --secondary-color: #00D4AA;
    --dark-bg: #0A0B0D;
    --light-bg: #F8F9FA;
    --text-dark: #1A1D23;
    --text-light: #6B7280;
    --white: #FFFFFF;
    --border-color: #E5E7EB;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.1);
    --max-width: 1200px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Container */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    color: var(--text-dark);
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

p {
    color: var(--text-light);
    line-height: 1.8;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.navbar.scrolled {
    padding: 0.75rem 0;
    box-shadow: var(--shadow-md);
}

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

.logo {
    text-decoration: none;
}

.logo-text {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: -0.02em;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    position: relative;
}

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

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

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

.nav-cta {
    background: var(--primary-color);
    color: var(--white);
    padding: 0.625rem 1.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.nav-cta:hover {
    background: #0052CC;
    color: var(--white);
    transform: translateY(-1px);
}

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

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 30px;
    height: 30px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 2px;
    background: var(--text-dark);
    margin: 3px 0;
    transition: all 0.3s ease;
    display: block;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--white);
    transform: translateY(-100%);
    transition: transform 0.3s ease;
    box-shadow: var(--shadow-lg);
    z-index: 999;
    display: none;
}

.mobile-menu.active {
    transform: translateY(0);
}

.mobile-menu-content {
    padding: 2rem 0;
}

.mobile-nav-link {
    display: block;
    padding: 1rem 2rem;
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: all 0.3s ease;
    border-bottom: 1px solid var(--border-color);
}

.mobile-nav-link:hover {
    background: var(--light-bg);
    color: var(--primary-color);
}

.mobile-nav-cta {
    background: var(--primary-color);
    color: var(--white);
    margin: 1rem 2rem;
    text-align: center;
    border-radius: 8px;
    border: none;
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: linear-gradient(135deg, #F8F9FA 0%, #FFFFFF 100%);
    overflow: hidden;
}

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

.hero-pattern {
    position: absolute;
    top: 0;
    right: -20%;
    width: 60%;
    height: 100%;
    background-image: radial-gradient(circle at 20% 50%, rgba(0, 102, 255, 0.05) 0%, transparent 50%);
}

/* Animated Background Elements */
.geometric-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.geometric-shape {
    position: absolute;
    border: 2px solid rgba(0, 102, 255, 0.1);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    animation: morph 15s ease-in-out infinite;
}

.shape-1 {
    width: 300px;
    height: 300px;
    top: 10%;
    right: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 200px;
    height: 200px;
    bottom: 20%;
    left: 5%;
    animation-delay: 5s;
}

.shape-3 {
    width: 150px;
    height: 150px;
    top: 50%;
    left: 50%;
    animation-delay: 10s;
}

@keyframes morph {
    0%, 100% {
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
        transform: rotate(0deg) scale(1);
    }
    25% {
        border-radius: 58% 42% 75% 25% / 76% 46% 54% 24%;
        transform: rotate(90deg) scale(1.1);
    }
    50% {
        border-radius: 50% 50% 33% 67% / 55% 27% 73% 45%;
        transform: rotate(180deg) scale(0.9);
    }
    75% {
        border-radius: 33% 67% 58% 42% / 63% 43% 57% 37%;
        transform: rotate(270deg) scale(1.05);
    }
}

/* Floating Dots Animation */
.floating-dots {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.dot {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(0, 102, 255, 0.3);
    border-radius: 50%;
    animation: float-up 20s linear infinite;
}

@keyframes float-up {
    0% {
        transform: translateY(100vh) translateX(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100vh) translateX(100px);
        opacity: 0;
    }
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
}

.hero-text {
    max-width: 700px;
}

.hero-title {
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.hero-accent {
    display: block;
    color: var(--primary-color);
}

.hero-description {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    color: var(--text-light);
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-align: center;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

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

.btn-primary:hover {
    background: #0052CC;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

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

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

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

/* Hero Metrics */
.hero-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.metric-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: transform 0.3s ease;
}

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

.metric-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.metric-label {
    color: var(--text-light);
    font-weight: 500;
}

/* Section Styles */
section {
    padding: 80px 0;
}

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

.section-title {
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
}

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

.services::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 50%, rgba(0, 212, 170, 0.03) 0%, transparent 40%),
    radial-gradient(circle at 70% 50%, rgba(0, 102, 255, 0.03) 0%, transparent 40%);
    animation: rotate-gradient 30s linear infinite;
}

@keyframes rotate-gradient {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

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

.service-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 16px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

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

.service-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 16px;
}

.service-icon svg {
    width: 30px;
    height: 30px;
    stroke: var(--white);
}

.service-card h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.service-card p {
    line-height: 1.6;
}

/* Process */
.process {
    position: relative;
}

.process-timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    position: relative;
}

.process-step {
    position: relative;
    padding: 2rem;
    background: var(--white);
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

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

.step-number {
    position: absolute;
    top: -20px;
    left: 2rem;
    background: var(--primary-color);
    color: var(--white);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
}

.step-content h3 {
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

/* Platforms */
.platforms {
    background: var(--light-bg);
    position: relative;
    overflow: hidden;
}

.platforms::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg,
    transparent,
    var(--primary-color) 20%,
    var(--secondary-color) 50%,
    var(--primary-color) 80%,
    transparent
    );
    animation: shimmer 3s linear infinite;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

.platforms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.platform-item {
    text-align: center;
    padding: 2rem 1rem;
    background: var(--white);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.platform-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.platform-logo {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.platform-logo img {
    width: 40px;
    height: 40px;
}

.platform-item h4 {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.platform-item p {
    font-size: 0.9rem;
}

/* Results */
.results {
    position: relative;
    overflow: hidden;
}

.results::before {
    content: '';
    position: absolute;
    top: 20%;
    left: -10%;
    width: 120%;
    height: 60%;
    background: radial-gradient(ellipse at center, rgba(0, 102, 255, 0.02) 0%, transparent 70%);
    transform: rotate(-15deg);
    animation: pulse-bg 4s ease-in-out infinite;
}

@keyframes pulse-bg {
    0%, 100% {
        opacity: 0.5;
        transform: rotate(-15deg) scale(1);
    }
    50% {
        opacity: 1;
        transform: rotate(-15deg) scale(1.1);
    }
}

.case-studies {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.case-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

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

.case-card.featured {
    border-color: var(--primary-color);
}

.case-category {
    background: var(--primary-color);
    color: var(--white);
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 600;
    display: inline-block;
}

.case-card h3 {
    padding: 1.5rem 2rem 1rem;
    font-size: 1.5rem;
}

.case-metrics {
    display: flex;
    justify-content: space-around;
    padding: 1rem 2rem;
    background: var(--light-bg);
}

.case-metric {
    text-align: center;
}

.metric-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
}

.metric-desc {
    font-size: 0.875rem;
    color: var(--text-light);
}

.case-card p {
    padding: 1.5rem 2rem 2rem;
}

/* About */
.about {
    background: var(--light-bg);
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 48%, rgba(0, 102, 255, 0.02) 50%, transparent 52%),
    linear-gradient(-45deg, transparent 48%, rgba(0, 212, 170, 0.02) 50%, transparent 52%);
    background-size: 20px 20px;
    animation: mesh-move 20s linear infinite;
}

@keyframes mesh-move {
    0% {
        background-position: 0 0, 0 0;
    }
    100% {
        background-position: 40px 40px, -40px -40px;
    }
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-lead {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: var(--text-light);
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.about-feature {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.feature-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

.about-feature h4 {
    margin-bottom: 0.25rem;
    font-size: 1.1rem;
}

.about-feature p {
    font-size: 0.95rem;
}

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

.stat-box {
    background: var(--white);
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.stat-box:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-text {
    color: var(--text-light);
    font-weight: 500;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, #0052CC 100%);
    color: var(--white);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

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

.cta-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    top: 0;
    left: 0;
}

.particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    animation: particle-float 15s linear infinite;
}

@keyframes particle-float {
    0% {
        transform: translateY(100vh) translateX(0) scale(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
        transform: translateY(90vh) translateX(10px) scale(1);
    }
    90% {
        opacity: 1;
        transform: translateY(10vh) translateX(-10px) scale(1);
    }
    100% {
        transform: translateY(-10vh) translateX(0) scale(0);
        opacity: 0;
    }
}

.cta-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.cta-content h2 {
    color: var(--white);
    margin-bottom: 1rem;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
}

.cta-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.cta-info {
    color: rgba(255, 255, 255, 0.9);
}

.cta-phone {
    color: var(--white);
    font-weight: 600;
    font-size: 1.25rem;
    text-decoration: none;
    margin-left: 0.5rem;
}

.cta-phone:hover {
    text-decoration: underline;
}

/* Footer */
.footer {
    background: var(--dark-bg);
    color: var(--white);
    padding: 60px 0 40px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 3rem;
    align-items: center;
    text-align: center;
}

.footer-brand .logo-text {
    color: var(--white);
    font-size: 2rem;
    margin-bottom: 0.5rem;
    display: block;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    flex-wrap: wrap;
}

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

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

.footer-info p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.5rem;
}

/* Additional Background Effects */
.metric-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    border-radius: 16px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.metric-card:hover::before {
    opacity: 0.1;
}

/* Animated lines */
.section-header::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    margin: 1.5rem auto 0;
    animation: expand-line 2s ease-in-out infinite;
}

@keyframes expand-line {
    0%, 100% {
        width: 60px;
    }
    50% {
        width: 100px;
    }
}

/* Glass effect for cards */
.service-card,
.process-step,
.case-card,
.stat-box {
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.95);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about-stats {
        order: -1;
    }
}

@media (max-width: 768px) {
    /* Reduce animations on mobile */
    .geometric-shape,
    .floating-dots,
    .cta-particles {
        display: none;
    }

    @media (prefers-reduced-motion: reduce) {
        *,
        *::before,
        *::after {
            animation-duration: 0.01ms !important;
            animation-iteration-count: 1 !important;
            transition-duration: 0.01ms !important;
        }
    }
    /* Navigation */
    .nav-menu {
        display: none;
    }

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

    .mobile-menu {
        display: block;
    }

    /* Hero */
    .hero {
        padding: 100px 0 60px;
        min-height: auto;
    }

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

    .hero-description {
        font-size: 1.1rem;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
        padding: 1rem;
    }

    .hero-metrics {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .metric-card {
        padding: 1.5rem;
    }

    .metric-value {
        font-size: 2rem;
    }

    /* Sections */
    section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 2rem;
    }

    .section-subtitle {
        font-size: 1.1rem;
    }

    /* Services */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .service-card {
        padding: 2rem;
    }

    /* Process */
    .process-timeline {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    /* Platforms */
    .platforms-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    /* Results */
    .case-studies {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .case-metrics {
        padding: 1rem;
    }

    .metric-number {
        font-size: 1.5rem;
    }

    /* About */
    .about-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .stat-box {
        padding: 1.5rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-links {
        gap: 1.5rem;
    }
}

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

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

    .platforms-grid {
        grid-template-columns: 1fr;
    }

    .case-card {
        border-radius: 12px;
    }

    .case-metrics {
        flex-direction: column;
        gap: 1rem;
    }
}

/* Touch-friendly adjustments */
@media (hover: none) {
    .nav-link:hover::after {
        width: 0;
    }

    .btn {
        padding: 1rem 2rem;
    }

    .service-card:hover,
    .process-step:hover,
    .platform-item:hover,
    .case-card:hover,
    .stat-box:hover,
    .metric-card:hover {
        transform: none;
    }
}

.footer-contacts {
    margin-top: 3em;
    text-align: center;
    font-size: 13px;
    max-width: 740px;
    margin-left: auto;
    margin-right: auto;
}

.footer-contacts p {
    color: rgba(255, 255, 255, 0.5);
}

/* Modal Styles */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal.active.show {
    opacity: 1;
}

.modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.modal-content {
    position: relative;
    background: var(--white);
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    transform: scale(0.9) translateY(20px);
    transition: transform 0.3s ease;
}

.modal.active.show .modal-content {
    transform: scale(1) translateY(0);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem;
    border-bottom: 1px solid var(--border-color);
}

.modal-title {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin: 0;
}

.modal-close {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    color: var(--text-light);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: var(--light-bg);
    color: var(--text-dark);
}

.modal-body {
    padding: 2rem;
}

/* Form Styles */
.consultation-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

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

.form-group label {
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.required {
    color: #ff4444;
}

.form-group input,
.form-group textarea {
    padding: 0.875rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    background: var(--white);
}

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

.form-group input.error,
.form-group textarea.error {
    border-color: #ff4444;
}

.form-group input.error:focus,
.form-group textarea.error:focus {
    box-shadow: 0 0 0 3px rgba(255, 68, 68, 0.1);
}

.error-message {
    font-size: 0.875rem;
    color: #ff4444;
    margin-top: 0.25rem;
    display: none;
}

.error-message.show {
    display: block;
}

/* Submit Button */
.btn-submit {
    margin-top: 0.5rem;
    position: relative;
    overflow: hidden;
}

.btn-submit .btn-loading {
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.btn-submit.loading .btn-text {
    visibility: hidden;
}

.btn-submit.loading .btn-loading {
    display: block;
}

/* Spinner Animation */
.spinner {
    animation: rotate 1s linear infinite;
}

.spinner-circle {
    stroke: var(--white);
    stroke-dasharray: 62.83;
    stroke-dashoffset: 47.12;
    animation: dash 1.5s ease-in-out infinite;
}

@keyframes rotate {
    100% {
        transform: rotate(360deg);
    }
}

@keyframes dash {
    0% {
        stroke-dashoffset: 62.83;
    }
    50% {
        stroke-dashoffset: 15.71;
    }
    100% {
        stroke-dashoffset: 62.83;
    }
}

/* Success and Error States */
.modal-success,
.modal-error {
    text-align: center;
    padding: 2rem 0;
}

.success-icon,
.error-icon {
    margin: 0 auto 1.5rem;
    width: 60px;
    height: 60px;
}

.success-icon svg {
    stroke: var(--secondary-color);
}

.error-icon svg {
    stroke: #ff4444;
}

.modal-success h3,
.modal-error h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.modal-success p,
.modal-error p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.modal-close-btn,
.modal-retry-btn {
    min-width: 120px;
}

/* Mobile Styles */
@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        margin: 1rem;
    }
    
    .modal-header,
    .modal-body {
        padding: 1.5rem;
    }
    
    .modal-title {
        font-size: 1.25rem;
    }
    
    .consultation-form {
        gap: 1.25rem;
    }
}
