:root {
    --bg-color: #050505;
    --text-color: #ffffff;
    --text-muted: #94a3b8;
    --accent-color: #3b82f6;
    --accent-hover: #2563eb;
    --accent-glow: rgba(59, 130, 246, 0.5);
    --card-bg: rgba(255, 255, 255, 0.03);
    --card-border: rgba(255, 255, 255, 0.1);
    --nav-bg: rgba(5, 5, 5, 0.8);
    --font-main: 'Inter', sans-serif;
    --font-heading: 'Outfit', sans-serif;
    --container-width: 1200px;
}

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

html {
    scroll-behavior: smooth;
}

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

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

span {
    color: var(--accent-color);
}

/* Background Mesh */
.background-mesh {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: 
        radial-gradient(circle at 10% 20%, rgba(59, 130, 246, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(139, 92, 246, 0.1) 0%, transparent 40%);
    filter: blur(100px);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.25rem 0;
    z-index: 1000;
    background: var(--nav-bg);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--card-border);
}

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

.nav-right {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
    text-decoration: none;
    font-family: var(--font-heading);
    letter-spacing: -0.05em;
}

.logo span {
    font-weight: 400;
    margin-left: 0.1rem;
    opacity: 0.6;
}

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

.nav-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 500;
    transition: color 0.3s;
    font-size: 0.95rem;
}

.nav-links a:hover {
    color: white;
}

/* Lang Switcher */
.lang-switcher {
    display: flex;
    gap: 0.3rem;
    background: rgba(255, 255, 255, 0.05);
    padding: 0.2rem;
    border-radius: 9999px;
    border: 1px solid var(--card-border);
}

.lang-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.4rem 0.8rem;
    cursor: pointer;
    border-radius: 9999px;
    transition: all 0.3s;
}

.lang-btn.active {
    background: var(--accent-color);
    color: #ffffff !important;
}

/* Hero Section */
.hero {
    padding: 12rem 0 8rem;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
    gap: 4rem;
}

.hero-content {
    text-align: left;
}

.badge {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 9999px;
    color: var(--accent-color);
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    line-height: 1;
    font-weight: 800;
    margin-bottom: 1.5rem;
    letter-spacing: -0.04em;
}

.hero p {
    max-width: 600px;
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
}

.hero-btns {
    display: flex;
    gap: 1.5rem;
}

.hero-image {
    position: relative;
}

.image-wrapper {
    position: relative;
    border-radius: 32px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--card-border);
}

.hero-img-main {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s;
}

.image-wrapper:hover .hero-img-main {
    transform: scale(1.05);
}

.image-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(59, 130, 246, 0.2), transparent 70%);
    pointer-events: none;
}

/* Buttons */
.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: var(--font-heading);
    border: none;
    cursor: pointer;
    text-align: center;
}

.btn-primary {
    background-color: var(--accent-color);
    color: #ffffff !important;
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -5px var(--accent-glow);
}

.btn-secondary {
    background-color: rgba(255, 255, 255, 0.05);
    color: #ffffff !important;
    border: 1px solid var(--card-border);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.large {
    padding: 1.15rem 2rem;
    font-size: 1.05rem;
    border-radius: 16px;
}

/* Services */
.services { padding: 8rem 0; }
.section-header { text-align: center; margin-bottom: 6rem; }
.section-header h2 { font-family: var(--font-heading); font-size: clamp(2.5rem, 5vw, 3.5rem); letter-spacing: -0.04em; margin-bottom: 1.5rem; }
.section-header p { font-size: 1.25rem; color: var(--text-muted); max-width: 600px; margin: 0 auto; }

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0) 100%);
    border: 1px solid var(--card-border);
    padding: 3rem;
    border-radius: 28px;
    transition: all 0.4s;
}

.service-card:hover {
    border-color: var(--accent-color);
    background: linear-gradient(180deg, rgba(59, 130, 246, 0.1) 0%, rgba(255, 255, 255, 0) 100%);
    transform: translateY(-8px);
}

.service-card .icon { font-size: 3rem; margin-bottom: 1.5rem; }
.service-card h3 { font-family: var(--font-heading); font-size: 1.5rem; margin-bottom: 1rem; }
.service-card p { color: var(--text-muted); font-size: 1rem; line-height: 1.6; }

/* Process Section */
.process { padding: 8rem 0; background: rgba(255, 255, 255, 0.01); }
.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2.5rem;
}

.step { position: relative; padding: 2rem; }
.step-num {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 900;
    opacity: 0.1;
    position: absolute;
    top: 0;
    left: 0;
    line-height: 1;
}

.step h4 { font-family: var(--font-heading); font-size: 1.4rem; margin: 1.5rem 0 1rem; position: relative; }
.step p { color: var(--text-muted); font-size: 1rem; position: relative; }

/* About Section */
.about { padding: 8rem 0; }
.about-text h2 { font-family: var(--font-heading); font-size: clamp(2.5rem, 5vw, 3.5rem); margin-bottom: 2rem; }

.features {
    list-style: none;
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.features li {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-weight: 500;
    text-align: left;
}

.features li span {
    color: var(--accent-color);
    font-weight: 800;
    flex-shrink: 0;
}

.about-visual {
    position: relative;
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.visual-box {
    width: 280px;
    height: 280px;
    background: linear-gradient(135deg, var(--accent-color), #06b6d4);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    animation: morph 8s ease-in-out infinite;
    position: relative;
}

@keyframes morph {
    0% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
    50% { border-radius: 50% 50% 33% 67% / 55% 27% 73% 45%; }
    100% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
}

.floating-element {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
}

.e1 { width: 90px; height: 90px; top: -10px; left: -30px; animation: float 6s infinite; }
.e2 { width: 110px; height: 110px; bottom: -30px; right: -10px; animation: float 8s infinite reverse; }
.e3 { width: 70px; height: 70px; top: 90px; right: -50px; animation: float 7s infinite 1s; }

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

/* Contact Section */
.contact { padding: 8rem 0; }
.contact-card {
    background: linear-gradient(rgba(59, 130, 246, 0.1), rgba(6, 182, 212, 0.05));
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 40px;
    padding: 6rem 2rem;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.contact-card h2 { font-family: var(--font-heading); font-size: clamp(2rem, 5vw, 3rem); margin-bottom: 1.5rem; }
.contact-card p { font-size: 1.15rem; color: var(--text-muted); margin-bottom: 3rem; }

/* Footer */
footer { padding: 6rem 0 4rem; border-top: 1px solid var(--card-border); margin-top: 6rem; }
.footer-content { display: flex; justify-content: space-between; align-items: center; gap: 3rem; flex-wrap: wrap; }
.socials { display: flex; gap: 2.5rem; }
.socials a { color: var(--text-muted); text-decoration: none; font-weight: 600; transition: 0.3s; font-size: 0.9rem; }
.socials a:hover { color: white; }

/* Animations */
.reveal { opacity: 0; transform: translateY(40px); transition: 1s cubic-bezier(0.2, 0.8, 0.2, 1); }
.reveal.active { opacity: 1; transform: translateY(0); }

/* Mobile View Adjustments */
@media (max-width: 1024px) {
    .grid-2 { grid-template-columns: 1fr; text-align: center; gap: 4rem; }
    .hero-content { text-align: center; }
    .hero-content p { margin-left: auto; margin-right: auto; }
    .hero-btns { justify-content: center; }
    
    .features { align-items: center; }
    .features li { width: fit-content; }
}

@media (max-width: 768px) {
    .nav-links, .lang-switcher { display: none; }
    
    .mobile-toggle { display: block; cursor: pointer; }
    .mobile-toggle span { display: block; width: 22px; height: 2px; background: white; margin: 5px 0; transition: 0.3s; }
    
    .nav-links.mobile-active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(5, 5, 5, 0.98);
        padding: 3rem 2rem;
        border-bottom: 1px solid var(--card-border);
        gap: 2rem;
        z-index: 999;
    }

    .section-header h2 { font-size: 2.25rem; }
    .process-steps { gap: 1.5rem; }
    .footer-content { justify-content: center; text-align: center; }
    .socials { justify-content: center; width: 100%; }
}
