@import url('../fonts/fonts.css');

:root {
    --color-primary: #0F172A;
    --color-primary-light: #1E3A5F;
    --color-accent: #0369A1;
    --color-accent-light: #0EA5E9;
    --color-accent-50: #F0F9FF;
    --color-accent-100: #E0F2FE;
    --color-accent-600: #0284C7;
    --color-accent-700: #0369A1;
    --color-bg: #F8FAFC;
    --color-text: #020617;
    --color-muted: #475569;
    --color-border: #E2E8F0;
    --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);
}

* {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans SC', 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: var(--color-text);
    background-color: #FFFFFF;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.hero-gradient {
    background: linear-gradient(135deg, #0F172A 0%, #1E3A5F 40%, #0C4A6E 100%);
    position: relative;
    overflow: hidden;
}

.hero-gradient::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(14, 165, 233, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(3, 105, 161, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 60% 80%, rgba(14, 165, 233, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.hero-gradient::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
}

.section-title {
    position: relative;
    display: inline-block;
    padding-bottom: 16px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 48px;
    height: 3px;
    background: linear-gradient(90deg, var(--color-accent), var(--color-accent-light));
    border-radius: 2px;
}

.product-card {
    transition: transform 0.25s ease-out, box-shadow 0.25s ease-out, border-color 0.25s ease-out;
    cursor: pointer;
}

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

.advantage-card {
    transition: transform 0.25s ease-out, box-shadow 0.25s ease-out;
}

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

.news-item {
    transition: box-shadow 0.25s ease-out, border-color 0.25s ease-out;
}

.news-item:hover {
    box-shadow: var(--shadow-lg);
}

.customer-logo {
    filter: grayscale(100%);
    opacity: 0.5;
    transition: all 0.3s ease-out;
}

.customer-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
}

.contact-float-btn {
    transition: all 0.25s ease-out;
}

.contact-float-btn:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-xl);
}

.contact-form-panel {
    transition: all 0.25s ease-out;
}

.feature-icon-wrapper {
    transition: transform 0.25s ease-out, background-color 0.25s ease-out;
}

.feature-icon-wrapper:hover {
    transform: scale(1.1);
}

.stat-number {
    background: linear-gradient(135deg, #FFFFFF, rgba(255,255,255,0.85));
    -webkit-background-clip: text;
    background-clip: text;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-accent-600), var(--color-accent));
    transition: all 0.25s ease-out;
    box-shadow: 0 2px 8px rgba(3, 105, 161, 0.3);
}

.btn-primary:hover {
    box-shadow: 0 4px 16px rgba(3, 105, 161, 0.4);
    transform: translateY(-1px);
}

.btn-outline {
    transition: all 0.25s ease-out;
}

.btn-outline:hover {
    transform: translateY(-1px);
}

.nav-link {
    position: relative;
    transition: color 0.2s ease-out;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-accent);
    transition: width 0.25s ease-out;
    border-radius: 1px;
}

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

.fade-in-up {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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

.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
.stagger-5 { transition-delay: 0.5s; }
.stagger-6 { transition-delay: 0.6s; }

.card-shine {
    position: relative;
    overflow: hidden;
}

.card-shine::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: left 0.5s ease-out;
    z-index: 1;
    pointer-events: none;
}

.card-shine:hover::before {
    left: 100%;
}

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

.hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.05;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.tag-pill {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.number-badge {
    background: linear-gradient(135deg, var(--color-accent), var(--color-accent-600));
    box-shadow: 0 4px 12px rgba(3, 105, 161, 0.3);
}

@media (prefers-reduced-motion: reduce) {
    .fade-in-up {
        opacity: 1;
        transform: none;
        transition: none;
    }
    .product-card,
    .advantage-card,
    .contact-float-btn,
    .btn-primary,
    .btn-outline,
    .feature-icon-wrapper,
    .card-shine::before {
        transition: none;
    }
    .product-card:hover,
    .advantage-card:hover {
        transform: none;
    }
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}
