@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

:root {
    --bg: #010a1c;
    --surface: rgba(3, 12, 30, 0.94);
    --surface-2: rgba(4, 14, 32, 0.95);
    --surface-3: rgba(10, 19, 42, 0.9);
    --text: #f5f8ff;
    --muted: rgba(229, 240, 255, 0.75);
    --primary: #0084ff;
    --primary-dark: #0063d6;
    --accent: #00c0ff;
    --border: rgba(255, 255, 255, 0.08);
    --gradient: linear-gradient(135deg, #0078ff 0%, #009bff 45%, #00d4ff 100%);
}

* {
    box-sizing: border-box;
}

*::before,
*::after {
    box-sizing: inherit;
}

body {
    margin: 0;
    font-family: 'Plus Jakarta Sans', 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: radial-gradient(circle at 10% 10%, rgba(0, 131, 255, 0.2), transparent 40%),
        radial-gradient(circle at 80% 0%, rgba(0, 212, 255, 0.18), transparent 45%),
        linear-gradient(180deg, #010a1c 0%, #02102a 50%, #010512 100%);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img,
svg {
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
}

p {
    margin: 0 0 1rem;
    color: var(--muted);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0 0 1rem;
    font-weight: 600;
    color: var(--text);
}

.container {
    width: min(1200px, 100% - 3rem);
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 100;
    background: rgba(3, 3, 10, 0.75);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(24px);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 0;
    position: relative;
}

.brand {
    display: inline-flex;
    align-items: center;
}

.brand img {
    height: 40px;
    width: auto;
}

.site-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.site-nav ul {
    display: flex;
    gap: 1.5rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.site-nav a {
    font-size: 0.9rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
    transition: color 0.2s ease;
}

.site-nav a:hover {
    color: var(--text);
}

.lang-switch {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.25rem;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.03);
}

.lang-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.25rem 0.6rem;
    border: none;
    border-radius: 999px;
    background: transparent;
    color: var(--muted);
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
    opacity: 0.6;
    transition: background 0.2s ease, color 0.2s ease, opacity 0.2s ease;
}

.lang-btn.is-active {
    background: rgba(0, 136, 255, 0.15);
    color: var(--text);
    opacity: 1;
}

.lang-btn img {
    width: 18px;
    height: 12px;
    border-radius: 2px;
    box-shadow: 0 4px 10px rgba(1, 7, 18, 0.35);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    border: 1px solid var(--border);
    border-radius: 50%;
    background: transparent;
    color: inherit;
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    margin: 0 auto;
    background: var(--text);
    border-radius: 999px;
    transition: transform 0.25s ease, opacity 0.2s ease, background 0.2s ease;
}

.nav-toggle.is-active {
    border-color: rgba(0, 132, 255, 0.65);
    background: rgba(255, 255, 255, 0.02);
}

.nav-toggle.is-active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle.is-active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.is-active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.hero {
    padding: clamp(6rem, 10vw, 10rem) 0 clamp(4rem, 8vw, 7rem);
    position: relative;
}

.hero::after {
    content: '';
    position: absolute;
    inset: 10% auto auto 65%;
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(0, 168, 255, 0.35), transparent 70%);
    filter: blur(40px);
    z-index: -1;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: clamp(2rem, 4vw, 4rem);
    align-items: start;
}

.hero-content h1 {
    font-size: clamp(2.4rem, 4vw, 3.6rem);
    line-height: 1.15;
}

.lead {
    font-size: 1.1rem;
    color: rgba(247, 248, 255, 0.82);
    max-width: 640px;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 2rem 0 2.5rem;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
}

.stat-card {
    border: 1px solid var(--border);
    padding: 1.25rem;
    border-radius: 1.25rem;
    background: rgba(255, 255, 255, 0.02);
}

.stat-card span {
    display: block;
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.hero-panel {
    border: 1px solid var(--border);
    border-radius: 1.75rem;
    padding: 2rem;
    background: var(--surface);
    box-shadow: 0 25px 80px rgba(8, 8, 25, 0.65);
}

.panel-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.badge {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    background: rgba(0, 136, 255, 0.18);
    color: #8ed9ff;
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.panel-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.panel-list li {
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.panel-list li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.panel-list strong {
    display: block;
    margin-bottom: 0.35rem;
}

.panel-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.panel-tags span {
    font-size: 0.8rem;
    padding: 0.35rem 0.8rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: 0.78rem;
    color: var(--accent);
    margin-bottom: 0.5rem;
}

.section {
    padding: clamp(4rem, 8vw, 7rem) 0;
}

.section-dark {
    background: linear-gradient(135deg, rgba(10, 12, 30, 0.9), rgba(7, 9, 24, 0.9));
}

.section-alt {
    background: rgba(255, 255, 255, 0.015);
}

.section-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 3rem;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}

.service-card {
    border: 1px solid var(--border);
    border-radius: 1.5rem;
    padding: 2rem;
    background: var(--surface-2);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.service-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: rgba(0, 136, 255, 0.18);
    display: grid;
    place-items: center;
    font-size: 1.4rem;
    color: var(--primary);
}

.service-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.service-card li {
    font-size: 0.95rem;
    color: var(--text);
}

.steps {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
}

.steps li {
    padding: 1.75rem;
    border: 1px solid var(--border);
    border-radius: 1.5rem;
    background: rgba(255, 255, 255, 0.015);
}

.step-index {
    display: inline-flex;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(0, 136, 255, 0.15);
    color: var(--primary);
    align-items: center;
    justify-content: center;
    font-weight: 600;
    margin-bottom: 1rem;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

.project-card {
    border-radius: 1.5rem;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.project-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 0% 0%, rgba(0, 162, 255, 0.2), transparent 55%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 255, 255, 0.25);
}

.project-card:hover::after {
    opacity: 1;
}

.project-card > * {
    position: relative;
}

.project-tag {
    font-size: 0.8rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent);
}

.project-labels {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1.25rem;
}

.project-labels span {
    padding: 0.3rem 0.8rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 0.85rem;
}

.case-highlight {
    margin-top: 2.5rem;
}

.case-card {
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 2rem;
    padding: clamp(2rem, 4vw, 3rem);
    background: linear-gradient(135deg, rgba(14, 16, 38, 0.95), rgba(4, 6, 20, 0.95));
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    box-shadow: 0 35px 80px rgba(2, 3, 12, 0.6);
}

.case-meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}

.case-meta span {
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: 0.75rem;
    color: var(--accent);
}

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

.focus-card {
    padding: 2rem;
    border-radius: 1.4rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border);
}

.contact-section {
    background: linear-gradient(135deg, rgba(8, 9, 25, 0.95), rgba(6, 9, 21, 0.95));
}

.contact-cta {
    display: flex;
    justify-content: center;
}

.cta-card {
    max-width: 720px;
    width: 100%;
    border: 1px solid var(--border);
    border-radius: 1.75rem;
    padding: clamp(1.75rem, 4vw, 2.75rem);
    background: rgba(255, 255, 255, 0.03);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.35);
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.cta-card h3 {
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    margin: 0;
}

.cta-card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
}

.cta-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 2rem;
}

.cta-list li {
    position: relative;
    padding-left: 1.4rem;
    color: var(--text);
    font-weight: 500;
}

.cta-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.55rem;
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background: var(--primary);
    box-shadow: 0 0 12px rgba(0, 136, 255, 0.5);
}

.cta-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
}

@media (max-width: 640px) {
    .cta-card {
        text-align: left;
        gap: 1rem;
    }

    .cta-list {
        flex-direction: column;
        gap: 0.5rem;
    }

    .cta-actions {
        flex-direction: column;
        align-items: stretch;
    }

}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--muted);
}

input,
textarea {
    width: 100%;
    padding: 0.95rem 1.1rem;
    border-radius: 0.85rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.02);
    color: var(--text);
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input:focus,
textarea:focus {
    outline: none;
    border-color: rgba(0, 136, 255, 0.7);
    box-shadow: 0 0 0 3px rgba(0, 136, 255, 0.2);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.85rem 1.8rem;
    border-radius: 999px;
    border: none;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:active {
    transform: translateY(1px);
}

.btn-primary {
    background: var(--gradient);
    color: #fff;
    box-shadow: 0 20px 40px rgba(0, 136, 255, 0.25);
}

.btn-link {
    background: transparent;
    color: var(--text);
    padding-left: 0;
    padding-right: 0;
}

.btn-pill {
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding-inline: 1.4rem;
    background: rgba(255, 255, 255, 0.04);
}

.btn-ghost {
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: transparent;
    color: var(--text);
}

.site-footer {
    border-top: 1px solid var(--border);
    padding: 2rem 0;
    background: rgba(3, 3, 10, 0.9);
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.footer-links {
    display: flex;
    gap: 1rem;
}

.footer-links a {
    width: 40px;
    height: 40px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    display: grid;
    place-items: center;
}

@media (max-width: 960px) {
    .nav-toggle {
        display: flex;
    }

    .site-nav {
        position: absolute;
        top: calc(100% + 0.75rem);
        right: 0;
        width: min(320px, calc(100vw - 1.5rem));
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
        padding: 1.25rem;
        background: rgba(2, 5, 17, 0.95);
        border: 1px solid rgba(255, 255, 255, 0.08);
        border-radius: 1rem;
        box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
        transform: translateY(-8px) scale(0.96);
        transform-origin: top right;
        opacity: 0;
        pointer-events: none;
        transition: transform 0.25s ease, opacity 0.25s ease;
        z-index: 50;
    }

    .site-nav > * {
        width: 100%;
    }

    .site-nav ul {
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
        width: 100%;
    }

    .site-nav ul li {
        width: 100%;
    }

    .site-nav ul li a {
        display: block;
        width: 100%;
        padding: 0.9rem 1.1rem;
        font-size: 1rem;
        letter-spacing: 0.1em;
        color: var(--text);
        border-radius: 0.85rem;
        border: 1px solid rgba(255, 255, 255, 0.08);
        background: rgba(255, 255, 255, 0.02);
        text-align: left;
        transition: background 0.2s ease, border-color 0.2s ease;
    }

    .site-nav ul li a:hover {
        background: rgba(255, 255, 255, 0.08);
        border-color: rgba(255, 255, 255, 0.3);
    }

    .site-nav.is-open {
        transform: translateY(0) scale(1);
        opacity: 1;
        pointer-events: auto;
    }

    .site-nav .btn-pill {
        width: 100%;
        text-align: center;
        font-size: 1rem;
        padding: 0.9rem 1.2rem;
        border-radius: 1rem;
        border: 1px solid rgba(0, 168, 255, 0.45);
        background: linear-gradient(130deg, rgba(0, 132, 255, 0.25), rgba(255, 255, 255, 0.08));
        box-shadow: 0 18px 35px rgba(0, 0, 0, 0.35);
    }

    .lang-switch {
        width: 100%;
        justify-content: space-between;
        gap: 0.5rem;
        padding: 0.45rem;
        border-radius: 1.25rem;
        border-color: rgba(255, 255, 255, 0.12);
        background: rgba(255, 255, 255, 0.03);
    }

    .lang-btn {
        flex: 1;
        justify-content: center;
    }

    .header-inner {
        gap: 0.75rem;
        padding-inline: 0;
    }

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

@media (max-width: 600px) {
    .hero-stats {
        grid-template-columns: 1fr;
    }

    .btn {
        width: 100%;
    }
}
