@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
    /* Colors */
    --bg-body: #0f1115;
    --bg-surface: #181b21;
    --bg-surface-hover: #22262e;

    --primary: #3b82f6;
    --primary-glow: rgba(59, 130, 246, 0.5);
    --secondary: #8b5cf6;

    --text-main: #f3f4f6;
    --text-muted: #9ca3af;
    --text-invert: #000000;

    --border-light: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(255, 255, 255, 0.15);

    /* Spacing */
    --container-width: 1200px;
    --header-height: 80px;

    /* Fonts */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

/* Reset & Base */
html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--bg-body);
    color: var(--text-main);
    font-family: var(--font-body);
    margin: 0;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    margin: 0;
    color: var(--text-main);
}

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

a {
    color: var(--primary);
    text-decoration: none;
    transition: all 0.2s ease;
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

img,
svg {
    display: block;
    max-width: 100%;
}

/* Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

/* Header */
header {
    background: rgba(15, 17, 21, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-light);
    position: sticky;
    top: 0;
    z-index: 1000;
    height: var(--header-height);
    display: flex;
    align-items: center;
}

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

nav .brand {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-main);
    letter-spacing: -0.02em;
}

nav .brand-tagline {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: -4px;
}

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

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

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

/* Language Switcher */
.lang-switcher button {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-family: var(--font-heading);
    font-weight: 600;
    padding: 0.25rem;
    transition: color 0.2s;
}

.lang-switcher button:hover,
.lang-switcher button.active {
    color: var(--primary);
}

.lang-switcher span {
    color: var(--border-light);
}

/* Mobile Menu Button */
#mobile-menu-button {
    background: none;
    border: none;
    color: var(--text-main);
    cursor: pointer;
    display: none;
    padding: 0.5rem;
}

/* Components */
.cta-button {
    display: inline-block;
    background: var(--primary);
    color: #fff;
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    font-weight: 600;
    font-family: var(--font-heading);
    box-shadow: 0 4px 14px var(--primary-glow);
    transition: transform 0.2s, box-shadow 0.2s;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--primary-glow);
    color: #fff;
}

/* Sections */
section {
    padding: 6rem 0;
}

h2.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 0.5rem;
}

p.section-subtitle {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 4rem auto;
    font-size: 1.1rem;
}

/* Service Cards (Grid) */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.card {
    background: var(--bg-surface);
    border: 1px solid var(--border-light);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    background: var(--bg-surface-hover);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.card-icon {
    width: 48px;
    height: 48px;
    color: var(--primary);
    margin-bottom: 1.5rem;
    background: rgba(59, 130, 246, 0.1);
    padding: 10px;
    border-radius: 12px;
    box-sizing: content-box;
}

.card h3,
.card h4 {
    font-size: 1.35rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.card ul {
    margin-top: 1rem;
    padding-left: 0;
}

.card ul li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-muted);
}

.card ul li::before {
    content: "â†’";
    position: absolute;
    left: 0;
    color: var(--primary);
}

/* Home / Hero */
#home {
    padding-top: 8rem;
    padding-bottom: 8rem;
    text-align: center;
    background: radial-gradient(circle at top center, #1b2230 0%, var(--bg-body) 70%);
}

#home h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, #fff, #9ca3af);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

#home p {
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto 2.5rem;
}

.card-image {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: 0.75rem;
    margin-bottom: 1rem;
}

.text-link {
    color: var(--primary);
    text-decoration: underline;
}

/* Footer */
footer {
    background: var(--bg-surface);
    border-top: 1px solid var(--border-light);
    padding: 3rem 0;
    text-align: center;
}

footer p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

footer a {
    color: var(--text-muted);
    margin: 0 0.5rem;
    font-size: 0.9rem;
}

footer a:hover {
    color: var(--primary);
}

/* Forms */
label {
    display: block;
    color: var(--text-muted);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

input,
textarea,
select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-light);
    border-radius: 0.5rem;
    background: var(--bg-body);
    color: var(--text-main);
    font-size: 1rem;
    margin-bottom: 1.25rem;
    box-sizing: border-box;
    transition: all 0.2s ease;
    font-family: var(--font-body);
}

input:focus,
textarea:focus,
select:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

button[type="submit"] {
    width: 100%;
    background: var(--primary);
    color: #fff;
    padding: 0.9rem 0;
    border: none;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    font-family: var(--font-heading);
    transition: opacity 0.2s, transform 0.2s;
}

button[type="submit"]:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

.form-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-light);
    border-radius: 16px;
    padding: 2.5rem;
    max-width: 500px;
    margin: 4rem auto;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.form-card h1 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-align: center;
}

.form-card p {
    text-align: center;
    margin-bottom: 2rem;
}

/* Mobile Menu Base */
.mobile-menu {
    display: none;
}

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

    nav .nav-links {
        display: none;
    }

    #mobile-menu-button {
        display: block;
    }

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

    /* Mobile Menu */
    .mobile-menu {
        position: fixed;
        top: var(--header-height);
        left: 0;
        width: 100%;
        background: var(--bg-surface);
        padding: 2rem;
        border-bottom: 1px solid var(--border-light);
        display: none;
        flex-direction: column;
        gap: 1.5rem;
        z-index: 999;
    }

    .mobile-menu.show {
        display: flex;
    }

    .mobile-menu a {
        font-size: 1.1rem;
        color: var(--text-main);
        font-weight: 500;
    }
}