:root {
    --black: #000000;
    --white: #f0f0fa;
    --white-90: rgba(240,240,250,0.9);
    --white-60: rgba(240,240,250,0.6);
    --white-30: rgba(240,240,250,0.3);
    --white-15: rgba(240,240,250,0.15);
    --white-08: rgba(240,240,250,0.08);
    --blue: #3b82f6;
    --blue-dim: rgba(59,130,246,0.15);
    --font: 'Space Grotesk', Arial, Helvetica, sans-serif;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scrollbar-width: none; }
html::-webkit-scrollbar { display: none; }

body {
    font-family: var(--font);
    background: var(--black);
    color: var(--white);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

::selection { background: var(--white); color: var(--black); }
a { color: inherit; text-decoration: none; }

/* ===== NAV ===== */
.nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    padding: 1.5rem 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.4s ease;
}

.nav.scrolled {
    background: rgba(0,0,0,0.95);
    backdrop-filter: blur(20px);
    padding: 1rem 3rem;
    border-bottom: 1px solid var(--white-08);
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}

.nav__logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.nav__logo-img { height: 28px; width: auto; filter: brightness(0) invert(1); }
.nav__logo span { color: var(--blue); }

.nav__links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.nav__links a {
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--white-60);
    transition: all 0.3s ease;
    position: relative;
}

.nav__links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--blue);
    transition: width 0.3s ease;
}

.nav__links a:hover { 
    color: var(--white);
}

.nav__links a:hover::after {
    width: 100%;
}

.nav__cta {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 0.6rem 1.5rem;
    border: 1px solid var(--white-30);
    border-radius: 999px;
    background: transparent;
    color: var(--white);
    font-family: var(--font);
    cursor: pointer;
    transition: all 0.3s;
}

.nav__cta:hover { background: var(--white); color: var(--black); }

.nav__right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Lang Switcher */
.lang-switcher {
    position: relative;
}

.lang-switcher__btn {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--white-60);
    background: none;
    border: 1px solid var(--white-15);
    border-radius: 999px;
    padding: 0.45rem 0.9rem;
    cursor: pointer;
    font-family: var(--font);
    transition: all 0.3s;
}

.lang-switcher__btn:hover {
    border-color: var(--white-30);
    color: var(--white);
}

.lang-switcher__menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: #161616;
    border: 1px solid var(--white-15);
    border-radius: 10px;
    padding: 6px;
    min-width: 150px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-6px);
    transition: all 0.25s ease;
    z-index: 100;
    box-shadow: 0 16px 48px rgba(0,0,0,0.5);
}

.lang-switcher__menu.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

.lang-switcher__item {
    display: block;
    width: 100%;
    text-align: left;
    padding: 0.55rem 0.9rem;
    border-radius: 7px;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    color: var(--white-60);
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--font);
    transition: all 0.2s;
}

.lang-switcher__item:hover {
    background: rgba(255,255,255,0.06);
    color: var(--white);
}

.lang-switcher__item.active {
    color: var(--blue);
    background: rgba(59,130,246,0.08);
}

.nav__menu {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.nav__menu span {
    display: block;
    width: 22px; height: 1.5px;
    background: var(--white);
    margin: 5px 0;
}

/* ===== HERO ===== */
.hero {
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    padding: 6rem 3rem 0;
    position: relative;
    gap: 4rem;
}

.hero__content { 
    position: relative; 
    z-index: 2;
    flex: 1;
    max-width: 550px;
}

.hero__visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    animation: fadeUp 0.8s 0.6s forwards;
}

.hero-editor {
    width: 100%;
    max-width: 440px;
    background: #0d1117;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    overflow: hidden;
    font-family: 'SF Mono', 'Fira Code', 'JetBrains Mono', 'Cascadia Code', 'Consolas', monospace;
    box-shadow:
        0 0 0 1px rgba(255,255,255,0.03),
        0 30px 80px rgba(0,0,0,0.5),
        0 0 120px rgba(59,130,246,0.06);
    position: relative;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

.hero-editor::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 20%;
    right: 20%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(59,130,246,0.4), transparent);
}

.editor-bar {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    background: rgba(255,255,255,0.015);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.editor-bar__left {
    display: flex;
    gap: 7px;
}

.editor-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    transition: opacity 0.2s;
}

.hero-editor:hover .editor-dot { opacity: 0.8; }

.editor-dot:nth-child(1) { background: #ff5f57; }
.editor-dot:nth-child(2) { background: #ffbd2e; }
.editor-dot:nth-child(3) { background: #28ca42; }

.editor-bar__tab {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-left: 16px;
    padding: 5px 12px;
    background: rgba(255,255,255,0.05);
    border-radius: 5px;
    font-size: 0.72rem;
    color: var(--white-60);
    letter-spacing: 0.02em;
    font-weight: 500;
}

.editor-bar__tab svg {
    opacity: 0.6;
}

.editor-bar__right {
    margin-left: auto;
}

.editor-bar__lang {
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: #79c0ff;
    background: rgba(56,139,253,0.15);
    padding: 3px 8px;
    border-radius: 4px;
    font-family: var(--font);
}

.editor-code {
    padding: 20px 0;
    display: flex;
    flex-direction: column;
}

.ec-line {
    display: flex;
    align-items: center;
    font-size: 0.82rem;
    line-height: 1.9;
    padding: 0 18px;
    transition: background 0.15s;
    opacity: 1;
    letter-spacing: 0.02em;
}

.ec-line:hover {
    background: rgba(255,255,255,0.02);
}

.ec-ln {
    display: inline-block;
    width: 28px;
    text-align: right;
    margin-right: 18px;
    color: rgba(255,255,255,0.18);
    font-size: 0.7rem;
    user-select: none;
    flex-shrink: 0;
}

.ec-purple { color: #d2a8ff; }
.ec-blue { color: #79c0ff; }
.ec-orange { color: #ffa657; }
.ec-green { color: #7ee787; }
.ec-white { color: #e6edf3; }
.ec-gray { color: #8b949e; font-style: italic; }

.editor-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 16px;
    border-top: 1px solid rgba(255,255,255,0.04);
    background: rgba(255,255,255,0.01);
}

.editor-footer__left {
    display: flex;
    align-items: center;
}

.editor-footer__right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.editor-cursor {
    width: 7px;
    height: 15px;
    background: var(--blue);
    border-radius: 1.5px;
    animation: cursorBlink 1s step-end infinite;
    box-shadow: 0 0 8px rgba(59,130,246,0.4);
}

.editor-status-item {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.55rem;
    font-family: var(--font);
    color: var(--white-30);
    letter-spacing: 0.05em;
}

.editor-status-item svg {
    opacity: 0.5;
}

.editor-status-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #28ca42;
    box-shadow: 0 0 6px rgba(40,202,66,0.4);
}

@keyframes cursorBlink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

.hero__tag {
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--blue);
    margin-bottom: 1.5rem;
    opacity: 0;
    animation: fadeUp 0.6s 0.2s forwards;
}

.hero__h1 {
    font-size: clamp(3rem, 7vw, 5.5rem);
    font-weight: 700;
    line-height: 0.95;
    text-transform: uppercase;
    letter-spacing: -0.01em;
    max-width: 800px;
    margin-bottom: 1.5rem;
}

.hero__line {
    display: block;
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.16,1,0.3,1), transform 0.8s cubic-bezier(0.16,1,0.3,1);
}

.hero__line.visible {
    opacity: 1;
    transform: translateY(0);
}

.hero__p {
    font-size: 1rem;
    color: var(--white-60);
    max-width: 420px;
    line-height: 1.7;
    margin-bottom: 2.5rem;
    opacity: 0;
    animation: fadeUp 0.6s 0.8s forwards;
}

.hero__btns {
    display: flex;
    gap: 1rem;
    opacity: 0;
    animation: fadeUp 0.6s 1s forwards;
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-family: var(--font);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 0.9rem 2rem;
    border-radius: 999px;
    border: 1px solid var(--white-30);
    background: transparent;
    color: var(--white);
    cursor: pointer;
    transition: all 0.3s;
}

.btn:hover { 
    background: var(--white); 
    color: var(--black); 
    border-color: var(--white);
    box-shadow: 0 0 30px rgba(240,240,250,0.2);
}
.btn--filled { background: var(--white); color: var(--black); border-color: var(--white); }
.btn--filled:hover { 
    background: var(--white-90); 
    border-color: var(--white-90);
    box-shadow: 0 0 40px rgba(240,240,250,0.3);
    transform: translateY(-2px);
}
.btn svg { transition: transform 0.3s; }
.btn:hover svg { transform: translateX(3px); }

.hero__scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.hero__scroll span {
    font-size: 0.6rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--white-30);
}

.hero__scroll-bar {
    width: 1px; height: 32px;
    background: var(--white-15);
    position: relative;
    overflow: hidden;
}

.hero__scroll-bar::after {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: var(--white);
    animation: scrollAnim 2s ease-in-out infinite;
}

@keyframes scrollAnim {
    0% { transform: translateY(-100%); }
    50% { transform: translateY(0); }
    100% { transform: translateY(100%); }
}

/* ===== DIVIDER ===== */
.divider { width: 100%; height: 1px; background: var(--white-08); }

/* ===== SECTION ===== */
.section { padding: 8rem 3rem; }
.section__container { max-width: 1200px; margin: 0 auto; }

.section__label {
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--blue);
    margin-bottom: 2rem;
}

.section__heading {
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1.05;
    letter-spacing: -0.01em;
}

.section__heading span { color: var(--white-30); }

/* ===== SERVICES ===== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--white-08);
    border: 1px solid var(--white-08);
}

.service-card {
    background: var(--black);
    padding: 2.5rem;
    position: relative;
    transition: all 0.4s ease;
    opacity: 0;
    transform: translateY(30px);
}

.service-card.visible {
    opacity: 1;
    transform: translateY(0);
}

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

.service-card__n {
    font-size: 0.6rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    color: var(--white-30);
    margin-bottom: 1.5rem;
}

.service-card__h3 {
    font-size: 1.15rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 0.75rem;
}

.service-card__p {
    font-size: 0.85rem;
    color: var(--white-60);
    line-height: 1.7;
}

.service-card__arrow {
    position: absolute;
    bottom: 2rem; right: 2rem;
    width: 28px; height: 28px;
    border: 1px solid var(--white-15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white-30);
    transition: all 0.3s;
}

.service-card:hover .service-card__arrow { border-color: var(--blue); color: var(--blue); }

/* ===== PROJECTS ===== */
.projects-carousel {
    margin-top: 3rem;
    position: relative;
    overflow: hidden;
}

.projects-track {
    display: flex;
    gap: 1.5rem;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: grab;
    user-select: none;
}

.projects-track:active {
    cursor: grabbing;
}

.project-slide {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    min-width: 100%;
    flex-shrink: 0;
}

.project-card {
    position: relative;
    border: 1px solid var(--white-08);
    border-radius: 10px;
    overflow: hidden;
    aspect-ratio: 5/3;
    transition: all 0.4s ease;
}

.project-card:hover {
    border-color: var(--white-15);
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.project-card__bg {
    position: absolute;
    inset: 0;
    transition: transform 0.6s ease;
    background-size: cover;
    background-position: center;
}

.project-card:hover .project-card__bg {
    transform: scale(1.04);
}

.project-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.5) 45%, transparent 100%);
    z-index: 1;
}

.project-card__content {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 1.75rem;
    z-index: 2;
    text-shadow: 0 1px 4px rgba(0,0,0,0.5);
}

.project-card__type {
    font-size: 0.6rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--blue);
    margin-bottom: 0.5rem;
}

.project-card__h3 {
    font-size: 1.3rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    margin-bottom: 0.5rem;
}

.project-card__p {
    font-size: 0.78rem;
    color: var(--white-60);
    max-width: 320px;
    line-height: 1.6;
}

.project-card__tags {
    display: flex;
    gap: 0.4rem;
    margin-top: 0.75rem;
}

.project-card__tags span {
    font-size: 0.55rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.3rem 0.6rem;
    border: 1px solid var(--white-15);
    border-radius: 999px;
    color: var(--white-60);
}

/* Projects Nav */
.projects-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.projects-nav__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--white-15);
    background: transparent;
    color: var(--white-60);
    cursor: pointer;
    transition: all 0.3s;
}

.projects-nav__btn:hover {
    border-color: var(--blue);
    color: var(--blue);
    background: rgba(59,130,246,0.08);
}

.projects-nav__btn:active {
    transform: scale(0.92);
}

.projects-nav__dots {
    display: flex;
    gap: 8px;
}

.projects-nav__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--white-15);
    cursor: pointer;
    transition: all 0.3s;
}

.projects-nav__dot.active {
    background: var(--blue);
    box-shadow: 0 0 10px rgba(59,130,246,0.5);
    width: 24px;
    border-radius: 4px;
}

/* ===== GLOBE ===== */
.globe-section {
    padding: 10rem 3rem;
    position: relative;
    overflow: hidden;
}

.globe-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(59,130,246,0.06) 0%, transparent 70%);
    pointer-events: none;
}

.globe-section__inner {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 6rem;
    align-items: center;
}

.globe-section__text {
    max-width: 520px;
}

.globe-section__heading {
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1.05;
    margin-bottom: 1.5rem;
}

.globe-section__heading span { color: var(--white-30); }

.globe-section__desc {
    font-size: 1rem;
    color: var(--white-60);
    line-height: 1.7;
    margin-bottom: 2.5rem;
}

.globe-section__cities {
    display: flex;
    gap: 2.5rem;
}

.globe-city__item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.globe-city__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--blue);
    flex-shrink: 0;
    box-shadow: 0 0 12px rgba(59,130,246,0.5);
    animation: cityPulse 2s ease-in-out infinite;
}

@keyframes cityPulse {
    0%, 100% { box-shadow: 0 0 12px rgba(59,130,246,0.5); }
    50% { box-shadow: 0 0 20px rgba(59,130,246,0.8); }
}

.globe-city__name {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.globe-city__label {
    font-size: 0.65rem;
    color: var(--white-30);
    margin-left: 0.25rem;
    font-weight: 400;
}

.globe-container {
    width: 100%;
    height: 520px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.globe-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(59,130,246,0.12) 0%, rgba(59,130,246,0.03) 40%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    animation: glowPulse 4s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% { opacity: 0.8; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 1; transform: translate(-50%, -50%) scale(1.05); }
}

#globeCanvas {
    width: 100%;
    height: 100%;
    display: block;
    position: relative;
    z-index: 2;
}

/* ===== CTA ===== */
.cta {
    text-align: center;
    padding: 10rem 3rem;
    position: relative;
}

.cta::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(59,130,246,0.08) 0%, transparent 70%);
    pointer-events: none;
}

.cta__h2 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: -0.01em;
    line-height: 1;
    margin-bottom: 1.5rem;
    position: relative;
}

.cta__h2 span { color: var(--white-30); }

.cta__p {
    font-size: 1rem;
    color: var(--white-60);
    max-width: 400px;
    margin: 0 auto 2.5rem;
    line-height: 1.7;
}

.cta__btns {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

/* WA Dropdown */
.wa-dropdown {
    position: relative;
}

.wa-dropdown__trigger {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.wa-dropdown__trigger svg {
    transition: transform 0.3s;
}

.wa-dropdown.open .wa-dropdown__trigger svg {
    transform: rotate(180deg);
}

.wa-dropdown__menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%) translateY(-8px);
    background: #161616;
    border: 1px solid var(--white-15);
    border-radius: 10px;
    padding: 6px;
    min-width: 160px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.25s ease;
    z-index: 10;
    box-shadow: 0 16px 48px rgba(0,0,0,0.5);
}

.wa-dropdown.open .wa-dropdown__menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.wa-dropdown__item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.65rem 1rem;
    border-radius: 7px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--white-60);
    transition: all 0.2s;
}

.wa-dropdown__item:hover {
    background: rgba(255,255,255,0.06);
    color: var(--white);
}

.wa-dropdown__flag {
    font-size: 0.6rem;
    font-weight: 700;
    padding: 2px 5px;
    border-radius: 3px;
    background: rgba(255,255,255,0.08);
    color: var(--white-60);
    letter-spacing: 0.05em;
}

/* ===== FOOTER ===== */
.footer {
    border-top: 1px solid var(--white-08);
    padding: 2.5rem 3rem;
}

.footer__inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

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

.footer__brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.footer__brand-img { height: 22px; width: auto; filter: brightness(0) invert(1); }

.footer__links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.footer__links a {
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--white-30);
    transition: all 0.3s ease;
}

.footer__links a:hover { 
    color: var(--white);
}

.footer__social {
    display: flex;
    gap: 0.75rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1px solid var(--white-15);
    border-radius: 50%;
    color: var(--white-60);
    transition: all 0.3s ease;
}

.social-link:hover {
    color: var(--white);
    border-color: var(--blue);
    background: rgba(59,130,246,0.1);
}

.footer__copy {
    font-size: 0.6rem;
    color: var(--white-30);
    letter-spacing: 0.1em;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .section { padding: 6rem 2rem; }
    .globe-section { padding: 8rem 2rem; }
    .nav { padding: 1.25rem 2rem; }
    .hero { padding: 0 2rem; gap: 2rem; }
    .hero__visual { display: none; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .project-card { width: calc((100vw - 4rem - 1.5rem) / 2); }
    .globe-section__inner { grid-template-columns: 1fr; gap: 4rem; }
    .globe-section__text { max-width: 100%; text-align: center; }
    .globe-section__cities { justify-content: center; }
    .globe-container { height: 450px; }
}

@media (max-width: 768px) {
    .nav__links, .nav__cta, .nav__right { display: none; }
    .nav__menu { display: block; }
    .hero__h1 { font-size: clamp(2.5rem, 10vw, 3.5rem); }
    .hero__btns { flex-direction: column; }
    .services-grid { grid-template-columns: 1fr; }
    .globe-container { height: 380px; }
    .globe-section__cities { flex-direction: column; gap: 1rem; align-items: center; }
    .footer__inner { flex-direction: column; text-align: center; }
    .footer__left { align-items: center; }
    .footer__links { flex-wrap: wrap; justify-content: center; }
    .footer__social { justify-content: center; }
    .project-slide { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
}

@media (max-width: 480px) {
    .section { padding: 4rem 1.25rem; }
    .globe-section { padding: 5rem 1.25rem; }
    .hero { padding: 0 1.25rem; }
    .nav { padding: 1rem 1.25rem; }
    .btn { padding: 0.75rem 1.5rem; font-size: 0.7rem; }
    .globe-container { height: 320px; }
    .project-slide { grid-template-columns: 1fr; }
    .projects-nav { gap: 1rem; }
    .projects-nav__btn { width: 40px; height: 40px; }
}

/* ===== CHAT WIDGET ===== */
.chat-widget {
    position: fixed;
    bottom: 2rem;
    right: 1.5rem;
    z-index: 200;
    font-family: var(--font);
}

.chat-widget__ring {
    position: absolute;
    width: 110px;
    height: 110px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    animation: ringSpin 12s linear infinite;
}

.chat-widget__ring-svg {
    width: 100%;
    height: 100%;
    overflow: visible;
}

.chat-widget__ring-text {
    font-size: 8.5px;
    font-family: var(--font);
    font-weight: 700;
    letter-spacing: 3.5px;
    text-transform: uppercase;
    fill: var(--white);
}

@keyframes ringSpin {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

.chat-widget.open .chat-widget__ring {
    opacity: 0;
    transition: opacity 0.3s;
}

.chat-widget__btn {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    border: 3px solid var(--blue);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 24px rgba(59,130,246,0.4);
    transition: all 0.3s;
    position: relative;
    padding: 0;
    overflow: hidden;
}

.chat-widget__btn:hover {
    box-shadow: 0 6px 32px rgba(59,130,246,0.5);
}

.chat-widget__btn::before {
    content: '';
    position: absolute;
    inset: -5px;
    border-radius: 50%;
    border: 2px solid rgba(59,130,246,0.3);
    animation: chatPulse 2s ease-in-out infinite;
}

@keyframes chatPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.12); opacity: 0; }
}

.chat-widget__avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.chat-widget__box {
    position: absolute;
    bottom: 70px;
    right: 0;
    width: 360px;
    height: 500px;
    background: #111118;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(12px) scale(0.95);
    transition: all 0.3s cubic-bezier(0.16,1,0.3,1);
    box-shadow: 0 24px 64px rgba(0,0,0,0.6);
}

.chat-widget.open .chat-widget__box {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) scale(1);
}

/* Chat Header */
.chat-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.1rem;
    background: rgba(255,255,255,0.02);
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.chat-header__info {
    display: flex;
    align-items: center;
    gap: 0.7rem;
}

.chat-header__avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(59,130,246,0.3);
}

.chat-header__name {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--white);
}

.chat-header__status {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.6rem;
    color: var(--white-30);
    margin-top: 2px;
}

.chat-header__dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #28ca42;
    box-shadow: 0 0 6px rgba(40,202,66,0.5);
}

.chat-header__close {
    background: none;
    border: none;
    color: var(--white-30);
    cursor: pointer;
    padding: 4px;
    transition: color 0.2s;
}

.chat-header__close:hover {
    color: var(--white);
}

/* Chat Body */
.chat-body {
    flex: 1;
    overflow-y: auto;
    padding: 1.2rem;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    scrollbar-width: thin;
    scrollbar-color: rgba(255,255,255,0.08) transparent;
}

.chat-body::-webkit-scrollbar { width: 4px; }
.chat-body::-webkit-scrollbar-track { background: transparent; }
.chat-body::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.1); border-radius: 2px; }

.chat-msg {
    max-width: 85%;
    animation: msgIn 0.3s ease;
}

@keyframes msgIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.chat-msg--bot {
    align-self: flex-start;
}

.chat-msg--user {
    align-self: flex-end;
}

.chat-msg__bubble {
    padding: 0.7rem 1rem;
    border-radius: 14px;
    font-size: 0.78rem;
    line-height: 1.55;
    color: var(--white-90);
}

.chat-msg--bot .chat-msg__bubble {
    background: rgba(255,255,255,0.06);
    border-bottom-left-radius: 4px;
    color: var(--white-60);
}

.chat-msg--user .chat-msg__bubble {
    background: var(--blue);
    color: white;
    border-bottom-right-radius: 4px;
}

.chat-msg__time {
    font-size: 0.55rem;
    color: var(--white-15);
    margin-top: 4px;
    padding: 0 4px;
}

.chat-msg--user .chat-msg__time {
    text-align: right;
}

/* Typing indicator */
.chat-typing {
    display: flex;
    gap: 4px;
    padding: 0.7rem 1rem;
    background: rgba(255,255,255,0.06);
    border-radius: 14px;
    border-bottom-left-radius: 4px;
    width: fit-content;
}

.chat-typing span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--white-30);
    animation: typingDot 1.2s ease-in-out infinite;
}

.chat-typing span:nth-child(2) { animation-delay: 0.15s; }
.chat-typing span:nth-child(3) { animation-delay: 0.3s; }

@keyframes typingDot {
    0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
    30% { transform: translateY(-4px); opacity: 1; }
}

/* Chat Footer */
.chat-footer {
    padding: 0.8rem 1rem;
    border-top: 1px solid rgba(255,255,255,0.06);
}

.chat-input-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    padding: 4px 6px 4px 14px;
    transition: border-color 0.2s;
}

.chat-input-wrap:focus-within {
    border-color: rgba(59,130,246,0.4);
}

.chat-input {
    flex: 1;
    background: none;
    border: none;
    outline: none;
    color: var(--white);
    font-family: var(--font);
    font-size: 0.78rem;
    padding: 8px 0;
}

.chat-input::placeholder {
    color: var(--white-15);
}

.chat-send {
    width: 34px;
    height: 34px;
    border-radius: 9px;
    border: none;
    background: var(--blue);
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    flex-shrink: 0;
}

.chat-send:hover {
    background: #2563eb;
}

.chat-send:active {
    transform: scale(0.92);
}

/* Success message */
.chat-success {
    text-align: center;
    padding: 1.5rem 1rem;
}

.chat-success__icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(40,202,66,0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.chat-success__icon svg {
    color: #28ca42;
}

.chat-success__title {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.4rem;
}

.chat-success__text {
    font-size: 0.75rem;
    color: var(--white-30);
    line-height: 1.6;
}

/* Responsive */
@media (max-width: 480px) {
    .chat-widget__box {
        width: calc(100vw - 1.5rem);
        height: calc(100vh - 100px);
        bottom: 70px;
        right: -0.75rem;
        border-radius: 14px;
    }
    .chat-widget__btn {
        width: 56px;
        height: 56px;
    }
    .chat-widget__ring {
        width: 95px;
        height: 95px;
    }
}