:root {
    --primary-color: #dc2626;
    --secondary-color: #b91c1c;
    --accent-color: #ef4444;
    --text-dark: #000000;
    --text-light: #6b7280;
    --bg-light: #ffffff;
    --bg-dark: #000000;
    --border-light: #e5e7eb;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.47059;
    color: var(--text-dark);
    font-weight: 400;
    letter-spacing: -0.022em;
}

html {
    scroll-behavior: smooth;
}

.navbar {
    background-color: rgba(255, 255, 255, 1) !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    padding: 12px 0;
    box-shadow: 0 1px 0 0 rgba(0, 0, 0, 0.05);
}

.navbar-brand {
    font-size: 1.3125rem;
    font-weight: 600;
    color: var(--text-dark) !important;
    letter-spacing: -0.01em;
}

.navbar-nav .nav-link {
    font-weight: 400;
    font-size: 0.9375rem;
    margin: 0 1rem;
    color: var(--text-dark) !important;
    transition: opacity 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    letter-spacing: -0.01em;
}

.navbar-nav .nav-link:hover {
    opacity: 0.6;
}

.dropdown-menu {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    padding: 0.5rem 0;
    margin-top: 0.5rem;
}

.dropdown-item {
    color: var(--text-dark);
    font-size: 0.9375rem;
    font-weight: 400;
    padding: 0.5rem 1.5rem;
    letter-spacing: -0.01em;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.dropdown-item:hover {
    background: rgba(220, 38, 38, 0.1);
    color: var(--primary-color);
}

.hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.5)), url('AI_AICA2.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    padding-top: 100px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
}

.hero-section h1 {
    font-size: 3.5rem;
    font-weight: 600;
    line-height: 1.07143;
    letter-spacing: -0.005em;
    margin-bottom: 1.5rem;
}

.hero-section .lead {
    font-size: 1.3125rem;
    font-weight: 400;
    line-height: 1.381;
    letter-spacing: -0.01em;
    opacity: 0.8;
}

.hero-image {
    animation: float 6s ease-in-out infinite;
}

.hero-logo {
    max-width: 400px;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.3));
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

.btn {
    font-weight: 400;
    font-size: 1.0625rem;
    letter-spacing: -0.01em;
    border-radius: 50px;
    padding: 12px 24px;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 2px solid transparent;
    min-width: 160px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    border-color: transparent;
    box-shadow: 0 4px 16px rgba(220, 38, 38, 0.25);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(220, 38, 38, 0.35);
}

.btn-outline-light {
    background: transparent;
    color: rgba(255, 255, 255, 0.9);
    border-color: rgba(255, 255, 255, 0.3);
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-color: rgba(255, 255, 255, 0.5);
}

.card {
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    overflow: hidden;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 32px 64px rgba(0, 0, 0, 0.12);
    border-color: rgba(220, 38, 38, 0.15);
    background: rgba(255, 255, 255, 0.85);
}

.card-body {
    padding: 2.5rem 2rem;
}

.card-title {
    font-weight: 600;
    font-size: 1.375rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
}

.card-text {
    color: var(--text-light);
    font-size: 1.0625rem;
    line-height: 1.47059;
    margin-bottom: 1.5rem;
    letter-spacing: -0.01em;
}

#products {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
}

#products::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 25% 25%, rgba(220, 38, 38, 0.03) 0%, transparent 50%),
                radial-gradient(circle at 75% 75%, rgba(220, 38, 38, 0.02) 0%, transparent 50%);
    pointer-events: none;
}

#products .display-5 {
    color: var(--text-dark);
    font-weight: 600;
    font-size: 3rem;
    line-height: 1.07143;
    letter-spacing: -0.005em;
    margin-bottom: 1rem;
}

#about {
    padding: 6rem 0;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    position: relative;
}

#about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 75% 25%, rgba(220, 38, 38, 0.02) 0%, transparent 60%);
    pointer-events: none;
}

.about-image {
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0% { opacity: 0.5; }
    50% { opacity: 0.8; }
    100% { opacity: 0.5; }
}

#contact {
    background: var(--bg-dark);
    padding: 6rem 0;
}

.contact-form {
    background: rgba(255, 255, 255, 0.08);
    padding: 3rem;
    border-radius: 24px;
    backdrop-filter: blur(30px) saturate(180%);
    -webkit-backdrop-filter: blur(30px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.15);
}

.form-control {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 16px;
    color: white;
    padding: 18px 24px;
    font-size: 1.0625rem;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.form-control:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.15), 0 8px 25px rgba(220, 38, 38, 0.1);
    color: white;
    outline: none;
    transform: translateY(-2px);
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.form-label {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

footer {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.footer-logo:hover {
    opacity: 1;
}

.social-links a {
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.social-links a:hover {
    color: rgba(255, 255, 255, 0.7) !important;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .hero-section {
        text-align: center;
    }
    
    .btn {
        display: block;
        width: 100%;
        margin-bottom: 1rem;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
}

@media (max-width: 576px) {
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .display-5 {
        font-size: 2rem;
    }
    
    .card-body {
        padding: 1.5rem;
    }
}

.bg-primary {
    background: var(--primary-color) !important;
}

section {
    position: relative;
    overflow: hidden;
}

.text-primary {
    color: var(--primary-color) !important;
}

.shadow-sm {
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075) !important;
}

.min-vh-100 {
    min-height: 100vh;
}