:root {
    --primary: #0097cc;
    --primary-dark: #073042;
    --accent: #ff8c00;
    --text: #ffffff;
    --text-muted: rgba(255, 255, 255, 0.7);
    --bg-light: #ffffff;
    --bg-dark: #073042;
    --glass: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
}

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

body { 
    font-family: 'Inter', sans-serif; 
    background-color: var(--bg-dark);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* --- Modern 2026 Effects --- */
.blob {
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 151, 204, 0.2) 0%, transparent 70%);
    filter: blur(80px);
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
    animation: move 20s infinite alternate;
}

@keyframes move {
    from { transform: translate(-5%, -5%); }
    to { transform: translate(10%, 10%); }
}

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 1.2s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform, opacity;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* --- Navigation --- */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 15px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

nav.scrolled {
    padding: 10px 5%;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.logo {
    width: 180px;
    height: auto;
    cursor: pointer;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.logo:hover {
    transform: scale(1.05) rotate(-1deg);
}

.hero-icon {
    width: clamp(100px, 40%, 300px);
    height: auto;
    margin-bottom: 30px;
    filter: drop-shadow(0 20px 50px rgba(0,0,0,0.2));
    animation: float 12s ease-in-out infinite;
    position: relative;
    z-index: 2;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-25px) rotate(1deg); }
}

.nav-links {
    display: flex;
    gap: 35px;
    align-items: center;
}

.nav-links a {
    color: var(--primary-dark);
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-links a:hover::after {
    width: 100%;
}

.login-btn {
    background: linear-gradient(135deg, var(--primary-dark) 0%, #0a4d6b 100%);
    color: white !important;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 700 !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(7, 48, 66, 0.3);
    border: none;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(7, 48, 66, 0.4);
}

.lang-toggle {
    background: var(--glass);
    color: var(--primary-dark);
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    border: 1px solid var(--glass-border);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}

.lang-toggle:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

/* --- Hero Section --- */
.hero {
    height: 100vh;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.85) 0%, rgba(255, 255, 255, 0.3) 100%);
    display: flex;
    align-items: center;
    padding: 0 10%;
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 150%;
    background: url('/assets/img/home-security.png') no-repeat center center/cover;
    z-index: -1;
    transform: translateY(var(--scroll-y, 0));
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform;
}

.hero-content {
    max-width: 800px;
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(3rem, 7vw, 5.5rem);
    line-height: 1;
    margin-bottom: 25px;
    font-weight: 800;
    color: var(--primary-dark);
    letter-spacing: -2px;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 45px;
    color: #334155;
    font-weight: 400;
    max-width: 600px;
}

.cta-group {
    display: flex;
    gap: 25px;
}

.btn-primary {
    background: var(--primary-dark);
    color: white;
    padding: 20px 45px;
    border-radius: 16px;
    text-decoration: none;
    font-weight: 800;
    text-transform: uppercase;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-primary:hover {
    transform: scale(1.05) translateY(-5px);
    box-shadow: 0 20px 40px rgba(7, 48, 66, 0.2);
}

.btn-outline {
    background: rgba(255, 255, 255, 0.1);
    color: var(--primary-dark);
    border: 2px solid var(--primary-dark);
    padding: 18px 43px;
    border-radius: 16px;
    text-decoration: none;
    font-weight: 800;
    text-transform: uppercase;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    backdrop-filter: blur(10px);
}

.btn-outline:hover {
    background: var(--primary-dark);
    color: white;
}

/* --- Services Section --- */
.services {
    padding: 140px 10%;
    background: var(--bg-dark);
    position: relative;
    overflow: hidden;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.05), transparent);
    pointer-events: none;
}

.section-header {
    text-align: center;
    margin-bottom: 100px;
    position: relative;
    z-index: 2;
}

.section-header h2 {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    margin-bottom: 15px;
    color: white;
    font-weight: 800;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 50px;
    position: relative;
    z-index: 2;
}

/* --- Carousel Enhancements --- */
.services-carousel {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    padding: 60px 5%;
    scrollbar-width: none;
    -ms-overflow-style: none;
    cursor: grab;
}

.services-carousel::-webkit-scrollbar {
    display: none;
}

.services-carousel .service-card {
    min-width: 45vw;
    flex: 0 0 45vw;
}

@media (max-width: 1024px) {
    .services-carousel .service-card {
        min-width: 60vw;
        flex: 0 0 60vw;
    }
}

@media (max-width: 600px) {
    .services-carousel .service-card {
        min-width: 85vw;
        flex: 0 0 85vw;
    }
}

.service-card {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 40px;
    overflow: hidden;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-20px) scale(1.02);
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(0, 151, 204, 0.3);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.4);
}

.card-img {
    height: 500px;
    background-size: cover;
    background-position: center;
    transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-card:hover .card-img {
    transform: scale(1.1);
}

.card-content {
    padding: 50px;
    flex-grow: 1;
}

.card-content h3 {
    font-size: 1.85rem;
    margin-bottom: 25px;
    color: white;
    font-weight: 700;
}

.card-content p {
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 35px;
    font-size: 1.15rem;
}

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

@media (max-width: 768px) {
    .nav-links { display: none; }
    .hero { text-align: center; justify-content: center; }
    .cta-group { flex-direction: column; }
}
