html {
    scroll-behavior: smooth;
}

:root {
    --primary-color: #4a148c; /* Deep Purple */
    --secondary-color: #7c43bd; /* Lighter Purple */
    --accent-color: #00e5ff; /* Cyan/Blue accent for "tech" feel */
    --text-color: #ffffff;
    --bg-color: #0a0a1a; /* Very dark blue/purple background */
    --card-bg: rgba(255, 255, 255, 0.05);
    --font-main: 'Outfit', sans-serif;
}

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

body {
    font-family: var(--font-main);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 50px;
    background: rgba(10, 10, 26, 0.8);
    backdrop-filter: blur(10px);
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-color);
    letter-spacing: 1px;
    transition: transform 0.5s ease;
    display: inline-block;
}

.logo-text:hover {
    animation: shake 0.5s infinite;
    cursor: help;
}

@keyframes shake {
    0% { transform: translate(1px, 1px) rotate(0deg); }
    10% { transform: translate(-1px, -2px) rotate(-1deg); }
    20% { transform: translate(-3px, 0px) rotate(1deg); }
    30% { transform: translate(3px, 2px) rotate(0deg); }
    40% { transform: translate(1px, -1px) rotate(1deg); }
    50% { transform: translate(-1px, 2px) rotate(-1deg); }
    60% { transform: translate(-3px, 1px) rotate(0deg); }
    70% { transform: translate(3px, 1px) rotate(-1deg); }
    80% { transform: translate(-1px, -1px) rotate(1deg); }
    90% { transform: translate(1px, 2px) rotate(0deg); }
    100% { transform: translate(1px, -2px) rotate(-1deg); }
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.lang-switcher {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
}

.lang-link {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.6);
    transition: color 0.3s ease;
}

.lang-link:hover, .lang-link.active {
    color: var(--accent-color);
}

.separator {
    color: rgba(255, 255, 255, 0.3);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    padding: 0 20px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, #2a0e5e 0%, #0a0a1a 70%);
    z-index: -1;
}

.hero-content {
    max-width: 800px;
    z-index: 1;
    animation: fadeInUp 1s ease-out;
}

.logo-container {
    margin-bottom: 30px;
    display: inline-block;
    animation: float 6s ease-in-out infinite;
}

.main-logo {
    width: 150px;
    height: auto;
    border-radius: 20px; /* Optional: if logo is square */
    box-shadow: 0 0 30px rgba(124, 67, 189, 0.5);
    transition: transform 0.1s ease;
}

.main-logo:active {
    transform: scale(0.9);
}

#logo-counter {
    margin-top: 10px;
    font-size: 1.2rem;
    font-weight: bold;
    color: #000;
    background: #fff;
    padding: 5px 15px;
    border-radius: 20px;
    display: inline-block;
    width: min-content;
    margin: auto;
}

#hero-logo {
    cursor: pointer;
}

h1 {
    font-size: 3.5rem;
    margin-bottom: 10px;
    background: linear-gradient(to right, #fff, #b39ddb);
    -webkit-background-clip: text;
    background-clip: text;
}

.subtitle {
    font-size: 1.2rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
}

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

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

/* Mobile Responsiveness */
@media (max-width: 768px) {
    header {
        padding: 15px 20px;
    }

    nav {
        flex-direction: column;
        gap: 15px;
    }

    .nav-right {
        width: 100%;
        justify-content: space-between;
    }

    .logo-text {
        font-size: 1.2rem;
    }

    .hero {
        height: auto;
        min-height: 100vh;
        padding-top: 140px; /* Increased padding for stacked nav */
        padding-bottom: 50px;
    }

    .hero h1 {
        font-size: 2.5rem;
    }
}

