:root {
    --primary-blue: #0066CC;
    --light-blue: #3399FF;
    --dark-blue: #003366;
    --sky-blue: #66B2FF;
    --ice-blue: #E6F2FF;
    --pure-white: #FFFFFF;
    --light-gray: #F8F9FA;
    --text-dark: #1A1A1A;
    --text-gray: #5A5A5A;
    --gradient-blue: linear-gradient(135deg, #0066CC 0%, #0099FF 100%);
    --gradient-light: linear-gradient(135deg, #66B2FF 0%, #99CCFF 100%);
    --gradient-sky: linear-gradient(135deg, #E6F2FF 0%, #FFFFFF 100%);
}

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

body {
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
    background: var(--pure-white);
}

/* Animated Background */
.animated-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: linear-gradient(135deg, #E6F2FF 0%, #FFFFFF 50%, #F0F7FF 100%);
}

.animated-bg::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 50%, rgba(0, 102, 204, 0.08) 0%, transparent 50%),
                radial-gradient(circle at 70% 50%, rgba(51, 153, 255, 0.08) 0%, transparent 50%);
    animation: rotate 30s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Navbar */
.navbar {
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(0, 102, 204, 0.1);
    box-shadow: 0 2px 10px rgba(0, 102, 204, 0.05);
}

.navbar.scrolled {
    box-shadow: 0 4px 20px rgba(0, 102, 204, 0.15);
}

.navbar-brand {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary-blue) !important;
}

.navbar-toggler {
    border-color: var(--primary-blue);
}

.navbar-toggler-icon {
    background-image: url("../img/hamburger.svg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 18px 18px;
}

.nav-btn {
    margin: 0 0.5rem;
    padding: 0.6rem 1.8rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.nav-btn.btn-primary {
    background: var(--gradient-blue);
    border: none;
    color: white;
}

.nav-btn.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 102, 204, 0.3);
}

.nav-btn.btn-success {
    background: white;
    border: 2px solid var(--primary-blue);
    color: var(--primary-blue);
}

.nav-btn.btn-success:hover {
    background: var(--primary-blue);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 102, 204, 0.3);
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 120px 0 80px;
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.9) 0%, rgba(0, 153, 255, 0.9) 100%),
                url('../img/back.png') center/cover no-repeat;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("../img/grid.svg") center/contain repeat;
    opacity: 0.3;
}

.hero-content {
    text-align: center;
    animation: fadeInUp 1s ease;
    position: relative;
    z-index: 2;
}

.hero-logo {
    width: 400px;
    height: 300px;
    margin-bottom: 2rem;
    animation: float 3s ease-in-out infinite, glow 2s ease-in-out infinite alternate;
    filter: drop-shadow(0 0 40px rgba(255, 255, 255, 0.9)) 
            drop-shadow(0 0 80px rgba(255, 255, 255, 0.6))
            drop-shadow(0 20px 40px rgba(0, 0, 0, 0.3));
}

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

@keyframes glow {
    from {
        filter: drop-shadow(0 0 30px rgba(255, 255, 255, 0.7)) 
                drop-shadow(0 0 60px rgba(255, 255, 255, 0.5))
                drop-shadow(0 20px 40px rgba(0, 0, 0, 0.3));
    }
    to {
        filter: drop-shadow(0 0 50px rgba(255, 255, 255, 1)) 
                drop-shadow(0 0 100px rgba(255, 255, 255, 0.8))
                drop-shadow(0 20px 40px rgba(0, 0, 0, 0.3));
    }
}

.hero-title {
    font-family: 'Poppins', sans-serif;
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--pure-white);
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.4rem;
    color: var(--pure-white);
    margin-bottom: 3rem;
    font-weight: 400;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Hero decoration elements */
.hero-decoration {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    animation: pulse 3s ease-in-out infinite;
}

.hero-decoration:nth-child(1) {
    width: 300px;
    height: 300px;
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.hero-decoration:nth-child(2) {
    width: 200px;
    height: 200px;
    bottom: 15%;
    right: 15%;
    animation-delay: 1s;
}

.hero-decoration:nth-child(3) {
    width: 150px;
    height: 150px;
    top: 60%;
    left: 5%;
    animation-delay: 2s;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.3;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.5;
    }
}

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

/* Android App Banner */
.app-banner {
    background: var(--gradient-blue);
    color: white;
    padding: 2rem;
    border-radius: 20px;
    margin: 3rem auto;
    max-width: 800px;
    box-shadow: 0 20px 60px rgba(0, 102, 204, 0.25);
    animation: slideIn 1s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.app-banner h3 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    margin-bottom: 1rem;
}

.play-store-badge {
    transition: transform 0.3s ease;
}

.play-store-badge:hover {
    transform: scale(1.05);
}

/* Features Sekcija */
.features-section {
    padding: 100px 0;
    background: white;
}

.section-title {
    font-family: 'Poppins', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--primary-blue);
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-gray);
    max-width: 800px;
    margin: 0 auto 4rem;
    line-height: 1.8;
}

.feature-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    margin-bottom: 2rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid var(--ice-blue);
    height: 100%;
    opacity: 0;
    transform: translateY(30px);
}

.feature-card.animate {
    opacity: 1;
    transform: translateY(0);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 102, 204, 0.15);
    border-color: var(--light-blue);
    background: linear-gradient(135deg, #FFFFFF 0%, #F0F7FF 100%);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-blue);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: rotate(5deg) scale(1.1);
    box-shadow: 0 10px 25px rgba(0, 102, 204, 0.3);
}

.feature-icon i {
    font-size: 2rem;
    color: white;
}

.feature-card h4 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--dark-blue);
}

.feature-card p {
    color: var(--text-gray);
    line-height: 1.7;
    margin: 0;
}

/* Contact Sekcija */
.contact-section {
    padding: 100px 0;
    background: var(--gradient-sky);
}

.contact-card {
    background: white;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 20px 60px rgba(0, 102, 204, 0.1);
    max-width: 800px;
    margin: 0 auto;
    border: 2px solid var(--ice-blue);
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--ice-blue);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: linear-gradient(135deg, #E6F2FF 0%, #D6E9FF 100%);
    transform: translateX(10px);
    box-shadow: 0 5px 15px rgba(0, 102, 204, 0.1);
}

.contact-icon {
    width: 50px; 
    height: 50px; 
    background: var(--gradient-blue);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1.5rem;
    flex-shrink: 0; 
}

.contact-icon i {
    color: white;
    font-size: 1.5rem;
}

.contact-info strong {
    display: block;
    color: var(--dark-blue);
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.contact-info a {
    color: var(--primary-blue);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info a:hover {
    color: var(--dark-blue);
}

/* Footer */
footer {
    background: var(--dark-blue);
    color: white;
    padding: 3rem 0;
}

footer .fw-bold {
    font-family: 'Poppins', sans-serif;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }

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

    .hero-logo {
        width: 250px;
        height: 180px;
    }

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

    .feature-card {
        padding: 2rem;
    }

    .nav-btn {
        margin: 0.3rem;
        padding: 0.5rem 1.2rem;
        font-size: 0.9rem;
    }

    .hero-decoration {
        display: none;
    }
}

/* Scroll Animacija */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

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