:root {
    --primary-color: #ffd700;
    /* Gold */
    --primary-hover: #ffea70;
    --bg-color: #050a14;
    /* Very dark blue/black */
    --surface-color: rgba(255, 255, 255, 0.05);
    --surface-border: rgba(255, 255, 255, 0.1);
    --text-color: #ffffff;
    --text-muted: #a0a0a0;
    --accent-blue: #00f2ff;
    --font-main: 'Outfit', sans-serif;
    --transition-speed: 0.3s;
}

* {
    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;
}

/* Background Mesh Effect */
.background-mesh {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background:
        radial-gradient(circle at 10% 20%, rgba(0, 242, 255, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(255, 215, 0, 0.05) 0%, transparent 40%),
        linear-gradient(to bottom right, #02040a, #0a1525);
}

.background-mesh::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.3;
}

/* Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 1000;
    transition: background 0.3s, padding 0.3s;
    backdrop-filter: blur(10px);
}

.navbar.scrolled {
    background: rgba(5, 10, 20, 0.9);
    padding: 15px 0;
    border-bottom: 1px solid var(--surface-border);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--text-color);
}

.logo span {
    color: var(--primary-color);
}

.navbar nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.navbar nav a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color var(--transition-speed);
}

.navbar nav a:hover {
    color: var(--primary-color);
}

.btn-contact {
    padding: 8px 20px;
    border: 1px solid var(--primary-color);
    border-radius: 50px;
    color: var(--primary-color) !important;
    transition: all var(--transition-speed);
}

.btn-contact:hover {
    background: var(--primary-color);
    color: #000 !important;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.5);
}

/* Hero Section */
.hero-section {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 80px;
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    background: linear-gradient(to right, #fff, #ccc);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.hero-content .subtitle {
    font-size: 1.5rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 50px;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--primary-color);
}

.feature-item i {
    font-size: 1.5rem;
}

.feature-item span {
    color: var(--text-color);
    font-weight: 600;
}

.cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: linear-gradient(45deg, var(--primary-color), #ffc107);
    color: #000;
    text-decoration: none;
    font-weight: 700;
    border-radius: 50px;
    font-size: 1.1rem;
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
    box-shadow: 0 5px 20px rgba(255, 215, 0, 0.3);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.5);
}

/* Services Section */
.services-section {
    padding: 100px 0;
    position: relative;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--primary-color);
}

.service-card {
    background: var(--surface-color);
    border: 1px solid var(--surface-border);
    padding: 50px;
    border-radius: 20px;
    text-align: center;
    backdrop-filter: blur(10px);
    max-width: 600px;
    margin: 0 auto;
    transition: transform var(--transition-speed), border-color var(--transition-speed);
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
}

.service-card .icon-wrapper {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 25px;
}

.service-card h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.service-card p {
    color: var(--text-muted);
}

/* Contact Section */
.contact-section {
    padding: 100px 0;
    margin-bottom: 50px;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.contact-card {
    background: var(--surface-color);
    border: 1px solid var(--surface-border);
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    transition: transform var(--transition-speed), background var(--transition-speed);
}

.contact-card:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-5px);
}

.contact-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.contact-card h3 {
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.contact-card a,
.contact-card p {
    display: block;
    color: var(--text-muted);
    text-decoration: none;
    margin-bottom: 5px;
    font-size: 1rem;
    transition: color 0.3s;
}

.contact-card a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.tg-link {
    font-weight: 600;
    color: var(--accent-blue) !important;
}

/* Footer */
footer {
    padding: 40px 0;
    text-align: center;
    border-top: 1px solid var(--surface-border);
    color: #666;
    font-size: 0.9rem;
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

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

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

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

.delay-1 {
    transition-delay: 0.2s;
}

.delay-2 {
    transition-delay: 0.4s;
}

.delay-3 {
    transition-delay: 0.6s;
}

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

    .navbar nav ul {
        display: none;
    }

    /* Simple mobile hide for now, could add hamburger */

    .contact-grid {
        grid-template-columns: 1fr;
    }
}

/* Language Switcher */
.lang-dropdown {
    position: relative;
    display: inline-block;
    margin-left: 20px;
}

.lang-btn {
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: 1px solid var(--surface-border);
    color: var(--text-color);
    padding: 8px 15px;
    border-radius: 50px;
    font-family: var(--font-main);
    font-size: 1rem;
    transition: all 0.3s;
}

.lang-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.lang-content {
    display: none;
    position: absolute;
    right: 0;
    background-color: var(--surface-color);
    min-width: 160px;
    box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2);
    z-index: 1001;
    border-radius: 10px;
    border: 1px solid var(--surface-border);
    backdrop-filter: blur(10px);
    overflow: hidden;
    margin-top: 10px;
}

.lang-content.show {
    display: block;
    animation: fadeIn 0.2s ease-out;
}

.lang-content a {
    color: var(--text-color);
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
    transition: background 0.3s;
}

.lang-content a:hover {
    background-color: var(--primary-color);
    color: #000;
}

/* Animation for dropdown */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

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

/* Responsive specific adjustments for Lang Switcher */
@media (max-width: 768px) {
    .lang-dropdown {
        margin-left: auto;
    }
}