/* Variables */
:root {
    --bg-main: #121212;
    --bg-card: #1e1e1e;
    --text-main: #ffffff;
    --text-muted: #a0a0a0;
    --accent: #9747FF;
    /* Bright Purple */
    --accent-dark: #6200ea;
    --gradient: linear-gradient(135deg, #9747FF 0%, #6200ea 100%);
    --font-main: 'Inter', sans-serif;
    --container: 1200px;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--font-main);
}

body {
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    color: var(--text-main);
    margin-bottom: 20px;
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 30px;
}

.section {
    padding: 100px 0;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background: var(--gradient);
    color: white;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 50px;
    /* Pill shape */
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.3s;
    box-shadow: 0 4px 15px rgba(151, 71, 255, 0.3);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(151, 71, 255, 0.5);
}

/* Header */
header {
    background: rgba(18, 18, 18, 0.9);
    backdrop-filter: blur(10px);
    padding: 20px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 45px;
    object-fit: contain;
    filter: invert(1);
    /* Invert logo if it's black to make it white */
}

nav {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-link {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
}

.nav-link:hover {
    color: white;
}

.lang-toggle {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    padding: 8px 16px;
    cursor: pointer;
    font-size: 0.8rem;
    color: white;
    border-radius: 20px;
    transition: 0.3s;
}

.lang-toggle:hover {
    background: var(--accent);
}

/* Hero */
.hero {
    height: 100vh;
    background: radial-gradient(circle at 80% 20%, rgba(151, 71, 255, 0.15) 0%, rgba(18, 18, 18, 0) 50%),
        url('https://images.unsplash.com/photo-1580674285054-bed31e145f59?ixlib=rb-4.0.3&auto=format&fit=crop&w=2070&q=80') center/cover no-repeat;
    position: relative;
    display: flex;
    align-items: center;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(18, 18, 18, 0.85);
    /* Heavy dark overlay */
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
}

.hero-title {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 20px;
    background: linear-gradient(to right, #fff, #a0a0a0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-text {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 40px;
}

/* Stats / About */
.stats-section {
    background: var(--bg-main);
    padding-bottom: 50px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: -50px;
    /* Overlap hero */
    position: relative;
    z-index: 3;
}

.stat-card {
    background: var(--bg-card);
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: 0.3s;
    position: relative;
    overflow: hidden;
}

.stat-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent);
}

/* Glow effect on hover */
.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient);
    opacity: 0;
    transition: 0.3s;
}

.stat-card:hover::before {
    opacity: 1;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 10px;
}

.stat-label {
    color: var(--text-muted);
}

/* Services */
.services-section {
    background: #151515;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.service-item {
    background: var(--bg-card);
    padding: 50px;
    border-radius: 20px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    transition: 0.3s;
}

.service-item:hover {
    background: #252525;
}

.service-icon {
    background: rgba(151, 71, 255, 0.1);
    padding: 15px;
    border-radius: 15px;
    color: var(--accent);
    font-size: 1.5rem;
}

/* Contact */
.contact-section {
    background: var(--bg-main);
    position: relative;
}

.contact-box {
    background: var(--bg-card);
    border-radius: 30px;
    padding: 60px;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.contact-form {
    display: grid;
    gap: 20px;
    margin-top: 40px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.contact-form input,
.contact-form textarea {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 15px 20px;
    border-radius: 15px;
    color: white;
    font-size: 1rem;
    outline: none;
    transition: 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--accent);
    background: rgba(255, 255, 255, 0.1);
}

/* Footer */
footer {
    padding: 40px 0;
    text-align: center;
    color: #666;
    font-size: 0.9rem;
    border-top: 1px solid #222;
}

/* Responsive */
@media (max-width: 900px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        margin-top: 50px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }
}