/* ==================== VARIABLES ==================== */
:root {
    --bg: #0f0f12;
    --surface: #18181d;
    --surface-hover: #1e1e24;
    --border: rgba(255,255,255,0.06);
    --border-hover: rgba(255,255,255,0.12);
    --text: #ffffff;
    --text-dim: rgba(255,255,255,0.45);
    --accent: #fff;
    --accent-bg: #fff;
    --accent-text: #000;
    --font: 'Inter', sans-serif;
    --radius: 12px;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
a { color: inherit; text-decoration: none; }

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

/* ==================== LIGHT THEME ==================== */
body.light {
    --bg: #fafafa;
    --surface: #ffffff;
    --surface-hover: #f5f5f5;
    --border: rgba(0,0,0,0.06);
    --border-hover: rgba(0,0,0,0.12);
    --text: #111827;
    --text-dim: rgba(0,0,0,0.45);
    --accent: #111827;
    --accent-bg: #111827;
    --accent-text: #fff;
    background: var(--bg);
}

body.light .bg-gradient,
body.light .bg-noise,
body.light .bg-orbs { display: none; }

/* ==================== BACKGROUND EFFECTS ==================== */
.bg-gradient {
    position: fixed;
    inset: 0;
    z-index: 0;
    background: radial-gradient(ellipse at 50% 0%, rgba(120, 80, 200, 0.08) 0%, transparent 60%),
                radial-gradient(ellipse at 80% 50%, rgba(80, 120, 220, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.bg-noise {
    position: fixed;
    inset: 0;
    z-index: 0;
    opacity: 0.025;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 256px 256px;
}

.bg-orbs {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
}

.orb--1 {
    width: 400px;
    height: 400px;
    background: rgba(120, 80, 200, 0.12);
    top: -100px;
    left: -100px;
    animation: orb-float-1 20s ease-in-out infinite;
}

.orb--2 {
    width: 300px;
    height: 300px;
    background: rgba(80, 120, 220, 0.1);
    top: 40%;
    right: -80px;
    animation: orb-float-2 25s ease-in-out infinite;
}

.orb--3 {
    width: 250px;
    height: 250px;
    background: rgba(200, 100, 150, 0.08);
    bottom: 10%;
    left: 30%;
    animation: orb-float-3 22s ease-in-out infinite;
}

.orb--4 {
    width: 200px;
    height: 200px;
    background: rgba(80, 200, 120, 0.06);
    top: 60%;
    left: 10%;
    animation: orb-float-4 18s ease-in-out infinite;
}

@keyframes orb-float-1 {
    0%, 100% { transform: translate(0, 0); }
    33% { transform: translate(60px, 40px); }
    66% { transform: translate(-30px, 80px); }
}

@keyframes orb-float-2 {
    0%, 100% { transform: translate(0, 0); }
    33% { transform: translate(-50px, -30px); }
    66% { transform: translate(40px, 50px); }
}

@keyframes orb-float-3 {
    0%, 100% { transform: translate(0, 0); }
    33% { transform: translate(30px, -60px); }
    66% { transform: translate(-40px, 20px); }
}

@keyframes orb-float-4 {
    0%, 100% { transform: translate(0, 0); }
    33% { transform: translate(-30px, 40px); }
    66% { transform: translate(50px, -30px); }
}

/* ==================== GLASS ==================== */
.glass {
    background: rgba(255,255,255,0.03);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border);
}

body.light .header {
    background: rgba(250,250,250,0.9);
    border-color: var(--border);
    box-shadow: 0 1px 0 var(--border);
}

body.light .btn--primary { background: var(--accent-bg); color: var(--accent-text); }
body.light .btn--primary:hover { background: #333; }
body.light .btn--secondary { color: var(--accent); }
body.light .social-link { background: var(--surface); border-color: var(--border); }
body.light .faq-item { background: var(--surface); border-color: var(--border); }
body.light .form-group input,
body.light .form-group textarea { background: var(--surface); border-color: var(--border); color: var(--text); }
body.light .scroll-top { background: var(--surface); border-color: var(--border); }
body.light .fab { background: var(--accent-bg); color: var(--accent-text); }
body.light .chat-btn { background: #229ED9; color: #fff; }
body.light .reviews__empty { background: var(--surface); border-color: var(--border); }
body.light .stat-card { background: var(--surface); border-color: var(--border); }
body.light .process-card { background: var(--surface); border-color: var(--border); }
body.light .skill-card { background: var(--surface); border-color: var(--border); }
body.light .theme-toggle { border-color: var(--border); }
body.light .toast { background: var(--surface); border-color: var(--border); color: var(--text); }


/* ==================== PRELOADER ==================== */
.preloader {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: var(--bg);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.preloader.hidden { opacity: 0; visibility: hidden; }
.preloader__content { text-align: center; }

.preloader__logo {
    width: 40px;
    height: 40px;
    color: var(--text);
    margin-bottom: 16px;
}

.preloader__text {
    display: block;
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    margin-bottom: 24px;
    color: var(--text);
}

.preloader__bar {
    width: 100px;
    height: 2px;
    background: var(--border);
    border-radius: 2px;
    overflow: hidden;
    margin: 0 auto;
}

.preloader__progress {
    width: 0%;
    height: 100%;
    background: var(--text);
    border-radius: 2px;
    animation: preloader-bar 1.5s ease forwards;
}

@keyframes preloader-bar {
    0% { width: 0%; }
    100% { width: 100%; }
}

/* ==================== CONTAINER ==================== */
.container {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ==================== HEADER ==================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: rgba(15,15,18,0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}

.nav {
    max-width: 1080px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 24px;
    height: 56px;
}

.nav__logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.08em;
}

.nav__logo .logo-icon { width: 22px; height: 22px; }

.nav__toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.nav__toggle span { width: 18px; height: 1.5px; background: var(--text); }

.nav__menu {
    display: flex;
    gap: 4px;
    list-style: none;
}

.nav__link {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-dim);
    padding: 6px 12px;
    border-radius: 8px;
    transition: 0.2s;
}

.nav__link:hover { color: var(--text); background: var(--surface); }
.nav__link.active { color: var(--text); font-weight: 600; }

/* Dropdown */
.nav__dropdown { position: relative; }

.nav__dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 260px;
    padding: 8px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    backdrop-filter: blur(20px);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: 0.2s ease;
    list-style: none;
    z-index: 100;
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

.nav__dropdown:hover .nav__dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav__dropdown-menu li a {
    display: block;
    padding: 10px 14px;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-dim);
    border-radius: 8px;
    transition: 0.15s;
    white-space: nowrap;
}

.nav__dropdown-menu li a:hover {
    color: var(--text);
    background: var(--surface-hover);
}

.nav__dropdown > .nav__link::after {
    content: '';
    display: inline-block;
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 4px solid currentColor;
    margin-left: 6px;
    vertical-align: middle;
    opacity: 0.5;
}

@media (max-width: 768px) {
    .nav__dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        background: rgba(255,255,255,0.02);
        border: none;
        border-radius: 8px;
        padding: 4px 0 4px 16px;
        box-shadow: none;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    .nav__dropdown.open .nav__dropdown-menu {
        max-height: 500px;
    }
}

.header__actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.lang-switcher { display: flex; gap: 2px; }

.lang-btn {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-dim);
    padding: 4px 10px;
    font-size: 0.65rem;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.2s;
    letter-spacing: 0.05em;
}

.lang-btn:hover { color: var(--text); }
.lang-btn.active { background: var(--text); color: var(--bg); border-color: transparent; }

.theme-toggle {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-dim);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.2s;
    position: relative;
}

.theme-toggle:hover { color: var(--text); border-color: var(--border-hover); }
.theme-toggle svg { width: 14px; height: 14px; position: absolute; transition: 0.3s; }
.theme-toggle__sun { opacity: 1; transform: rotate(0); }
.theme-toggle__moon { opacity: 0; transform: rotate(-90deg); }
body.light .theme-toggle__sun { opacity: 0; transform: rotate(90deg); }
body.light .theme-toggle__moon { opacity: 1; transform: rotate(0); }

/* ==================== HERO ==================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 56px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Background number */
.hero__bg-number {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: clamp(15rem, 30vw, 25rem);
    font-weight: 900;
    color: var(--text);
    opacity: 0.03;
    line-height: 1;
    pointer-events: none;
    user-select: none;
    z-index: 0;
}

body.light .hero__bg-number { opacity: 0.04; }

.hero__greeting {
    font-size: 0.8rem;
    color: var(--text-dim);
    margin-bottom: 16px;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    position: relative;
    z-index: 1;
}

.hero__brand {
    font-size: clamp(5rem, 15vw, 10rem);
    font-weight: 800;
    margin-bottom: 12px;
    letter-spacing: -0.05em;
    line-height: 0.85;
    color: var(--text);
    position: relative;
    z-index: 1;
}

.hero__subtitle {
    font-size: 0.85rem;
    color: var(--text-dim);
    margin-bottom: 32px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-weight: 400;
    position: relative;
    z-index: 1;
}

.hero__description {
    font-size: 1.05rem;
    color: var(--text-dim);
    max-width: 460px;
    margin: 0 auto 40px;
    line-height: 1.8;
    position: relative;
    z-index: 1;
}

.hero__buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.hero__scroll {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    transition: 0.5s;
}

.hero__scroll.hidden { opacity: 0; pointer-events: none; }

.hero__scroll-text {
    font-size: 0.6rem;
    color: var(--text-dim);
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.hero__scroll-line {
    width: 1px;
    height: 32px;
    background: var(--text-dim);
    animation: scroll-bounce 2s ease-in-out infinite;
    transform-origin: top;
}

@keyframes scroll-bounce {
    0%, 100% { transform: scaleY(1); opacity: 1; }
    50% { transform: scaleY(0.4); opacity: 0.3; }
}

/* ==================== BUTTONS ==================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 11px 24px;
    font-size: 0.82rem;
    font-weight: 600;
    border-radius: var(--radius);
    cursor: pointer;
    transition: 0.2s;
    border: none;
    font-family: var(--font);
}

.btn--primary {
    background: var(--accent-bg);
    color: var(--accent-text);
}

.btn--primary:hover { opacity: 0.85; transform: translateY(-1px); }

.btn--secondary {
    color: var(--text);
    background: transparent;
    border: 1px solid var(--border);
}

.btn--secondary:hover { border-color: var(--border-hover); }

.btn--full { width: 100%; }

/* ==================== SECTIONS ==================== */
.section { padding: 100px 0; }

.section__title {
    font-size: 1.6rem;
    margin-bottom: 48px;
    text-align: center;
    font-weight: 700;
    letter-spacing: -0.03em;
}

.section__title::after {
    content: '';
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text);
    margin: 16px auto 0;
    border-radius: 1px;
}

/* ==================== STATS ==================== */
.stats__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}

.stat-card {
    padding: 32px 20px;
    text-align: center;
    background: var(--surface);
    transition: background 0.2s;
}

.stat-card:hover { background: var(--surface-hover); }

.stat-card__number {
    font-size: 2.4rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1;
    display: inline;
}

.stat-card__suffix {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-dim);
}

.stat-card__label {
    font-size: 0.75rem;
    color: var(--text-dim);
    margin-top: 8px;
}

/* ==================== ABOUT ==================== */
.about__content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 48px;
    align-items: center;
}

.about__carousel {
    width: 100%;
    aspect-ratio: 1;
    border-radius: var(--radius);
    overflow: hidden;
    position: relative;
    border: 1px solid var(--border);
}

.carousel__track { width: 100%; height: 100%; position: relative; }

.carousel__slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.carousel__slide.active { opacity: 1; }

.carousel__btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(0,0,0,0.4);
    backdrop-filter: blur(8px);
    border: none;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.2s;
    z-index: 5;
}

.carousel__btn:hover { background: rgba(0,0,0,0.6); }
.carousel__btn svg { width: 14px; height: 14px; }
.carousel__btn--prev { left: 8px; }
.carousel__btn--next { right: 8px; }

.carousel__dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 5px;
    z-index: 5;
}

.carousel__dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    transition: 0.3s;
    cursor: pointer;
}

.carousel__dot.active { background: #fff; width: 16px; border-radius: 3px; }

.about__text p {
    margin-bottom: 14px;
    color: var(--text-dim);
    line-height: 1.8;
}

.about__text p:first-child {
    font-size: 1.05rem;
    color: var(--text);
    font-weight: 500;
}

/* ==================== PROCESS ==================== */
.process__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}

.process-card {
    padding: 28px 20px;
    background: var(--surface);
    transition: background 0.2s;
}

.process-card:hover { background: var(--surface-hover); }

.process-card__step {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-dim);
    letter-spacing: -0.02em;
    display: block;
    margin-bottom: 12px;
}

.process-card__title {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.process-card__desc {
    font-size: 0.78rem;
    color: var(--text-dim);
    line-height: 1.6;
}

/* ==================== PROJECTS ==================== */
.projects__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 16px;
}

.project-card {
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--surface);
    border: 1px solid var(--border);
    transition: transform 0.2s, border-color 0.2s;
}

.project-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-hover);
}

.project-card__img {
    width: 100%;
    aspect-ratio: 16/10;
    object-fit: cover;
    display: block;
}

.project-card__info {
    padding: 20px;
}

.project-card__name {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.project-card__desc {
    font-size: 0.82rem;
    color: var(--text-dim);
    line-height: 1.6;
    margin-bottom: 10px;
}

.project-card__stack {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 12px;
}

.project-card__tag {
    font-size: 0.68rem;
    padding: 4px 10px;
    border-radius: 100px;
    background: rgba(255,255,255,0.05);
    color: var(--text-dim);
    border: 1px solid var(--border);
}

.project-card__link {
    font-size: 0.78rem;
    color: var(--text);
    text-decoration: underline;
    text-underline-offset: 2px;
}

body.light .project-card { background: var(--surface); border-color: var(--border); }
body.light .project-card__tag { background: rgba(0,0,0,0.04); border-color: var(--border); }

/* ==================== SERVICE SECTIONS ==================== */
.service { padding: 100px 0; }
.service--alt { background: var(--surface); }

.service__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.service__content--reverse {
    direction: rtl;
}

.service__content--reverse > * {
    direction: ltr;
}

.service__title {
    font-size: 1.8rem;
    font-weight: 700;
    margin: 8px 0 16px;
    letter-spacing: -0.03em;
}

.service__desc {
    font-size: 0.95rem;
    color: var(--text-dim);
    line-height: 1.7;
    margin-bottom: 24px;
}

.service__list {
    list-style: none;
    margin-bottom: 28px;
}

.service__list li {
    font-size: 0.85rem;
    color: var(--text-dim);
    padding: 8px 0;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 10px;
}

.service__list li::before {
    content: '✓';
    color: #22c55e;
    font-weight: 700;
    font-size: 0.75rem;
}

/* Service Visual Blocks */
.service__visual {
    border-radius: 20px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 320px;
    background: var(--surface);
    border: 1px solid var(--border);
    overflow: hidden;
    position: relative;
}

/* Liquid blob 1 */
.service__visual::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 40% 60% 55% 45% / 50% 40% 60% 50%;
    background: radial-gradient(circle, rgba(120, 80, 200, 0.15) 0%, transparent 70%);
    top: -20%;
    left: -10%;
    animation: liquid-1 12s ease-in-out infinite;
    pointer-events: none;
    filter: blur(40px);
}

/* Liquid blob 2 */
.service__visual::after {
    content: '';
    position: absolute;
    width: 250px;
    height: 250px;
    border-radius: 55% 45% 50% 50% / 45% 55% 45% 55%;
    background: radial-gradient(circle, rgba(80, 120, 220, 0.12) 0%, transparent 70%);
    bottom: -15%;
    right: -5%;
    animation: liquid-2 10s ease-in-out infinite;
    pointer-events: none;
    filter: blur(40px);
}

@keyframes liquid-1 {
    0% { border-radius: 40% 60% 55% 45% / 50% 40% 60% 50%; transform: translate(0, 0) rotate(0deg); }
    25% { border-radius: 55% 45% 40% 60% / 45% 55% 50% 50%; transform: translate(30px, 20px) rotate(5deg); }
    50% { border-radius: 50% 50% 60% 40% / 55% 45% 55% 45%; transform: translate(-20px, 40px) rotate(-3deg); }
    75% { border-radius: 45% 55% 50% 50% / 40% 60% 50% 50%; transform: translate(15px, -10px) rotate(4deg); }
    100% { border-radius: 40% 60% 55% 45% / 50% 40% 60% 50%; transform: translate(0, 0) rotate(0deg); }
}

@keyframes liquid-2 {
    0% { border-radius: 55% 45% 50% 50% / 45% 55% 45% 55%; transform: translate(0, 0) rotate(0deg); }
    33% { border-radius: 45% 55% 60% 40% / 55% 45% 55% 45%; transform: translate(-25px, -30px) rotate(-5deg); }
    66% { border-radius: 50% 50% 45% 55% / 50% 50% 50% 50%; transform: translate(20px, -15px) rotate(3deg); }
    100% { border-radius: 55% 45% 50% 50% / 45% 55% 45% 55%; transform: translate(0, 0) rotate(0deg); }
}

/* Browser Mockup */
.mockup-browser {
    width: 85%;
    background: var(--bg);
    border-radius: 12px;
    border: 1px solid var(--border);
    overflow: hidden;
    position: relative;
    z-index: 2;
}

.mockup-browser__bar {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 14px;
    border-bottom: 1px solid var(--border);
}

.mockup-browser__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--border);
}

.mockup-browser__url {
    flex: 1;
    height: 20px;
    background: rgba(255,255,255,0.03);
    border-radius: 6px;
    margin-left: 8px;
}

.mockup-browser__content {
    padding: 16px;
}

.mockup-browser__hero {
    height: 80px;
    background: linear-gradient(135deg, rgba(120,80,200,0.1) 0%, rgba(80,120,220,0.05) 100%);
    border-radius: 8px;
    margin-bottom: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.mockup-browser__hero-text {
    width: 60%;
    height: 6px;
    background: rgba(255,255,255,0.1);
    border-radius: 3px;
}

.mockup-browser__hero-text--short { width: 40%; }

.mockup-browser__btn {
    padding: 6px 20px;
    background: var(--text);
    color: var(--bg);
    border-radius: 6px;
    font-size: 0.65rem;
    font-weight: 600;
}

.mockup-browser__nav {
    display: flex;
    gap: 8px;
    margin-bottom: 10px;
}

.mockup-browser__nav-item {
    width: 32px;
    height: 4px;
    background: rgba(255,255,255,0.08);
    border-radius: 2px;
}

.mockup-browser__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.mockup-browser__card {
    height: 60px;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border);
    border-radius: 8px;
}

.mockup-browser__footer {
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.mockup-browser__footer-line {
    height: 3px;
    background: rgba(255,255,255,0.05);
    border-radius: 2px;
    width: 100%;
}

.mockup-browser__footer-line--short { width: 60%; }

.mockup-browser__line {
    height: 6px;
    background: rgba(255,255,255,0.06);
    border-radius: 3px;
    margin-bottom: 6px;
}

.mockup-browser__line--short { width: 60%; }
.mockup-browser__line--medium { width: 80%; }

.mockup-browser__hero--tall { height: 100px; }

/* Chat Mockup */
.mockup-chat {
    width: 260px;
    background: var(--bg);
    border-radius: 20px;
    border: 1px solid var(--border);
    padding: 16px;
    position: relative;
    z-index: 2;
}

.mockup-chat__msg {
    padding: 10px 14px;
    border-radius: 12px;
    margin-bottom: 8px;
    font-size: 0.7rem;
    max-width: 80%;
}

.mockup-chat__msg--bot {
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border);
    color: var(--text-dim);
}

.mockup-chat__msg--user {
    background: rgba(120, 80, 200, 0.15);
    border: 1px solid rgba(120, 80, 200, 0.2);
    color: var(--text);
    margin-left: auto;
}

.mockup-chat__btns {
    display: flex;
    gap: 6px;
    margin-top: 10px;
}

.mockup-chat__btn {
    padding: 6px 14px;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 0.68rem;
    color: var(--text-dim);
}

/* API Flow Mockup */
.api-flow {
    display: flex;
    align-items: center;
    gap: 16px;
    position: relative;
    z-index: 2;
}

.api-flow__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.api-flow__icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.api-flow__icon svg {
    width: 24px;
    height: 24px;
    color: var(--text-dim);
}

.api-flow__label {
    font-size: 0.72rem;
    color: var(--text-dim);
    font-weight: 500;
}

.api-flow__arrow {
    display: flex;
    align-items: center;
    gap: 4px;
    margin: 0 4px;
    margin-bottom: 24px;
}

.api-flow__arrow-line {
    width: 24px;
    height: 1px;
    background: rgba(120, 80, 200, 0.4);
}

.api-flow__arrow-dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: rgba(120, 80, 200, 0.5);
    animation: flow-dot 1.5s ease-in-out infinite;
}

.api-flow__arrow-dot:nth-child(2) { animation-delay: 0.2s; }
.api-flow__arrow-dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes flow-dot {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.3); }
}

body.light .api-flow__icon { background: rgba(0,0,0,0.04); border-color: rgba(0,0,0,0.08); }
body.light .api-flow__icon svg { color: rgba(0,0,0,0.5); }
body.light .api-flow__label { color: rgba(0,0,0,0.5); }
body.light .api-flow__arrow-line { background: rgba(120,80,200,0.3); }
body.light .api-flow__arrow-dot { background: rgba(120,80,200,0.4); }

/* Hosting Mockup */
.mockup-hosting {
    position: relative;
    z-index: 2;
    text-align: center;
}

.mockup-hosting__server {
    width: 80px;
    height: 50px;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border);
    border-radius: 8px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.mockup-hosting__led {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #22c55e;
    animation: led-blink 2s ease-in-out infinite;
}

.mockup-hosting__led:nth-child(2) { animation-delay: 0.3s; }
.mockup-hosting__led:nth-child(3) { animation-delay: 0.6s; }

@keyframes led-blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.mockup-hosting__domain {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 0.7rem;
    color: var(--text-dim);
}

/* Support Mockup */
.mockup-support {
    position: relative;
    z-index: 2;
    text-align: center;
}

.mockup-support__shield {
    width: 80px;
    height: 80px;
    margin: 0 auto 12px;
    border: 2px solid var(--border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.mockup-support__shield::after {
    content: '✓';
    font-size: 1.5rem;
    color: #22c55e;
    font-weight: 700;
}

.mockup-support__badge {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.2);
    border-radius: 100px;
    font-size: 0.7rem;
    color: #22c55e;
    font-weight: 600;
}

body.light .service__visual {
    background: var(--surface);
    border-color: var(--border);
}

body.light .mockup-browser,
body.light .mockup-chat {
    background: #f5f5f5;
    border-color: rgba(0,0,0,0.1);
}

body.light .mockup-browser__bar { border-color: rgba(0,0,0,0.06); }
body.light .mockup-browser__dot { background: rgba(0,0,0,0.1); }
body.light .mockup-browser__url { background: rgba(0,0,0,0.04); }
body.light .mockup-browser__hero { background: linear-gradient(135deg, rgba(120,80,200,0.08) 0%, rgba(80,120,220,0.04) 100%); }
body.light .mockup-browser__hero-text { background: rgba(0,0,0,0.06); }
body.light .mockup-browser__card { background: rgba(0,0,0,0.03); border-color: rgba(0,0,0,0.06); }
body.light .mockup-browser__line { background: rgba(0,0,0,0.06); }
body.light .mockup-browser__nav-item { background: rgba(0,0,0,0.06); }
body.light .mockup-browser__footer-line { background: rgba(0,0,0,0.04); }
body.light .mockup-chat { background: #f5f5f5; border-color: rgba(0,0,0,0.1); }
body.light .mockup-chat__msg--bot { background: rgba(0,0,0,0.04); border-color: rgba(0,0,0,0.06); }
body.light .mockup-chat__btn { background: rgba(0,0,0,0.04); border-color: rgba(0,0,0,0.06); }
body.light .service__visual::before {
    background: radial-gradient(circle, rgba(120, 80, 200, 0.1) 0%, transparent 70%);
}

body.light .service__visual::after {
    background: radial-gradient(circle, rgba(80, 120, 220, 0.08) 0%, transparent 70%);
}

body.light .mockup-hosting__server { background: rgba(0,0,0,0.04); border-color: rgba(0,0,0,0.08); }
body.light .mockup-hosting__domain { background: rgba(0,0,0,0.03); border-color: rgba(0,0,0,0.06); }

/* ==================== MODAL ==================== */
.modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
}

.modal.active { opacity: 1; visibility: visible; }

.modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(4px);
}

.modal__content {
    position: relative;
    width: 100%;
    max-width: 420px;
    padding: 32px;
    border-radius: 16px;
    background: var(--surface);
    border: 1px solid var(--border);
    margin: 0 16px;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.modal.active .modal__content { transform: translateY(0); }

.modal__close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-dim);
    padding: 4px;
    transition: 0.2s;
}

.modal__close:hover { color: var(--text); }
.modal__close svg { width: 18px; height: 18px; }

.modal__title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.modal__service {
    font-size: 0.82rem;
    color: var(--text-dim);
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
}

.modal__form { display: flex; flex-direction: column; gap: 10px; }

/* ==================== REVIEWS ==================== */
.reviews__empty {
    max-width: 480px;
    margin: 0 auto;
    padding: 40px 28px;
    border-radius: var(--radius);
    text-align: center;
    background: var(--surface);
    border: 1px solid var(--border);
}

.reviews__empty svg { color: var(--text-dim); margin-bottom: 12px; }
.reviews__empty p { font-size: 0.85rem; color: var(--text-dim); line-height: 1.7; }

/* ==================== FAQ ==================== */
.faq__list {
    max-width: 640px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1px;
    background: var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}

.faq-item { background: var(--surface); }

.faq-item__question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background: none;
    border: none;
    color: var(--text);
    font-family: var(--font);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    text-align: left;
}

.faq-item__arrow {
    width: 16px;
    height: 16px;
    color: var(--text-dim);
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq-item.active .faq-item__arrow { transform: rotate(180deg); }

.faq-item__answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-item__answer { max-height: 200px; }

.faq-item__answer p {
    padding: 0 20px 16px;
    font-size: 0.82rem;
    color: var(--text-dim);
    line-height: 1.7;
}

/* ==================== CONTACT ==================== */
.contact__content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 48px;
}

.contact__text {
    font-size: 1.05rem;
    margin-bottom: 20px;
    line-height: 1.7;
}

.contact__socials { display: flex; gap: 6px; }

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    transition: 0.2s;
    background: var(--surface);
    border: 1px solid var(--border);
}

.social-link:hover { border-color: var(--border-hover); transform: translateY(-2px); }
.social-link svg { width: 16px; height: 16px; color: var(--text-dim); }
.social-link:hover svg { color: var(--text); }

.contact__form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.form-group { display: flex; flex-direction: column; gap: 4px; }

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 14px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text);
    font-family: var(--font);
    font-size: 0.82rem;
    transition: 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--border-hover);
}

.form-group textarea { resize: vertical; min-height: 100px; }
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-dim); }

.form-group.error input,
.form-group.error textarea { border-color: #ef4444; }

.form-error { font-size: 0.7rem; color: #ef4444; margin-top: 2px; }

/* ==================== FLOATING ==================== */
.fab {
    position: fixed;
    bottom: 80px;
    right: 20px;
    width: 48px;
    height: 48px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 998;
    background: var(--accent-bg);
    color: var(--accent-text);
    transition: 0.3s;
    opacity: 0;
    transform: translateY(16px);
}

.fab.visible { opacity: 1; transform: translateY(0); }
.fab:hover { opacity: 0.85; transform: translateY(-2px); }
.fab svg { width: 18px; height: 18px; }

.chat-btn {
    position: fixed;
    bottom: 72px;
    right: 20px;
    width: 48px;
    height: 48px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 998;
    background: #229ED9;
    color: #fff;
    transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    opacity: 0;
    transform: translateY(16px);
}

.chat-btn.visible { opacity: 1; transform: translateY(0); }
.chat-btn:hover { opacity: 0.85; transform: translateY(-2px); }
.chat-btn svg { width: 20px; height: 20px; }
.chat-btn.shifted { bottom: 124px; }

/* Email FAB */
.email-fab-wrap {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 998;
    transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.email-fab-wrap.shifted { bottom: 72px; }

.email-btn {
    width: 48px;
    height: 48px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-bg);
    color: var(--accent-text);
    transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    opacity: 0;
    transform: translateY(16px);
    cursor: pointer;
    border: none;
    font-family: var(--font);
}

.email-btn.visible { opacity: 1; transform: translateY(0); }
.email-btn:hover { opacity: 0.85; transform: translateY(-2px); }
.email-btn svg { width: 18px; height: 18px; }

.email-dropdown {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(8px);
    opacity: 0;
    visibility: hidden;
    transition: 0.3s ease;
    pointer-events: none;
}

.email-dropdown.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.email-dropdown__card {
    width: 100%;
    max-width: 420px;
    padding: 32px;
    border-radius: 16px;
    background: var(--surface);
    border: 1px solid var(--border);
    transform: translateY(20px) scale(0.95);
    transition: 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.email-dropdown.active .email-dropdown__card {
    transform: translateY(0) scale(1);
}

.email-dropdown__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.email-dropdown__header h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0;
}

.email-dropdown__close {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-dim);
    padding: 4px;
    transition: 0.2s;
}

.email-dropdown__close:hover { color: var(--text); }
.email-dropdown__close svg { width: 18px; height: 18px; }

.email-dropdown__form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.email-dropdown__form .form-group { display: flex; flex-direction: column; gap: 4px; }

.email-dropdown__form input,
.email-dropdown__form textarea {
    width: 100%;
    padding: 12px 14px;
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text);
    font-family: var(--font);
    font-size: 0.85rem;
    transition: 0.2s;
}

.email-dropdown__form input:focus,
.email-dropdown__form textarea:focus {
    outline: none;
    border-color: var(--border-hover);
}

.email-dropdown__form textarea { resize: vertical; min-height: 90px; }
.email-dropdown__form input::placeholder,
.email-dropdown__form textarea::placeholder { color: var(--text-dim); }
.email-dropdown__form .btn { margin-top: 4px; }

body.light .email-dropdown__card {
    background: var(--surface);
    border-color: var(--border);
    box-shadow: 0 8px 40px rgba(0,0,0,0.1);
}
body.light .email-dropdown__form input,
body.light .email-dropdown__form textarea {
    background: rgba(0,0,0,0.03);
    border-color: var(--border);
    color: var(--text);
}

/* ==================== SCROLL TOP ==================== */
.scroll-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    border-radius: var(--radius);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: 0.3s;
    z-index: 999;
    background: var(--surface);
    border: 1px solid var(--border);
}

.scroll-top svg { width: 16px; height: 16px; color: var(--text-dim); transition: transform 0.3s ease; }
.scroll-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.scroll-top:hover { border-color: var(--border-hover); }
.scroll-top:hover svg { transform: translateY(-2px); color: var(--text); }
.scroll-top:active svg { transform: scale(0.85); }

/* ==================== TOAST ==================== */
.toast {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(80px);
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    border-radius: var(--radius);
    background: var(--surface);
    border: 1px solid var(--border);
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: transform 0.4s cubic-bezier(0.16,1,0.3,1), opacity 0.4s ease, visibility 0.4s ease;
    max-width: calc(100% - 32px);
}

.toast.show { transform: translateX(-50%) translateY(0); opacity: 1; visibility: visible; }

.toast__icon {
    width: 36px;
    height: 36px;
    min-width: 36px;
    border-radius: 8px;
    background: rgba(34,197,94,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.toast__icon svg { width: 18px; height: 18px; color: #22c55e; }

.toast__title { font-size: 0.82rem; font-weight: 700; margin-bottom: 1px; }
.toast__text { font-size: 0.75rem; color: var(--text-dim); }

.toast__close {
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    margin-left: 8px;
    opacity: 0.4;
    transition: 0.2s;
}

.toast__close:hover { opacity: 1; }
.toast__close svg { width: 14px; height: 14px; color: var(--text); }

.toast.toast--error .toast__icon { background: rgba(239,68,68,0.1); }
.toast.toast--error .toast__icon svg { color: #ef4444; }

/* ==================== TECHNOLOGIES ==================== */
.tech__subtitle {
    text-align: center;
    color: var(--text-dim);
    font-size: 0.95rem;
    margin-top: -32px;
    margin-bottom: 40px;
}

.tech__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}

.tech-card {
    padding: 28px 16px;
    text-align: center;
    background: var(--surface);
    transition: background 0.2s;
}

.tech-card:hover { background: var(--surface-hover); }
.tech-card { cursor: pointer; }

.tech-card__icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 12px;
    border-radius: 12px;
    background: rgba(255,255,255,0.04);
    display: flex;
    align-items: center;
    justify-content: center;
}

.tech-card__icon svg { width: 22px; height: 22px; color: var(--text-dim); }

.tech-card__img {
    width: 28px;
    height: 28px;
    object-fit: contain;
    filter: brightness(0) invert(0.7);
}

body.light .tech-card__img {
    filter: brightness(0) invert(0.2);
}
.tech-card__name { font-size: 0.8rem; font-weight: 600; color: var(--text); }

body.light .tech-card { background: var(--surface); border-color: var(--border); }
body.light .tech-card__icon { background: rgba(0,0,0,0.04); }
body.light .tech-card__icon svg { color: rgba(0,0,0,0.5); }

@media (max-width: 768px) {
    .tech__grid { grid-template-columns: repeat(2, 1fr); }
}

/* ==================== TECH MODAL ==================== */
.tech-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.tech-modal.active { opacity: 1; visibility: visible; }

.tech-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0);
    -webkit-backdrop-filter: blur(0px);
    backdrop-filter: blur(0px);
    transition: background 0.6s ease;
}

.tech-modal.active .tech-modal__overlay {
    background: rgba(0,0,0,0.55);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
}

.tech-modal__content {
    position: relative;
    width: 100%;
    max-width: 520px;
    max-height: 80vh;
    overflow-y: auto;
    padding: 40px 36px;
    border-radius: 20px;
    background: var(--surface);
    border: 1px solid var(--border);
    transform: translateY(20px) scale(0.95);
    transition: 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    text-align: center;
}

.tech-modal.active .tech-modal__content { transform: translateY(0) scale(1); }

.tech-modal__close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-dim);
    padding: 4px;
    transition: 0.2s;
}

.tech-modal__close:hover { color: var(--text); }
.tech-modal__close svg { width: 20px; height: 20px; }

.tech-modal__icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 20px;
    border-radius: 18px;
    background: rgba(255,255,255,0.05);
    display: flex;
    align-items: center;
    justify-content: center;
}

.tech-modal__icon svg { width: 32px; height: 32px; color: var(--text-dim); }
.tech-modal__icon img { width: 40px; height: 40px; object-fit: contain; }

.tech-modal__title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.tech-modal__desc {
    font-size: 0.9rem;
    color: var(--text-dim);
    line-height: 1.7;
    margin-bottom: 20px;
}

.tech-modal__list {
    list-style: none;
    text-align: left;
}

.tech-modal__list li {
    font-size: 0.85rem;
    color: var(--text-dim);
    padding: 8px 0;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 10px;
}

.tech-modal__list li:last-child { border-bottom: none; }

.tech-modal__list li::before {
    content: '✓';
    color: #22c55e;
    font-weight: 700;
    font-size: 0.75rem;
}

body.light .tech-modal__content { background: var(--surface); border-color: var(--border); }

/* ==================== FOOTER ==================== */
.footer {
    padding: 24px 0;
    border-top: 1px solid var(--border);
}

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

.footer__logo { display: flex; align-items: center; gap: 8px; }
.footer__logo .logo-icon { width: 18px; height: 18px; }
.footer__text { color: var(--text-dim); font-size: 0.72rem; }

/* ==================== MOBILE ==================== */
@media (max-width: 768px) {
    .nav__toggle { display: flex; }

    .nav__menu {
        position: fixed;
        top: 56px;
        left: 0;
        right: 0;
        flex-direction: column;
        padding: 16px;
        gap: 4px;
        background: var(--surface);
        border-bottom: 1px solid var(--border);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: 0.25s;
        max-height: calc(100vh - 56px);
        overflow-y: auto;
    }

    .nav__link { padding: 10px 12px; font-size: 0.85rem; }
    .nav__menu.active { transform: translateY(0); opacity: 1; visibility: visible; }

    .hero { min-height: 100dvh; }
    .hero__scroll { display: none; }
    .hero__bg-number { font-size: 10rem; }
    .hero__brand { font-size: clamp(3.5rem, 18vw, 6rem); }
    .hero__description { font-size: 0.95rem; padding: 0 8px; }
    .hero__buttons { flex-direction: column; align-items: center; gap: 10px; }
    .hero__buttons .btn { width: 100%; max-width: 260px; }

    .about__content { grid-template-columns: 1fr; text-align: center; }
    .about__image { max-width: 240px; margin: 0 auto; }

    .stats__grid { grid-template-columns: repeat(2, 1fr); }
    .stat-card { padding: 20px 12px; }
    .stat-card__number { font-size: 1.8rem; }

    .process__grid { grid-template-columns: 1fr; }
    .projects__grid { grid-template-columns: 1fr; }

    .tech__grid { grid-template-columns: repeat(2, 1fr); }
    .tech-card { padding: 20px 12px; }

    .service__content,
    .service__content--reverse {
        grid-template-columns: 1fr;
        text-align: center;
        direction: ltr;
        gap: 32px;
    }

    .service__info { padding: 0 8px; }
    .service__title { font-size: 1.4rem; }
    .service__desc { font-size: 0.9rem; }
    .service__list { text-align: left; }
    .service__list li { font-size: 0.82rem; padding: 7px 0; }
    .service__visual { min-height: 200px; padding: 16px; }

    .contact__content { grid-template-columns: 1fr; }
    .contact__info { text-align: center; }
    .contact__socials { justify-content: center; }

    .faq-item__question { font-size: 0.82rem; padding: 14px 16px; }
    .faq-item__answer p { font-size: 0.78rem; padding: 0 16px 14px; }

    .tech-modal__content { padding: 28px 20px; max-height: 85vh; }
    .tech-modal__title { font-size: 1.2rem; }
    .tech-modal__desc { font-size: 0.85rem; }

    .email-fab-wrap { bottom: 20px; right: 16px; }
    .email-fab-wrap.shifted { bottom: 72px; }
    .chat-btn { bottom: 72px; right: 16px; }
    .chat-btn.shifted { bottom: 124px; }
    .scroll-top { bottom: 20px; right: 16px; }
    .email-dropdown__card { padding: 24px 20px; }

    .footer__content { flex-direction: column; gap: 12px; }
    .section { padding: 72px 0; }
    .section__title { font-size: 1.3rem; margin-bottom: 32px; }
}

@media (max-width: 480px) {
    .hero__brand { font-size: clamp(3rem, 16vw, 5rem); }
    .hero__greeting { font-size: 0.7rem; }
    .hero__subtitle { font-size: 0.75rem; letter-spacing: 0.15em; }
    .hero__description { font-size: 0.88rem; }

    .stats__grid { grid-template-columns: 1fr 1fr; gap: 1px; }
    .stat-card__number { font-size: 1.5rem; }
    .stat-card__label { font-size: 0.65rem; }

    .tech__grid { grid-template-columns: repeat(2, 1fr); gap: 1px; }
    .tech-card__img { width: 24px; height: 24px; }

    .service__list li { font-size: 0.78rem; }

    .modal__content { padding: 28px 20px; margin: 0 12px; }
    .modal__title { font-size: 1rem; }

    .btn { padding: 10px 20px; font-size: 0.8rem; }
}
