/* Custom Properties - New Tech Palette */
:root {
    --color1: #0EA5E9; /* Cyan Tech */
    --color2: #2563EB; /* Deep Blue */
    --color3: #F8FAFC; /* Light Background */
    --color4: #475569; /* Slate Gray Text */
    --color5: #0F172A; /* Dark Navy Headlines */
    --gradient-tech: linear-gradient(135deg, #0EA5E9 0%, #2563EB 100%);
}

/* Base Styles */
body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--color4);
    background-color: var(--color3);
    overflow-x: hidden;
}

h1, h2, h3, .font-display {
    font-family: 'Outfit', sans-serif;
    color: var(--color5);
    letter-spacing: -0.02em;
}

/* Glassmorphism Effect */
.glass-effect {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(15, 23, 42, 0.1);
}

/* AI Grid Background (Вместо старой сетки) */
.deco-grid-new {
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(circle at 2px 2px, rgba(14, 165, 233, 0.05) 1px, transparent 0);
    background-size: 32px 32px;
    z-index: -1;
}

/* Reveal Animations */
.reveal-element {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-element.active {
    opacity: 1;
    transform: translateY(0);
}

/* Button & UI Enhancements */
.btn-primary {
    background: var(--gradient-tech);
    color: white;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -5px rgba(37, 99, 235, 0.4);
}

/* Section Transitions */
.section-curve {
    position: relative;
    background: white;
    border-radius: 50px 50px 0 0;
    margin-top: -50px;
    z-index: 20;
}

/* Image Hover Tech */
.img-tech-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 1.5rem;
}

.img-tech-wrapper::after {
    content: '';
    position: absolute;
    inset: 0;
    border: 1px solid rgba(14, 165, 233, 0.2);
    border-radius: 1.5rem;
    pointer-events: none;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    h1 { font-size: 2.75rem !important; }
    .section-curve { border-radius: 30px 30px 0 0; }
}