:root {
    --primary-color: #5b9cf5;
    --secondary-color: #3a7bd5;
    --accent-orange: #ff6b35;
    --accent-gold: #ffc857;
    --dark-bg: #0d1b2a;
    --darker-bg: #050d18;
    --card-bg: #1a2332;
    --light-text: #ffffff;
    --gray-text: #8b9cb6;
    --border-color: rgba(139, 156, 182, 0.2);
    --text-dark: #1e293b;
    --text-gray: #475569;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--light-text);
    background: var(--dark-bg);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    opacity: 0.08;
    z-index: -1;
    filter: blur(2px);
}

body.page-home::before {
    background-image: url('https://images.unsplash.com/photo-1558494949-ef010cbdcc31?w=1920&h=1080&fit=crop&q=80');
}

body.page-about::before {
    background-image: url('https://images.unsplash.com/photo-1522071820081-009f0129c71c?w=1920&h=1080&fit=crop&q=80');
}

body.page-services::before {
    background-image: url('https://images.unsplash.com/photo-1460925895917-afdab827c52f?w=1920&h=1080&fit=crop&q=80');
}

body.page-products::before {
    background-image: url('https://images.unsplash.com/photo-1551288049-bebda4e38f71?w=1920&h=1080&fit=crop&q=80');
}

body.page-contact::before {
    background-image: url('https://images.unsplash.com/photo-1423666639041-f56000c27a9a?w=1920&h=1080&fit=crop&q=80');
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

header {
    background: rgba(13, 27, 42, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

header.scrolled {
    background: rgba(13, 27, 42, 0.98);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3), 0 0 20px rgba(91, 156, 245, 0.1);
    border-bottom-color: var(--primary-color);
}

header.scrolled::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    animation: headerGlow 3s ease-in-out infinite;
}

@keyframes headerGlow {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--light-text);
    letter-spacing: 1px;
    text-decoration: none;
    transition: all 0.4s ease;
    position: relative;
}

.logo::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(90deg, var(--accent-gold), var(--primary-color));
    transition: width 0.4s ease;
}

.logo:hover::after {
    width: 100%;
}

.logo:hover {
    transform: translateY(-2px);
    filter: drop-shadow(0 0 20px rgba(91, 156, 245, 0.5));
}

.logo img {
    height: 36px;
    transition: transform 0.4s ease;
    animation: logoFloat 3s ease-in-out infinite;
}

@keyframes logoFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-5px); }
}

.logo:hover img {
    transform: rotate(360deg) scale(1.1);
}

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

.nav-menu li {
    animation: menuItemFadeIn 0.6s ease-out backwards;
}

.nav-menu li:nth-child(1) { animation-delay: 0.1s; }
.nav-menu li:nth-child(2) { animation-delay: 0.2s; }
.nav-menu li:nth-child(3) { animation-delay: 0.3s; }
.nav-menu li:nth-child(4) { animation-delay: 0.4s; }
.nav-menu li:nth-child(5) { animation-delay: 0.5s; }
.nav-menu li:nth-child(6) { animation-delay: 0.6s; }

@keyframes menuItemFadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.nav-menu a {
    text-decoration: none;
    color: var(--gray-text);
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    padding: 0.5rem 1rem;
    display: inline-block;
}

.nav-menu a::before {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(90deg, var(--primary-color), var(--accent-gold));
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 10px var(--primary-color);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: radial-gradient(circle at center, rgba(91, 156, 245, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    border-radius: 6px;
    z-index: -1;
}

.nav-menu a:hover {
    color: var(--light-text);
    transform: translateY(-2px);
    text-shadow: 0 0 20px rgba(91, 156, 245, 0.5);
}

.nav-menu a:hover::before {
    width: 80%;
}

.nav-menu a:hover::after {
    opacity: 1;
}

.nav-menu a.active {
    color: var(--accent-gold);
    text-shadow: 0 0 20px rgba(255, 200, 87, 0.6);
}

.nav-menu a.active::before {
    width: 80%;
    background: var(--accent-gold);
    box-shadow: 0 0 15px var(--accent-gold);
}

.nav-menu a.active::after {
    opacity: 1;
    background: radial-gradient(circle at center, rgba(255, 200, 87, 0.15) 0%, transparent 70%);
}

.login-link {
    padding: 8px 20px !important;
    border: 1px solid var(--primary-color) !important;
    border-radius: 6px !important;
    color: var(--primary-color) !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    position: relative !important;
    overflow: hidden !important;
}

.login-link::before {
    content: '' !important;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    width: 0 !important;
    height: 0 !important;
    border-radius: 50% !important;
    background: var(--primary-color) !important;
    transform: translate(-50%, -50%) !important;
    transition: width 0.5s ease, height 0.5s ease !important;
    z-index: -1 !important;
}

.login-link:hover {
    color: var(--light-text) !important;
    border-color: var(--primary-color) !important;
    box-shadow: 0 0 30px rgba(91, 156, 245, 0.5) !important;
    transform: translateY(-2px) scale(1.05) !important;
}

.login-link:hover::before {
    width: 200% !important;
    height: 200% !important;
}

.user-menu a {
    color: var(--accent-gold) !important;
    cursor: pointer;
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: var(--dark-bg);
    overflow: hidden;
    padding-top: 80px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse at 30% 20%, rgba(91, 156, 245, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 80%, rgba(58, 123, 213, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(255, 200, 87, 0.08) 0%, transparent 60%);
    animation: fluidMove 25s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(2px 2px at 20% 30%, rgba(91, 156, 245, 0.3), transparent),
        radial-gradient(2px 2px at 60% 70%, rgba(255, 200, 87, 0.3), transparent),
        radial-gradient(1px 1px at 50% 50%, rgba(58, 123, 213, 0.2), transparent),
        radial-gradient(1px 1px at 80% 10%, rgba(91, 156, 245, 0.2), transparent),
        radial-gradient(2px 2px at 90% 60%, rgba(255, 200, 87, 0.3), transparent),
        radial-gradient(1px 1px at 33% 90%, rgba(91, 156, 245, 0.2), transparent),
        radial-gradient(2px 2px at 10% 80%, rgba(58, 123, 213, 0.3), transparent);
    background-size: 200% 200%;
    animation: particleFloat 40s linear infinite;
    opacity: 0.6;
}

.page-home .hero {
    background: linear-gradient(135deg, rgba(13, 27, 42, 0.95) 0%, rgba(5, 13, 24, 0.95) 100%),
                url('https://images.unsplash.com/photo-1558494949-ef010cbdcc31?w=1920&h=1080&fit=crop&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.page-about .hero {
    background: linear-gradient(135deg, rgba(13, 27, 42, 0.95) 0%, rgba(5, 13, 24, 0.95) 100%),
                url('https://images.unsplash.com/photo-1522071820081-009f0129c71c?w=1920&h=1080&fit=crop&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.page-services .hero {
    background: linear-gradient(135deg, rgba(13, 27, 42, 0.95) 0%, rgba(5, 13, 24, 0.95) 100%),
                url('https://images.unsplash.com/photo-1460925895917-afdab827c52f?w=1920&h=1080&fit=crop&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.page-products .hero {
    background: linear-gradient(135deg, rgba(13, 27, 42, 0.95) 0%, rgba(5, 13, 24, 0.95) 100%),
                url('https://images.unsplash.com/photo-1551288049-bebda4e38f71?w=1920&h=1080&fit=crop&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.page-contact .hero {
    background: linear-gradient(135deg, rgba(13, 27, 42, 0.95) 0%, rgba(5, 13, 24, 0.95) 100%),
                url('https://images.unsplash.com/photo-1423666639041-f56000c27a9a?w=1920&h=1080&fit=crop&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

@keyframes fluidMove {
    0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.8; }
    33% { transform: translate(5%, -5%) scale(1.1); opacity: 1; }
    66% { transform: translate(-5%, 5%) scale(0.9); opacity: 0.9; }
}

@keyframes particleFloat {
    0% { background-position: 0% 0%; }
    100% { background-position: 100% 100%; }
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 1100px;
    padding: 50px 20px;
}

.hero h1 {
    font-size: 5rem;
    margin-bottom: 2rem;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -2px;
    animation: heroTitleFadeIn 1.2s ease-out;
    background: linear-gradient(135deg, var(--light-text) 0%, var(--primary-color) 50%, var(--accent-gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.hero h1::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-gold));
    animation: titleUnderline 1.5s ease-out 0.5s forwards;
    box-shadow: 0 0 20px var(--primary-color);
}

@keyframes heroTitleFadeIn {
    0% {
        opacity: 0;
        transform: translateY(30px) scale(0.9);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes titleUnderline {
    0% { width: 0; }
    100% { width: 200px; }
}

.hero-code {
    font-family: 'Courier New', monospace;
    font-size: 1.1rem;
    color: var(--gray-text);
    margin-bottom: 1rem;
    letter-spacing: 1px;
    animation: typewriter 2s steps(40) 0.5s forwards;
    opacity: 0;
    overflow: hidden;
    white-space: nowrap;
    border-right: 2px solid var(--primary-color);
    display: inline-block;
}

@keyframes typewriter {
    0% {
        width: 0;
        opacity: 1;
    }
    99% {
        border-right: 2px solid var(--primary-color);
    }
    100% {
        width: 100%;
        opacity: 1;
        border-right: none;
    }
}

.hero-description {
    font-family: 'Courier New', monospace;
    font-size: 1rem;
    color: var(--gray-text);
    margin-bottom: 3rem;
    line-height: 1.8;
    letter-spacing: 0.5px;
    animation: fadeInUp 1s ease-out 1s backwards;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
    font-size: 0.95rem;
    border-radius: 6px;
    position: relative;
    overflow: hidden;
    animation: fadeInUp 1s ease-out 1.5s backwards;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: transparent;
    color: var(--light-text);
    border: 2px solid var(--primary-color);
    box-shadow: 0 0 20px rgba(91, 156, 245, 0.2);
}

.btn-primary:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 15px 50px rgba(91, 156, 245, 0.4), 0 0 40px rgba(91, 156, 245, 0.3);
    border-color: var(--primary-color);
}

.btn-outline {
    background: transparent;
    color: var(--gray-text);
    border: 2px solid var(--border-color);
}

.btn-outline:hover {
    border-color: var(--primary-color);
    color: var(--light-text);
    box-shadow: 0 10px 40px rgba(91, 156, 245, 0.2);
    transform: translateY(-2px);
}

.btn-arrow::after {
    content: '→';
    margin-left: 4px;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-block;
}

.btn-primary:hover.btn-arrow::after {
    transform: translateX(6px);
    animation: arrowBounce 0.6s ease-in-out infinite;
}

@keyframes arrowBounce {
    0%, 100% { transform: translateX(6px); }
    50% { transform: translateX(10px); }
}

.section {
    padding: 120px 0;
    position: relative;
}

.section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 80% 20%, rgba(91, 156, 245, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 20% 80%, rgba(255, 200, 87, 0.03) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.section > * {
    position: relative;
    z-index: 1;
}

.section-alt {
    background: var(--darker-bg);
}

.section-alt::before {
    background: 
        radial-gradient(circle at 30% 50%, rgba(91, 156, 245, 0.05) 0%, transparent 60%),
        radial-gradient(circle at 70% 50%, rgba(58, 123, 213, 0.05) 0%, transparent 60%);
}

.section-title {
    text-align: center;
    font-size: 3.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
    letter-spacing: -1px;
    opacity: 0;
    transform: translateY(30px);
    animation: sectionTitleFadeIn 1s ease-out forwards;
    background: linear-gradient(135deg, var(--light-text) 0%, var(--primary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-gold));
    animation: sectionUnderline 1.2s ease-out 0.3s forwards;
    box-shadow: 0 0 20px var(--primary-color);
}

@keyframes sectionTitleFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes sectionUnderline {
    0% { width: 0; }
    100% { width: 150px; }
}

.section-subtitle {
    text-align: center;
    color: var(--gray-text);
    font-size: 1.1rem;
    margin-bottom: 4rem;
    font-family: 'Courier New', monospace;
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.3s backwards;
}

.grid {
    display: grid;
    gap: 2.5rem;
}

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
}

.card {
    background: var(--card-bg);
    padding: 0;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px);
    animation: cardFadeIn 0.8s ease-out forwards;
}

.card:nth-child(1) { animation-delay: 0.1s; }
.card:nth-child(2) { animation-delay: 0.2s; }
.card:nth-child(3) { animation-delay: 0.3s; }
.card:nth-child(4) { animation-delay: 0.4s; }
.card:nth-child(5) { animation-delay: 0.5s; }
.card:nth-child(6) { animation-delay: 0.6s; }

@keyframes cardFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(91, 156, 245, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(91, 156, 245, 0.05) 0%, rgba(255, 200, 87, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.card:hover::before {
    opacity: 1;
    animation: cardGlow 3s ease-in-out infinite;
}

.card:hover::after {
    opacity: 1;
}

@keyframes cardGlow {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    25% {
        transform: translate(10%, -10%) rotate(90deg);
    }
    50% {
        transform: translate(-10%, 10%) rotate(180deg);
    }
    75% {
        transform: translate(10%, 10%) rotate(270deg);
    }
}

.card-with-image {
    display: flex;
    flex-direction: column;
}

.card-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
    position: relative;
}

.card-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(91, 156, 245, 0.3) 0%, rgba(255, 200, 87, 0.3) 100%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.card:hover .card-image::after {
    opacity: 1;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.card:hover .card-image img {
    transform: scale(1.15) rotate(2deg);
}

.card-icon-svg {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 1.5rem 1.5rem 1rem;
    color: var(--light-text);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.card-icon-svg::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--accent-gold) 0%, var(--primary-color) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.card:hover .card-icon-svg {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 10px 30px rgba(91, 156, 245, 0.5);
}

.card:hover .card-icon-svg::before {
    opacity: 1;
}

.card-icon-minimal {
    width: 48px;
    height: 48px;
    margin: 1.5rem 1.5rem 1rem;
    color: var(--primary-color);
    transition: all 0.4s ease;
    filter: drop-shadow(0 0 10px rgba(91, 156, 245, 0.3));
}

.card:hover .card-icon-minimal {
    transform: translateY(-5px) scale(1.15);
    color: var(--accent-gold);
    filter: drop-shadow(0 0 20px rgba(255, 200, 87, 0.6));
    animation: iconFloat 2s ease-in-out infinite;
}

@keyframes iconFloat {
    0%, 100% { transform: translateY(-5px) scale(1.15); }
    50% { transform: translateY(-10px) scale(1.15); }
}

.card-icon-minimal svg {
    width: 100%;
    height: 100%;
}

.feature-icon-minimal {
    width: 56px;
    height: 56px;
    color: var(--primary-color);
    margin: 0 auto 1.5rem;
    transition: all 0.4s ease;
    filter: drop-shadow(0 0 10px rgba(91, 156, 245, 0.3));
}

.feature-item:hover .feature-icon-minimal {
    transform: scale(1.2) rotate(360deg);
    color: var(--accent-gold);
    filter: drop-shadow(0 0 20px rgba(255, 200, 87, 0.6));
}

.feature-icon-minimal svg {
    width: 100%;
    height: 100%;
}

.card h3 {
    font-size: 1.5rem;
    margin: 0 1.5rem 1rem;
    color: var(--light-text);
    transition: all 0.4s ease;
}

.card:hover h3 {
    color: var(--primary-color);
    text-shadow: 0 0 20px rgba(91, 156, 245, 0.5);
    transform: translateX(5px);
}

.card p {
    color: var(--gray-text);
    line-height: 1.8;
    font-size: 0.95rem;
    margin: 0 1.5rem 1.5rem;
    transition: color 0.4s ease;
}

.card:hover p {
    color: var(--light-text);
}

.card p a,
.card a {
    color: var(--primary-color);
    text-decoration: none;
    border-bottom: 1px solid rgba(91, 156, 245, 0.3);
    transition: all 0.3s ease;
    padding-bottom: 1px;
}

.card p a:hover,
.card a:hover {
    color: var(--accent-gold);
    border-bottom-color: var(--accent-gold);
    text-shadow: 0 0 10px rgba(255, 200, 87, 0.5);
}

.section p a,
.hero p a {
    color: var(--primary-color);
    text-decoration: none;
    border-bottom: 1px solid rgba(91, 156, 245, 0.3);
    transition: all 0.3s ease;
    padding-bottom: 1px;
}

.section p a:hover,
.hero p a:hover {
    color: var(--accent-gold);
    border-bottom-color: var(--accent-gold);
    text-shadow: 0 0 10px rgba(255, 200, 87, 0.5);
}

.card:hover {
    border-color: var(--primary-color);
    transform: translateY(-12px) scale(1.02);
    box-shadow: 
        0 25px 70px rgba(91, 156, 245, 0.25),
        0 0 50px rgba(91, 156, 245, 0.2),
        inset 0 0 30px rgba(91, 156, 245, 0.1);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.feature-item {
    text-align: center;
    padding: 2rem;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 12px;
    position: relative;
    opacity: 0;
    transform: translateY(30px);
    animation: featureFadeIn 0.8s ease-out forwards;
}

.feature-item:nth-child(1) { animation-delay: 0.1s; }
.feature-item:nth-child(2) { animation-delay: 0.2s; }
.feature-item:nth-child(3) { animation-delay: 0.3s; }
.feature-item:nth-child(4) { animation-delay: 0.4s; }
.feature-item:nth-child(5) { animation-delay: 0.5s; }
.feature-item:nth-child(6) { animation-delay: 0.6s; }

@keyframes featureFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.feature-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(91, 156, 245, 0.05) 0%, rgba(255, 200, 87, 0.05) 100%);
    border-radius: 12px;
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: -1;
}

.feature-item:hover {
    transform: translateY(-10px);
    background: rgba(91, 156, 245, 0.03);
}

.feature-item:hover::before {
    opacity: 1;
}

.feature-item h3 {
    margin-bottom: 0.8rem;
    color: var(--light-text);
    font-size: 1.3rem;
    transition: all 0.4s ease;
}

.feature-item:hover h3 {
    color: var(--primary-color);
    text-shadow: 0 0 20px rgba(91, 156, 245, 0.5);
}

.feature-item p {
    color: var(--gray-text);
    font-size: 0.95rem;
    line-height: 1.7;
    transition: color 0.4s ease;
}

.feature-item:hover p {
    color: var(--light-text);
}

footer {
    background: var(--darker-bg);
    border-top: 1px solid var(--border-color);
    padding: 80px 0 40px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-section h3 {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: var(--light-text);
}

.footer-section p {
    color: var(--gray-text);
    line-height: 1.8;
    font-size: 0.9rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.8rem;
}

.footer-section a {
    color: var(--gray-text);
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 0.9rem;
    display: inline-block;
    position: relative;
}

.footer-section a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -2px;
    left: 0;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-gold));
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 10px var(--primary-color);
}

.footer-section a::before {
    content: '→';
    position: absolute;
    left: -20px;
    opacity: 0;
    transition: all 0.4s ease;
    color: var(--primary-color);
}

.footer-section a:hover {
    color: var(--primary-color);
    transform: translateX(8px);
    text-shadow: 0 0 15px rgba(91, 156, 245, 0.5);
}

.footer-section a:hover::after {
    width: 100%;
}

.footer-section a:hover::before {
    opacity: 1;
    left: -15px;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    color: var(--gray-text);
    font-size: 0.85rem;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--light-text);
    font-size: 0.9rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    color: var(--light-text);
    font-size: 0.95rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: inherit;
    position: relative;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 
        0 0 0 4px rgba(91, 156, 245, 0.15),
        0 0 30px rgba(91, 156, 245, 0.3);
    transform: translateY(-2px);
    background: rgba(91, 156, 245, 0.05);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.contact-info {
    display: grid;
    gap: 2rem;
}

.info-item {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.info-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(91, 156, 245, 0.1), transparent);
    transition: left 0.6s ease;
}

.info-item:hover {
    border-color: var(--primary-color);
    transform: translateX(5px);
    box-shadow: 0 10px 40px rgba(91, 156, 245, 0.2);
}

.info-item:hover::before {
    left: 100%;
}

.info-icon {
    font-size: 1.5rem;
    color: var(--primary-color);
    transition: all 0.4s ease;
}

.info-item:hover .info-icon {
    transform: scale(1.2) rotate(360deg);
    filter: drop-shadow(0 0 20px rgba(91, 156, 245, 0.6));
}

.info-item h3 {
    color: var(--light-text);
    margin-bottom: 0.5rem;
    font-size: 1rem;
    transition: all 0.4s ease;
}

.info-item:hover h3 {
    color: var(--primary-color);
}

.info-item p {
    color: var(--gray-text);
    font-size: 0.9rem;
    line-height: 1.6;
    transition: color 0.4s ease;
}

.info-item:hover p {
    color: var(--light-text);
}

.info-item a {
    color: var(--primary-color);
    text-decoration: none;
    border-bottom: 1px solid rgba(91, 156, 245, 0.3);
    transition: all 0.3s ease;
    padding-bottom: 1px;
}

.info-item a:hover {
    color: var(--accent-gold);
    border-bottom-color: var(--accent-gold);
    text-shadow: 0 0 10px rgba(255, 200, 87, 0.5);
}

@media (max-width: 768px) {
    .nav-menu {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
    
    .hero h1 {
        font-size: 3rem;
    }
    
    .hero-code,
    .hero-description {
        font-size: 0.9rem;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .container {
        padding: 0 20px;
    }
    
    .grid-3 {
        grid-template-columns: 1fr;
    }
    
    .card-image {
        height: 180px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .footer-section:first-child {
        order: 1;
    }
    
    .footer-section:nth-child(4) {
        order: 2;
    }
    
    .footer-section:nth-child(2),
    .footer-section:nth-child(3) {
        order: 3;
    }
}

/* ========================================
   Cookie Consent Banner Styles
   ======================================== */

#cookie-consent-banner {
    position: fixed;
    bottom: -100%;
    left: 0;
    right: 0;
    background: rgba(13, 27, 42, 0.98);
    backdrop-filter: blur(20px);
    border-top: 1px solid var(--border-color);
    box-shadow: 0 -10px 50px rgba(0, 0, 0, 0.5);
    z-index: 10000;
    transition: bottom 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0;
}

#cookie-consent-banner.show {
    bottom: 0;
}

.cookie-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem 2.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2.5rem;
}

.cookie-text {
    flex: 1;
}

.cookie-text p {
    margin: 0;
    color: var(--light-text);
    font-size: 0.95rem;
    line-height: 1.7;
}

.cookie-text a {
    color: var(--primary-color);
    text-decoration: none;
    border-bottom: 1px solid rgba(91, 156, 245, 0.3);
    transition: all 0.3s ease;
    padding-bottom: 1px;
}

.cookie-text a:hover {
    color: var(--accent-gold);
    border-bottom-color: var(--accent-gold);
    text-shadow: 0 0 10px rgba(255, 200, 87, 0.5);
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.cookie-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.5s ease, height 0.5s ease;
}

.cookie-btn:hover::before {
    width: 300px;
    height: 300px;
}

.cookie-btn-accept {
    background: var(--primary-color);
    color: var(--light-text);
    border: 2px solid var(--primary-color);
}

.cookie-btn-accept:hover {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(91, 156, 245, 0.4);
}

.cookie-btn-decline {
    background: transparent;
    color: var(--gray-text);
    border: 2px solid var(--border-color);
}

.cookie-btn-decline:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--light-text);
    border-color: var(--gray-text);
    transform: translateY(-2px);
}

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

.cookie-btn-settings:hover {
    background: rgba(91, 156, 245, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(91, 156, 245, 0.3);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        align-items: stretch;
        padding: 1.5rem;
        gap: 1.5rem;
    }

    .cookie-text p {
        font-size: 0.85rem;
        text-align: center;
    }

    .cookie-buttons {
        flex-direction: column;
        gap: 0.75rem;
    }

    .cookie-btn {
        width: 100%;
        padding: 14px 20px;
    }
}

/* Animation */
@keyframes slideUp {
    from {
        bottom: -100%;
    }
    to {
        bottom: 0;
    }
}
